diff --git a/.swiftpm/xcode/xcuserdata/cristian.xcuserdatad/xcschemes/xcschememanagement.plist b/.swiftpm/xcode/xcuserdata/cristian.xcuserdatad/xcschemes/xcschememanagement.plist index 9fa906d..155b1ed 100644 --- a/.swiftpm/xcode/xcuserdata/cristian.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/.swiftpm/xcode/xcuserdata/cristian.xcuserdatad/xcschemes/xcschememanagement.plist @@ -51,6 +51,26 @@ orderHint 5 + ExtractSymbols.xcscheme_^#shared#^_ + + orderHint + 12 + + GenerateCodableExecutable.xcscheme_^#shared#^_ + + orderHint + 16 + + GenerateCodablesExecutable.xcscheme_^#shared#^_ + + orderHint + 16 + + GenerateModelsExecutable.xcscheme_^#shared#^_ + + orderHint + 12 + Models.xcscheme_^#shared#^_ orderHint @@ -59,7 +79,12 @@ MultipeerClient.xcscheme_^#shared#^_ orderHint - 17 + 9 + + ProcessSymbolsExecutable.xcscheme_^#shared#^_ + + orderHint + 13 RealityCheck-Package.xcscheme_^#shared#^_ @@ -71,20 +96,60 @@ orderHint 3 + RealityCheckClient.xcscheme_^#shared#^_ + + orderHint + 12 + RealityCheckConnect.xcscheme_^#shared#^_ orderHint - 7 + 14 + + RealityCheckConnect_visionOS.xcscheme_^#shared#^_ + + orderHint + 5 RealityCheckTests.xcscheme_^#shared#^_ orderHint 2 + RealityCodable.xcscheme_^#shared#^_ + + orderHint + 19 + + RealityCodableTests.xcscheme_^#shared#^_ + + orderHint + 11 + RealityDumpClient.xcscheme_^#shared#^_ orderHint - 13 + 1 + + RealityDumpTests.xcscheme_^#shared#^_ + + orderHint + 12 + + RealitySymbols.xcscheme_^#shared#^_ + + orderHint + 10 + + RealitySymbolsExecutable.xcscheme_^#shared#^_ + + orderHint + 21 + + RealitySymbolsTests.xcscheme_^#shared#^_ + + orderHint + 16 StreamingClient.xcscheme_^#shared#^_ @@ -99,7 +164,7 @@ reality-check-Package.xcscheme_^#shared#^_ orderHint - 13 + 0 SuppressBuildableAutocreation @@ -124,6 +189,11 @@ primary + RealityCheckConnect_visionOS + + primary + + RealityDumpClient primary diff --git a/App/AppPackage/Package.swift b/App/AppPackage/Package.swift index 34e7125..ae4fdb8 100644 --- a/App/AppPackage/Package.swift +++ b/App/AppPackage/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.8 +// swift-tools-version: 5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -6,7 +6,7 @@ import PackageDescription let package = Package( name: "AppPackage", platforms: [ - .macOS(.v13) + .macOS(.v14) ], products: [ .library( @@ -17,9 +17,12 @@ let package = Package( dependencies: [ .package( url: "https://github.com/pointfreeco/swift-composable-architecture", - from: "1.2.0" + from: "1.8.2" + ), + .package( + url: "https://github.com/monstar-lab-oss/reality-check", + from: "0.0.2" ), - .package(name: "reality-check", path: "../.."), ], targets: [ .target( diff --git a/App/AppPackage/Sources/AppFeature/ARViewSection.swift b/App/AppPackage/Sources/AppFeature/ARViewSection/ARViewSection.swift similarity index 65% rename from App/AppPackage/Sources/AppFeature/ARViewSection.swift rename to App/AppPackage/Sources/AppFeature/ARViewSection/ARViewSection.swift index 5a2408a..88cd431 100644 --- a/App/AppPackage/Sources/AppFeature/ARViewSection.swift +++ b/App/AppPackage/Sources/AppFeature/ARViewSection/ARViewSection.swift @@ -1,18 +1,22 @@ import ComposableArchitecture import Foundation import Models +import RealityCodable import RealityKit import SwiftUI -public struct ARViewSection: Reducer { +@Reducer +public struct ARViewSection { + + @ObservableState public struct State: Equatable { - public var arView: CodableARView + public var arView: RealityPlatform.iOS.ARView public var debugOptions: DebugOptions.State - @BindingState public var isDebugOptionsDisplayed: Bool + public var isDebugOptionsDisplayed: Bool public var isSelected: Bool = false public init( - arView: CodableARView, + arView: RealityPlatform.iOS.ARView, isDebugOptionsDisplayed: Bool = false, isSelected: Bool = false ) { @@ -26,18 +30,16 @@ public struct ARViewSection: Reducer { case binding(BindingAction) case debugOptions(DebugOptions.Action) case delegate(DelegateAction) - case toggleSelection } public enum DelegateAction: Equatable { - case didToggleSelectSection case didUpdateDebugOptions(_DebugOptions) } public var body: some Reducer { BindingReducer() - Scope(state: \.debugOptions, action: /Action.debugOptions) { + Scope(state: \.debugOptions, action: \.debugOptions) { DebugOptions() } @@ -54,37 +56,37 @@ public struct ARViewSection: Reducer { case .delegate(_): return .none - - case .toggleSelection: - state.isSelected.toggle() - return .send(.delegate(.didToggleSelectSection)) } } } } -public struct DebugOptions: Reducer { +@Reducer +public struct DebugOptions { + + @ObservableState public struct State: Equatable { - @BindingState public var showAnchorGeometry: Bool - @BindingState public var showAnchorOrigins: Bool - @BindingState public var showFeaturePoints: Bool - @BindingState public var showPhysics: Bool - @BindingState public var showSceneUnderstanding: Bool - @BindingState public var showStatistics: Bool - @BindingState public var showWorldOrigin: Bool + public var showAnchorGeometry: Bool + public var showAnchorOrigins: Bool + public var showFeaturePoints: Bool + public var showPhysics: Bool + public var showSceneUnderstanding: Bool + public var showStatistics: Bool + public var showWorldOrigin: Bool var options: _DebugOptions = .none public init( _ rawValue: Int ) { - options = _DebugOptions(rawValue: rawValue) - showAnchorGeometry = options.contains(.showAnchorGeometry) - showAnchorOrigins = options.contains(.showAnchorOrigins) - showFeaturePoints = options.contains(.showFeaturePoints) - showPhysics = options.contains(.showPhysics) - showSceneUnderstanding = options.contains(.showSceneUnderstanding) - showStatistics = options.contains(.showStatistics) - showWorldOrigin = options.contains(.showWorldOrigin) + let _debugOptions = _DebugOptions(rawValue: rawValue) + options = _debugOptions + showAnchorGeometry = _debugOptions.contains(_DebugOptions.showAnchorGeometry) + showAnchorOrigins = _debugOptions.contains(_DebugOptions.showAnchorOrigins) + showFeaturePoints = _debugOptions.contains(.showFeaturePoints) + showPhysics = _debugOptions.contains(.showPhysics) + showSceneUnderstanding = _debugOptions.contains(.showSceneUnderstanding) + showStatistics = _debugOptions.contains(.showStatistics) + showWorldOrigin = _debugOptions.contains(.showWorldOrigin) } } @@ -97,7 +99,7 @@ public struct DebugOptions: Reducer { Reduce { state, action in switch action { - case .binding(\.$showAnchorGeometry): + case .binding(\.showAnchorGeometry): if state.showAnchorGeometry { state.options.insert(.showAnchorGeometry) } else { @@ -105,7 +107,7 @@ public struct DebugOptions: Reducer { } return .none - case .binding(\.$showAnchorOrigins): + case .binding(\.showAnchorOrigins): if state.showAnchorOrigins { state.options.insert(.showAnchorOrigins) } else { @@ -113,7 +115,7 @@ public struct DebugOptions: Reducer { } return .none - case .binding(\.$showFeaturePoints): + case .binding(\.showFeaturePoints): if state.showFeaturePoints { state.options.insert(.showFeaturePoints) } else { @@ -121,7 +123,7 @@ public struct DebugOptions: Reducer { } return .none - case .binding(\.$showPhysics): + case .binding(\.showPhysics): if state.showPhysics { state.options.insert(.showPhysics) } else { @@ -129,7 +131,7 @@ public struct DebugOptions: Reducer { } return .none - case .binding(\.$showSceneUnderstanding): + case .binding(\.showSceneUnderstanding): if state.showSceneUnderstanding { state.options.insert(.showSceneUnderstanding) } else { @@ -137,7 +139,7 @@ public struct DebugOptions: Reducer { } return .none - case .binding(\.$showStatistics): + case .binding(\.showStatistics): if state.showStatistics { state.options.insert(.showStatistics) } else { @@ -145,7 +147,7 @@ public struct DebugOptions: Reducer { } return .none - case .binding(\.$showWorldOrigin): + case .binding(\.showWorldOrigin): if state.showWorldOrigin { state.options.insert(.showWorldOrigin) } else { diff --git a/App/AppPackage/Sources/AppFeature/ARViewSection/ARViewSectionView.swift b/App/AppPackage/Sources/AppFeature/ARViewSection/ARViewSectionView.swift new file mode 100644 index 0000000..62ff636 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/ARViewSection/ARViewSectionView.swift @@ -0,0 +1,82 @@ +import ComposableArchitecture +import SwiftUI + +struct ARViewSectionView: View { + @State var store: StoreOf + + var body: some View { + //FIXME: improve display + GroupBox { + VStack { + Button.init("ARView", systemImage: "cube.transparent") { + store.isDebugOptionsDisplayed = true + } + + Button( + action: {}, + label: { + HStack { + Label.init("ARView", systemImage: "cube.transparent") + .foregroundColor( + store.isSelected + ? Color(nsColor: .alternateSelectedControlTextColor) + : Color(nsColor: .controlTextColor) + ) + Spacer() + } + .padding() + .background( + RoundedRectangle(cornerRadius: 8, style: .continuous) + .fill( + store.isSelected + ? Color(nsColor: .controlAccentColor) + : Color(nsColor: .controlBackgroundColor) + ) + ) + } + ) + .controlSize(.large) + .buttonStyle(.plain) + .overlay(alignment: .trailing) { + Button( + action: { + store.isDebugOptionsDisplayed = true + }, + label: { + Label("Debug Options", systemImage: "ladybug") + .labelStyle(.iconOnly) + .padding(4) + .background(Circle().foregroundColor(.gray.opacity(0.25))) + } + ) + .controlSize(.small) + .buttonStyle(.plain) + .padding(.trailing, 4) + .help("ARView Debug Options") + .popover( + isPresented: $store.isDebugOptionsDisplayed, + arrowEdge: .trailing + ) { + DebugOptionsView( + store: store.scope( + state: \.debugOptions, + action: \.debugOptions + ) + ) + .padding() + } + } + + Menu("Scenes") { + Button("Scene 1", action: {}) + Button("Scene 2", action: {}) + Button("Scene 3", action: {}) + } + .controlSize(.large) + .disabled(true) //TODO: implement scene selection + } + .padding(8) + } + .padding(.horizontal, 6) + } +} diff --git a/App/AppPackage/Sources/AppFeature/ARViewSection/DebugOptionsView.swift b/App/AppPackage/Sources/AppFeature/ARViewSection/DebugOptionsView.swift new file mode 100644 index 0000000..524ccb3 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/ARViewSection/DebugOptionsView.swift @@ -0,0 +1,47 @@ +import ComposableArchitecture +import SwiftUI + +public struct DebugOptionsView: View { + @State var store: StoreOf + + public init( + store: StoreOf + ) { + self.store = store + } + + public var body: some View { + Form { + Section( + content: { + Toggle("Anchor Geometry", isOn: $store.showAnchorGeometry) + .help("Display anchor geometry.") + + Toggle("Anchor Origins", isOn: $store.showAnchorOrigins) + .help("Display anchor origins.") + + Toggle("Feature Points", isOn: $store.showFeaturePoints) + .help( + "Display a point cloud showing intermediate results of the scene analysis used to track device position." + ) + + Toggle("Physics", isOn: $store.showPhysics) + .help("Draw visualizations for collision objects and rigid bodies.") + + //TODO: find a way to verify this value + // Toggle("Scene Reconstruction", isOn: viewStore.binding(\.$showSceneUnderstanding)) + // .help("Display the depth-colored wireframe for scene understanding meshes.") + // .disabled(!ARWorldTrackingConfiguration.supportsSceneReconstruction(.mesh)) + + Toggle("Statistics", isOn: $store.showStatistics) + .help("Collect performance statistics and display them in the view.") + + Toggle("World Origin", isOn: $store.showWorldOrigin) + .help( + "Display a coordinate axis indicating the position and orientation of the AR world coordinate system." + ) + } + ) + } + } +} diff --git a/App/AppPackage/Sources/AppFeature/AppCore.swift b/App/AppPackage/Sources/AppFeature/AppCore.swift index 0264fd7..8c5ea31 100644 --- a/App/AppPackage/Sources/AppFeature/AppCore.swift +++ b/App/AppPackage/Sources/AppFeature/AppCore.swift @@ -6,114 +6,156 @@ import MultipeerClient import RealityKit import StreamingClient -public struct AppCore: Reducer { - public init() {} +public enum Layout { + case double + case triple +} +@Reducer +public struct AppCore { + public init() {} + + @ObservableState public struct State: Equatable { - public var arViewSection: ARViewSection.State? - public var entitiesSection: EntitiesSection.State? - @BindingState public var isDumpAreaCollapsed: Bool + public var entitiesNavigator: EntitiesNavigator.State? + public var isConnectionSetupPresented: Bool + public var isConsoleDetached: Bool + public var isConsolePresented: Bool + public var isInspectorDisplayed: Bool + public var isStreaming: Bool + public var layout: Layout public var multipeerConnection: MultipeerConnection.State - public var selectedSection: Section? - @BindingState public var viewPortSize: CGSize - + public var selectedSection: Section + public var viewPortSize: CGSize + public init( - arViewSection: ARViewSection.State? = nil, - entitiesSection: EntitiesSection.State? = nil, - isDumpAreaDisplayed: Bool = true, + entitiesNavigator: EntitiesNavigator.State? = nil, + isConnectionSetupPresented: Bool = true, + isConsoleDetached: Bool = false, + isConsolePresented: Bool = false, + isInspectorDisplayed: Bool = false, + isStreaming: Bool = false, + layout: Layout = .double, multipeerConnection: MultipeerConnection.State = .init(), - selectedSection: Section? = nil, + selectedSection: Section = .entities, viewPortSize: CGSize = .zero ) { - self.arViewSection = arViewSection - self.entitiesSection = entitiesSection - self.isDumpAreaCollapsed = isDumpAreaDisplayed + self.entitiesNavigator = entitiesNavigator + self.isConnectionSetupPresented = isConnectionSetupPresented + self.isConsoleDetached = isConsoleDetached + self.isConsolePresented = isConsolePresented + self.isInspectorDisplayed = isInspectorDisplayed + self.isStreaming = isStreaming + self.layout = layout self.multipeerConnection = multipeerConnection self.selectedSection = selectedSection self.viewPortSize = viewPortSize } } - - public enum Action: Equatable, BindableAction { + + @CasePathable + public enum Action: BindableAction { case binding(BindingAction) - case arViewSection(ARViewSection.Action) - case entitiesSection(EntitiesSection.Action) + case entitiesNavigator(EntitiesNavigator.Action) case multipeerConnection(MultipeerConnection.Action) - case selectSection(Section?) case updateViewportSize(CGSize) } - + public enum Section { case arView case entities } - + @Dependency(\.streamingClient) var streamingClient - - public var body: some Reducer { + + public var body: some ReducerOf { BindingReducer() - - Scope(state: \.multipeerConnection, action: /Action.multipeerConnection) { + + Scope(state: \.multipeerConnection, action: \.multipeerConnection) { MultipeerConnection() } - + Reduce { state, action in switch action { - case .arViewSection(.delegate(.didToggleSelectSection)): - return .send(.selectSection(state.selectedSection == .arView ? nil : .arView)) - - case .arViewSection(.delegate(.didUpdateDebugOptions(let options))): - return .send(.multipeerConnection(.sendDebugOptions(options))) - - case .arViewSection(_): - return .none - - case .binding(_): - return .none - - case .entitiesSection(.delegate(.didToggleSelectSection)): - return .send(.selectSection((state.entitiesSection?.selection == nil) ? nil : .entities)) - - case .entitiesSection(_): - return .none - - case .multipeerConnection(.delegate(.receivedVideoFrameData(let videoFrameData))): - streamingClient.prepareForRender(videoFrameData) - return .none - - case .multipeerConnection(.delegate(.receivedDecodedARView(let decodedARView))): - state.arViewSection = .init(arView: decodedARView) - state.entitiesSection = .init(decodedARView.scene.anchors) - return .none - - case .multipeerConnection(_): - return .none - - case .selectSection(let section): - state.selectedSection = section - switch section { - case .none: - state.entitiesSection?.selection = nil - state.arViewSection?.isSelected = false - - case .some(.arView): - state.entitiesSection?.selection = nil - - case .some(.entities): - state.arViewSection?.isSelected = false - } - return .none - - case .updateViewportSize(let size): - state.viewPortSize = size + case .binding(_): + return .none + + case .entitiesNavigator(.iOS(.delegate(.didSelectEntity(let entityID)))), + .entitiesNavigator(.visionOS(.delegate(.didSelectEntity(let entityID)))): + return .send(.multipeerConnection(.sendSelection(entityID))) + + case .entitiesNavigator( + .iOS(.arViewSection(.delegate(.didUpdateDebugOptions(let options)))) + ): + return .send(.multipeerConnection(.sendDebugOptions(options))) + + case .entitiesNavigator: + return .none + + case .multipeerConnection(.delegate(.didUpdateSessionState(.notConnected))): + if state.multipeerConnection.isManuallyDisconnected { + state.entitiesNavigator = nil + state.isInspectorDisplayed = false + } + return .none + + case .multipeerConnection(.delegate(.didUpdateSessionState(.connected))): + state.entitiesNavigator = nil + state.isInspectorDisplayed = false + return .none + + + case .multipeerConnection(.delegate(.peersUpdated)): + /// Display "Connection Setup" dialog when not connected to any peer but theres at least one available + if !state.multipeerConnection.peers.isEmpty, + state.multipeerConnection.sessionState == .notConnected + { + state.isConnectionSetupPresented = true + } + return .none + + case .multipeerConnection(.delegate(.receivedDump(let dump))): + switch state.entitiesNavigator { + case .some(.iOS): + return .send(.entitiesNavigator(.iOS(.dumpOutput(dump)))) + case .some(.visionOS): + return .send(.entitiesNavigator(.visionOS(.dumpOutput(dump)))) + case .none: return .none + } + + case .multipeerConnection(.delegate(.receivedDecodedARView(let decodedARView))): + if state.entitiesNavigator == nil { + state.entitiesNavigator = .iOS( + .init(arViewSection: .init(arView: decodedARView)) + ) + } + state.isInspectorDisplayed = true + return .send(.entitiesNavigator(.iOS(.refreshEntities))) + + case .multipeerConnection(.delegate(.receivedDecodedScene(let decodedScene))): + let entities = decodedScene.children.map(\.value) + if state.entitiesNavigator == nil { + state.entitiesNavigator = .visionOS(.init(entities)) + } + state.isInspectorDisplayed = true + return .send(.entitiesNavigator(.visionOS(.refreshEntities(entities)))) + + case .multipeerConnection(.delegate(.receivedVideoFrameData(let videoFrameData))): + state.isStreaming = true + streamingClient.prepareForRender(videoFrameData) + return .none + + case .multipeerConnection(_): + return .none + + case .updateViewportSize(let size): + state.viewPortSize = size + return .none } } - .ifLet(\.arViewSection, action: /Action.arViewSection) { - ARViewSection() - } - .ifLet(\.entitiesSection, action: /Action.entitiesSection) { - EntitiesSection() + .ifLet(\.entitiesNavigator, action: \.entitiesNavigator) { + EntitiesNavigator() } } } diff --git a/App/AppPackage/Sources/AppFeature/ConnectionSetupView.swift b/App/AppPackage/Sources/AppFeature/ConnectionSetupView.swift new file mode 100644 index 0000000..f55f7e2 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/ConnectionSetupView.swift @@ -0,0 +1,223 @@ +import ComposableArchitecture +import MultipeerClient +import SwiftUI + +struct ConnectionSetupView: View { + @Environment(\.openURL) private var openURL + @State private var selection: Set = [] + + let store: StoreOf + let helpURL = URL( + string: + "https://monstar-lab-oss.github.io/reality-check/documentation/realitycheckconnect/gettingstarted" + )! + + var body: some View { + NavigationStack { + if store.peers.isEmpty { + ZStack { + ContentUnavailableView( + "No Inspectable Apps", + systemImage: "app.dashed", + description: Text("Make your app inspectable by integrating RealityCheckConnect") + ) + + VStack { + Spacer() + HStack { + Spacer() + HelpLink(destination: helpURL) + } + } + } + .padding() + } else { + List(Array(store.peers.keys), selection: $selection) { peer in + PeerConnectionView(peer: peer, store: store) + .tag(peer) + } + .navigationTitle("Inspectable apps") + } + } + .animation(.easeInOut, value: store.peers) + .task { + store.send(.start) + } + .frame(width: 521 / 1.25, height: 521 / 2) + } +} + +struct PeerConnectionView: View { + @Environment(\.openWindow) var openWindow + let peer: Peer + + @State + var store: StoreOf + + //FIXME: refactor this to default platform extension info + var appIconSystemName: String { + guard let device = store.peers[peer]?.device else { return "app" } + if device.lowercased().contains("vision") { + return "circle.fill" + } else { + return "app.fill" + } + } + + var body: some View { + let discoveryInfo: DiscoveryInfo? = store.peers[peer] + let isConnected: Bool = store.connectedPeer?.peer == peer + + HStack { + Image(systemName: appIconSystemName) + .resizable() + .aspectRatio(1, contentMode: .fit) + .frame(minWidth: 30, maxWidth: 60) + .foregroundColor(colorFromHash(discoveryInfo?.colorHash ?? peer.displayName)) + .shadow(color: .secondary, radius: 1) + + VStack(alignment: .leading) { + if let appName = discoveryInfo?.appName { + Text(appName) + .font(.title2) + } + + HStack(alignment: .bottom, spacing: 0) { + if let device = discoveryInfo?.device, let system = discoveryInfo?.system { + Label( + "\(device), \(system)", + systemImage: device.lowercased().contains("vision") ? "visionpro" : "iphone" + ) + .foregroundStyle(.secondary) + } + } + } + + Spacer() + + Button( + isConnected ? "Disconnect" : "Connect", + systemImage: isConnected ? "stop.fill" : "play.fill" + ) { + if isConnected { + store.send(.disconnectCurrentPeer) + } else { + store.send(.invite(peer)) + } + } + .controlSize(.extraLarge) + } + //FIXME: .help("Insert coin to continue") + .padding(8) + .accessibilityElement() + .accessibilityRepresentation { + Group { + if let appName = discoveryInfo?.appName { + Text(appName) + } + + if let device = discoveryInfo?.device { + Text("running on ") + Text(device) + if let system = discoveryInfo?.system { + Text(system) + } + } + } + .accessibilityElement(children: .combine) + // .accessibilityAction { + // if isConnected { + // viewStore.send(.disconnectCurrentPeer) + // } else { + // viewStore.send(.invite(peer)) + // } + // } + } + } +} + +#Preview { + ConnectionSetupView( + store: Store( + initialState: AppCore.State( + multipeerConnection: .init() + ), + reducer: AppCore.init + ) + .scope( + state: \.multipeerConnection, + action: \.multipeerConnection + ) + ) +} + +#Preview { + ConnectionSetupView( + store: Store( + initialState: AppCore.State( + multipeerConnection: .init( + peers: [ + Peer(displayName: "Manolo"): DiscoveryInfo( + appName: "MyAugmentedApp", + appVersion: "5.3 (127)", + device: "iPhone 12 Pro", + system: "iOS 15.1" + ) + ] + ) + ), + reducer: AppCore.init + ) + .scope( + state: \.multipeerConnection, + action: \.multipeerConnection + ) + ) +} + +#Preview { + ConnectionSetupView( + store: Store( + initialState: AppCore.State( + multipeerConnection: .init( + peers: [ + Peer(displayName: "Manolo"): DiscoveryInfo( + appName: "MyAugmentedApp", + appVersion: "5.3 (127)", + device: "iPhone 12 Pro", + system: "iOS 15.1" + ), + Peer(displayName: "Manolo"): DiscoveryInfo( + appName: "TheAugmentedApp", + appVersion: "0.3 (17)", + device: "iPhone 12 Pro", + system: "iOS 15.1" + ), + Peer(displayName: "Manolo"): DiscoveryInfo( + appName: "MyRealAR", + appVersion: "1.5.1 (12)", + device: "iPhone 12 Pro", + system: "iOS 15.1" + ), + Peer(displayName: "Manolo"): DiscoveryInfo( + appName: "SomethingInTheAR", + appVersion: "5.3 (99)", + device: "iPhone 11", + system: "iOS 12.5" + ), + Peer(displayName: "Manolo"): DiscoveryInfo( + appName: "Appgmented", + appVersion: "15.0 (2)", + device: "iPhone X", + system: "iOS 16.5" + ), + ] + ) + ), + reducer: AppCore.init + ) + .scope( + state: \.multipeerConnection, + action: \.multipeerConnection + ) + ) +} diff --git a/App/AppPackage/Sources/AppFeature/EntitiesSection.swift b/App/AppPackage/Sources/AppFeature/EntitiesSection.swift deleted file mode 100644 index 5f3a767..0000000 --- a/App/AppPackage/Sources/AppFeature/EntitiesSection.swift +++ /dev/null @@ -1,82 +0,0 @@ -import ComposableArchitecture -import Foundation -import Models - -public struct EntitiesSection: Reducer { - public struct State: Equatable { - public var identifiedEntities: IdentifiedArrayOf - - @BindingState public var dumpOutput: String - @BindingState public var selection: IdentifiableEntity.ID? - - public var selectedEntity: IdentifiableEntity? { - guard let selection = selection else { return nil } - for rootEntity in identifiedEntities { - if let entity = findEntity(root: rootEntity, targetID: selection) { - return entity - } - } - return nil - } - - public init( - _ identifiedEntities: [IdentifiableEntity], - selection: IdentifiableEntity.ID? = nil - ) { - self.identifiedEntities = .init(uniqueElements: identifiedEntities) - self.selection = selection ?? self.identifiedEntities.first?.id - self.dumpOutput = """ - Biscuit dessert tart gummi bears pie biscuit. - Pastry oat cake fruitcake chocolate cake marzipan shortbread pie toffee muffin. - Marshmallow biscuit muffin sesame snaps chocolate cake candy tart. - Tart biscuit croissant tiramisu powder chocolate cake chocolate bar candy canes. - """ - } - } - - public enum Action: BindableAction, Equatable { - case binding(BindingAction) - case delegate(DelegateAction) - case dumpOutput(String) - case select(entity: IdentifiableEntity?) - } - - public enum DelegateAction: Equatable { - case didToggleSelectSection - } - - public var body: some Reducer { - BindingReducer() - - Reduce { state, action in - switch action { - case .binding(\.$selection): - if let entity = state.selectedEntity { - return .merge( - .send(.dumpOutput(String(customDumping: entity))), - .send(.delegate(.didToggleSelectSection)) - ) - } else { - return .merge( - .send(.dumpOutput("...")), - .send(.delegate(.didToggleSelectSection)) - ) - } - - case .binding: - return .none - - case .delegate(_): - return .none - - case .dumpOutput(let output): - state.dumpOutput = output - return .none - - case .select(let entity): - state.selection = entity?.id - return .none - } - } - } -} diff --git a/App/macOS/Color+Hash.swift b/App/AppPackage/Sources/AppFeature/Extensions/Color+Hash.swift similarity index 100% rename from App/macOS/Color+Hash.swift rename to App/AppPackage/Sources/AppFeature/Extensions/Color+Hash.swift diff --git a/App/AppPackage/Sources/AppFeature/Extensions/Entity+Name.swift b/App/AppPackage/Sources/AppFeature/Extensions/Entity+Name.swift new file mode 100644 index 0000000..c3e2964 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Extensions/Entity+Name.swift @@ -0,0 +1,28 @@ +import Foundation +import Models +import RealityCodable + +extension RealityPlatform.iOS.Entity { + public var computedName: String { + if let name = self.name, !name.isEmpty { + return name + } else { + return "\(type(of: self))" + } + } +} + +extension RealityPlatform.visionOS.Entity { + public var computedName: String { + if let name = self.name, !name.isEmpty { + return name + } else { + return "\(type(of: self))" + } + } + + //FIXME: figure out localized resource issue for `RealityCodable` accessibilityLabel + public var _accessibilityLabel: String { + "\(type(of: self)): \(name ?? "")" + } +} diff --git a/App/AppPackage/Sources/AppFeature/Extensions/Entity+SystemImage.swift b/App/AppPackage/Sources/AppFeature/Extensions/Entity+SystemImage.swift new file mode 100644 index 0000000..241677c --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Extensions/Entity+SystemImage.swift @@ -0,0 +1,63 @@ +import Foundation +import Models +import RealityCodable + +extension RealityPlatform.iOS.Entity { + public var systemImage: String { + switch "\(type(of: self))" { + case "AnchorEntity": + "arrow.down.to.line" + + case "BodyTrackedEntity": + "figure" + + case "DirectionalLight": + "sun.max" + + case "Entity": + "move.3d" + + case "ModelEntity": + "cube" + + case "PerspectiveCamera": + "camera" + + case "PointLight": + "lightbulb.min" + + case "SpotLight": + "lamp.desk" + + case "TriggerVolume": + "cube.transparent" + + default: + "move.3d" + } + } +} + +extension RealityPlatform.visionOS.Entity { + public var systemImage: String { + switch "\(type(of: self))" { + case "AnchorEntity": + "arrow.down.to.line" + + case "Entity": + "move.3d" + + case "ModelEntity": + "cube" + + case "PerspectiveCamera": + "camera" + + case "TriggerVolume": + "cube.transparent" + + default: + "move.3d" + } + } +} diff --git a/App/AppPackage/Sources/AppFeature/Extensions/View+customOnChange.swift b/App/AppPackage/Sources/AppFeature/Extensions/View+customOnChange.swift new file mode 100644 index 0000000..b3fbd26 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Extensions/View+customOnChange.swift @@ -0,0 +1,27 @@ +import Foundation +import SwiftUI + +extension View { + @ViewBuilder + public func customOnChange( + of value: Value, + _ action: @escaping () -> Void + ) -> some View where Value: Equatable { + if #available(macOS 14.0, *) { + self.onChange(of: value) { oldValue, newValue in + // FIXME: Binary operator '==' cannot be applied to operands of type 'Value' and 'Bool' + // if newValue == true { + action() + // } + } + } else { + self.onChange(of: value) { newValue in + //FIXME: Binary operator '==' cannot be applied to operands of type 'Value' and 'Bool' + + // if newValue == true { + action() + // } + } + } + } +} diff --git a/App/AppPackage/Sources/AppFeature/Inspector/Inspector.swift b/App/AppPackage/Sources/AppFeature/Inspector/Inspector.swift new file mode 100644 index 0000000..de50728 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Inspector/Inspector.swift @@ -0,0 +1,34 @@ +import ComposableArchitecture +import Foundation +import SwiftUI + +public struct Inspector: ViewModifier { + @State var store: StoreOf + + public init(store: StoreOf) { + self.store = store + } + + public func body(content: Content) -> some View { + content + .inspector(isPresented: $store.isInspectorDisplayed) { + Group { + if let childStore = store.scope(state: \.entitiesNavigator, action: \.entitiesNavigator) { + switch childStore.state { + case .iOS: + if let store = childStore.scope(state: \.iOS, action: \.iOS) { + Inspector_iOS(store: store) + } + case .visionOS: + if let store = childStore.scope(state: \.visionOS, action: \.visionOS) { + Inspector_visionOS(store: store) + } + } + } + } + .inspectorColumnWidth(min: 277, ideal: 569, max: 811) + .interactiveDismissDisabled() + .accessibilityLabel("Inspector group") + } + } +} diff --git a/App/AppPackage/Sources/AppFeature/Inspector/Inspector_iOS.swift b/App/AppPackage/Sources/AppFeature/Inspector/Inspector_iOS.swift new file mode 100644 index 0000000..c71abbd --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Inspector/Inspector_iOS.swift @@ -0,0 +1,158 @@ +import ComposableArchitecture +import Models +import SwiftUI + +struct Inspector_iOS: View { + @State var store: StoreOf + + var entity: RealityPlatform.iOS.Entity? { + store.selectedEntity + } + + var body: some View { + if let entity { + VStack(alignment: .leading, spacing: 0) { + VStack(alignment: .leading) { + Label( + entity.computedName, + systemImage: entity.systemImage + ) + .font(.headline) + + Section { + LabeledContent( + "id:", + value: entity.id.description + ) + + //FIXME: + // if let anchorIdentifier = entity.anchorIdentifier { + // LabeledContent( + // "anchorIdentifier", + // value: anchorIdentifier.uuidString + // ) + // } + } + } + .padding() + + Divider() + + Form { + Section("􀕾 Accessibility") { + LabeledContent( + "isAccessibilityElement", + content: { + Toggle("isAccessibilityElement", isOn: .constant(entity.isAccessibilityElement)) + .labelsHidden() + .disabled(true) + } + ) + + if let accessibilityLabel = entity.accessibilityLabel { + LabeledContent( + "accessibilityLabel", + value: accessibilityLabel + ) + } + if let accessibilityDescription = entity.accessibilityDescription { + LabeledContent( + "accessibilityDescription", + value: accessibilityDescription + ) + } + } + + //FIXME: + // if !entity.availableAnimations.isEmpty { + // Section("Animation") { + // DisclosureGroup("availableAnimations") { + // Text(String(customDumping: entity.availableAnimations)) //FIXME: move custom dumping from this level + // .monospaced() + // .textSelection(.enabled) + // } + // } + // } + + Section("􀊞 State") { + LabeledContent( + "isActive", + content: { + Toggle("isActive", isOn: .constant(entity.isAnchored)).labelsHidden().disabled(true) + } + ) + LabeledContent( + "isAnchored", + content: { + Toggle("isAnchored", isOn: .constant(entity.isAnchored)).labelsHidden() + .disabled(true) + } + ) + LabeledContent( + "isEnabled", + content: { + Toggle("isEnabled", isOn: .constant(entity.isEnabled)).labelsHidden().disabled(true) + } + ) + LabeledContent( + "isEnabledInHierarchy", + content: { + Toggle("isEnabledInHierarchy", isOn: .constant(entity.isEnabledInHierarchy)) + .labelsHidden().disabled(true) + } + ) + LabeledContent( + "isOwner", + content: { + Toggle("isOwner", isOn: .constant(entity.isOwner)).labelsHidden().disabled(true) + } + ) + } + + Section("􁀘 Hierarhy") { + if let parentID = entity.parentID { + LabeledContent( + "parent", + content: { + Button( + parentID.description, + systemImage: "arrow.up.backward", + action: { store.selection = parentID } + ) + .symbolVariant(.square.fill) + .help( + """ + Click to select the parent. + ID: \(parentID.description) + """ + ) + .padding(1) + } + ) + } + + if let children = entity.childrenOptional { + LabeledContent( + "children count", + value: "\(children.count)" + ) + } + } + + Section("􁏮 Components") { + ForEach(Array(entity.components), id: \.self) { component in + if let reflectedDescription = component.reflectedDescription { + GroupBox { + Text(reflectedDescription) + .padding(8) + } + .help(component.comment ?? "") + } + } + } + } + } + .textSelection(.enabled) + } + } +} diff --git a/App/AppPackage/Sources/AppFeature/Inspector/Inspector_visionOS.swift b/App/AppPackage/Sources/AppFeature/Inspector/Inspector_visionOS.swift new file mode 100644 index 0000000..98c2749 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Inspector/Inspector_visionOS.swift @@ -0,0 +1,151 @@ +import ComposableArchitecture +import Models +import SwiftUI + +struct Inspector_visionOS: View { + let store: StoreOf + + var entity: RealityPlatform.visionOS.Entity? { + store.selectedEntity + } + + var body: some View { + if let entity { + VStack(alignment: .leading, spacing: 0) { + VStack(alignment: .leading) { + Label( + entity.computedName, + systemImage: entity.systemImage + ) + .font(.headline) + + Section { + LabeledContent( + "id:", + value: entity.id.description + ) + } + } + .padding() + + Divider() + + Form { + Section("􀕾 Accessibility") { + LabeledContent( + "isAccessibilityElement", + content: { + Toggle("isAccessibilityElement", isOn: .constant(entity.isAccessibilityElement)) + .labelsHidden() + .disabled(true) + } + ) + + if let accessibilityLabel = entity.accessibilityLabel { + LabeledContent( + "accessibilityLabel", + value: accessibilityLabel + ) + } + if let accessibilityDescription = entity.accessibilityDescription { + LabeledContent( + "accessibilityDescription", + value: accessibilityDescription + ) + } + } + .accessibilityLabel("Accessibility") + + //FIXME: + // if !entity.availableAnimations.isEmpty { + // Section("Animation") { + // DisclosureGroup("availableAnimations") { + // Text(String(customDumping: entity.availableAnimations)) //FIXME: move custom dumping from this level + // .monospaced() + // .textSelection(.enabled) + // } + // } + // } + + Section("􀊞 State") { + LabeledContent( + "isActive", + content: { + Toggle("isActive", isOn: .constant(entity.isAnchored)).labelsHidden().disabled(true) + } + ) + LabeledContent( + "isAnchored", + content: { + Toggle("isAnchored", isOn: .constant(entity.isAnchored)).labelsHidden() + .disabled(true) + } + ) + LabeledContent( + "isEnabled", + content: { + Toggle("isEnabled", isOn: .constant(entity.isEnabled)).labelsHidden().disabled(true) + } + ) + LabeledContent( + "isEnabledInHierarchy", + content: { + Toggle("isEnabledInHierarchy", isOn: .constant(entity.isEnabledInHierarchy)) + .labelsHidden().disabled(true) + } + ) + LabeledContent( + "isOwner", + content: { + Toggle("isOwner", isOn: .constant(entity.isOwner)).labelsHidden().disabled(true) + } + ) + } + + Section("􁀘 Hierarhy") { + if let parentID = entity.parentID { + LabeledContent( + "parent", + content: { + Button( + parentID.description, + systemImage: "arrow.up.backward", + action: { store.selection = parentID } + ) + .symbolVariant(.square.fill) + .help( + """ + Click to select the parent. + ID: \(parentID.description) + """ + ) + .padding(1) + } + ) + } + + if let children = entity.childrenOptional { + LabeledContent( + "children count", + value: "\(children.count)" + ) + } + } + + Section("􁏮 Components") { + ForEach(Array(entity.components), id: \.self) { component in + if let reflectedDescription = component.reflectedDescription { + GroupBox { + Text(reflectedDescription) + .padding(8) + } + .help(component.comment ?? "") + } + } + } + } + } + .textSelection(.enabled) + } + } +} diff --git a/App/AppPackage/Sources/AppFeature/MainToolbar.swift b/App/AppPackage/Sources/AppFeature/MainToolbar.swift new file mode 100644 index 0000000..6741361 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/MainToolbar.swift @@ -0,0 +1,128 @@ +import ComposableArchitecture +import MultipeerClient +import SwiftUI + +public struct MainToolbar: CustomizableToolbarContent { + @Bindable var store: StoreOf + + public init(store: StoreOf) { + self.store = store + } + + public var body: some CustomizableToolbarContent { + ToolbarItem(id: "SessionState", placement: .status) { + SessionStateView(store.multipeerConnection.sessionState) + .labelStyle(.titleAndIcon) + } + + ToolbarItem(id: "Spacer") { + Spacer() + } + + ToolbarItem(id: "ConnectionSetup") { + Toggle( + isOn: $store.isConnectionSetupPresented, + label: { Label("Connection Setup", systemImage: "bonjour") } + ) + .symbolRenderingMode(.multicolor) + .help("Connection Setup") + .accessibilityLabel("Connection Setup") + .keyboardShortcut("S", modifiers: [.command, .option]) + .popover( + isPresented: $store.isConnectionSetupPresented, + content: { + ConnectionSetupView( + store: store.scope( + state: \.multipeerConnection, + action: \.multipeerConnection + ) + ) + } + ) + } + + ToolbarItem(id: "Layout") { + Picker("Layout", selection: $store.layout) { + Button("Double", systemImage: "rectangle.split.2x1") { + store.layout = .double + } + .tag(Layout.double) + .help("Two Columns") + .accessibilityLabel("Two Columns layout") + + Button("Triple", systemImage: "rectangle.split.3x1") { + store.layout = .triple + } + .tag(Layout.triple) + .help("Three Columns") + .accessibilityLabel("Three Columns layout") + } + .pickerStyle(.segmented) + .help("Panel Layout") + .accessibilityHint("Choose from different kinds of layouts") + } + + ToolbarItem(id: "Inspector") { + Toggle( + isOn: $store.isInspectorDisplayed, + label: { Label("Inspector", systemImage: "sidebar.trailing") } + ) + .help(store.isInspectorDisplayed ? "Hide Inspector" : "Show Inspector") + .accessibilityLabel(store.isConsolePresented ? "Hide Inspector" : "Show Inspector") + .keyboardShortcut("I", modifiers: [.command, .option]) + } + } +} + +struct SessionStateView: View { + @Environment(\.openWindow) private var openWindow + private let sessionState: MultipeerClient.SessionState + + init( + _ sessionState: MultipeerClient.SessionState + ) { + self.sessionState = sessionState + } + + var contextualColor: Color { + switch sessionState { + case .notConnected: + return .red + case .connecting: + return .orange + case .connected: + return .green + } + } + + var contextualLabel: String { + switch sessionState { + case .notConnected: + return "Disconnected" + case .connecting: + return "Connecting" + case .connected: + return "Connected" + } + } + + var contextualImage: String { + switch sessionState { + case .notConnected: + return "nosign" + case .connecting: + return "bolt" + case .connected: + return "checkmark.seal.fill" + } + } + + var body: some View { + Label(contextualLabel, systemImage: contextualImage) + .foregroundStyle(contextualColor) + } +} + +#Preview { + SessionStateView(.connected(.init(displayName: "MOCKY"))) +} diff --git a/App/AppPackage/Sources/AppFeature/MultipeerConnection.swift b/App/AppPackage/Sources/AppFeature/MultipeerConnection.swift index 15cd781..f473c11 100644 --- a/App/AppPackage/Sources/AppFeature/MultipeerConnection.swift +++ b/App/AppPackage/Sources/AppFeature/MultipeerConnection.swift @@ -2,18 +2,25 @@ import ComposableArchitecture import Foundation import Models import MultipeerClient +import OSLog +import RealityCodable import StreamingClient -public struct MultipeerConnection: Reducer { +@Reducer +public struct MultipeerConnection { + let logger = Logger(subsystem: "AppCore", category: "MultipeerConnection") + public struct ConnectedPeer: Equatable { public let peer: Peer public let discoveryInfo: DiscoveryInfo? } + @ObservableState public struct State: Equatable { public var sessionState: MultipeerClient.SessionState public var peers: [Peer: DiscoveryInfo] public var connectedPeer: ConnectedPeer? + public var isManuallyDisconnected = false public init( sessionState: MultipeerClient.SessionState = .notConnected, @@ -24,21 +31,29 @@ public struct MultipeerConnection: Reducer { } } + @CasePathable public enum Action: Equatable { case delegate(DelegateAction) + case disconnectCurrentPeer case invite(Peer) case sendDebugOptions(_DebugOptions) + case sendSelection(RealityPlatform.visionOS.Entity.ID) case start case updatePeers([Peer: DiscoveryInfo]) case updateSessionState(MultipeerClient.SessionState) } + @CasePathable public enum DelegateAction: Equatable { case didUpdateSessionState(MultipeerClient.SessionState) - case receivedDecodedARView(CodableARView) + case peersUpdated + case receivedDecodedARView(RealityPlatform.iOS.ARView) + case receivedDecodedScene(RealityPlatform.visionOS.Scene) case receivedVideoFrameData(VideoFrameData) + case receivedDump(String) } + @Dependency(\.continuousClock) var clock @Dependency(\.multipeerClient) var multipeerClient public var body: some Reducer { @@ -47,24 +62,51 @@ public struct MultipeerConnection: Reducer { case .delegate(_): return .none + case .disconnectCurrentPeer: + state.isManuallyDisconnected = true + return .run { _ in + do { + let data = try defaultEncoder.encode(Disconnection()) + await multipeerClient.send(data) + } catch { + fatalError("Failed to encode selection while sending them.") + } + } + case .invite(let peer): - multipeerClient.invitePeer(peer) - return .none + state.isManuallyDisconnected = false + return .run { _ in + await multipeerClient.invitePeer(peer) + } case .sendDebugOptions(let options): - do { - let data = try JSONEncoder().encode(options) - multipeerClient.send(data) - } catch { - fatalError("Failed to encode debug options while sending them.") + return .run { _ in + do { + let data = try defaultEncoder.encode(options) + await multipeerClient.send(data) + } catch { + fatalError("Failed to encode debug options while sending them.") + } + } + + case .sendSelection(let entityID): + return .run { _ in + do { + let entitySelection = EntitySelection(entityID) + let data = try defaultEncoder.encode(entitySelection) + await multipeerClient.send(data) + } catch { + fatalError("Failed to encode selection while sending them.") + } } - return .none case .start: - return .run(priority: .userInitiated) { send in - for await action in await multipeerClient.start( + guard state.connectedPeer == nil else { return .none } + return .run { send in + for await action in try await multipeerClient.start( serviceName: "reality-check", - sessionType: .host + sessionType: .host, + discoveryInfo: nil ) { switch action { case .session(let sessionAction): @@ -83,7 +125,7 @@ public struct MultipeerConnection: Reducer { await send(.updatePeers(peers)) } - case .advertiser(_): + case .advertiser: return } } @@ -91,7 +133,7 @@ public struct MultipeerConnection: Reducer { case .updatePeers(let peers): state.peers = peers - return .none + return .send(.delegate(.peersUpdated)) case .updateSessionState(let sessionState): state.sessionState = sessionState @@ -111,25 +153,51 @@ public struct MultipeerConnection: Reducer { extension MultipeerConnection { fileprivate func decodeReceivedData(_ data: Data, send: Send) async { - let decoder = JSONDecoder() - decoder.nonConformingFloatDecodingStrategy = .convertFromString( - positiveInfinity: "INF", - negativeInfinity: "-INF", - nan: "NAN" - ) //MARK: VideoFrameData - if let videoFrameData = try? decoder.decode(VideoFrameData.self, from: data) { + + if let videoFrameData = try? defaultDecoder.decode(VideoFrameData.self, from: data) { await send(.delegate(.receivedVideoFrameData(videoFrameData))) + } + + // MARK: Raw data - } //MARK: CodableARView - else if let decodedARView = try? decoder.decode( - CodableARView.self, + else if let dumpData = try? defaultDecoder.decode( + String.self, + from: data + ) { + await send(.delegate(.receivedDump(dumpData))) + } + + // MARK: ARView + + else if let decodedARView = try? defaultDecoder.decode( + RealityPlatform.iOS.ARView.self, from: data ) { await send(.delegate(.receivedDecodedARView(decodedARView))) - } else { - fatalError(String(data: data, encoding: .utf8)!) + } + + // MARK: RealityViewContent + + else if let decodedRealityViewContentScene = try? defaultDecoder.decode( + RealityPlatform.visionOS.Scene.self, + from: data + ) { + // print(String(data: data, encoding: .utf8)!) + await send(.delegate(.receivedDecodedScene(decodedRealityViewContentScene))) + } + + // MARK: - Unknown + + else { + guard let decodedHierarchy = String(data: data, encoding: .utf8) else { + fatalError("The received data cannot be decoded.") + } + // FIXME: avoid logger truncation + // logger.debug(decodedHierarchy, privacy: .public)") + print(decodedHierarchy) + fatalError("Unrecognized or malformed hierarchy") } } } diff --git a/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator.swift b/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator.swift new file mode 100644 index 0000000..0f6c084 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator.swift @@ -0,0 +1,105 @@ +import ComposableArchitecture +import Foundation +import SwiftUI + +@Reducer +public struct EntitiesNavigator { + + @ObservableState + public enum State: Equatable { + case iOS(EntitiesNavigator_iOS.State) + //TODO: case macOS(EntitiesNavigator_macOS.State) + case visionOS(EntitiesNavigator_visionOS.State) + + public var dumpOutput: String { + switch self { + case .iOS(let state): + return state.dumpOutput + + case .visionOS(let state): + return state.dumpOutput + } + } + } + + public enum Action: Equatable { + case iOS(EntitiesNavigator_iOS.Action) + case visionOS(EntitiesNavigator_visionOS.Action) + } + + public var body: some ReducerOf { + Scope(state: \.iOS, action: \.iOS) { + EntitiesNavigator_iOS() + } + Scope(state: \.visionOS, action: \.visionOS) { + EntitiesNavigator_visionOS() + } + } +} +///https://github.com/pointfreeco/swift-composable-architecture/blob/63ed79606882de385e22afcdf847e46277142b07/Sources/ComposableArchitecture/Macros.swift#L80 +/// +/// +/// There is currently a bug in the Swift compiler and macros that prevents you from extending +/// types that are inside other types with macros applied in the same file. For example, if you +/// wanted to extend a reducer's `State` with some extra functionality: +/// +/// ```swift +/// @Reducer +/// struct Feature { +/// struct State { /* ... */ } +/// // ... +/// } +/// +/// extension Feature.State { // 🛑 Circular reference +/// // ... +/// } +/// ``` +/// +/// This unfortunately does not work. It is a +/// [known issue](https://github.com/apple/swift/issues/66450), and the only workaround is to +/// either move the extension to a separate file, or move the code from the extension to be +/// directly inside the `State` type. +/// + +/// ``` +/// extension EntitiesNavigator.State { +/// public var dumpOutput: String { +/// switch self { +/// case .iOS(let state): +/// return state.dumpOutput +/// +/// case .visionOS(let state): +/// return state.dumpOutput +/// } +/// } +/// } +/// ``` + +public struct NavigatorView: View { + let store: StoreOf + + public init(store: StoreOf) { + self.store = store + } + + public var body: some View { + if let childStore = store.scope(state: \.entitiesNavigator, action: \.entitiesNavigator) { + switch childStore.state { + case .iOS: + if let store = childStore.scope(state: \.iOS, action: \.iOS) { + EntitiesNavigatorView_iOS(store: store) + } + case .visionOS: + if let store = childStore.scope(state: \.visionOS, action: \.visionOS) { + EntitiesNavigatorView_visionOS(store: store) + } + } + } else { + ContentUnavailableView( + "No Entities", + systemImage: "move.3d", + description: Text("Connect to an inspectable app to examine its hierarchy") + ) + } + } +} diff --git a/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator_iOS.swift b/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator_iOS.swift new file mode 100644 index 0000000..804ba0c --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator_iOS.swift @@ -0,0 +1,142 @@ +import ComposableArchitecture +import Foundation +import Models +import RealityCodable +import SwiftUI + +@Reducer +public struct EntitiesNavigator_iOS { + + @ObservableState + public struct State: Equatable { + public var arViewSection: ARViewSection.State? + public var entities: IdentifiedArrayOf { + if let entities = arViewSection?.arView.scene.anchors.map(\.value) { + return .init(uniqueElements: entities) + } else { return [] } + } + + + public var dumpOutput: String + public var selection: RealityPlatform.iOS.Entity.ID? + + public var selectedEntity: RealityPlatform.iOS.Entity? { + guard let selection else { return nil } + for rootEntity in entities { + if let entity = RealityPlatform.iOS.Scene.findEntity(id: selection, root: rootEntity) { + return entity + } + } + return nil + } + + public init( + //_ entities: [RealityPlatform.iOS.Entity], + arViewSection: ARViewSection.State? = nil, + selection: RealityPlatform.iOS.Entity.ID? = nil + ) { + //self.entities = .init(uniqueElements: entities) + self.arViewSection = arViewSection + //FIXME: self.selection = selection ?? entities.first?.id + self.dumpOutput = "⚠️ Dump output not received. Check the connection state." + } + } + + public enum Action: BindableAction, Equatable { + case arViewSection(ARViewSection.Action) + case binding(BindingAction) + case delegate(DelegateAction) + case dumpOutput(String) + case refreshEntities + } + + public enum DelegateAction: Equatable { + case didSelectEntity(RealityPlatform.iOS.Entity.ID) + } + + public var body: some Reducer { + BindingReducer() + + Reduce { state, action in + switch action { + case .arViewSection(_): + return .none + + case .binding(\.selection): + if let entity = state.selectedEntity { + return .send(.delegate(.didSelectEntity(entity.id))) + } else { + return .none + } + + case .binding: + return .none + + case .delegate(_): + return .none + + case .dumpOutput(let output): + state.dumpOutput = output + return .none + + case .refreshEntities: + guard let previousSelection = state.selection else { return .none } + state.selection = nil + return .send(.binding(.set(\.selection, previousSelection))) + } + } + .ifLet(\.arViewSection, action: \.arViewSection) { + ARViewSection() + } + } +} + +extension RealityPlatform.iOS.Entity { + public var childrenOptional: [RealityPlatform.iOS.Entity]? { + children.isEmpty ? nil : children.map(\.value) + } +} + +public struct EntitiesNavigatorView_iOS: View { + @State var store: StoreOf + @State private var searchText: String = "" + + public init(store: StoreOf) { + self.store = store + } + + public var body: some View { + List(selection: $store.selection) { + Section("ARView Debug Options") { + if let childStore = store.scope( + state: \.arViewSection?.debugOptions, + action: \.arViewSection.debugOptions + ) { + DebugOptionsView(store: childStore) + } + } + + Section("Entities") { + OutlineGroup( + store.entities.elements, + children: \.childrenOptional + ) { entity in + let isUnnamed = entity.name?.isEmpty ?? true + + Label( + entity.computedName, + systemImage: entity.systemImage + ) + .italic(isUnnamed) + + // FIXME: .help(entity.entityType.help) + // .accessibilityLabel(Text(entity.accessibilityLabel ?? "")) + // .accessibilityValue(Text(entity.accessibilityDescription ?? "")) + } + } + .collapsible(false) + } + .listStyle(.sidebar) + //FIXME: restore when related crash is resolved: .searchable(text: $searchText, placement: .sidebar, prompt: "Search Entities") + } +} diff --git a/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator_visionOS.swift b/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator_visionOS.swift new file mode 100644 index 0000000..be34c11 --- /dev/null +++ b/App/AppPackage/Sources/AppFeature/Navigator/EntitiesNavigator_visionOS.swift @@ -0,0 +1,145 @@ +import ComposableArchitecture +import Foundation +import Models +import RealityCodable +import SwiftUI + +@Reducer +public struct EntitiesNavigator_visionOS { + + @ObservableState + public struct State: Equatable { + public var entities: IdentifiedArrayOf + // public var filteredEntities: IdentifiedArrayOf + public var dumpOutput: String + // var searchQuery = "" + + public var selection: RealityPlatform.visionOS.Entity.ID? + public var selectedEntity: RealityPlatform.visionOS.Entity? { + guard let selection else { return nil } + for rootEntity in entities { + if let entity = RealityPlatform.visionOS.Scene.findEntity(id: selection, root: rootEntity) { + return entity + } + } + return nil + } + + public init( + _ entities: [RealityPlatform.visionOS.Entity], + selection: RealityPlatform.visionOS.Entity.ID? = nil + ) { + self.entities = .init(uniqueElements: entities) + // self.filteredEntities = .init(uniqueElements: entities) + self.selection = selection ?? entities.first?.id + self.dumpOutput = "⚠️ Dump output not received. Check the connection state." + } + } + + public enum Action: BindableAction, Equatable { + case binding(BindingAction) + case delegate(DelegateAction) + case dumpOutput(String) + case refreshEntities([RealityPlatform.visionOS.Entity]) + // case searchQueryChangeDebounced + } + + public enum DelegateAction: Equatable { + case didSelectEntity(RealityPlatform.visionOS.Entity.ID) + } + + public var body: some Reducer { + BindingReducer() + + Reduce { state, action in + switch action { + // case .binding(\.searchQuery): + // print(state.searchQuery) + // state.filteredEntities = state.entities.filter { + // $0.name?.contains(state.searchQuery) ?? false + // } + // return .none + + case .binding(\.selection): + if let entity = state.selectedEntity { + return .send(.delegate(.didSelectEntity(entity.id))) + } else { + return .none + } + + case .binding: + return .none + + case .delegate(_): + return .none + + case .dumpOutput(let output): + state.dumpOutput = output + return .none + + case .refreshEntities(let entities): + state.entities = .init(uniqueElements: entities) + guard let previousSelection = state.selection else { return .none } + state.selection = nil + return .send(.binding(.set(\.selection, previousSelection))) + //FIXME: crash + // case .searchQueryChangeDebounced: + // guard !state.searchQuery.isEmpty, state.searchQuery.count > 1 else { + // state.filteredEntities = state.entities + // return .none + // } + // state.filteredEntities = state.entities.filter({ entity in + // // entity.name?.lowercased().contains(state.searchQuery.lowercased()) ?? false + // entity.name?.localizedCaseInsensitiveContains(state.searchQuery) ?? false + // }) + // return .none + } + } + } + } + + //MARK: - View + + extension RealityPlatform.visionOS.Entity { + public var childrenOptional: [RealityPlatform.visionOS.Entity]? { + children.isEmpty ? nil : children.map(\.value) + } + } + + public struct EntitiesNavigatorView_visionOS: View { + @State var store: StoreOf + + public init(store: StoreOf) { + self.store = store + } + + public var body: some View { + List(selection: $store.selection) { + Section(header: Text("Entities")) { + OutlineGroup( + store.entities.elements, + children: \.childrenOptional + ) { entity in + Label( + entity.computedName, + systemImage: entity.parentID == nil + ? "uiwindow.split.2x1" + : entity.systemImage + ) + .accessibilityLabel(entity._accessibilityLabel) + // FIXME: .help(entity.entityType.help) + } + } + .collapsible(false) + } + .listStyle(.sidebar) + //FIXME: Search binding crashes: *** -[NSBigMutableString substringWithRange:]: Range {0, 1} out of bounds; string length 0 + // .searchable(text: $store.searchQuery, placement: .sidebar, prompt: "Search Entities") + // .task(id: store.searchQuery) { + // do { + // try await Task.sleep(for: .milliseconds(300)) + // await store.send(.searchQueryChangeDebounced).finish() + // } catch {} + // } + } + } diff --git a/App/AppPackage/Tests/AppFeatureTests/AppFeatureTests.swift b/App/AppPackage/Tests/AppFeatureTests/AppFeatureTests.swift index 48198a7..6cf30f7 100644 --- a/App/AppPackage/Tests/AppFeatureTests/AppFeatureTests.swift +++ b/App/AppPackage/Tests/AppFeatureTests/AppFeatureTests.swift @@ -5,34 +5,13 @@ import XCTest @testable import RealityCheck final class RealityCheckTests: XCTestCase { - var encoder: JSONEncoder { - let encoder = JSONEncoder() - encoder.nonConformingFloatEncodingStrategy = .convertToString( - positiveInfinity: "INF", - negativeInfinity: "-INF", - nan: "NAN" - ) - encoder.outputFormatting = .prettyPrinted - return encoder - } - - var decoder: JSONDecoder { - let decoder = JSONDecoder() - decoder.nonConformingFloatDecodingStrategy = .convertFromString( - positiveInfinity: "INF", - negativeInfinity: "-INF", - nan: "NAN" - ) - return decoder - } - func testSimpleDecodable() throws { let url = Bundle.module.url(forResource: "simple_hierarchy", withExtension: "json")! let data = try Data(contentsOf: url) - let hierarchy = try! decoder.decode(CodableARView.self, from: data) + let hierarchy = try! defaultDecoder.decode(CodableARView.self, from: data) //Re - Encode - let hierarchyData = try! encoder.encode(hierarchy) - let hierarchyReDecoded = try! decoder.decode(CodableARView.self, from: hierarchyData) + let hierarchyData = try! defaultEncoder.encode(hierarchy) + let hierarchyReDecoded = try! defaultDecoder.decode(CodableARView.self, from: hierarchyData) XCTAssertFalse(hierarchyReDecoded.scene.anchors.isEmpty) customDump(hierarchyReDecoded) @@ -41,7 +20,7 @@ final class RealityCheckTests: XCTestCase { // func testNotSoSimpleDecodable() throws { // let url = Bundle.module.url(forResource: "not_so_simple_hierarchy", withExtension: "json")! // let data = try Data(contentsOf: url) - // let hierarchy = try! decoder.decode([IdentifiableEntity].self, from: data) + // let hierarchy = try! decoder.decode([CodableEntity].self, from: data) // XCTAssertNotNil(hierarchy) // customDump(hierarchy) // } @@ -49,7 +28,7 @@ final class RealityCheckTests: XCTestCase { func testARViewDecodable() throws { let url = Bundle.module.url(forResource: "codable_arview", withExtension: "json")! let data = try Data(contentsOf: url, options: .mappedIfSafe) - let hierarchy = try! decoder.decode(CodableARView.self, from: data) + let hierarchy = try! defaultDecoder.decode(CodableARView.self, from: data) XCTAssertNotNil(hierarchy) customDump(hierarchy) } diff --git a/App/RealityCheck.xcodeproj/project.pbxproj b/App/RealityCheck.xcodeproj/project.pbxproj index b758241..33b29c5 100644 --- a/App/RealityCheck.xcodeproj/project.pbxproj +++ b/App/RealityCheck.xcodeproj/project.pbxproj @@ -7,7 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 401215A22A210AC100D98058 /* DebugOptionsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215A12A210AC100D98058 /* DebugOptionsView.swift */; }; 401215AA2A23658A00D98058 /* SplitViewItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215A42A23658A00D98058 /* SplitViewItem.swift */; }; 401215AB2A23658A00D98058 /* SplitViewModifiers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215A52A23658A00D98058 /* SplitViewModifiers.swift */; }; 401215AC2A23658A00D98058 /* SplitViewControllerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215A62A23658A00D98058 /* SplitViewControllerView.swift */; }; @@ -15,28 +14,19 @@ 401215AE2A23658A00D98058 /* Variadic.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215A82A23658A00D98058 /* Variadic.swift */; }; 401215AF2A23658A00D98058 /* SplitViewReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215A92A23658A00D98058 /* SplitViewReader.swift */; }; 401215B22A23659D00D98058 /* View+isHovering.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215B02A23659D00D98058 /* View+isHovering.swift */; }; - 401215B32A23659D00D98058 /* StatusBarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215B12A23659D00D98058 /* StatusBarView.swift */; }; - 401215B62A237A2000D98058 /* EntitiesSectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215B52A237A2000D98058 /* EntitiesSectionView.swift */; }; - 401215B82A237E5000D98058 /* ARViewSectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215B72A237E5000D98058 /* ARViewSectionView.swift */; }; - 4025FC752A0BF68100A8191F /* SidebarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4025FC742A0BF68100A8191F /* SidebarView.swift */; }; - 402EA02E29F6E43E00BB522F /* EntityDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 402EA02D29F6E43E00BB522F /* EntityDetailView.swift */; }; - 4041812A2A1BE1EF003C198E /* ComponentPropertiesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 404181292A1BE1EF003C198E /* ComponentPropertiesView.swift */; }; - 4076368B2A1EBB23008378B6 /* Color+Hash.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4076368A2A1EBB23008378B6 /* Color+Hash.swift */; }; - 40874E8F2A289B9D00DD88FD /* ARViewDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40874E8E2A289B9D00DD88FD /* ARViewDetailView.swift */; }; - 40876A542A1E0F4A00C96893 /* ConnectionSetupView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40876A532A1E0F4A00C96893 /* ConnectionSetupView.swift */; }; + 401215B32A23659D00D98058 /* ConsoleStatusBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 401215B12A23659D00D98058 /* ConsoleStatusBar.swift */; }; + 40A3D3782AEC3B770044095B /* reality-check in Resources */ = {isa = PBXBuildFile; fileRef = 40A3D3772AEC3B770044095B /* reality-check */; }; + 40A3D37A2AEC3BA60044095B /* RealityCheckConnect in Frameworks */ = {isa = PBXBuildFile; productRef = 40A3D3792AEC3BA60044095B /* RealityCheckConnect */; }; + 40AA88932B21D68900A6C274 /* TripleLayoutView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40AA88922B21D68900A6C274 /* TripleLayoutView.swift */; }; + 40AA88952B21D6DC00A6C274 /* DoubleLayoutView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40AA88942B21D6DC00A6C274 /* DoubleLayoutView.swift */; }; 40E7518B29F68F0B0083502A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 40E7517D29F68F0B0083502A /* Assets.xcassets */; }; 40E7518C29F68F0B0083502A /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 40E7517F29F68F0B0083502A /* Preview Assets.xcassets */; }; 40E7518D29F68F0B0083502A /* MainView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E7518129F68F0B0083502A /* MainView.swift */; }; 40E7518E29F68F0B0083502A /* RealityCheckApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E7518229F68F0B0083502A /* RealityCheckApp.swift */; }; - 40E7519129F68F0B0083502A /* Transform+Rotation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E7518629F68F0B0083502A /* Transform+Rotation.swift */; }; - 40E7519229F68F0B0083502A /* Comparable+clamp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E7518729F68F0B0083502A /* Comparable+clamp.swift */; }; - 40E7519329F68F0B0083502A /* Entity+HasCollision.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E7518829F68F0B0083502A /* Entity+HasCollision.swift */; }; - 40E7519429F68F0B0083502A /* Matrix+Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E7518929F68F0B0083502A /* Matrix+Utils.swift */; }; 40FDE7492A16C94E006BFD32 /* AppFeature in Frameworks */ = {isa = PBXBuildFile; productRef = 40FDE7482A16C94E006BFD32 /* AppFeature */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 401215A12A210AC100D98058 /* DebugOptionsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DebugOptionsView.swift; sourceTree = ""; }; 401215A42A23658A00D98058 /* SplitViewItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitViewItem.swift; sourceTree = ""; }; 401215A52A23658A00D98058 /* SplitViewModifiers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitViewModifiers.swift; sourceTree = ""; }; 401215A62A23658A00D98058 /* SplitViewControllerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitViewControllerView.swift; sourceTree = ""; }; @@ -44,28 +34,17 @@ 401215A82A23658A00D98058 /* Variadic.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Variadic.swift; sourceTree = ""; }; 401215A92A23658A00D98058 /* SplitViewReader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplitViewReader.swift; sourceTree = ""; }; 401215B02A23659D00D98058 /* View+isHovering.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "View+isHovering.swift"; sourceTree = ""; }; - 401215B12A23659D00D98058 /* StatusBarView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StatusBarView.swift; sourceTree = ""; }; - 401215B52A237A2000D98058 /* EntitiesSectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EntitiesSectionView.swift; sourceTree = ""; }; - 401215B72A237E5000D98058 /* ARViewSectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ARViewSectionView.swift; sourceTree = ""; }; - 4025FC742A0BF68100A8191F /* SidebarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SidebarView.swift; sourceTree = ""; }; - 402EA02D29F6E43E00BB522F /* EntityDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EntityDetailView.swift; sourceTree = ""; }; - 404181292A1BE1EF003C198E /* ComponentPropertiesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComponentPropertiesView.swift; sourceTree = ""; }; - 4076368A2A1EBB23008378B6 /* Color+Hash.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Color+Hash.swift"; sourceTree = ""; }; + 401215B12A23659D00D98058 /* ConsoleStatusBar.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConsoleStatusBar.swift; sourceTree = ""; }; 4086EDAC2A16C326001CFF27 /* AppPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = AppPackage; sourceTree = ""; }; - 40874E8E2A289B9D00DD88FD /* ARViewDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ARViewDetailView.swift; sourceTree = ""; }; - 40876A532A1E0F4A00C96893 /* ConnectionSetupView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConnectionSetupView.swift; sourceTree = ""; }; 408A519C29F68FD6001E7D9B /* RealityCheck.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = RealityCheck.entitlements; sourceTree = ""; }; - 40BD84CE2A16808400522CED /* RealityCheck-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RealityCheck-Info.plist"; sourceTree = ""; }; + 40A3D3772AEC3B770044095B /* reality-check */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "reality-check"; path = ..; sourceTree = ""; }; + 40AA88922B21D68900A6C274 /* TripleLayoutView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TripleLayoutView.swift; sourceTree = ""; }; + 40AA88942B21D6DC00A6C274 /* DoubleLayoutView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DoubleLayoutView.swift; sourceTree = ""; }; 40E7517D29F68F0B0083502A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 40E7517F29F68F0B0083502A /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; 40E7518129F68F0B0083502A /* MainView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainView.swift; sourceTree = ""; }; 40E7518229F68F0B0083502A /* RealityCheckApp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealityCheckApp.swift; sourceTree = ""; }; - 40E7518629F68F0B0083502A /* Transform+Rotation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Transform+Rotation.swift"; sourceTree = ""; }; - 40E7518729F68F0B0083502A /* Comparable+clamp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Comparable+clamp.swift"; sourceTree = ""; }; - 40E7518829F68F0B0083502A /* Entity+HasCollision.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Entity+HasCollision.swift"; sourceTree = ""; }; - 40E7518929F68F0B0083502A /* Matrix+Utils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Matrix+Utils.swift"; sourceTree = ""; }; 40FA063C29F66A8500DD5306 /* RealityCheck.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RealityCheck.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 40FDE74B2A16CBC7006BFD32 /* RealityCheck */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = RealityCheck; path = ..; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -74,6 +53,7 @@ buildActionMask = 2147483647; files = ( 40FDE7492A16C94E006BFD32 /* AppFeature in Frameworks */, + 40A3D37A2AEC3BA60044095B /* RealityCheckConnect in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -83,6 +63,7 @@ 401215A32A23658A00D98058 /* CustomSplitView */ = { isa = PBXGroup; children = ( + 401215B12A23659D00D98058 /* ConsoleStatusBar.swift */, 401215A42A23658A00D98058 /* SplitViewItem.swift */, 401215A52A23658A00D98058 /* SplitViewModifiers.swift */, 401215A62A23658A00D98058 /* SplitViewControllerView.swift */, @@ -93,45 +74,43 @@ path = CustomSplitView; sourceTree = ""; }; - 401215B42A2379F200D98058 /* Sidebar */ = { + 402D8A9F2A7E3DE8004DC8F5 /* Extensions */ = { isa = PBXGroup; children = ( - 4025FC742A0BF68100A8191F /* SidebarView.swift */, - 401215B52A237A2000D98058 /* EntitiesSectionView.swift */, - 401215B72A237E5000D98058 /* ARViewSectionView.swift */, + 401215B02A23659D00D98058 /* View+isHovering.swift */, ); - path = Sidebar; + path = Extensions; sourceTree = ""; }; 409B76522A16D2D1001B28E1 /* Packages */ = { isa = PBXGroup; children = ( - 40FDE74B2A16CBC7006BFD32 /* RealityCheck */, + 40A3D3772AEC3B770044095B /* reality-check */, 4086EDAC2A16C326001CFF27 /* AppPackage */, ); name = Packages; sourceTree = ""; }; + 40AA88912B21D67B00A6C274 /* Layouts */ = { + isa = PBXGroup; + children = ( + 40AA88922B21D68900A6C274 /* TripleLayoutView.swift */, + 40AA88942B21D6DC00A6C274 /* DoubleLayoutView.swift */, + ); + path = Layouts; + sourceTree = ""; + }; 40E7517C29F68F0B0083502A /* macOS */ = { isa = PBXGroup; children = ( + 40AA88912B21D67B00A6C274 /* Layouts */, 408A519C29F68FD6001E7D9B /* RealityCheck.entitlements */, - 40BD84CE2A16808400522CED /* RealityCheck-Info.plist */, - 40874E8E2A289B9D00DD88FD /* ARViewDetailView.swift */, - 4076368A2A1EBB23008378B6 /* Color+Hash.swift */, - 404181292A1BE1EF003C198E /* ComponentPropertiesView.swift */, - 40876A532A1E0F4A00C96893 /* ConnectionSetupView.swift */, - 401215A12A210AC100D98058 /* DebugOptionsView.swift */, - 402EA02D29F6E43E00BB522F /* EntityDetailView.swift */, 40E7518129F68F0B0083502A /* MainView.swift */, 40E7518229F68F0B0083502A /* RealityCheckApp.swift */, - 401215B12A23659D00D98058 /* StatusBarView.swift */, - 401215B02A23659D00D98058 /* View+isHovering.swift */, 40E7517D29F68F0B0083502A /* Assets.xcassets */, 401215A32A23658A00D98058 /* CustomSplitView */, - 40E7518329F68F0B0083502A /* Debug */, + 402D8A9F2A7E3DE8004DC8F5 /* Extensions */, 40E7517E29F68F0B0083502A /* Preview Content */, - 401215B42A2379F200D98058 /* Sidebar */, ); path = macOS; sourceTree = ""; @@ -144,17 +123,6 @@ path = "Preview Content"; sourceTree = ""; }; - 40E7518329F68F0B0083502A /* Debug */ = { - isa = PBXGroup; - children = ( - 40E7518629F68F0B0083502A /* Transform+Rotation.swift */, - 40E7518729F68F0B0083502A /* Comparable+clamp.swift */, - 40E7518829F68F0B0083502A /* Entity+HasCollision.swift */, - 40E7518929F68F0B0083502A /* Matrix+Utils.swift */, - ); - path = Debug; - sourceTree = ""; - }; 40FA063329F66A8500DD5306 = { isa = PBXGroup; children = ( @@ -198,6 +166,7 @@ name = RealityCheck; packageProductDependencies = ( 40FDE7482A16C94E006BFD32 /* AppFeature */, + 40A3D3792AEC3BA60044095B /* RealityCheckConnect */, ); productName = RealityCheck; productReference = 40FA063C29F66A8500DD5306 /* RealityCheck.app */; @@ -211,7 +180,7 @@ attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1430; - LastUpgradeCheck = 1500; + LastUpgradeCheck = 1510; TargetAttributes = { 40FA063B29F66A8500DD5306 = { CreatedOnToolsVersion = 14.3; @@ -241,6 +210,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 40A3D3782AEC3B770044095B /* reality-check in Resources */, 40E7518C29F68F0B0083502A /* Preview Assets.xcassets in Resources */, 40E7518B29F68F0B0083502A /* Assets.xcassets in Resources */, ); @@ -253,39 +223,134 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 4076368B2A1EBB23008378B6 /* Color+Hash.swift in Sources */, 401215AD2A23658A00D98058 /* SplitView.swift in Sources */, - 401215A22A210AC100D98058 /* DebugOptionsView.swift in Sources */, - 4025FC752A0BF68100A8191F /* SidebarView.swift in Sources */, + 40AA88952B21D6DC00A6C274 /* DoubleLayoutView.swift in Sources */, 401215AA2A23658A00D98058 /* SplitViewItem.swift in Sources */, - 40E7519429F68F0B0083502A /* Matrix+Utils.swift in Sources */, - 401215B32A23659D00D98058 /* StatusBarView.swift in Sources */, + 401215B32A23659D00D98058 /* ConsoleStatusBar.swift in Sources */, 401215AF2A23658A00D98058 /* SplitViewReader.swift in Sources */, - 40E7519329F68F0B0083502A /* Entity+HasCollision.swift in Sources */, - 401215B62A237A2000D98058 /* EntitiesSectionView.swift in Sources */, - 401215B82A237E5000D98058 /* ARViewSectionView.swift in Sources */, 401215AB2A23658A00D98058 /* SplitViewModifiers.swift in Sources */, 40E7518D29F68F0B0083502A /* MainView.swift in Sources */, - 4041812A2A1BE1EF003C198E /* ComponentPropertiesView.swift in Sources */, + 40AA88932B21D68900A6C274 /* TripleLayoutView.swift in Sources */, 40E7518E29F68F0B0083502A /* RealityCheckApp.swift in Sources */, - 40876A542A1E0F4A00C96893 /* ConnectionSetupView.swift in Sources */, 401215AE2A23658A00D98058 /* Variadic.swift in Sources */, 401215B22A23659D00D98058 /* View+isHovering.swift in Sources */, - 402EA02E29F6E43E00BB522F /* EntityDetailView.swift in Sources */, 401215AC2A23658A00D98058 /* SplitViewControllerView.swift in Sources */, - 40874E8F2A289B9D00DD88FD /* ARViewDetailView.swift in Sources */, - 40E7519129F68F0B0083502A /* Transform+Rotation.swift in Sources */, - 40E7519229F68F0B0083502A /* Comparable+clamp.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 40F902672ABF244E00410F7A /* Mock */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Mock; + }; + 40F902682ABF244E00410F7A /* Mock */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = macOS/RealityCheck.entitlements; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 4; + DEAD_CODE_STRIPPING = YES; + DEVELOPMENT_ASSET_PATHS = "\"macOS/Preview Content\""; + DEVELOPMENT_TEAM = M92A6H7EPZ; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + INFOPLIST_KEY_NSLocalNetworkUsageDescription = "This application will use local networking to discover nearby devices."; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 14.0; + MARKETING_VERSION = 0.0.3; + OTHER_SWIFT_FLAGS = ""; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.RealityCheck; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = macosx; + SUPPORTS_MACCATALYST = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG MULTIPEER_MOCK"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Mock; + }; 40FA064929F66A8600DD5306 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; @@ -346,6 +411,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; @@ -403,14 +469,13 @@ CODE_SIGN_ENTITLEMENTS = macOS/RealityCheck.entitlements; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 4; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"macOS/Preview Content\""; DEVELOPMENT_TEAM = M92A6H7EPZ; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "macOS/RealityCheck-Info.plist"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; INFOPLIST_KEY_NSLocalNetworkUsageDescription = "This application will use local networking to discover nearby devices."; "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; @@ -426,15 +491,17 @@ IPHONEOS_DEPLOYMENT_TARGET = 16.4; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 0.0.2; + MACOSX_DEPLOYMENT_TARGET = 14.0; + MARKETING_VERSION = 0.0.3; + OTHER_SWIFT_FLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.RealityCheck; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; + SUPPORTED_PLATFORMS = macosx; + SUPPORTS_MACCATALYST = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; @@ -446,14 +513,13 @@ CODE_SIGN_ENTITLEMENTS = macOS/RealityCheck.entitlements; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 4; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"macOS/Preview Content\""; DEVELOPMENT_TEAM = M92A6H7EPZ; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "macOS/RealityCheck-Info.plist"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; INFOPLIST_KEY_NSLocalNetworkUsageDescription = "This application will use local networking to discover nearby devices."; "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; @@ -469,15 +535,16 @@ IPHONEOS_DEPLOYMENT_TARGET = 16.4; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 0.0.2; + MACOSX_DEPLOYMENT_TARGET = 14.0; + MARKETING_VERSION = 0.0.3; + OTHER_SWIFT_FLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.RealityCheck; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; + SUPPORTED_PLATFORMS = macosx; + SUPPORTS_MACCATALYST = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; }; @@ -488,6 +555,7 @@ isa = XCConfigurationList; buildConfigurations = ( 40FA064929F66A8600DD5306 /* Debug */, + 40F902672ABF244E00410F7A /* Mock */, 40FA064A29F66A8600DD5306 /* Release */, ); defaultConfigurationIsVisible = 0; @@ -497,6 +565,7 @@ isa = XCConfigurationList; buildConfigurations = ( 40FA064C29F66A8600DD5306 /* Debug */, + 40F902682ABF244E00410F7A /* Mock */, 40FA064D29F66A8600DD5306 /* Release */, ); defaultConfigurationIsVisible = 0; @@ -505,6 +574,10 @@ /* End XCConfigurationList section */ /* Begin XCSwiftPackageProductDependency section */ + 40A3D3792AEC3BA60044095B /* RealityCheckConnect */ = { + isa = XCSwiftPackageProductDependency; + productName = RealityCheckConnect; + }; 40FDE7482A16C94E006BFD32 /* AppFeature */ = { isa = XCSwiftPackageProductDependency; productName = AppFeature; diff --git a/App/RealityCheck.xcodeproj/xcshareddata/xcschemes/RealityCheck (MultipeerMock).xcscheme b/App/RealityCheck.xcodeproj/xcshareddata/xcschemes/RealityCheck (MultipeerMock).xcscheme new file mode 100644 index 0000000..6175021 --- /dev/null +++ b/App/RealityCheck.xcodeproj/xcshareddata/xcschemes/RealityCheck (MultipeerMock).xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/App/RealityCheck.xcodeproj/xcshareddata/xcschemes/RealityCheck.xcscheme b/App/RealityCheck.xcodeproj/xcshareddata/xcschemes/RealityCheck.xcscheme index 25bd25e..2325b2c 100644 --- a/App/RealityCheck.xcodeproj/xcshareddata/xcschemes/RealityCheck.xcscheme +++ b/App/RealityCheck.xcodeproj/xcshareddata/xcschemes/RealityCheck.xcscheme @@ -1,6 +1,6 @@ orderHint 5 + RealityCheck (Mock).xcscheme_^#shared#^_ + + orderHint + 5 + + RealityCheck (MultipeerMock).xcscheme_^#shared#^_ + + orderHint + 2 + RealityCheck.xcscheme_^#shared#^_ orderHint diff --git a/App/macOS/ARViewDetailView.swift b/App/macOS/ARViewDetailView.swift deleted file mode 100644 index 259607e..0000000 --- a/App/macOS/ARViewDetailView.swift +++ /dev/null @@ -1,21 +0,0 @@ -import Models -import SwiftUI - -struct ARViewDetailView: View { - let arView: CodableARView - - init( - _ arView: CodableARView - ) { - self.arView = arView - } - - var body: some View { - Form { - Section("View") { - LabeledContent("contentScaleFactor", value: "\(arView.contentScaleFactor)") - } - } - .formStyle(.grouped) - } -} diff --git a/App/macOS/Assets.xcassets/Badge - ARKit.imageset/Contents.json b/App/macOS/Assets.xcassets/Badge - ARKit.imageset/Contents.json index 37c9122..53e7dfa 100644 --- a/App/macOS/Assets.xcassets/Badge - ARKit.imageset/Contents.json +++ b/App/macOS/Assets.xcassets/Badge - ARKit.imageset/Contents.json @@ -2,16 +2,7 @@ "images" : [ { "filename" : "Badge - ARKit.pdf", - "idiom" : "universal", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "idiom" : "universal" } ], "info" : { diff --git a/App/macOS/Assets.xcassets/stripes.imageset/Contents.json b/App/macOS/Assets.xcassets/stripes.imageset/Contents.json new file mode 100644 index 0000000..9512045 --- /dev/null +++ b/App/macOS/Assets.xcassets/stripes.imageset/Contents.json @@ -0,0 +1,22 @@ +{ + "images" : [ + { + "filename" : "stripes-light.png", + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "filename" : "stripes-dark.png", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/App/macOS/Assets.xcassets/stripes.imageset/stripes-dark.png b/App/macOS/Assets.xcassets/stripes.imageset/stripes-dark.png new file mode 100644 index 0000000..538f0ca Binary files /dev/null and b/App/macOS/Assets.xcassets/stripes.imageset/stripes-dark.png differ diff --git a/App/macOS/Assets.xcassets/stripes.imageset/stripes-light.png b/App/macOS/Assets.xcassets/stripes.imageset/stripes-light.png new file mode 100644 index 0000000..b868960 Binary files /dev/null and b/App/macOS/Assets.xcassets/stripes.imageset/stripes-light.png differ diff --git a/App/macOS/Assets.xcassets/visionpro.imageset/Contents.json b/App/macOS/Assets.xcassets/visionpro.imageset/Contents.json new file mode 100644 index 0000000..f669181 --- /dev/null +++ b/App/macOS/Assets.xcassets/visionpro.imageset/Contents.json @@ -0,0 +1,15 @@ +{ + "images" : [ + { + "filename" : "visionos-icon.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + }, + "properties" : { + "preserves-vector-representation" : true + } +} diff --git a/App/macOS/Assets.xcassets/visionpro.imageset/visionos-icon.svg b/App/macOS/Assets.xcassets/visionpro.imageset/visionos-icon.svg new file mode 100644 index 0000000..e67c7d2 --- /dev/null +++ b/App/macOS/Assets.xcassets/visionpro.imageset/visionos-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/App/macOS/ComponentPropertiesView.swift b/App/macOS/ComponentPropertiesView.swift deleted file mode 100644 index de62987..0000000 --- a/App/macOS/ComponentPropertiesView.swift +++ /dev/null @@ -1,478 +0,0 @@ -import Models -import SwiftUI - -struct ComponentPropertiesView: View { - let properties: ComponentProperties - - init( - _ properties: ComponentProperties - ) { - self.properties = properties - } - - var body: some View { - switch properties { - case .anchoring(let properties): - AnchoringComponentPropertiesView(properties) - - case .characterController(let properties): - CharacterControllerComponentPropertiesView(properties) - - case .characterControllerState(let properties): - CharacterControllerStateComponentPropertiesView(properties) - - case .collision(let properties): - CollisionComponentPropertiesView(properties) - - case .directionalLight(let properties): - DirectionalLightComponentPropertiesView(properties) - - case .directionalLightShadow(let properties): - DirectionalLightShadowComponentPropertiesView(properties) - - case .model(let properties): - ModelComponentPropertiesView(properties) - - case .modelDebugOptions(let properties): - ModelDebugOptionsComponentPropertiesView(properties) - - case .perspectiveCamera(let properties): - PerspectiveCameraComponentPropertiesView(properties) - - case .physicsBody(let properties): - PhysicsBodyComponentPropertiesView(properties) - - case .physicsMotion(let properties): - PhysicsMotionComponentPropertiesView(properties) - - case .pointLight(let properties): - PointLightComponentPropertiesView(properties) - - case .spotLight(let properties): - SpotLightComponentPropertiesView(properties) - - case .spotLightShadow(let properties): - SpotLightShadowComponentPropertiesView(properties) - - case .synchronization(let properties): - SynchronizationComponentPropertiesView(properties) - - case .transform(let properties): - TransformComponentPropertiesView(properties) - } - } -} - -struct AnchoringComponentPropertiesView: View { - let properties: AnchoringComponentProperties - private var targetDebugDescription: String { - switch properties.target { - case .camera: - return "camera" - case .world(let transform): - return "world(\(transform)" - case .anchor(let identifier): - return "anchor(identifier: \(identifier))" - case .plane(_, let classifications, let minimumBounds): - return "plane(_, \(classifications), \(minimumBounds))" - case .image(let group, let name): - return "image(\(group), \(name))" - case .object(let group, let name): - return "object(\(group), \(name))" - case .face: - return "face" - case .body: - return "body" - } - } - - init( - _ properties: AnchoringComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent( - "target", - value: targetDebugDescription - ) - } -} - -struct CharacterControllerComponentPropertiesView: View { - let properties: CharacterControllerComponentProperties - - init( - _ properties: CharacterControllerComponentProperties - ) { - self.properties = properties - } - - private var collisionFilterDebugDescription: String { - switch properties.collisionFilter.rawValue { - case .default: - return "default" - case .sensor: - return "sensor" - default: - return "unknown -> default" - } - } - - var body: some View { - LabeledContent("radius", value: properties.radius.debugDescription) - LabeledContent("height", value: properties.height.debugDescription) - LabeledContent("skinWidth", value: properties.skinWidth.debugDescription) - LabeledContent("slopeLimit", value: properties.slopeLimit.debugDescription) - LabeledContent("stepLimit", value: properties.stepLimit.debugDescription) - LabeledContent("upVector", value: properties.upVector.debugDescription) - LabeledContent("collisionFilter", value: collisionFilterDebugDescription) - } -} - -struct CharacterControllerStateComponentPropertiesView: View { - let properties: CharacterControllerStateComponentProperties - - init( - _ properties: CharacterControllerStateComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("velocity", value: properties.velocity.debugDescription) - LabeledContent("isOnGround", value: properties.isOnGround ? "YES" : "NO") - } -} - -struct CollisionComponentPropertiesView: View { - let properties: CollisionComponentProperties - - private var modeDebugDescription: String { - switch properties.mode { - case .`default`: - return "default" - case .trigger: - return "trigger" - } - } - - init( - _ properties: CollisionComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("shapes", value: properties.shapes.debugDescription) - LabeledContent("mode", value: modeDebugDescription) - //TODO: find a better way to display filters - GroupBox("filter") { - LabeledContent( - "group", - value: "\(properties.filter.group.collisionGroup.rawValue)" - ).padding([.leading, .trailing, .top], 8) - LabeledContent( - "mask", - value: "\(properties.filter.mask.collisionGroup.rawValue)" - ).padding([.leading, .trailing, .bottom], 8) - } - } -} - -struct DirectionalLightComponentPropertiesView: View { - let properties: DirectionalLightComponentProperties - - init( - _ properties: DirectionalLightComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("intensity", value: properties.intensity.debugDescription) - LabeledContent( - "isRealWorldProxy", - value: properties.isRealWorldProxy ? "YES" : "NO" - ) - } -} - -struct DirectionalLightShadowComponentPropertiesView: View { - let properties: DirectionalLightShadowComponentProperties - - init( - _ properties: DirectionalLightShadowComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("depthBias", value: properties.depthBias.debugDescription) - LabeledContent( - "maximumDistance", - value: properties.maximumDistance.debugDescription - ) - } -} - -struct ModelComponentPropertiesView: View { - let properties: ModelComponentProperties - - init( - _ properties: ModelComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("mesh", value: "properties.mesh") //FIXME: find a way to display `mesh` - LabeledContent("materials", value: properties.materials.debugDescription) //TODO: find a better way to display `materials` - LabeledContent("boundsMargin", value: properties.boundsMargin.debugDescription) - } -} - -struct ModelDebugOptionsComponentPropertiesView: View { - let properties: ModelDebugOptionsComponentProperties - - private var visualizationModeDebugDescription: String { - switch properties.visualizationMode { - case .none: - return "none" - case .normal: - return "normal" - case .tangent: - return "tangent" - case .bitangent: - return "bitangent" - case .baseColor: - return "baseColor" - case .textureCoordinates: - return "textureCoordinates" - case .finalColor: - return "finalColor" - case .finalAlpha: - return "finalAlpha" - case .roughness: - return "roughness" - case .metallic: - return "metallic" - case .ambientOcclusion: - return "ambientOcclusion" - case .specular: - return "specular" - case .emissive: - return "emissive" - case .clearcoat: - return "clearcoat" - case .clearcoatRoughness: - return "clearcoatRoughness" - case .lightingDiffuse: - return "lightingDiffuse" - case .lightingSpecular: - return "lightingSpecular" - @unknown default: - return "@unknown" - } - } - init( - _ properties: ModelDebugOptionsComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("visualizationMode", value: visualizationModeDebugDescription) - } -} - -struct PerspectiveCameraComponentPropertiesView: View { - let properties: PerspectiveCameraComponentProperties - - init( - _ properties: PerspectiveCameraComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("near", value: properties.near.debugDescription) - LabeledContent("far", value: properties.far.debugDescription) - LabeledContent( - "fieldOfViewInDegrees", - value: properties.fieldOfViewInDegrees.debugDescription - ) - } -} - -struct PhysicsBodyComponentPropertiesView: View { - let properties: PhysicsBodyComponentProperties - - private var modeDebugDescription: String { - switch properties.mode { - case .static: - return "static" - case .kinematic: - return "kinematic" - case .dynamic: - return "dynamic" - } - } - - init( - _ properties: PhysicsBodyComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("mode", value: modeDebugDescription) - //FIXME: Restore "massProperties" display - /* - GroupBox("massProperties") { - LabeledContent("inertia", value: properties.massProperties.inertia.debugDescription) - GroupBox("centerOfMass") { - LabeledContent( - "orientation", - value: properties.massProperties.centerOfMass.orientation.debugDescription) - LabeledContent( - "orientation", - value: properties.massProperties.centerOfMass.position.debugDescription) - } - LabeledContent("mass", value: properties.massProperties.mass.debugDescription) - } - */ - - LabeledContent("material", value: "properties.material") //FIXME: find a way to display `material` - LabeledContent( - "isTranslationLocked", - value: - "(x: \(properties.isTranslationLocked.x), y: \(properties.isTranslationLocked.y), z: \(properties.isTranslationLocked.z))" - ) - LabeledContent( - "isRotationLocked", - value: - "(x: \(properties.isRotationLocked.x), y: \(properties.isRotationLocked.y), z: \(properties.isRotationLocked.z))" - ) - LabeledContent( - "isContinuousCollisionDetectionEnabled", - value: properties.isContinuousCollisionDetectionEnabled ? "YES" : "NO" - ) - } -} - -struct PhysicsMotionComponentPropertiesView: View { - let properties: PhysicsMotionComponentProperties - - init( - _ properties: PhysicsMotionComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("linearVelocity", value: properties.linearVelocity.debugDescription) - LabeledContent( - "angularVelocity", - value: properties.angularVelocity.debugDescription - ) - } -} - -struct PointLightComponentPropertiesView: View { - let properties: PointLightComponentProperties - - init( - _ properties: PointLightComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("intensity", value: properties.intensity.debugDescription) - LabeledContent( - "attenuationRadius", - value: properties.attenuationRadius.debugDescription - ) - } -} - -struct SpotLightComponentPropertiesView: View { - let properties: SpotLightComponentProperties - - init( - _ properties: SpotLightComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("intensity", value: properties.innerAngleInDegrees.debugDescription) - LabeledContent( - "outerAngleInDegrees", - value: properties.attenuationRadius.debugDescription - ) - LabeledContent("intensity", value: properties.innerAngleInDegrees.debugDescription) - LabeledContent( - "outerAngleInDegrees", - value: properties.attenuationRadius.debugDescription - ) - } -} - -struct SpotLightShadowComponentPropertiesView: View { - let properties: SpotLightShadowComponentProperties - - init( - _ properties: SpotLightShadowComponentProperties - ) { - self.properties = properties - } - - var body: some View { - Text("No properties are available.") - } -} - -struct SynchronizationComponentPropertiesView: View { - let properties: SynchronizationComponentProperties - - private var ownershipTransferModeDebugDescription: String { - switch properties.ownershipTransferMode { - case .autoAccept: - return "autoAccept" - case .manual: - return "manual" - } - } - - init( - _ properties: SynchronizationComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("identifier", value: properties.isOwner ? "YES" : "NO") - LabeledContent("ownershipTransferMode", value: properties.identifier.description) - LabeledContent("isOwner", value: ownershipTransferModeDebugDescription) - } -} - -struct TransformComponentPropertiesView: View { - let properties: TransformComponentProperties - - init( - _ properties: TransformComponentProperties - ) { - self.properties = properties - } - - var body: some View { - LabeledContent("matrix", value: properties.matrix.debugDescription) - LabeledContent("rotation", value: properties.rotation.debugDescription) - LabeledContent("scale", value: properties.scale.debugDescription) - LabeledContent("translation", value: properties.translation.debugDescription) - } -} diff --git a/App/macOS/ConnectionSetupView.swift b/App/macOS/ConnectionSetupView.swift deleted file mode 100644 index 281d322..0000000 --- a/App/macOS/ConnectionSetupView.swift +++ /dev/null @@ -1,221 +0,0 @@ -import AppFeature -import ComposableArchitecture -import MultipeerClient -import SwiftUI - -struct ConnectionSetupView: View { - @Environment(\.openURL) private var openURL - - let store: StoreOf - var columns: [GridItem] { - [ - .init(.flexible()), - .init(.flexible()), - .init(.flexible()), - ] - } - - var body: some View { - //TODO: scope the viewStore to only observe "Peers" - WithViewStore(self.store, observe: { $0 }) { viewStore in - VStack(spacing: 0) { - ScrollView(.vertical) { - LazyVGrid(columns: columns, alignment: .leading) { - ForEach(Array(viewStore.peers.keys)) { peer in - PeerConnectView(peer: peer, viewStore: viewStore) - } - } - .padding() - } - .overlay( - Group { - if viewStore.peers.isEmpty { - Text("Inspectable apps will appear here.") - .foregroundColor(.secondary) - } - } - ) - .animation(.easeInOut, value: viewStore.peers) - .task { - viewStore.send(.start) - } - - Divider() - - HStack { - Button( - action: { - openURL( - URL( - string: - "https://monstar-lab-oss.github.io/reality-check/documentation/realitycheckconnect/gettingstarted" - )! - ) - }, - label: { - Label("Getting Started", systemImage: "questionmark.circle") - } - ) - .controlSize(.large) - - Spacer() - } - .padding() - .background(.bar) - } - .frame(width: 521, height: 521) - } - } -} - -struct PeerConnectView: View { - @Environment(\.openWindow) private var openWindow - let peer: Peer - @ObservedObject var viewStore: ViewStoreOf - - var body: some View { - let discoveryInfo: DiscoveryInfo? = viewStore.peers[peer] - Button( - action: { - viewStore.send(.invite(peer)) - openWindow(id: "RealityCheckWindowID") - }, - label: { - VStack { - Image(systemName: "app.fill") - .resizable() - .aspectRatio(contentMode: .fill) - .fontWeight(.thin) - .foregroundColor(colorFromHash(discoveryInfo?.colorHash ?? peer.displayName)) - - if let appName = discoveryInfo?.appName { - Text(appName) - .font(.headline) - } - - if let appVersion = discoveryInfo?.appVersion { - Text(appVersion) - .font(.caption2) - .foregroundColor(.secondary) - } - - GroupBox { - if let device = discoveryInfo?.device { - Label(device, systemImage: "iphone") - } - - if let system = discoveryInfo?.system { - Text(system) - } - } - .font(.caption2) - } - .padding() - .background( - RoundedRectangle(cornerRadius: 4, style: .continuous) - .fill(Color(nsColor: .controlBackgroundColor)) - ) - .drawingGroup() - .overlay( - RoundedRectangle(cornerRadius: 4, style: .continuous) - .stroke(lineWidth: 0.2) - .foregroundColor(.secondary) - ) - } - ) - .buttonStyle(.plain) - .shadow(radius: 8, y: 8) - .help("Insert coin to continue") - } -} - -struct ConnectionSetupView_Previews: PreviewProvider { - static var previews: some View { - let previewStore1 = Store( - initialState: AppCore.State( - multipeerConnection: .init() - ), - reducer: { AppCore() } - ) - .scope( - state: \.multipeerConnection, - action: AppCore.Action.multipeerConnection - ) - - ConnectionSetupView( - store: previewStore1 - ) - - //MARK: - - - let previewStore2 = Store( - initialState: AppCore.State( - multipeerConnection: .init( - peers: [ - Peer(displayName: "Manolo"): DiscoveryInfo( - appName: "MyAugmentedApp", - appVersion: "5.3 (127)", - device: "iPhone 12 Pro", - system: "iOS 15.1" - ) - ] - ) - ), - reducer: { AppCore() } - ) - .scope( - state: \.multipeerConnection, - action: AppCore.Action.multipeerConnection - ) - - ConnectionSetupView(store: previewStore2) - - //MARK: - - - let previewStore3 = Store( - initialState: AppCore.State( - multipeerConnection: .init( - peers: [ - Peer(displayName: "Manolo"): DiscoveryInfo( - appName: "MyAugmentedApp", - appVersion: "5.3 (127)", - device: "iPhone 12 Pro", - system: "iOS 15.1" - ), - Peer(displayName: "Manolo"): DiscoveryInfo( - appName: "TheAugmentedApp", - appVersion: "0.3 (17)", - device: "iPhone 12 Pro", - system: "iOS 15.1" - ), - Peer(displayName: "Manolo"): DiscoveryInfo( - appName: "MyRealAR", - appVersion: "1.5.1 (12)", - device: "iPhone 12 Pro", - system: "iOS 15.1" - ), - Peer(displayName: "Manolo"): DiscoveryInfo( - appName: "SomethingInTheAR", - appVersion: "5.3 (99)", - device: "iPhone 11", - system: "iOS 12.5" - ), - Peer(displayName: "Manolo"): DiscoveryInfo( - appName: "Appgmented", - appVersion: "15.0 (2)", - device: "iPhone X", - system: "iOS 16.5" - ), - ] - ) - ), - reducer: { AppCore() } - ) - .scope( - state: \.multipeerConnection, - action: AppCore.Action.multipeerConnection - ) - - ConnectionSetupView(store: previewStore3) - } -} diff --git a/App/macOS/StatusBarView.swift b/App/macOS/CustomSplitView/ConsoleStatusBar.swift similarity index 72% rename from App/macOS/StatusBarView.swift rename to App/macOS/CustomSplitView/ConsoleStatusBar.swift index 8619670..38f6090 100644 --- a/App/macOS/StatusBarView.swift +++ b/App/macOS/CustomSplitView/ConsoleStatusBar.swift @@ -1,21 +1,23 @@ import SwiftUI -struct StatusBarView: View { +struct ConsoleStatusBar: View { @Environment(\.controlActiveState) private var controlActive - static let height = 28.0 + static let height = 27.0 @Environment(\.colorScheme) private var colorScheme let proxy: SplitViewProxy @Binding var collapsed: Bool + @Binding var detached: Bool /// The actual status bar var body: some View { HStack(alignment: .center, spacing: 10) { Spacer() - // StatusBarDivider() + DetachConsoleButton(detached: $detached) + StatusBarDivider() StatusBarToggleDrawerButton(collapsed: $collapsed) } .padding(.horizontal, 10) @@ -44,7 +46,6 @@ struct StatusBarDivider: View { var body: some View { Divider() .frame(maxHeight: 12) - // .padding(.horizontal, 7) } } @@ -60,7 +61,7 @@ extension View { } } -//MARK: - +//MARK: - Toggle Drawer Button struct StatusBarToggleDrawerButton: View { @@ -73,9 +74,9 @@ struct StatusBarToggleDrawerButton: View { func togglePanel() { withAnimation { - // model.isExpanded.toggle() collapsed.toggle() } + } internal var body: some View { @@ -85,8 +86,33 @@ struct StatusBarToggleDrawerButton: View { Image(systemName: "square.bottomthird.inset.filled") } .buttonStyle(.plain) - //.buttonStyle(.icon) - .keyboardShortcut("Y", modifiers: [.command, .shift]) .onHover { isHovering($0) } } } + +struct DetachConsoleButton: View { + + @Binding + var detached: Bool + + init(detached: Binding) { + self._detached = detached + } + + func detachPanel() { + withAnimation { + detached.toggle() + } + } + + internal var body: some View { + Button { + detachPanel() + } label: { + Image(systemName: "square.on.square") + } + .buttonStyle(.plain) + .onHover { isHovering($0) } + .help("Detach into separate window") + } +} diff --git a/App/macOS/Debug/Comparable+clamp.swift b/App/macOS/Debug/Comparable+clamp.swift deleted file mode 100644 index f58f8e0..0000000 --- a/App/macOS/Debug/Comparable+clamp.swift +++ /dev/null @@ -1,5 +0,0 @@ -import Foundation - -@inlinable public func clamp(_ val: T, _ minimum: T, _ maximum: T) -> T { - min(max(val, minimum), maximum) -} diff --git a/App/macOS/Debug/Entity+HasCollision.swift b/App/macOS/Debug/Entity+HasCollision.swift deleted file mode 100644 index 435518c..0000000 --- a/App/macOS/Debug/Entity+HasCollision.swift +++ /dev/null @@ -1,19 +0,0 @@ -import RealityKit - -extension Entity { - public func childrenWithCollision() -> [Entity] { - self.children.compactMap { $0.findEntityWithCollision() } - } - - private func findEntityWithCollision() -> Entity? { - if let entity = self as? Entity & HasCollision { - return entity - } - for child in children { - if let found = child.findEntityWithCollision() { - return found - } - } - return nil - } -} diff --git a/App/macOS/Debug/Matrix+Utils.swift b/App/macOS/Debug/Matrix+Utils.swift deleted file mode 100644 index 8d67d49..0000000 --- a/App/macOS/Debug/Matrix+Utils.swift +++ /dev/null @@ -1,7 +0,0 @@ -import simd - -extension float4x4 { - var forward: SIMD3 { - normalize(SIMD3(-columns.2.x, -columns.2.y, -columns.2.z)) - } -} diff --git a/App/macOS/Debug/Transform+Rotation.swift b/App/macOS/Debug/Transform+Rotation.swift deleted file mode 100644 index 14ef268..0000000 --- a/App/macOS/Debug/Transform+Rotation.swift +++ /dev/null @@ -1,51 +0,0 @@ -import Accelerate -import RealityKit - -/// Creates a 3D rotation transform that rotates around the Z axis by the angle that you provide -/// - Parameter radians: The amount (in radians) to rotate around the Z axis. -/// - Returns: A Z-axis rotation transform. -public func rotationAroundZAxisTransform(radians: Float) -> simd_float4x4 { - simd_float4x4( - SIMD4(cos(radians), sin(radians), 0, 0), - SIMD4(-sin(radians), cos(radians), 0, 0), - SIMD4(0, 0, 1, 0), - SIMD4(0, 0, 0, 1) - ) -} - -/// Creates a 3D rotation transform that rotates around the X axis by the angle that you provide -/// - Parameter radians: The amount (in radians) to rotate around the X axis. -/// - Returns: A X-axis rotation transform. -public func rotationAroundXAxisTransform(radians: Float) -> simd_float4x4 { - simd_float4x4( - SIMD4(1, 0, 0, 0), - SIMD4(0, cos(radians), sin(radians), 0), - SIMD4(0, -sin(radians), cos(radians), 0), - SIMD4(0, 0, 0, 1) - ) -} - -/// Creates a 3D rotation transform that rotates around the Y axis by the angle that you provide -/// - Parameter radians: The amount (in radians) to rotate around the Y axis. -/// - Returns: A Y-axis rotation transform. -public func rotationAroundYAxisTransform(radians: Float) -> simd_float4x4 { - simd_float4x4( - SIMD4(cos(radians), 0, -sin(radians), 0), - SIMD4(0, 1, 0, 0), - SIMD4(sin(radians), 0, cos(radians), 0), - SIMD4(0, 0, 0, 1) - ) -} -/// Returns the rotational transform component from a homogeneous matrix. -/// - Parameter matrix: The homogeneous transform matrix. -/// - Returns: The 3x3 rotation matrix. -public func rotationTransform(_ matrix: matrix_float4x4) -> matrix_float3x3 { - // extract the rotational component from the transform matrix - let (col1, col2, col3, _) = matrix.columns - let rotationTransform = matrix_float3x3( - simd_float3(x: col1.x, y: col1.y, z: col1.z), - simd_float3(x: col2.x, y: col2.y, z: col2.z), - simd_float3(x: col3.x, y: col3.y, z: col3.z) - ) - return rotationTransform -} diff --git a/App/macOS/DebugOptionsView.swift b/App/macOS/DebugOptionsView.swift deleted file mode 100644 index 006b384..0000000 --- a/App/macOS/DebugOptionsView.swift +++ /dev/null @@ -1,54 +0,0 @@ -import AppFeature -import ComposableArchitecture -import SwiftUI - -public struct DebugOptionsView: View { - let store: StoreOf - - public init( - store: StoreOf - ) { - self.store = store - } - - public var body: some View { - WithViewStore(store, observe: { $0 }) { viewStore in - Form { - Section( - content: { - Toggle("Anchor Geometry", isOn: viewStore.$showAnchorGeometry) - .help("Display anchor geometry.") - - Toggle("Anchor Origins", isOn: viewStore.$showAnchorOrigins) - .help("Display anchor origins.") - - Toggle("Feature Points", isOn: viewStore.$showFeaturePoints) - .help( - "Display a point cloud showing intermediate results of the scene analysis used to track device position." - ) - - Toggle("Physics", isOn: viewStore.$showPhysics) - .help("Draw visualizations for collision objects and rigid bodies.") - - //TODO: find a way to verify this value - // Toggle("Scene Reconstruction", isOn: viewStore.binding(\.$showSceneUnderstanding)) - // .help("Display the depth-colored wireframe for scene understanding meshes.") - // .disabled(!ARWorldTrackingConfiguration.supportsSceneReconstruction(.mesh)) - - Toggle("Statistics", isOn: viewStore.$showStatistics) - .help("Collect performance statistics and display them in the view.") - - Toggle("World Origin", isOn: viewStore.$showWorldOrigin) - .help( - "Display a coordinate axis indicating the position and orientation of the AR world coordinate system." - ) - }, - header: { - Text("ARView Debug Options") - .font(.headline) - } - ) - } - } - } -} diff --git a/App/macOS/EntityDetailView.swift b/App/macOS/EntityDetailView.swift deleted file mode 100644 index 8c128b2..0000000 --- a/App/macOS/EntityDetailView.swift +++ /dev/null @@ -1,129 +0,0 @@ -import Models -import SwiftUI - -struct EntityDetailView: View { - let entity: IdentifiableEntity - - init( - _ entity: IdentifiableEntity - ) { - self.entity = entity - } - - var body: some View { - VStack(alignment: .leading, spacing: 0) { - VStack(alignment: .leading) { - Label( - entity.entityType.description, - systemImage: entity.entityType.symbol - ) - .font(.headline) - - Section { - LabeledContent( - "id:", - value: entity.id.description - ) - .textSelection(.enabled) - - if let name = entity.name, !name.isEmpty { - LabeledContent( - "name:", - value: name - ) - .textSelection(.enabled) - } - - if let anchorIdentifier = entity.anchorIdentifier { - LabeledContent( - "anchorIdentifier", - value: anchorIdentifier.uuidString - ) - .textSelection(.enabled) - } - } - } - .padding() - - Divider() - - Form { - Section("Accessibility") { - LabeledContent( - "isAccessibilityElement", - value: - "\(entity.isAccessibilityElement ? "YES" : "NO")" - ) - if let accessibilityLabel = entity.accessibilityLabel { - LabeledContent( - "accessibilityLabel", - value: accessibilityLabel - ) - } - if let accessibilityDescription = entity - .accessibilityDescription - { - LabeledContent( - "accessibilityDescription", - value: accessibilityDescription - ) - } - } - - if !entity.availableAnimations.isEmpty { - Section("Animation") { - DisclosureGroup("availableAnimations") { - Text(String(customDumping: entity.availableAnimations)) - .monospaced() - .textSelection(.enabled) - } - - } - } - - Section("State") { - LabeledContent( - "isEnabled", - value: "\(entity.state.isEnabled ? "YES" : "NO")" - ) - LabeledContent( - "isEnabledInHierarchy", - value: "\(entity.state.isActive ? "YES" : "NO")" - ) - LabeledContent( - "isAnchored", - value: - "\(entity.state.isEnabledInHierarchy ? "YES" : "NO")" - ) - LabeledContent( - "isActive", - value: "\(entity.state.isAnchored ? "YES" : "NO")" - ) - } - - Section("Hierarhy") { - LabeledContent( - "parent", - value: "\(entity.hierarhy.hasParent ? "YES" : "NO")" - ) - LabeledContent( - "children count", - value: "\(entity.hierarhy.childrenCount)" - ) - } - - Section("Components") { - LabeledContent("count", value: "\(entity.components.count)") - ForEach(entity.components.components, id: \.self) { component in - DisclosureGroup(component.componentType.description) { - ComponentPropertiesView(component.properties) - .monospaced() - } - .help(component.componentType.help) - } - } - } - .formStyle(.grouped) - } - } -} diff --git a/App/macOS/Extensions/EntityType+Symbol.swift b/App/macOS/Extensions/EntityType+Symbol.swift new file mode 100644 index 0000000..4a0a71a --- /dev/null +++ b/App/macOS/Extensions/EntityType+Symbol.swift @@ -0,0 +1,53 @@ +import Foundation +import RealityKit + +#if os(iOS) + +extension EntityType { + public var symbol: String { + switch self { + case .entity: + return "Entity" + case .modelEntity: + return "ModelEntity" + case .perspectiveCamera: + return "PerspectiveCamera" + } + } +} + +#elseif os(macOS) + +extension EntityType { + public var symbol: String { + switch self { + case .entity: + return "Entity" + case .modelEntity: + return "ModelEntity" + case .perspectiveCamera: + return "PerspectiveCamera" + } + } +} + +#elseif os(visionOS) + +extension EntityType { + public var symbol: String { + switch self { + case .anchorEntity: + return "AnchorEntity" + case .entity: + return "Entity" + case .modelEntity: + return "ModelEntity" + case .perspectiveCamera: + return "PerspectiveCamera" + case .triggerVolume: + return "TriggerVolume" + } + } +} + +#endif diff --git a/App/macOS/View+isHovering.swift b/App/macOS/Extensions/View+isHovering.swift similarity index 100% rename from App/macOS/View+isHovering.swift rename to App/macOS/Extensions/View+isHovering.swift diff --git a/App/macOS/Layouts/DoubleLayoutView.swift b/App/macOS/Layouts/DoubleLayoutView.swift new file mode 100644 index 0000000..46e049c --- /dev/null +++ b/App/macOS/Layouts/DoubleLayoutView.swift @@ -0,0 +1,51 @@ +import AppFeature +import ComposableArchitecture +import SwiftUI + +struct DoubleLayoutView: View { + @Environment(\.openWindow) var openWindow + @State var store: StoreOf + + var body: some View { + SplitViewReader { proxy in + SplitView(axis: .vertical) { + NavigatorView(store: store) + .frame(maxHeight: .infinity) + .safeAreaInset(edge: .bottom, spacing: 0) { + if !store.isConsoleDetached { + ConsoleStatusBar( + proxy: proxy, + collapsed: Binding( + get: { !store.isConsolePresented }, + set: { store.isConsolePresented = !$0 } + ), + detached: $store.isConsoleDetached + ) + } + } + + if !store.isConsoleDetached { + TextEditor( + text: .constant( + store.entitiesNavigator?.dumpOutput ?? "No dump output received..." + ) + ) + .font(.system(.body, design: .monospaced)) + .collapsable() + .collapsed( + Binding( + get: { !store.isConsolePresented }, + set: { store.isConsolePresented = !$0 } + ) + ) + .frame(minHeight: 200, maxHeight: .infinity) + } + } + .customOnChange(of: store.isConsoleDetached) { + openWindow(id: WindowID.console.rawValue) + } + .edgesIgnoringSafeArea(.top) + .frame(maxWidth: .infinity, maxHeight: .infinity) + } + } +} diff --git a/App/macOS/Layouts/TripleLayoutView.swift b/App/macOS/Layouts/TripleLayoutView.swift new file mode 100644 index 0000000..b74394d --- /dev/null +++ b/App/macOS/Layouts/TripleLayoutView.swift @@ -0,0 +1,78 @@ +import AppFeature +import ComposableArchitecture +import StreamingClient +import SwiftUI + +struct TripleLayoutView: View { + @Environment(\.openWindow) var openWindow + @State var store: StoreOf + + var body: some View { + SplitViewReader { proxy in + SplitView(axis: .vertical) { + NavigationSplitView { + NavigatorView(store: store) + } detail: { + ZStack { + Color.clear + .background( + Image(.stripes) + .resizable(resizingMode: .tile) + .opacity(store.isStreaming ? 0 : 1) + ) + + if store.isStreaming { + MetalViewRepresentable(viewportSize: $store.viewPortSize) + .frame( + maxWidth: store.viewPortSize.width, + maxHeight: store.viewPortSize.height + ) + .aspectRatio( + store.viewPortSize.width / store.viewPortSize.height, + contentMode: .fit + ) + } else { + VideoPreviewPaused().padding() + } + } + .navigationSplitViewColumnWidth(min: 367, ideal: 569, max: .infinity) + } + .navigationSplitViewStyle(.balanced) + .safeAreaInset(edge: .bottom, spacing: 0) { + if !store.isConsoleDetached { + ConsoleStatusBar( + proxy: proxy, + collapsed: Binding( + get: { !store.isConsolePresented }, + set: { store.isConsolePresented = !$0 } + ), + detached: $store.isConsoleDetached + ) + } + } + + if !store.isConsoleDetached { + TextEditor( + text: .constant( + store.entitiesNavigator?.dumpOutput ?? "No dump output received..." + ) + ) + .font(.system(.body, design: .monospaced)) + .collapsable() + .collapsed( + Binding( + get: { !store.isConsolePresented }, + set: { store.isConsolePresented = !$0 } + ) + ) + .frame(minHeight: 200, maxHeight: .infinity) + } + } + .customOnChange(of: store.isConsoleDetached) { + openWindow(id: WindowID.console.rawValue) + } + .edgesIgnoringSafeArea(.top) + .frame(maxWidth: .infinity, maxHeight: .infinity) + } + } +} diff --git a/App/macOS/MainView.swift b/App/macOS/MainView.swift index 16c1916..97e3043 100644 --- a/App/macOS/MainView.swift +++ b/App/macOS/MainView.swift @@ -7,162 +7,109 @@ import StreamingClient import SwiftUI struct MainView: View { - let store: StoreOf + @State var store: StoreOf - var sessionStateSubtitle: String { - let viewStore = ViewStore(store, observe: \.multipeerConnection, removeDuplicates: ==) - switch viewStore.sessionState { + var sessionTitle: String { + switch store.multipeerConnection.sessionState { case .notConnected, .connecting: - return "" + return "RealityCheck" case .connected: - if let connectedPeer = viewStore.connectedPeer, - let appName = connectedPeer.discoveryInfo?.appName, - let appVersion = connectedPeer.discoveryInfo?.appVersion + if let connectedPeer = store.multipeerConnection.connectedPeer, + let appName = connectedPeer.discoveryInfo?.appName { - return appName + " \(appVersion)" + return appName } else { - return "" + return "RealityCheck" } } } - var body: some View { - WithViewStore(self.store, observe: { $0 }) { viewStore in - NavigationSplitView { - SidebarView(store: store) - } content: { - ZStack { - StreamingView(viewportSize: viewStore.$viewPortSize) - .frame(maxWidth: viewStore.viewPortSize.width, maxHeight: viewStore.viewPortSize.height) - .aspectRatio( - viewStore.viewPortSize.width / viewStore.viewPortSize.height, - contentMode: .fit - ) - .overlay { - Rectangle().stroke() - } - .background(Color(nsColor: .controlBackgroundColor)) - .padding() - .padding(.bottom, 32) - - SplitViewReader { proxy in - SplitView(axis: .vertical) { - Color.clear - .safeAreaInset(edge: .bottom, spacing: 0) { - StatusBarView(proxy: proxy, collapsed: viewStore.$isDumpAreaCollapsed) - } - - TextEditor(text: .constant(viewStore.entitiesSection?.dumpOutput ?? "???")) - .font(.body) - .monospaced() - .collapsable() - .collapsed(viewStore.$isDumpAreaCollapsed) - .frame(minHeight: 200, maxHeight: .infinity) - } - .edgesIgnoringSafeArea(.top) - .frame(maxWidth: .infinity, maxHeight: .infinity) - } - } - .background(Color(nsColor: .lightGray)) - - } detail: { - switch viewStore.selectedSection { - case .none: - Spacer().navigationSplitViewColumnWidth(0) - - case .arView: - if let arView = viewStore.arViewSection?.arView { - ARViewDetailView(arView) - .navigationSplitViewColumnWidth(min: 270, ideal: 405, max: 810) - } + var sessionSubtitle: String { + switch store.multipeerConnection.sessionState { + case .notConnected, .connecting: + return "" - case .entities: - if let entity = viewStore.entitiesSection?.selectedEntity { - EntityDetailView(entity) - .navigationSplitViewColumnWidth(min: 270, ideal: 405, max: 810) - } - } - } - .navigationSplitViewStyle(.balanced) - .toolbar { - ToolbarItem { - SessionStateButtonView(viewStore.multipeerConnection.sessionState) + case .connected: + if let discoveryInfo = store.multipeerConnection.connectedPeer?.discoveryInfo, + let appVersion = discoveryInfo.appVersion, + let systemIcon = discoveryInfo.systemIcon + { + return systemIcon + " \(appVersion)" + } else { + return "" } - } - .navigationSubtitle(sessionStateSubtitle) } } -} - -struct SessionStateButtonView: View { - @Environment(\.openWindow) private var openWindow - private let sessionState: MultipeerClient.SessionState - init( - _ sessionState: MultipeerClient.SessionState - ) { - self.sessionState = sessionState - } + var body: some View { + NavigationStack { + switch store.layout { + case .double: + DoubleLayoutView(store: store) + .modifier(Inspector(store: store)) - var contextualBackground: Color { - switch sessionState { - case .notConnected: - return .red - case .connecting: - return .orange - case .connected: - return .green + case .triple: + TripleLayoutView(store: store) + .modifier(Inspector(store: store)) + } } - } - - var contextualLabel: String { - switch sessionState { - case .notConnected: - return "not connected" - case .connecting: - return "connecting" - case .connected: - return "connected" + .navigationTitle(sessionTitle) + .navigationSubtitle(sessionSubtitle) + .toolbar(id: "Main") { + MainToolbar(store: store) } } +} +struct VideoPreviewPaused: View { var body: some View { - Button( - action: { - openWindow(id: "ConnectionWindowID") - }, - label: { - Text(contextualLabel) - .foregroundColor(.white) - .font(.caption) - .padding(8) - .background(Capsule(style: .continuous).fill(contextualBackground)) - } - ) - .buttonStyle(.plain) - } -} + HStack { + Text("Screen capture paused") + .font(.headline) -struct ContentView_Previews: PreviewProvider { - static var previews: some View { - MainView( - store: .init( - initialState: AppCore.State( - //FIXME: avoid constructor cleaning mock return - arViewSection: ARViewSection.State.init( - arView: .init( - .init(frame: .zero), - anchors: [], - contentScaleFactor: 1 - ) - ), - entitiesSection: .init([], selection: 14_973_088_022_893_562_172) - ), - reducer: { AppCore() } + Spacer().frame(maxWidth: 100) + Button.init( + "Help", + systemImage: "questionmark.circle", + action: {} ) + .controlSize(.large) + .buttonStyle(.plain) + .labelStyle(.iconOnly) + } + .padding() + .background( + RoundedRectangle(cornerRadius: 8) + .fill(Color(nsColor: .controlBackgroundColor)) + .shadow(radius: 1) ) - .navigationSplitViewStyle(.prominentDetail) - .frame(width: 500, height: 900) } } + +//FIXME: restore +//struct ContentView_Previews: PreviewProvider { +// static var previews: some View { +// MainView( +// store: .init( +// initialState: AppCore.State( +// //FIXME: avoid constructor cleaning mock return +// arViewSection: ARViewSection.State.init( +// arView: .init( +// .init(frame: .zero), +// anchors: [], +// contentScaleFactor: 1 +// ) +// ), +// entitiesSection: .init([], selection: 14_973_088_022_893_562_172) +// ), +// reducer: { +// AppCore() +// .dependency(\.multipeerClient, .testValue) +// } +// ) +// ) +// .navigationSplitViewStyle(.prominentDetail) +// .frame(width: 500, height: 900) +// } +//} diff --git a/App/macOS/RealityCheck.entitlements b/App/macOS/RealityCheck.entitlements index b6f9416..a758fa7 100644 --- a/App/macOS/RealityCheck.entitlements +++ b/App/macOS/RealityCheck.entitlements @@ -4,6 +4,8 @@ com.apple.security.app-sandbox + com.apple.security.cs.debugger + com.apple.security.device.bluetooth com.apple.security.device.usb diff --git a/App/macOS/RealityCheckApp.swift b/App/macOS/RealityCheckApp.swift index 53e8c09..2322d49 100644 --- a/App/macOS/RealityCheckApp.swift +++ b/App/macOS/RealityCheckApp.swift @@ -2,28 +2,67 @@ import AppFeature import ComposableArchitecture import SwiftUI +enum WindowID: String { + case connection + case console + case main +} + @main struct RealityCheckApp: App { let store: StoreOf = .init( initialState: AppCore.State(), - reducer: { AppCore() } - // .dependency(\.multipeerClient, .testValue) + reducer: { + AppCore() + #if MULTIPEER_MOCK + .dependency(\.multipeerClient, .testValue) + #endif + } ) var body: some Scene { - Window("Welcome to RealityCheck", id: "ConnectionWindowID") { - ConnectionSetupView( - store: store.scope( - state: \.multipeerConnection, - action: AppCore.Action.multipeerConnection - ) - ) + Window("RealityCheck", id: WindowID.main.rawValue) { + MainView(store: store) + } + .windowResizability(.automatic) + .commands { + InspectorCommands() + SidebarCommands() + ToolbarCommands() + CommandGroup(replacing: .help) { + let helpURL = URL( + string: + "https://monstar-lab-oss.github.io/reality-check/documentation/realitycheckconnect/gettingstarted" + )! + Link("Getting Started", destination: helpURL) + } } - .windowResizability(.contentSize) - .defaultPosition(.center) - Window("RealityCheck", id: "RealityCheckWindowID") { - MainView(store: store) + Window("Console", id: WindowID.console.rawValue) { + // @Environment(\.dismissWindow) var dismissWindow + + let output = store.entitiesNavigator?.dumpOutput ?? "No dump output received..." + TextEditor(text: .constant(output)) + .font(.system(.body, design: .monospaced)) + .toolbar { + ToolbarItem { + Button( + "Attach Console", + systemImage: "square.bottomthird.inset.filled", + action: { + store.isConsoleDetached = false + //FIXME: Accessing Environment's value outside of being installed on a View. This will always read the default value and will not update. + // dismissWindow(id: WindowID.console.rawValue) + } + ) + .help("Attach the console to the main window") + } + + ToolbarItem { + ShareLink(item: output) + } + } } + .windowToolbarStyle(.unifiedCompact) } } diff --git a/App/macOS/Sidebar/ARViewSectionView.swift b/App/macOS/Sidebar/ARViewSectionView.swift deleted file mode 100644 index 3c601ff..0000000 --- a/App/macOS/Sidebar/ARViewSectionView.swift +++ /dev/null @@ -1,82 +0,0 @@ -import AppFeature -import ComposableArchitecture -import SwiftUI - -struct ARViewSectionView: View { - let store: StoreOf - - var body: some View { - WithViewStore(store, observe: { $0 }) { viewStore in - GroupBox { - VStack { - Button( - action: { - viewStore.send(.toggleSelection) - }, - label: { - HStack { - Label.init("ARView", systemImage: "cube.transparent") - .foregroundColor( - viewStore.isSelected - ? Color(nsColor: .alternateSelectedControlTextColor) - : Color(nsColor: .controlTextColor) - ) - Spacer() - } - .padding() - .background( - RoundedRectangle(cornerRadius: 8, style: .continuous) - .fill( - viewStore.isSelected - ? Color(nsColor: .controlAccentColor) - : Color(nsColor: .controlBackgroundColor) - ) - ) - } - ) - .controlSize(.large) - .buttonStyle(.plain) - .overlay(alignment: .trailing) { - Button( - action: { - viewStore.send(.binding(.set(\.$isDebugOptionsDisplayed, true))) - }, - label: { - Label("Debug Options", systemImage: "ladybug") - .labelStyle(.iconOnly) - .padding(4) - .background(Circle().foregroundColor(.gray.opacity(0.25))) - } - ) - .controlSize(.small) - .buttonStyle(.plain) - .padding(.trailing, 4) - .help("ARView Debug Options") - .popover( - isPresented: viewStore.$isDebugOptionsDisplayed, - arrowEdge: .trailing - ) { - DebugOptionsView( - store: store.scope( - state: \.debugOptions, - action: ARViewSection.Action.debugOptions - ) - ) - .padding() - } - } - - Menu("Scenes") { - Button("Scene 1", action: {}) - Button("Scene 2", action: {}) - Button("Scene 3", action: {}) - } - .controlSize(.large) - .disabled(true) //TODO: implement scene selection - } - .padding(8) - } - } - .padding([.horizontal], 6) - } -} diff --git a/App/macOS/Sidebar/SidebarView.swift b/App/macOS/Sidebar/SidebarView.swift deleted file mode 100644 index 2eb7597..0000000 --- a/App/macOS/Sidebar/SidebarView.swift +++ /dev/null @@ -1,33 +0,0 @@ -import AppFeature -import ComposableArchitecture -import Models -import SwiftUI - -struct SidebarView: View { - let store: StoreOf - - var body: some View { - VStack(spacing: 0) { - - //MARK: ARView & Scenes - IfLetStore( - self.store.scope( - state: \.arViewSection, - action: AppCore.Action.arViewSection - ), - then: ARViewSectionView.init(store:), - else: { Text("//TODO: ARView options placeholder") } - ) - - //MARK: Entities - IfLetStore( - self.store.scope( - state: \.entitiesSection, - action: AppCore.Action.entitiesSection - ), - then: EntitiesSectionView.init(store:), - else: { Text("//TODO: Entities placeholder") } - ) - } - } -} diff --git a/Examples/Connect/Connect.xcodeproj/project.pbxproj b/Examples/iOS/Connect/Connect.xcodeproj/project.pbxproj similarity index 98% rename from Examples/Connect/Connect.xcodeproj/project.pbxproj rename to Examples/iOS/Connect/Connect.xcodeproj/project.pbxproj index fcc226f..0a3d69c 100644 --- a/Examples/Connect/Connect.xcodeproj/project.pbxproj +++ b/Examples/iOS/Connect/Connect.xcodeproj/project.pbxproj @@ -7,7 +7,7 @@ objects = { /* Begin PBXBuildFile section */ - 40A39A572A16D160004771EC /* RealityCheckConnect in Frameworks */ = {isa = PBXBuildFile; productRef = 40A39A562A16D160004771EC /* RealityCheckConnect */; }; + 4092BE7F2AFA8C61005168F5 /* RealityCheckConnect in Frameworks */ = {isa = PBXBuildFile; productRef = 4092BE7E2AFA8C61005168F5 /* RealityCheckConnect */; }; 40FDE7592A16CF08006BFD32 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40FDE7582A16CF08006BFD32 /* AppDelegate.swift */; }; 40FDE75B2A16CF08006BFD32 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40FDE75A2A16CF08006BFD32 /* ContentView.swift */; }; 40FDE75D2A16CF08006BFD32 /* Experience.rcproject in Sources */ = {isa = PBXBuildFile; fileRef = 40FDE75C2A16CF08006BFD32 /* Experience.rcproject */; }; @@ -31,7 +31,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 40A39A572A16D160004771EC /* RealityCheckConnect in Frameworks */, + 4092BE7F2AFA8C61005168F5 /* RealityCheckConnect in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -109,7 +109,7 @@ ); name = Connect; packageProductDependencies = ( - 40A39A562A16D160004771EC /* RealityCheckConnect */, + 4092BE7E2AFA8C61005168F5 /* RealityCheckConnect */, ); productName = Connect; productReference = 40FDE7552A16CF08006BFD32 /* Connect.app */; @@ -378,7 +378,7 @@ /* End XCConfigurationList section */ /* Begin XCSwiftPackageProductDependency section */ - 40A39A562A16D160004771EC /* RealityCheckConnect */ = { + 4092BE7E2AFA8C61005168F5 /* RealityCheckConnect */ = { isa = XCSwiftPackageProductDependency; productName = RealityCheckConnect; }; diff --git a/Examples/Connect/Connect.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Examples/iOS/Connect/Connect.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from Examples/Connect/Connect.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Examples/iOS/Connect/Connect.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Examples/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Examples/iOS/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from Examples/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to Examples/iOS/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/Examples/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect.xcscheme b/Examples/iOS/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect (iOS).xcscheme similarity index 97% rename from Examples/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect.xcscheme rename to Examples/iOS/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect (iOS).xcscheme index 67b0920..210b589 100644 --- a/Examples/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect.xcscheme +++ b/Examples/iOS/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect (iOS).xcscheme @@ -1,6 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/IntricateSetup/IntricateSetup/AppDelegate.swift b/Examples/iOS/IntricateSetup/IntricateSetup/AppDelegate.swift similarity index 100% rename from Examples/IntricateSetup/IntricateSetup/AppDelegate.swift rename to Examples/iOS/IntricateSetup/IntricateSetup/AppDelegate.swift diff --git a/Examples/IntricateSetup/IntricateSetup/Assets.xcassets/AccentColor.colorset/Contents.json b/Examples/iOS/IntricateSetup/IntricateSetup/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from Examples/IntricateSetup/IntricateSetup/Assets.xcassets/AccentColor.colorset/Contents.json rename to Examples/iOS/IntricateSetup/IntricateSetup/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/Examples/IntricateSetup/IntricateSetup/Assets.xcassets/AppIcon.appiconset/Contents.json b/Examples/iOS/IntricateSetup/IntricateSetup/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Examples/IntricateSetup/IntricateSetup/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Examples/iOS/IntricateSetup/IntricateSetup/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/Examples/IntricateSetup/IntricateSetup/Assets.xcassets/Contents.json b/Examples/iOS/IntricateSetup/IntricateSetup/Assets.xcassets/Contents.json similarity index 100% rename from Examples/IntricateSetup/IntricateSetup/Assets.xcassets/Contents.json rename to Examples/iOS/IntricateSetup/IntricateSetup/Assets.xcassets/Contents.json diff --git a/Examples/IntricateSetup/IntricateSetup/ContentView.swift b/Examples/iOS/IntricateSetup/IntricateSetup/ContentView.swift similarity index 100% rename from Examples/IntricateSetup/IntricateSetup/ContentView.swift rename to Examples/iOS/IntricateSetup/IntricateSetup/ContentView.swift diff --git a/Examples/IntricateSetup/IntricateSetup/Info.plist b/Examples/iOS/IntricateSetup/IntricateSetup/Info.plist similarity index 100% rename from Examples/IntricateSetup/IntricateSetup/Info.plist rename to Examples/iOS/IntricateSetup/IntricateSetup/Info.plist diff --git a/Examples/IntricateSetup/IntricateSetup/Preview Content/Preview Assets.xcassets/Contents.json b/Examples/iOS/IntricateSetup/IntricateSetup/Preview Content/Preview Assets.xcassets/Contents.json similarity index 100% rename from Examples/IntricateSetup/IntricateSetup/Preview Content/Preview Assets.xcassets/Contents.json rename to Examples/iOS/IntricateSetup/IntricateSetup/Preview Content/Preview Assets.xcassets/Contents.json diff --git a/Examples/IntricateSetup/MyLibrary/.gitignore b/Examples/iOS/IntricateSetup/MyLibrary/.gitignore similarity index 100% rename from Examples/IntricateSetup/MyLibrary/.gitignore rename to Examples/iOS/IntricateSetup/MyLibrary/.gitignore diff --git a/Examples/IntricateSetup/MyLibrary/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Examples/iOS/IntricateSetup/MyLibrary/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from Examples/IntricateSetup/MyLibrary/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to Examples/iOS/IntricateSetup/MyLibrary/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/Examples/IntricateSetup/MyLibrary/Package.swift b/Examples/iOS/IntricateSetup/MyLibrary/Package.swift similarity index 94% rename from Examples/IntricateSetup/MyLibrary/Package.swift rename to Examples/iOS/IntricateSetup/MyLibrary/Package.swift index 126f7c7..8a6d97b 100644 --- a/Examples/IntricateSetup/MyLibrary/Package.swift +++ b/Examples/iOS/IntricateSetup/MyLibrary/Package.swift @@ -16,7 +16,7 @@ let package = Package( ], dependencies: [ //.package(url: "https://github.com/monstar-lab-oss/reality-check", from: "0.0.1"), - .package(name: "reality-check", path: "../../.."), + .package(name: "reality-check", path: "../../../.."), ], targets: [ // Targets are the basic building blocks of a package, defining a module or a test suite. diff --git a/Examples/IntricateSetup/MyLibrary/Sources/MyLibrary/MyLibrary.swift b/Examples/iOS/IntricateSetup/MyLibrary/Sources/MyLibrary/MyLibrary.swift similarity index 100% rename from Examples/IntricateSetup/MyLibrary/Sources/MyLibrary/MyLibrary.swift rename to Examples/iOS/IntricateSetup/MyLibrary/Sources/MyLibrary/MyLibrary.swift diff --git a/Examples/IntricateSetup/MyLibrary/Tests/MyLibraryTests/MyLibraryTests.swift b/Examples/iOS/IntricateSetup/MyLibrary/Tests/MyLibraryTests/MyLibraryTests.swift similarity index 100% rename from Examples/IntricateSetup/MyLibrary/Tests/MyLibraryTests/MyLibraryTests.swift rename to Examples/iOS/IntricateSetup/MyLibrary/Tests/MyLibraryTests/MyLibraryTests.swift diff --git a/Examples/iOS/Package.swift b/Examples/iOS/Package.swift new file mode 100644 index 0000000..52a8fbe --- /dev/null +++ b/Examples/iOS/Package.swift @@ -0,0 +1,11 @@ +// swift-tools-version:5.2 + +// Leave blank. This is only here so that Xcode doesn't display it. + +import PackageDescription + +let package = Package( + name: "ios-examples", + products: [], + targets: [] +) diff --git a/Examples/Testbed/Testbed.xcodeproj/project.pbxproj b/Examples/iOS/Testbed/Testbed.xcodeproj/project.pbxproj similarity index 98% rename from Examples/Testbed/Testbed.xcodeproj/project.pbxproj rename to Examples/iOS/Testbed/Testbed.xcodeproj/project.pbxproj index ec3cc78..fe018f0 100644 --- a/Examples/Testbed/Testbed.xcodeproj/project.pbxproj +++ b/Examples/iOS/Testbed/Testbed.xcodeproj/project.pbxproj @@ -9,12 +9,12 @@ /* Begin PBXBuildFile section */ 4012159E2A1EC6DE00D98058 /* robot_walk_idle.usdz in Resources */ = {isa = PBXBuildFile; fileRef = 4012159D2A1EC6DE00D98058 /* robot_walk_idle.usdz */; }; 401215A02A1ED0F400D98058 /* toy_car.usdz in Resources */ = {isa = PBXBuildFile; fileRef = 4012159F2A1ED0F400D98058 /* toy_car.usdz */; }; + 40380AC12AFC03E60052C7CF /* RealityCheckConnect in Frameworks */ = {isa = PBXBuildFile; productRef = 40380AC02AFC03E60052C7CF /* RealityCheckConnect */; }; 409B76602A177129001B28E1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 409B765F2A177129001B28E1 /* AppDelegate.swift */; }; 409B76622A177129001B28E1 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 409B76612A177129001B28E1 /* ContentView.swift */; }; 409B76642A177129001B28E1 /* Experience.rcproject in Sources */ = {isa = PBXBuildFile; fileRef = 409B76632A177129001B28E1 /* Experience.rcproject */; }; 409B76662A17712A001B28E1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 409B76652A17712A001B28E1 /* Assets.xcassets */; }; 409B76692A17712A001B28E1 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 409B76682A17712A001B28E1 /* Preview Assets.xcassets */; }; - 409B76742A1773D6001B28E1 /* RealityCheckConnect in Frameworks */ = {isa = PBXBuildFile; productRef = 409B76732A1773D6001B28E1 /* RealityCheckConnect */; }; 409B76762A1774A0001B28E1 /* wireframe_shader.metal in Sources */ = {isa = PBXBuildFile; fileRef = 409B76752A1774A0001B28E1 /* wireframe_shader.metal */; }; /* End PBXBuildFile section */ @@ -38,7 +38,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 409B76742A1773D6001B28E1 /* RealityCheckConnect in Frameworks */, + 40380AC12AFC03E60052C7CF /* RealityCheckConnect in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -120,7 +120,7 @@ ); name = Testbed; packageProductDependencies = ( - 409B76732A1773D6001B28E1 /* RealityCheckConnect */, + 40380AC02AFC03E60052C7CF /* RealityCheckConnect */, ); productName = Testbed; productReference = 409B765C2A177129001B28E1 /* Testbed.app */; @@ -392,7 +392,7 @@ /* End XCConfigurationList section */ /* Begin XCSwiftPackageProductDependency section */ - 409B76732A1773D6001B28E1 /* RealityCheckConnect */ = { + 40380AC02AFC03E60052C7CF /* RealityCheckConnect */ = { isa = XCSwiftPackageProductDependency; productName = RealityCheckConnect; }; diff --git a/Examples/Testbed/Testbed.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Examples/iOS/Testbed/Testbed.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from Examples/Testbed/Testbed.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Examples/iOS/Testbed/Testbed.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Examples/Testbed/Testbed.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Examples/iOS/Testbed/Testbed.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from Examples/Testbed/Testbed.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to Examples/iOS/Testbed/Testbed.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/Examples/Testbed/Testbed.xcodeproj/xcshareddata/xcschemes/Testbed.xcscheme b/Examples/iOS/Testbed/Testbed.xcodeproj/xcshareddata/xcschemes/Testbed (iOS).xcscheme similarity index 98% rename from Examples/Testbed/Testbed.xcodeproj/xcshareddata/xcschemes/Testbed.xcscheme rename to Examples/iOS/Testbed/Testbed.xcodeproj/xcshareddata/xcschemes/Testbed (iOS).xcscheme index 22a3644..3de4e1a 100644 --- a/Examples/Testbed/Testbed.xcodeproj/xcshareddata/xcschemes/Testbed.xcscheme +++ b/Examples/iOS/Testbed/Testbed.xcodeproj/xcshareddata/xcschemes/Testbed (iOS).xcscheme @@ -1,6 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/AppDelegate.swift b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/AppDelegate.swift similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/AppDelegate.swift rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/AppDelegate.swift diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/AccentColor.colorset/Contents.json b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/AccentColor.colorset/Contents.json rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/AppIcon.appiconset/Contents.json b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/Contents.json b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/Contents.json similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/Contents.json rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Assets.xcassets/Contents.json diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Base.lproj/LaunchScreen.storyboard b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Base.lproj/LaunchScreen.storyboard rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Base.lproj/LaunchScreen.storyboard diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Base.lproj/Main.storyboard b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Base.lproj/Main.storyboard similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Base.lproj/Main.storyboard rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Base.lproj/Main.storyboard diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/Library/ProjectLibrary/Contents.json b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/Library/ProjectLibrary/Contents.json similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/Library/ProjectLibrary/Contents.json rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/Library/ProjectLibrary/Contents.json diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/Library/ProjectLibrary/Version.json b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/Library/ProjectLibrary/Version.json similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/Library/ProjectLibrary/Version.json rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/Library/ProjectLibrary/Version.json diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3 b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3 similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3 rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3 diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/com.apple.RCFoundation.Project b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/com.apple.RCFoundation.Project similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/com.apple.RCFoundation.Project rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Experience.rcproject/com.apple.RCFoundation.Project diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/Info.plist b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/Info.plist similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/Info.plist rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/Info.plist diff --git a/Examples/UIKitStoryboard/UIKitStoryboard/ViewController.swift b/Examples/iOS/UIKitStoryboard/UIKitStoryboard/ViewController.swift similarity index 100% rename from Examples/UIKitStoryboard/UIKitStoryboard/ViewController.swift rename to Examples/iOS/UIKitStoryboard/UIKitStoryboard/ViewController.swift diff --git a/Examples/visionOS/Connect/Connect.xcodeproj/project.pbxproj b/Examples/visionOS/Connect/Connect.xcodeproj/project.pbxproj new file mode 100644 index 0000000..2b3b634 --- /dev/null +++ b/Examples/visionOS/Connect/Connect.xcodeproj/project.pbxproj @@ -0,0 +1,414 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 40A3D37C2AEC3BCB0044095B /* reality-check in Resources */ = {isa = PBXBuildFile; fileRef = 40A3D37B2AEC3BCB0044095B /* reality-check */; }; + 40A3D37E2AEC3BD80044095B /* RealityCheckConnect in Frameworks */ = {isa = PBXBuildFile; productRef = 40A3D37D2AEC3BD80044095B /* RealityCheckConnect */; }; + 40A3D3812AEC3C0A0044095B /* RealityCheckConnect in Frameworks */ = {isa = PBXBuildFile; productRef = 40A3D3802AEC3C0A0044095B /* RealityCheckConnect */; }; + AEA1030F2AD2D22000DB4542 /* RealityKitContent in Frameworks */ = {isa = PBXBuildFile; productRef = AEA1030E2AD2D22000DB4542 /* RealityKitContent */; }; + AEA103112AD2D22000DB4542 /* ConnectApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEA103102AD2D22000DB4542 /* ConnectApp.swift */; }; + AEA103132AD2D22000DB4542 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEA103122AD2D22000DB4542 /* ContentView.swift */; }; + AEA103152AD2D22000DB4542 /* ImmersiveView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEA103142AD2D22000DB4542 /* ImmersiveView.swift */; }; + AEA103172AD2D22300DB4542 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AEA103162AD2D22300DB4542 /* Assets.xcassets */; }; + AEA1031A2AD2D22300DB4542 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AEA103192AD2D22300DB4542 /* Preview Assets.xcassets */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 40A3D37B2AEC3BCB0044095B /* reality-check */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "reality-check"; path = ../../../..; sourceTree = ""; }; + AEA103092AD2D22000DB4542 /* Connect.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Connect.app; sourceTree = BUILT_PRODUCTS_DIR; }; + AEA1030D2AD2D22000DB4542 /* RealityKitContent */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = RealityKitContent; sourceTree = ""; }; + AEA103102AD2D22000DB4542 /* ConnectApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConnectApp.swift; sourceTree = ""; }; + AEA103122AD2D22000DB4542 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + AEA103142AD2D22000DB4542 /* ImmersiveView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImmersiveView.swift; sourceTree = ""; }; + AEA103162AD2D22300DB4542 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + AEA103192AD2D22300DB4542 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + AEA1031B2AD2D22300DB4542 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + AEA103062AD2D22000DB4542 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + AEA1030F2AD2D22000DB4542 /* RealityKitContent in Frameworks */, + 40A3D3812AEC3C0A0044095B /* RealityCheckConnect in Frameworks */, + 40A3D37E2AEC3BD80044095B /* RealityCheckConnect in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + AEA103002AD2D22000DB4542 = { + isa = PBXGroup; + children = ( + AEA1030B2AD2D22000DB4542 /* Connect */, + AEA1030C2AD2D22000DB4542 /* Packages */, + AEA1030A2AD2D22000DB4542 /* Products */, + AEA103232AD2D37A00DB4542 /* Frameworks */, + ); + sourceTree = ""; + }; + AEA1030A2AD2D22000DB4542 /* Products */ = { + isa = PBXGroup; + children = ( + AEA103092AD2D22000DB4542 /* Connect.app */, + ); + name = Products; + sourceTree = ""; + }; + AEA1030B2AD2D22000DB4542 /* Connect */ = { + isa = PBXGroup; + children = ( + AEA103102AD2D22000DB4542 /* ConnectApp.swift */, + AEA103122AD2D22000DB4542 /* ContentView.swift */, + AEA103142AD2D22000DB4542 /* ImmersiveView.swift */, + AEA103162AD2D22300DB4542 /* Assets.xcassets */, + AEA1031B2AD2D22300DB4542 /* Info.plist */, + AEA103182AD2D22300DB4542 /* Preview Content */, + ); + path = Connect; + sourceTree = ""; + }; + AEA1030C2AD2D22000DB4542 /* Packages */ = { + isa = PBXGroup; + children = ( + 40A3D37B2AEC3BCB0044095B /* reality-check */, + AEA1030D2AD2D22000DB4542 /* RealityKitContent */, + ); + path = Packages; + sourceTree = ""; + }; + AEA103182AD2D22300DB4542 /* Preview Content */ = { + isa = PBXGroup; + children = ( + AEA103192AD2D22300DB4542 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + AEA103232AD2D37A00DB4542 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + AEA103082AD2D22000DB4542 /* Connect */ = { + isa = PBXNativeTarget; + buildConfigurationList = AEA1031E2AD2D22300DB4542 /* Build configuration list for PBXNativeTarget "Connect" */; + buildPhases = ( + AEA103052AD2D22000DB4542 /* Sources */, + AEA103062AD2D22000DB4542 /* Frameworks */, + AEA103072AD2D22000DB4542 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Connect; + packageProductDependencies = ( + AEA1030E2AD2D22000DB4542 /* RealityKitContent */, + 40A3D37D2AEC3BD80044095B /* RealityCheckConnect */, + 40A3D3802AEC3C0A0044095B /* RealityCheckConnect */, + ); + productName = Connect; + productReference = AEA103092AD2D22000DB4542 /* Connect.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + AEA103012AD2D22000DB4542 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1510; + LastUpgradeCheck = 1510; + TargetAttributes = { + AEA103082AD2D22000DB4542 = { + CreatedOnToolsVersion = 15.1; + }; + }; + }; + buildConfigurationList = AEA103042AD2D22000DB4542 /* Build configuration list for PBXProject "Connect" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = AEA103002AD2D22000DB4542; + packageReferences = ( + 40A3D37F2AEC3C0A0044095B /* XCRemoteSwiftPackageReference "reality-check" */, + ); + productRefGroup = AEA1030A2AD2D22000DB4542 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + AEA103082AD2D22000DB4542 /* Connect */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + AEA103072AD2D22000DB4542 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 40A3D37C2AEC3BCB0044095B /* reality-check in Resources */, + AEA1031A2AD2D22300DB4542 /* Preview Assets.xcassets in Resources */, + AEA103172AD2D22300DB4542 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + AEA103052AD2D22000DB4542 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AEA103132AD2D22000DB4542 /* ContentView.swift in Sources */, + AEA103112AD2D22000DB4542 /* ConnectApp.swift in Sources */, + AEA103152AD2D22000DB4542 /* ImmersiveView.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + AEA1031C2AD2D22300DB4542 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = xros; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Debug; + }; + AEA1031D2AD2D22300DB4542 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = xros; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Release; + }; + AEA1031F2AD2D22300DB4542 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Connect/Preview Content\""; + DEVELOPMENT_TEAM = M92A6H7EPZ; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "$(TARGET_NAME)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Connect Example"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.elkraneo.Connect; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + }; + name = Debug; + }; + AEA103202AD2D22300DB4542 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Connect/Preview Content\""; + DEVELOPMENT_TEAM = M92A6H7EPZ; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "$(TARGET_NAME)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Connect Example"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = edu.elkraneo.Connect; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + AEA103042AD2D22000DB4542 /* Build configuration list for PBXProject "Connect" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AEA1031C2AD2D22300DB4542 /* Debug */, + AEA1031D2AD2D22300DB4542 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + AEA1031E2AD2D22300DB4542 /* Build configuration list for PBXNativeTarget "Connect" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AEA1031F2AD2D22300DB4542 /* Debug */, + AEA103202AD2D22300DB4542 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 40A3D37F2AEC3C0A0044095B /* XCRemoteSwiftPackageReference "reality-check" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/monstar-lab-oss/reality-check/"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 0.0.2; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 40A3D37D2AEC3BD80044095B /* RealityCheckConnect */ = { + isa = XCSwiftPackageProductDependency; + productName = RealityCheckConnect; + }; + 40A3D3802AEC3C0A0044095B /* RealityCheckConnect */ = { + isa = XCSwiftPackageProductDependency; + package = 40A3D37F2AEC3C0A0044095B /* XCRemoteSwiftPackageReference "reality-check" */; + productName = RealityCheckConnect; + }; + AEA1030E2AD2D22000DB4542 /* RealityKitContent */ = { + isa = XCSwiftPackageProductDependency; + productName = RealityKitContent; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = AEA103012AD2D22000DB4542 /* Project object */; +} diff --git a/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..fd6ea67 --- /dev/null +++ b/Examples/visionOS/Connect/Connect.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,104 @@ +{ + "pins" : [ + { + "identity" : "combine-schedulers", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/combine-schedulers", + "state" : { + "revision" : "9dc9cbe4bc45c65164fa653a563d8d8db61b09bb", + "version" : "1.0.0" + } + }, + { + "identity" : "devicekit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/devicekit/DeviceKit.git", + "state" : { + "revision" : "66837ecf1516e41fd4251bbb684dc4b1997f08ab", + "version" : "5.1.0" + } + }, + { + "identity" : "reality-codable", + "kind" : "remoteSourceControl", + "location" : "https://github.com/elkraneo/reality-codable", + "state" : { + "branch" : "main", + "revision" : "895b2c4e735b17a55a8ed1f4477e65a9327a12a8" + } + }, + { + "identity" : "reality-dump", + "kind" : "remoteSourceControl", + "location" : "https://github.com/elkraneo/reality-dump", + "state" : { + "branch" : "main", + "revision" : "8c0872930a35a9a6b1082746e0d063555db01223" + } + }, + { + "identity" : "reality-symbols", + "kind" : "remoteSourceControl", + "location" : "https://github.com/elkraneo/reality-symbols", + "state" : { + "branch" : "main", + "revision" : "c1e98b9eba92a42c05b7af11ec6d5e831790d854" + } + }, + { + "identity" : "swift-clocks", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-clocks", + "state" : { + "revision" : "d1fd837326aa719bee979bdde1f53cd5797443eb", + "version" : "1.0.0" + } + }, + { + "identity" : "swift-concurrency-extras", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-concurrency-extras", + "state" : { + "revision" : "ea631ce892687f5432a833312292b80db238186a", + "version" : "1.0.0" + } + }, + { + "identity" : "swift-custom-dump", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-custom-dump", + "state" : { + "revision" : "3efbfba0e4e56c7187cc19137ee16b7c95346b79", + "version" : "1.1.0" + } + }, + { + "identity" : "swift-dependencies", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-dependencies", + "state" : { + "revision" : "4e1eb6e28afe723286d8cc60611237ffbddba7c5", + "version" : "1.0.0" + } + }, + { + "identity" : "swift-docc-symbolkit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-docc-symbolkit.git", + "state" : { + "branch" : "main", + "revision" : "31ee554ce4bed5fa05eea36bc30296f7d4149097" + } + }, + { + "identity" : "xctest-dynamic-overlay", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay", + "state" : { + "revision" : "23cbf2294e350076ea4dbd7d5d047c1e76b03631", + "version" : "1.0.2" + } + } + ], + "version" : 2 +} diff --git a/App/AppPackage/.swiftpm/xcode/xcshareddata/xcschemes/AppFeature.xcscheme b/Examples/visionOS/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect (visionOS).xcscheme similarity index 65% rename from App/AppPackage/.swiftpm/xcode/xcshareddata/xcschemes/AppFeature.xcscheme rename to Examples/visionOS/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect (visionOS).xcscheme index a9f3fc6..c4a384d 100644 --- a/App/AppPackage/.swiftpm/xcode/xcshareddata/xcschemes/AppFeature.xcscheme +++ b/Examples/visionOS/Connect/Connect.xcodeproj/xcshareddata/xcschemes/Connect (visionOS).xcscheme @@ -1,6 +1,6 @@ + BlueprintIdentifier = "AEA103082AD2D22000DB4542" + BuildableName = "Connect.app" + BlueprintName = "Connect" + ReferencedContainer = "container:Connect.xcodeproj"> @@ -28,18 +28,6 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES" shouldAutocreateTestPlan = "YES"> - - - - - - + + + + - + + BlueprintIdentifier = "AEA103082AD2D22000DB4542" + BuildableName = "Connect.app" + BlueprintName = "Connect" + ReferencedContainer = "container:Connect.xcodeproj"> - + diff --git a/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..04056a5 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "vision", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RealityCheckConnect/Media.xcassets/Contents.json b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json similarity index 100% rename from Sources/RealityCheckConnect/Media.xcassets/Contents.json rename to Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json diff --git a/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Contents.json b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Contents.json new file mode 100644 index 0000000..950af4d --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Contents.json @@ -0,0 +1,17 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "layers" : [ + { + "filename" : "Front.solidimagestacklayer" + }, + { + "filename" : "Middle.solidimagestacklayer" + }, + { + "filename" : "Back.solidimagestacklayer" + } + ] +} diff --git a/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..04056a5 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "vision", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 0000000..04056a5 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "vision", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/Connect/Connect/Assets.xcassets/Contents.json b/Examples/visionOS/Connect/Connect/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Examples/visionOS/Connect/Connect/ConnectApp.swift b/Examples/visionOS/Connect/Connect/ConnectApp.swift new file mode 100644 index 0000000..453bf08 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/ConnectApp.swift @@ -0,0 +1,26 @@ +// +// ConnectApp.swift +// Connect +// +// Created by Cristian Díaz on 08.10.23. +// + +import RealityCheckConnect +import SwiftUI + +@main +struct ConnectApp: App { + @State var realityCheckConnectModel = RealityCheckConnectViewModel() + + var body: some Scene { + WindowGroup { + ContentView() + .environment(realityCheckConnectModel) + } + + ImmersiveSpace(id: "ImmersiveSpace") { + ImmersiveView() + .environment(realityCheckConnectModel) + } + } +} diff --git a/Examples/visionOS/Connect/Connect/ContentView.swift b/Examples/visionOS/Connect/Connect/ContentView.swift new file mode 100644 index 0000000..273cb0c --- /dev/null +++ b/Examples/visionOS/Connect/Connect/ContentView.swift @@ -0,0 +1,57 @@ +// +// ContentView.swift +// Connect +// +// Created by Cristian Díaz on 08.10.23. +// + +import SwiftUI +import RealityCheckConnect +import RealityKit +import RealityKitContent + +struct ContentView: View { + + @State private var showImmersiveSpace = false + @State private var immersiveSpaceIsShown = false + + @Environment(\.openImmersiveSpace) var openImmersiveSpace + @Environment(\.dismissImmersiveSpace) var dismissImmersiveSpace + + var body: some View { + VStack { + Model3D(named: "Scene", bundle: realityKitContentBundle) + .padding(.bottom, 50) + .realityCheck() + + Text("Hello, world!") + + Toggle("Show Immersive Space", isOn: $showImmersiveSpace) + .toggleStyle(.button) + .padding(.top, 50) + } + .padding() + .onChange(of: showImmersiveSpace) { _, newValue in + Task { + if newValue { + switch await openImmersiveSpace(id: "ImmersiveSpace") { + case .opened: + immersiveSpaceIsShown = true + case .error, .userCancelled: + fallthrough + @unknown default: + immersiveSpaceIsShown = false + showImmersiveSpace = false + } + } else if immersiveSpaceIsShown { + await dismissImmersiveSpace() + immersiveSpaceIsShown = false + } + } + } + } +} + +#Preview(windowStyle: .automatic) { + ContentView() +} diff --git a/Examples/visionOS/Connect/Connect/ImmersiveView.swift b/Examples/visionOS/Connect/Connect/ImmersiveView.swift new file mode 100644 index 0000000..209781a --- /dev/null +++ b/Examples/visionOS/Connect/Connect/ImmersiveView.swift @@ -0,0 +1,27 @@ +// +// ImmersiveView.swift +// Connect +// +// Created by Cristian Díaz on 08.10.23. +// + +import SwiftUI +import RealityKit +import RealityKitContent +import RealityCheckConnect + +struct ImmersiveView: View { + var body: some View { + RealityCheckView { content in + // Add the initial RealityKit content + if let scene = try? await Entity(named: "Immersive", in: realityKitContentBundle) { + content.add(scene) + } + } + } +} + +#Preview { + ImmersiveView() + .previewLayout(.sizeThatFits) +} diff --git a/Examples/visionOS/Connect/Connect/Info.plist b/Examples/visionOS/Connect/Connect/Info.plist new file mode 100644 index 0000000..6cb9bc1 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Info.plist @@ -0,0 +1,20 @@ + + + + + NSBonjourServices + + _reality-check._tcp + _reality-check._udp + + UIApplicationSceneManifest + + UIApplicationPreferredDefaultSceneSessionRole + UIWindowSceneSessionRoleApplication + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + + + diff --git a/Examples/visionOS/Connect/Connect/Preview Content/Preview Assets.xcassets/Contents.json b/Examples/visionOS/Connect/Connect/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Examples/visionOS/Connect/Connect/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json b/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json new file mode 100644 index 0000000..35c2d94 --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json @@ -0,0 +1,11 @@ +{ + "pathsToIds" : { + "\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/GridMaterial.usda" : "CB766F92-EE55-4A63-9401-E7B8C009764D", + "\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Immersive.usda" : "65F6F990-A780-4474-B78B-572E0E4E273D", + "\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Scene.usda" : "0A9B4653-B11E-4D6A-850E-C6FCB621626C", + "\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Untitled Scene.usda" : "D560BB77-AAF3-4BDE-B7C4-989332A4688B", + "RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/GridMaterial.usda" : "66168B71-AB05-424E-8B6C-D33D6E61B08F", + "RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Immersive.usda" : "AF09ED6F-1707-48FD-8720-65B998362C09", + "RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Scene.usda" : "D66134B1-3681-4A8E-AFE5-29F257229F3B" + } +} \ No newline at end of file diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json b/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json new file mode 100644 index 0000000..f3d44aa --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json @@ -0,0 +1,242 @@ +{ + "0A9B4653-B11E-4D6A-850E-C6FCB621626C" : { + "cameraTransform" : [ + 1, + 0, + 0, + 0, + 0, + 0.86602545, + -0.49999994, + 0, + 0, + 0.49999994, + 0.86602545, + 0, + 0.0035969093, + 0.35542378, + 0.62919164, + 1 + ], + "objectMetadataList" : [ + [ + "0A9B4653-B11E-4D6A-850E-C6FCB621626C", + "Root" + ], + { + "isExpanded" : true, + "isLocked" : false + } + ] + }, + "65F6F990-A780-4474-B78B-572E0E4E273D" : { + "cameraTransform" : [ + 1, + 0, + -0, + 0, + -0, + 0.86602545, + -0.49999988, + 0, + 0, + 0.49999988, + 0.86602545, + 0, + 1.1972517e-08, + 2.6179132, + 0.43191218, + 1 + ], + "objectMetadataList" : [ + [ + "65F6F990-A780-4474-B78B-572E0E4E273D", + "Root" + ], + { + "isExpanded" : true, + "isLocked" : false + } + ] + }, + "66168B71-AB05-424E-8B6C-D33D6E61B08F" : { + "cameraTransform" : [ + 1, + 0, + -0, + 0, + -0, + 0.8660254, + -0.5, + 0, + 0, + 0.5, + 0.8660254, + 0, + 0, + 0.23875366, + 0.4135335, + 1 + ], + "objectMetadataList" : [ + [ + "66168B71-AB05-424E-8B6C-D33D6E61B08F", + "Root" + ], + { + "isExpanded" : true, + "isLocked" : false + } + ] + }, + "AF09ED6F-1707-48FD-8720-65B998362C09" : { + "cameraTransform" : [ + 1, + 0, + -0, + 0, + -0, + 0.7071069, + -0.7071067, + 0, + 0, + 0.7071067, + 0.7071069, + 0, + 0, + 2.8836339, + -0.107588194, + 1 + ], + "objectMetadataList" : [ + [ + "AF09ED6F-1707-48FD-8720-65B998362C09", + "Root" + ], + { + "isExpanded" : true, + "isLocked" : false + }, + [ + "AF09ED6F-1707-48FD-8720-65B998362C09", + "Root", + "Sphere_Left" + ], + { + "isExpanded" : true, + "isLocked" : false + }, + [ + "AF09ED6F-1707-48FD-8720-65B998362C09", + "Root", + "Sphere_Right" + ], + { + "isExpanded" : true, + "isLocked" : false + } + ] + }, + "CB766F92-EE55-4A63-9401-E7B8C009764D" : { + "cameraTransform" : [ + 1, + 0, + -0, + 0, + -0, + 0.8660253, + -0.5000001, + 0, + 0, + 0.5000001, + 0.8660253, + 0, + 0, + 0.27093494, + 0.4692731, + 1 + ], + "objectMetadataList" : [ + [ + "CB766F92-EE55-4A63-9401-E7B8C009764D", + "Root", + "GridMaterial" + ], + { + "isExpanded" : true, + "isLocked" : false + }, + [ + "CB766F92-EE55-4A63-9401-E7B8C009764D", + "Root" + ], + { + "isExpanded" : true, + "isLocked" : false + } + ] + }, + "D560BB77-AAF3-4BDE-B7C4-989332A4688B" : { + "cameraTransform" : [ + 1, + 0, + -0, + 0, + -0, + 0.8660253, + -0.5000001, + 0, + 0, + 0.5000001, + 0.8660253, + 0, + 0, + 0.27093494, + 0.4692731, + 1 + ], + "objectMetadataList" : [ + + ] + }, + "D66134B1-3681-4A8E-AFE5-29F257229F3B" : { + "cameraTransform" : [ + 1, + 0, + -0, + 0, + -0, + 0.7071069, + -0.7071067, + 0, + 0, + 0.7071067, + 0.7071069, + 0, + 0, + 0.26894823, + 0.26934713, + 1 + ], + "objectMetadataList" : [ + [ + "D66134B1-3681-4A8E-AFE5-29F257229F3B", + "Root", + "GridMaterial", + "GridMaterial" + ], + { + "isExpanded" : true, + "isLocked" : false + }, + [ + "D66134B1-3681-4A8E-AFE5-29F257229F3B", + "Root" + ], + { + "isExpanded" : true, + "isLocked" : false + } + ] + } +} \ No newline at end of file diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata b/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata new file mode 100644 index 0000000..6dea95c --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata @@ -0,0 +1,17 @@ +{ + "cameraPresets" : { + + }, + "secondaryToolbarData" : { + "isGridVisible" : true, + "sceneReverbPreset" : -1 + }, + "unitDefaults" : { + "°" : "°", + "kg" : "g", + "m" : "cm", + "m\/s" : "m\/s", + "m\/s²" : "m\/s²", + "s" : "s" + } +} \ No newline at end of file diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/Package.swift b/Examples/visionOS/Connect/Packages/RealityKitContent/Package.swift new file mode 100644 index 0000000..d043ae1 --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/Package.swift @@ -0,0 +1,25 @@ +// swift-tools-version:5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "RealityKitContent", + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "RealityKitContent", + targets: ["RealityKitContent"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "RealityKitContent", + dependencies: []), + ] +) \ No newline at end of file diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/README.md b/Examples/visionOS/Connect/Packages/RealityKitContent/README.md new file mode 100644 index 0000000..486b575 --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/README.md @@ -0,0 +1,3 @@ +# RealityKitContent + +A description of this package. \ No newline at end of file diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda b/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda new file mode 100644 index 0000000..0a28410 --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda @@ -0,0 +1,50 @@ +#usda 1.0 +( + defaultPrim = "Root" + metersPerUnit = 1 + upAxis = "Y" +) + +def Xform "Root" +{ + reorder nameChildren = ["Sphere_Left", "Sphere_Right", "GridMaterial"] + def Sphere "Sphere_Right" ( + active = true + prepend apiSchemas = ["MaterialBindingAPI"] + ) + { + rel material:binding = ( + bindMaterialAs = "weakerThanDescendants" + ) + double radius = 0.1 + quatf xformOp:orient = (1, 0, 0, 0) + float3 xformOp:scale = (1, 1, 1) + float3 xformOp:translate = (0.5, 1.5, -1.5) + uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] + } + + def Sphere "Sphere_Left" ( + active = true + prepend apiSchemas = ["MaterialBindingAPI"] + ) + { + rel material:binding = ( + bindMaterialAs = "weakerThanDescendants" + ) + double radius = 0.1 + quatf xformOp:orient = (1, 0, 0, 0) + float3 xformOp:scale = (1, 1, 1) + float3 xformOp:translate = (-0.5, 1.5, -1.5) + uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] + } + + def "GridMaterial" ( + active = true + prepend references = @Materials/GridMaterial.usda@ + ) + { + float3 xformOp:scale = (1, 1, 1) + uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] + } +} + diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda b/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda new file mode 100644 index 0000000..b7afd02 --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda @@ -0,0 +1,216 @@ +#usda 1.0 +( + defaultPrim = "Root" + metersPerUnit = 1 + upAxis = "Y" +) + +def Xform "Root" +{ + def Material "GridMaterial" + { + reorder nameChildren = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "DefaultSurfaceShader", "MaterialXPreviewSurface", "Texcoord", "Add", "Multiply", "Fractional", "LineCounts", "Multiply_1", "Separate2", "Separate2_1", "Ifgreater", "Ifgreater_1", "Max", "Background_Color"] + token outputs:mtlx:surface.connect = + token outputs:realitykit:vertex + token outputs:surface + float2 ui:nodegraph:realitykit:subgraphOutputs:pos = (2222, 300.5) + float2 ui:nodegraph:realitykit:subgraphOutputs:size = (182, 89) + int ui:nodegraph:realitykit:subgraphOutputs:stackingOrder = 749 + + def Shader "DefaultSurfaceShader" + { + uniform token info:id = "UsdPreviewSurface" + color3f inputs:diffuseColor = (1, 1, 1) + float inputs:roughness = 0.75 + token outputs:surface + } + + def Shader "MaterialXPreviewSurface" + { + uniform token info:id = "ND_UsdPreviewSurface_surfaceshader" + float inputs:clearcoat + float inputs:clearcoatRoughness + color3f inputs:diffuseColor.connect = + color3f inputs:emissiveColor + float inputs:ior + float inputs:metallic = 0.15 + float3 inputs:normal + float inputs:occlusion + float inputs:opacity + float inputs:opacityThreshold + float inputs:roughness = 0.5 + token outputs:out + float2 ui:nodegraph:node:pos = (1967, 300.5) + float2 ui:nodegraph:node:size = (208, 297) + int ui:nodegraph:node:stackingOrder = 870 + string[] ui:nodegraph:realitykit:node:attributesShowingChildren = ["Advanced"] + } + + def Shader "Texcoord" + { + uniform token info:id = "ND_texcoord_vector2" + float2 outputs:out + float2 ui:nodegraph:node:pos = (94.14453, 35.29297) + float2 ui:nodegraph:node:size = (182, 43) + int ui:nodegraph:node:stackingOrder = 1358 + } + + def Shader "Multiply" + { + uniform token info:id = "ND_multiply_vector2" + float2 inputs:in1.connect = + float2 inputs:in2 = (32, 15) + float2 inputs:in2.connect = + float2 outputs:out + float2 ui:nodegraph:node:pos = (275.64453, 47.29297) + float2 ui:nodegraph:node:size = (61, 36) + int ui:nodegraph:node:stackingOrder = 1348 + string[] ui:nodegraph:realitykit:node:attributesShowingChildren = ["inputs:in2"] + } + + def Shader "Fractional" + { + uniform token info:id = "ND_realitykit_fractional_vector2" + float2 inputs:in.connect = + float2 outputs:out + float2 ui:nodegraph:node:pos = (440.5, 49.5) + float2 ui:nodegraph:node:size = (155, 99) + int ui:nodegraph:node:stackingOrder = 1345 + } + + def Shader "BaseColor" + { + uniform token info:id = "ND_constant_color3" + color3f inputs:value = (0.89737034, 0.89737034, 0.89737034) ( + colorSpace = "Input - Texture - sRGB - sRGB" + ) + color3f inputs:value.connect = None + color3f outputs:out + float2 ui:nodegraph:node:pos = (1537.5977, 363.07812) + float2 ui:nodegraph:node:size = (150, 43) + int ui:nodegraph:node:stackingOrder = 1353 + } + + def Shader "LineColor" + { + uniform token info:id = "ND_constant_color3" + color3f inputs:value = (0.55945957, 0.55945957, 0.55945957) ( + colorSpace = "Input - Texture - sRGB - sRGB" + ) + color3f inputs:value.connect = None + color3f outputs:out + float2 ui:nodegraph:node:pos = (1536.9844, 287.86328) + float2 ui:nodegraph:node:size = (146, 43) + int ui:nodegraph:node:stackingOrder = 1355 + } + + def Shader "LineWidths" + { + uniform token info:id = "ND_combine2_vector2" + float inputs:in1 = 0.1 + float inputs:in2 = 0.1 + float2 outputs:out + float2 ui:nodegraph:node:pos = (443.64453, 233.79297) + float2 ui:nodegraph:node:size = (151, 43) + int ui:nodegraph:node:stackingOrder = 1361 + } + + def Shader "LineCounts" + { + uniform token info:id = "ND_combine2_vector2" + float inputs:in1 = 24 + float inputs:in2 = 12 + float2 outputs:out + float2 ui:nodegraph:node:pos = (94.14453, 138.29297) + float2 ui:nodegraph:node:size = (153, 43) + int ui:nodegraph:node:stackingOrder = 1359 + } + + def Shader "Remap" + { + uniform token info:id = "ND_remap_color3" + color3f inputs:in.connect = + color3f inputs:inhigh.connect = None + color3f inputs:inlow.connect = None + color3f inputs:outhigh.connect = + color3f inputs:outlow.connect = + color3f outputs:out + float2 ui:nodegraph:node:pos = (1755.5, 300.5) + float2 ui:nodegraph:node:size = (95, 171) + int ui:nodegraph:node:stackingOrder = 1282 + string[] ui:nodegraph:realitykit:node:attributesShowingChildren = ["inputs:outlow"] + } + + def Shader "Separate2" + { + uniform token info:id = "ND_separate2_vector2" + float2 inputs:in.connect = + float outputs:outx + float outputs:outy + float2 ui:nodegraph:node:pos = (1212.6445, 128.91797) + float2 ui:nodegraph:node:size = (116, 117) + int ui:nodegraph:node:stackingOrder = 1363 + } + + def Shader "Combine3" + { + uniform token info:id = "ND_combine3_color3" + float inputs:in1.connect = + float inputs:in2.connect = + float inputs:in3.connect = + color3f outputs:out + float2 ui:nodegraph:node:pos = (1578.1445, 128.91797) + float2 ui:nodegraph:node:size = (146, 54) + int ui:nodegraph:node:stackingOrder = 1348 + } + + def Shader "Range" + { + uniform token info:id = "ND_range_vector2" + bool inputs:doclamp = 1 + float2 inputs:gamma = (2, 2) + float2 inputs:in.connect = + float2 inputs:inhigh.connect = + float2 inputs:inlow = (0.02, 0.02) + float2 inputs:outhigh + float2 inputs:outlow + float2 outputs:out + float2 ui:nodegraph:node:pos = (990.64453, 128.91797) + float2 ui:nodegraph:node:size = (98, 207) + int ui:nodegraph:node:stackingOrder = 1364 + } + + def Shader "Subtract" + { + uniform token info:id = "ND_subtract_vector2" + float2 inputs:in1.connect = + float2 inputs:in2.connect = + float2 outputs:out + float2 ui:nodegraph:node:pos = (612.64453, 87.04297) + float2 ui:nodegraph:node:size = (63, 36) + int ui:nodegraph:node:stackingOrder = 1348 + } + + def Shader "Absval" + { + uniform token info:id = "ND_absval_vector2" + float2 inputs:in.connect = + float2 outputs:out + float2 ui:nodegraph:node:pos = (765.64453, 87.04297) + float2 ui:nodegraph:node:size = (123, 43) + int ui:nodegraph:node:stackingOrder = 1348 + } + + def Shader "Min" + { + uniform token info:id = "ND_min_float" + float inputs:in1.connect = + float inputs:in2.connect = + float outputs:out + float2 ui:nodegraph:node:pos = (1388.1445, 128.91797) + float2 ui:nodegraph:node:size = (114, 36) + int ui:nodegraph:node:stackingOrder = 1363 + } + } +} + diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda b/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda new file mode 100644 index 0000000..4cb070b --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda @@ -0,0 +1,59 @@ +#usda 1.0 +( + defaultPrim = "Root" + metersPerUnit = 1 + upAxis = "Y" +) + +def Xform "Root" +{ + reorder nameChildren = ["GridMaterial", "Sphere"] + rel material:binding = None ( + bindMaterialAs = "weakerThanDescendants" + ) + + def Sphere "Sphere" ( + active = true + prepend apiSchemas = ["MaterialBindingAPI"] + ) + { + rel material:binding = ( + bindMaterialAs = "weakerThanDescendants" + ) + double radius = 0.05 + quatf xformOp:orient = (1, 0, 0, 0) + float3 xformOp:scale = (1, 1, 1) + float3 xformOp:translate = (0, 0, 0.0004) + uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] + + def RealityKitComponent "Collider" + { + uint group = 1 + uniform token info:id = "RealityKit.Collider" + uint mask = 4294967295 + token type = "Default" + + def RealityKitStruct "Shape" + { + float3 extent = (0.2, 0.2, 0.2) + float radius = 0.05 + token shapeType = "Sphere" + } + } + + def RealityKitComponent "InputTarget" + { + uniform token info:id = "RealityKit.InputTarget" + } + } + + def "GridMaterial" ( + active = true + prepend references = @Materials/GridMaterial.usda@ + ) + { + float3 xformOp:scale = (1, 1, 1) + uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] + } +} + diff --git a/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift b/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift new file mode 100644 index 0000000..5caba4e --- /dev/null +++ b/Examples/visionOS/Connect/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift @@ -0,0 +1,4 @@ +import Foundation + +/// Bundle for the RealityKitContent project +public let realityKitContentBundle = Bundle.module diff --git a/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.pbxproj b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.pbxproj new file mode 100644 index 0000000..6096a97 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.pbxproj @@ -0,0 +1,507 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 60; + objects = { + +/* Begin PBXBuildFile section */ + 407220E42A936C11009BB134 /* StepByStepView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 407220E32A936C11009BB134 /* StepByStepView.swift */; }; + 407220E82A93BD30009BB134 /* Recipe+Samples.swift in Sources */ = {isa = PBXBuildFile; fileRef = 407220E72A93BD30009BB134 /* Recipe+Samples.swift */; }; + 407EAD2C2A9D1DC0007C46AA /* ServingsPicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 407EAD2B2A9D1DC0007C46AA /* ServingsPicker.swift */; }; + 40B512272A9E510F00DC4BBB /* Wall_Kitchen_Clock_50s.usdz in Resources */ = {isa = PBXBuildFile; fileRef = 40B512262A9E510F00DC4BBB /* Wall_Kitchen_Clock_50s.usdz */; }; + 40B5124A2A9E51A900DC4BBB /* ClockView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40B512492A9E51A900DC4BBB /* ClockView.swift */; }; + 40BB48332A87D61F008422AE /* AppCoreFeatureModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48322A87D61F008422AE /* AppCoreFeatureModel.swift */; }; + 40BB48362A87D6F1008422AE /* Destination.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48352A87D6F1008422AE /* Destination.swift */; }; + 40BB48382A87E417008422AE /* GoalsSelector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48372A87E417008422AE /* GoalsSelector.swift */; }; + 40BB483A2A87E6EB008422AE /* Goal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48392A87E6EB008422AE /* Goal.swift */; }; + 40BB483C2A87F2EC008422AE /* Diet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB483B2A87F2EC008422AE /* Diet.swift */; }; + 40BB483E2A87F431008422AE /* DietSelector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB483D2A87F431008422AE /* DietSelector.swift */; }; + 40BB48402A87FFC7008422AE /* ServingsCounter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB483F2A87FFC7008422AE /* ServingsCounter.swift */; }; + 40BB48422A880514008422AE /* AlmostThere.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48412A880514008422AE /* AlmostThere.swift */; }; + 40BB48442A894057008422AE /* MainView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48432A894057008422AE /* MainView.swift */; }; + 40BB48462A89449E008422AE /* OnboardingFeatureModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48452A89449E008422AE /* OnboardingFeatureModel.swift */; }; + 40BB48842A8A6C23008422AE /* Preferences.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48832A8A6C23008422AE /* Preferences.swift */; }; + 40BB48872A8A8F4F008422AE /* TodayView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48862A8A8F4F008422AE /* TodayView.swift */; }; + 40BB48892A8A8FBA008422AE /* Recipe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BB48882A8A8FBA008422AE /* Recipe.swift */; }; + 40CE54A12A8BA3EE002C0FA3 /* RecipeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40CE54A02A8BA3EE002C0FA3 /* RecipeView.swift */; }; + 40CE54A42A8BF54A002C0FA3 /* StepView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40CE54A32A8BF54A002C0FA3 /* StepView.swift */; }; + 40CE54A62A8BF591002C0FA3 /* StepByStepFeatureModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40CE54A52A8BF591002C0FA3 /* StepByStepFeatureModel.swift */; }; + 40D4D81D2A9A1E0300E38ABD /* OnboardingStepView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40D4D81C2A9A1E0300E38ABD /* OnboardingStepView.swift */; }; + 40D4D81F2A9A20DF00E38ABD /* PresentationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40D4D81E2A9A20DF00E38ABD /* PresentationView.swift */; }; + 40E7521A2A8667990040E74F /* HelloWurstApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E752192A8667990040E74F /* HelloWurstApp.swift */; }; + 40E7521C2A8667990040E74F /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E7521B2A8667990040E74F /* ContentView.swift */; }; + 40E7521E2A86679B0040E74F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 40E7521D2A86679B0040E74F /* Assets.xcassets */; }; + 40E752212A86679B0040E74F /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 40E752202A86679B0040E74F /* Preview Assets.xcassets */; }; + 40E752292A8669EA0040E74F /* OnboardingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E752282A8669EA0040E74F /* OnboardingView.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 407220E32A936C11009BB134 /* StepByStepView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StepByStepView.swift; sourceTree = ""; }; + 407220E72A93BD30009BB134 /* Recipe+Samples.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Recipe+Samples.swift"; sourceTree = ""; }; + 407EAD2B2A9D1DC0007C46AA /* ServingsPicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServingsPicker.swift; sourceTree = ""; }; + 40B512262A9E510F00DC4BBB /* Wall_Kitchen_Clock_50s.usdz */ = {isa = PBXFileReference; lastKnownFileType = file.usdz; path = Wall_Kitchen_Clock_50s.usdz; sourceTree = ""; }; + 40B512492A9E51A900DC4BBB /* ClockView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ClockView.swift; sourceTree = ""; }; + 40B70D792AA3BB5200785A9C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 40BB48322A87D61F008422AE /* AppCoreFeatureModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppCoreFeatureModel.swift; sourceTree = ""; }; + 40BB48352A87D6F1008422AE /* Destination.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Destination.swift; sourceTree = ""; }; + 40BB48372A87E417008422AE /* GoalsSelector.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GoalsSelector.swift; sourceTree = ""; }; + 40BB48392A87E6EB008422AE /* Goal.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Goal.swift; sourceTree = ""; }; + 40BB483B2A87F2EC008422AE /* Diet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Diet.swift; sourceTree = ""; }; + 40BB483D2A87F431008422AE /* DietSelector.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DietSelector.swift; sourceTree = ""; }; + 40BB483F2A87FFC7008422AE /* ServingsCounter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServingsCounter.swift; sourceTree = ""; }; + 40BB48412A880514008422AE /* AlmostThere.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlmostThere.swift; sourceTree = ""; }; + 40BB48432A894057008422AE /* MainView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainView.swift; sourceTree = ""; }; + 40BB48452A89449E008422AE /* OnboardingFeatureModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnboardingFeatureModel.swift; sourceTree = ""; }; + 40BB48832A8A6C23008422AE /* Preferences.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Preferences.swift; sourceTree = ""; }; + 40BB48862A8A8F4F008422AE /* TodayView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TodayView.swift; sourceTree = ""; }; + 40BB48882A8A8FBA008422AE /* Recipe.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Recipe.swift; sourceTree = ""; }; + 40CE54A02A8BA3EE002C0FA3 /* RecipeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecipeView.swift; sourceTree = ""; }; + 40CE54A32A8BF54A002C0FA3 /* StepView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StepView.swift; sourceTree = ""; }; + 40CE54A52A8BF591002C0FA3 /* StepByStepFeatureModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StepByStepFeatureModel.swift; sourceTree = ""; }; + 40D4D81C2A9A1E0300E38ABD /* OnboardingStepView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnboardingStepView.swift; sourceTree = ""; }; + 40D4D81E2A9A20DF00E38ABD /* PresentationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PresentationView.swift; sourceTree = ""; }; + 40E752162A8667990040E74F /* HelloWurst.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloWurst.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 40E752192A8667990040E74F /* HelloWurstApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HelloWurstApp.swift; sourceTree = ""; }; + 40E7521B2A8667990040E74F /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 40E7521D2A86679B0040E74F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 40E752202A86679B0040E74F /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 40E752282A8669EA0040E74F /* OnboardingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnboardingView.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 40E752132A8667990040E74F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 40BB48342A87D6E0008422AE /* SharedModels */ = { + isa = PBXGroup; + children = ( + 40BB483B2A87F2EC008422AE /* Diet.swift */, + 40BB48392A87E6EB008422AE /* Goal.swift */, + 40BB48832A8A6C23008422AE /* Preferences.swift */, + 40BB48882A8A8FBA008422AE /* Recipe.swift */, + 407220E72A93BD30009BB134 /* Recipe+Samples.swift */, + ); + path = SharedModels; + sourceTree = ""; + }; + 40BB48852A8A8F1E008422AE /* TodayFeature */ = { + isa = PBXGroup; + children = ( + 40BB48862A8A8F4F008422AE /* TodayView.swift */, + ); + path = TodayFeature; + sourceTree = ""; + }; + 40CE549F2A8BA3DC002C0FA3 /* SharedViews */ = { + isa = PBXGroup; + children = ( + 40CE54A02A8BA3EE002C0FA3 /* RecipeView.swift */, + 407EAD2B2A9D1DC0007C46AA /* ServingsPicker.swift */, + ); + path = SharedViews; + sourceTree = ""; + }; + 40CE54A22A8BF43A002C0FA3 /* StepByStepFeature */ = { + isa = PBXGroup; + children = ( + 40B512262A9E510F00DC4BBB /* Wall_Kitchen_Clock_50s.usdz */, + 40CE54A32A8BF54A002C0FA3 /* StepView.swift */, + 40CE54A52A8BF591002C0FA3 /* StepByStepFeatureModel.swift */, + 407220E32A936C11009BB134 /* StepByStepView.swift */, + 40B512492A9E51A900DC4BBB /* ClockView.swift */, + ); + path = StepByStepFeature; + sourceTree = ""; + }; + 40E7520D2A8667990040E74F = { + isa = PBXGroup; + children = ( + 40E752182A8667990040E74F /* HelloWurst */, + 40E752172A8667990040E74F /* Products */, + ); + sourceTree = ""; + }; + 40E752172A8667990040E74F /* Products */ = { + isa = PBXGroup; + children = ( + 40E752162A8667990040E74F /* HelloWurst.app */, + ); + name = Products; + sourceTree = ""; + }; + 40E752182A8667990040E74F /* HelloWurst */ = { + isa = PBXGroup; + children = ( + 40B70D792AA3BB5200785A9C /* Info.plist */, + 40BB48322A87D61F008422AE /* AppCoreFeatureModel.swift */, + 40E7521B2A8667990040E74F /* ContentView.swift */, + 40BB48352A87D6F1008422AE /* Destination.swift */, + 40E752192A8667990040E74F /* HelloWurstApp.swift */, + 40BB48432A894057008422AE /* MainView.swift */, + 40E7521D2A86679B0040E74F /* Assets.xcassets */, + 40E752272A8669D90040E74F /* OnboardingFeature */, + 40E7521F2A86679B0040E74F /* Preview Content */, + 40BB48342A87D6E0008422AE /* SharedModels */, + 40CE549F2A8BA3DC002C0FA3 /* SharedViews */, + 40CE54A22A8BF43A002C0FA3 /* StepByStepFeature */, + 40BB48852A8A8F1E008422AE /* TodayFeature */, + ); + path = HelloWurst; + sourceTree = ""; + }; + 40E7521F2A86679B0040E74F /* Preview Content */ = { + isa = PBXGroup; + children = ( + 40E752202A86679B0040E74F /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 40E752272A8669D90040E74F /* OnboardingFeature */ = { + isa = PBXGroup; + children = ( + 40BB48412A880514008422AE /* AlmostThere.swift */, + 40BB483D2A87F431008422AE /* DietSelector.swift */, + 40BB48372A87E417008422AE /* GoalsSelector.swift */, + 40BB48452A89449E008422AE /* OnboardingFeatureModel.swift */, + 40E752282A8669EA0040E74F /* OnboardingView.swift */, + 40BB483F2A87FFC7008422AE /* ServingsCounter.swift */, + 40D4D81C2A9A1E0300E38ABD /* OnboardingStepView.swift */, + 40D4D81E2A9A20DF00E38ABD /* PresentationView.swift */, + ); + path = OnboardingFeature; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 40E752152A8667990040E74F /* HelloWurst */ = { + isa = PBXNativeTarget; + buildConfigurationList = 40E752242A86679B0040E74F /* Build configuration list for PBXNativeTarget "HelloWurst" */; + buildPhases = ( + 40E752122A8667990040E74F /* Sources */, + 40E752132A8667990040E74F /* Frameworks */, + 40E752142A8667990040E74F /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = HelloWurst; + packageProductDependencies = ( + ); + productName = HelloWurst; + productReference = 40E752162A8667990040E74F /* HelloWurst.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 40E7520E2A8667990040E74F /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; + TargetAttributes = { + 40E752152A8667990040E74F = { + CreatedOnToolsVersion = 15.0; + }; + }; + }; + buildConfigurationList = 40E752112A8667990040E74F /* Build configuration list for PBXProject "HelloWurst" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 40E7520D2A8667990040E74F; + packageReferences = ( + 40B70D762AA3B8B400785A9C /* XCLocalSwiftPackageReference "../../../../../../../../../nodes-projects/RealityCheck/source/reality-check" */, + ); + productRefGroup = 40E752172A8667990040E74F /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 40E752152A8667990040E74F /* HelloWurst */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 40E752142A8667990040E74F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 40B512272A9E510F00DC4BBB /* Wall_Kitchen_Clock_50s.usdz in Resources */, + 40E752212A86679B0040E74F /* Preview Assets.xcassets in Resources */, + 40E7521E2A86679B0040E74F /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 40E752122A8667990040E74F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 40CE54A12A8BA3EE002C0FA3 /* RecipeView.swift in Sources */, + 40B5124A2A9E51A900DC4BBB /* ClockView.swift in Sources */, + 40BB48422A880514008422AE /* AlmostThere.swift in Sources */, + 40BB48442A894057008422AE /* MainView.swift in Sources */, + 40E752292A8669EA0040E74F /* OnboardingView.swift in Sources */, + 407220E42A936C11009BB134 /* StepByStepView.swift in Sources */, + 40E7521C2A8667990040E74F /* ContentView.swift in Sources */, + 407220E82A93BD30009BB134 /* Recipe+Samples.swift in Sources */, + 40BB48892A8A8FBA008422AE /* Recipe.swift in Sources */, + 40D4D81D2A9A1E0300E38ABD /* OnboardingStepView.swift in Sources */, + 40D4D81F2A9A20DF00E38ABD /* PresentationView.swift in Sources */, + 40CE54A42A8BF54A002C0FA3 /* StepView.swift in Sources */, + 40BB48362A87D6F1008422AE /* Destination.swift in Sources */, + 40BB48872A8A8F4F008422AE /* TodayView.swift in Sources */, + 40BB483C2A87F2EC008422AE /* Diet.swift in Sources */, + 407EAD2C2A9D1DC0007C46AA /* ServingsPicker.swift in Sources */, + 40BB48382A87E417008422AE /* GoalsSelector.swift in Sources */, + 40BB48332A87D61F008422AE /* AppCoreFeatureModel.swift in Sources */, + 40E7521A2A8667990040E74F /* HelloWurstApp.swift in Sources */, + 40BB48842A8A6C23008422AE /* Preferences.swift in Sources */, + 40CE54A62A8BF591002C0FA3 /* StepByStepFeatureModel.swift in Sources */, + 40BB483A2A87E6EB008422AE /* Goal.swift in Sources */, + 40BB483E2A87F431008422AE /* DietSelector.swift in Sources */, + 40BB48402A87FFC7008422AE /* ServingsCounter.swift in Sources */, + 40BB48462A89449E008422AE /* OnboardingFeatureModel.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 40E752222A86679B0040E74F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 40E752232A86679B0040E74F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 40E752252A86679B0040E74F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"HelloWurst/Preview Content\""; + DEVELOPMENT_TEAM = M92A6H7EPZ; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = HelloWurst/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = "HelloWurst (P2)"; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.HelloWurst.P2; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + }; + name = Debug; + }; + 40E752262A86679B0040E74F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"HelloWurst/Preview Content\""; + DEVELOPMENT_TEAM = M92A6H7EPZ; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = HelloWurst/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = "HelloWurst (P2)"; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.HelloWurst.P2; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 40E752112A8667990040E74F /* Build configuration list for PBXProject "HelloWurst" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 40E752222A86679B0040E74F /* Debug */, + 40E752232A86679B0040E74F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 40E752242A86679B0040E74F /* Build configuration list for PBXNativeTarget "HelloWurst" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 40E752252A86679B0040E74F /* Debug */, + 40E752262A86679B0040E74F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + 40B70D762AA3B8B400785A9C /* XCLocalSwiftPackageReference "../../../../../../../../../nodes-projects/RealityCheck/source/reality-check" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = "../../../../../../../../../nodes-projects/RealityCheck/source/reality-check"; + }; +/* End XCLocalSwiftPackageReference section */ + }; + rootObject = 40E7520E2A8667990040E74F /* Project object */; +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..3a190e6 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,68 @@ +{ + "pins" : [ + { + "identity" : "combine-schedulers", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/combine-schedulers", + "state" : { + "revision" : "9dc9cbe4bc45c65164fa653a563d8d8db61b09bb", + "version" : "1.0.0" + } + }, + { + "identity" : "devicekit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/devicekit/DeviceKit.git", + "state" : { + "revision" : "691fe8112cca20ebf0020a1709d4e0205400311c", + "version" : "5.0.0" + } + }, + { + "identity" : "swift-clocks", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-clocks", + "state" : { + "revision" : "d1fd837326aa719bee979bdde1f53cd5797443eb", + "version" : "1.0.0" + } + }, + { + "identity" : "swift-concurrency-extras", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-concurrency-extras", + "state" : { + "revision" : "ea631ce892687f5432a833312292b80db238186a", + "version" : "1.0.0" + } + }, + { + "identity" : "swift-custom-dump", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-custom-dump", + "state" : { + "revision" : "edd66cace818e1b1c6f1b3349bb1d8e00d6f8b01", + "version" : "1.0.0" + } + }, + { + "identity" : "swift-dependencies", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-dependencies", + "state" : { + "revision" : "4e1eb6e28afe723286d8cc60611237ffbddba7c5", + "version" : "1.0.0" + } + }, + { + "identity" : "xctest-dynamic-overlay", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay", + "state" : { + "revision" : "23cbf2294e350076ea4dbd7d5d047c1e76b03631", + "version" : "1.0.2" + } + } + ], + "version" : 2 +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/xcshareddata/xcschemes/HelloWurst (P2).xcscheme b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/xcshareddata/xcschemes/HelloWurst (P2).xcscheme new file mode 100644 index 0000000..51540df --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst.xcodeproj/xcshareddata/xcschemes/HelloWurst (P2).xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/visionOS/HelloWurst/HelloWurst/AppCoreFeatureModel.swift b/Examples/visionOS/HelloWurst/HelloWurst/AppCoreFeatureModel.swift new file mode 100644 index 0000000..5cd08e5 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/AppCoreFeatureModel.swift @@ -0,0 +1,71 @@ +import Foundation +import SwiftUI +import UIKit + +@Observable +class AppCoreFeatureModel { + var destination: Destination + var onboardingModel: OnboardingFeatureModel + var isOnboadingPresented: Bool { + get { + self.destination == .onboarding + } + set { + displayMain() + } + } + let recipes: [Recipe] + var selectedRecipe: Recipe? + var isStepByStepPresented: Bool = false + + init( + destination: Destination = .onboarding, + onboardingModel: OnboardingFeatureModel = OnboardingFeatureModel(), + recipes: [Recipe] = [] + ) { + self.destination = destination + self.onboardingModel = onboardingModel + self.recipes = recipes + self.bind() + } + + private func bind() { + self.onboardingModel.onboardingDidComplete = { + self.displayMain() + } + } + + func displayOnboarding() { + destination = .onboarding + } + + func displayMain() { + destination = .main + } + + func displayStepByStep(recipe: Recipe) { + isStepByStepPresented = true + selectedRecipe = recipe + requestLandscape() + } + + func hideStepByStep() { + isStepByStepPresented = false + selectedRecipe = nil + requestPortrait() + } + + private func requestLandscape() { + guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene else { + return + } + windowScene.requestGeometryUpdate(.iOS(interfaceOrientations: .landscape)) + } + + private func requestPortrait() { + guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene else { + return + } + windowScene.requestGeometryUpdate(.iOS(interfaceOrientations: .portrait)) + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/AccentColor.colorset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..d90b065 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,15 @@ +{ + "colors" : [ + { + "color" : { + "platform" : "universal", + "reference" : "systemOrangeColor" + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/AppIcon.appiconset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/Contents.json new file mode 100644 index 0000000..92d639b --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "agnieszka-kowalczyk-obMdrL5pFWI-unsplash.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "agnieszka-kowalczyk-obMdrL5pFWI-unsplash@2x.jpg", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "agnieszka-kowalczyk-obMdrL5pFWI-unsplash@3x.jpg", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.jpg new file mode 100644 index 0000000..9fcdb42 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash@2x.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash@2x.jpg new file mode 100644 index 0000000..dfc887a Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash@2x.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash@3x.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash@3x.jpg new file mode 100644 index 0000000..a405b6a Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/agnieszka-kowalczyk-obMdrL5pFWI-unsplash.imageset/agnieszka-kowalczyk-obMdrL5pFWI-unsplash@3x.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/Contents.json new file mode 100644 index 0000000..96afe7a --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "benjamin-kaufmann-sb3Cv_K14Js-unsplash.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "benjamin-kaufmann-sb3Cv_K14Js-unsplash@2x.jpg", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "benjamin-kaufmann-sb3Cv_K14Js-unsplash@3x.jpg", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash.jpg new file mode 100644 index 0000000..8d07241 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash@2x.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash@2x.jpg new file mode 100644 index 0000000..f0bf45e Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash@2x.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash@3x.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash@3x.jpg new file mode 100644 index 0000000..d5d4e20 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/benjamin-kaufmann-sb3Cv_K14Js-unsplash.imageset/benjamin-kaufmann-sb3Cv_K14Js-unsplash@3x.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/Contents.json new file mode 100644 index 0000000..12497f9 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "ratul-ghosh-NPrWYa69Mz0-unsplash 1.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "ratul-ghosh-NPrWYa69Mz0-unsplash 1@2x.jpg", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ratul-ghosh-NPrWYa69Mz0-unsplash 1@3x.jpg", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1.jpg new file mode 100644 index 0000000..6db73a7 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1@2x.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1@2x.jpg new file mode 100644 index 0000000..1799075 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1@2x.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1@3x.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1@3x.jpg new file mode 100644 index 0000000..8ee3e65 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/ratul-ghosh-NPrWYa69Mz0-unsplash.imageset/ratul-ghosh-NPrWYa69Mz0-unsplash 1@3x.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/Contents.json new file mode 100644 index 0000000..00b1495 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "wursthain.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "wursthain@2x.jpg", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "wursthain@3x.jpg", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain.jpg new file mode 100644 index 0000000..4bc8d86 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain@2x.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain@2x.jpg new file mode 100644 index 0000000..d87f774 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain@2x.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain@3x.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain@3x.jpg new file mode 100644 index 0000000..c6276c1 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Onboarding/wursthain.imageset/wursthain@3x.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/Contents.json new file mode 100644 index 0000000..6d07164 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "classic-truck.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "classic-truck@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "classic-truck@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck.jpg new file mode 100644 index 0000000..abbbbe5 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck@2x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck@2x.png new file mode 100644 index 0000000..cf13067 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck@2x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck@3x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck@3x.png new file mode 100644 index 0000000..b3623a0 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/classic-truck.imageset/classic-truck@3x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/Contents.json new file mode 100644 index 0000000..cbe8121 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "gingery-orange.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "gingery-orange@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "gingery-orange@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange.jpg new file mode 100644 index 0000000..e4b98ed Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange@2x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange@2x.png new file mode 100644 index 0000000..cb61733 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange@2x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange@3x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange@3x.png new file mode 100644 index 0000000..2c85867 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/gingery-orange.imageset/gingery-orange@3x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/Contents.json new file mode 100644 index 0000000..69320bf --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "green-coconut.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "green-coconut@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "green-coconut@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut.jpg new file mode 100644 index 0000000..911a1c4 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut@2x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut@2x.png new file mode 100644 index 0000000..3f9aac6 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut@2x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut@3x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut@3x.png new file mode 100644 index 0000000..d389bd4 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/green-coconut.imageset/green-coconut@3x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/Contents.json new file mode 100644 index 0000000..eb91239 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "honey-mustard.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "honey-mustard@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "honey-mustard@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard.jpg new file mode 100644 index 0000000..d28dc86 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard@2x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard@2x.png new file mode 100644 index 0000000..ccd5190 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard@2x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard@3x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard@3x.png new file mode 100644 index 0000000..8e92075 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/honey-mustard.imageset/honey-mustard@3x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/Contents.json new file mode 100644 index 0000000..a6bfb6e --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "radish-arugula.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "radish-arugula@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "radish-arugula@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula.jpg b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula.jpg new file mode 100644 index 0000000..2033de8 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula.jpg differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula@2x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula@2x.png new file mode 100644 index 0000000..a3e79ed Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula@2x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula@3x.png b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula@3x.png new file mode 100644 index 0000000..a6244a4 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/Assets.xcassets/Recipes/radish-arugula.imageset/radish-arugula@3x.png differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/ContentView.swift b/Examples/visionOS/HelloWurst/HelloWurst/ContentView.swift new file mode 100644 index 0000000..8a2980f --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/ContentView.swift @@ -0,0 +1,35 @@ +import SwiftUI + +struct ContentView: View { + @Environment(AppCoreFeatureModel.self) private var model + @Environment(Preferences.self) private var preferences + + var body: some View { + @Bindable var model = model + + MainView() + .fullScreenCover(isPresented: $model.isOnboadingPresented) { + OnboardingView() + .environment(model.onboardingModel) + .environment(preferences) + } + } +} + +#Preview { + ContentView() + .environment(AppCoreFeatureModel()) + .environment(Preferences()) + .previewDisplayName("Onboarding") +} + +#Preview { + ContentView() + .environment( + AppCoreFeatureModel( + destination: .main, + recipes: Recipe.samples) + ) + .environment(Preferences()) + .previewDisplayName("Main") +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Destination.swift b/Examples/visionOS/HelloWurst/HelloWurst/Destination.swift new file mode 100644 index 0000000..f1e55cd --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Destination.swift @@ -0,0 +1,6 @@ +import Foundation + +enum Destination { + case onboarding + case main +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/HelloWurstApp.swift b/Examples/visionOS/HelloWurst/HelloWurst/HelloWurstApp.swift new file mode 100644 index 0000000..63603a9 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/HelloWurstApp.swift @@ -0,0 +1,31 @@ +import SwiftUI +import RealityCheckConnect + +@main +struct HelloWurstApp: App { + + @State private + var model = AppCoreFeatureModel(recipes: Recipe.samples) + + @State private + var realityCheckConnectModel = RealityCheckConnectViewModel() + + @State private + var preferences = Preferences() + + var body: some Scene { + WindowGroup { + ContentView() + .environment(model) + .environment(preferences) + } + +#if os(visionOS) + WindowGroup.init(id: "Clock") { + ClockView() + .environment(realityCheckConnectModel) + } + .windowStyle(.volumetric) +#endif + } +} diff --git a/App/macOS/RealityCheck-Info.plist b/Examples/visionOS/HelloWurst/HelloWurst/Info.plist similarity index 100% rename from App/macOS/RealityCheck-Info.plist rename to Examples/visionOS/HelloWurst/HelloWurst/Info.plist diff --git a/Examples/visionOS/HelloWurst/HelloWurst/MainView.swift b/Examples/visionOS/HelloWurst/HelloWurst/MainView.swift new file mode 100644 index 0000000..8c1eced --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/MainView.swift @@ -0,0 +1,28 @@ +import SwiftUI + +struct MainView: View { + var body: some View { + TabView { + TodayView() + .tabItem { Label("Today", systemImage: "sun.horizon.fill") } + + Text("For you") + .tabItem { Label("For you", systemImage: "calendar") } + + Text("Favorites") + .tabItem { Label("Favorites", systemImage: "heart.fill") } + + Text("Shopping") + .tabItem { Label("Shopping", systemImage: "suitcase.fill") } + + Text("Profile") + .tabItem { Label("Profile", systemImage: "person.fill") } + } + } +} + +#Preview { + MainView() + .environment(AppCoreFeatureModel(recipes: Recipe.samples)) + .environment(Preferences()) +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/AlmostThere.swift b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/AlmostThere.swift new file mode 100644 index 0000000..2f8a297 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/AlmostThere.swift @@ -0,0 +1,128 @@ +import SwiftUI + +struct AlmostThere: View { + + @Environment(OnboardingFeatureModel.self) + var model + + @AccessibilityFocusState + var isReadyButtonFocused: Bool + + @State + var progress = 1.0 + + var body: some View { + List { + Section { + VStack { + withAnimation { + Text(model.isReady ? "Ready to go!" : "You're almost there!") + .font(.system(.title, design: .serif)) + .bold() + .multilineTextAlignment(.center) + .animation(.default, value: model.isReady) + .accessibilityAddTraits(.updatesFrequently) + } + + Spacer() + + withAnimation { + VStack(alignment: .leading, spacing: 8) { + let isFirstStepCompleted = progress < 0.8 + Label("Finding recipes for your diet", systemImage: "checkmark.circle.fill") + .foregroundStyle(.primary, isFirstStepCompleted ? Color.accentColor : .secondary) + .opacity(isFirstStepCompleted ? 1 : 0.25) + .animation(.easeInOut, value: progress) + .offset(y: isFirstStepCompleted ? -5 : 0) + + let isSecondStepCompleted = progress < 0.5 + Label("Sorting out ingredients you don't eat", systemImage: "checkmark.circle.fill") + .foregroundStyle(.primary, isSecondStepCompleted ? Color.accentColor : .secondary) + .opacity(isSecondStepCompleted ? 1 : 0.25) + .animation(.easeInOut, value: progress) + .offset(y: isSecondStepCompleted ? -5 : 0) + + let isThirdStepCompleted = progress < 0.2 + Label("Personalizing your recipes", systemImage: "checkmark.circle.fill") + .foregroundStyle(.primary, isThirdStepCompleted ? Color.accentColor: .secondary) + .opacity(isThirdStepCompleted ? 1 : 0.25) + .animation(.easeInOut, value: progress) + .offset(y: isThirdStepCompleted ? -5 : 0) + } + .accessibilityHidden(true) + .padding(.top) + } + } + .listRowSeparator(.hidden) + } header: { + VStack { + Spacer() + .frame(width: .zero, height: 0) + .accessibilityLabel( + """ + "Step 4 of 4" + - Finding recipes for your diet + - Sorting out ingredients you don't eat + - Personalizing your recipes + """ + ) + + Image(decorative: "wursthain") + .resizable() + .scaledToFit() + .clipShape(Circle()) + .shadow(radius: 5) + .overlay { + withAnimation { + Circle() + .trim(from: 0.0, to: progress) + .stroke(style: StrokeStyle(lineWidth: 16.0, lineCap: .round, lineJoin: .round)) + .foregroundColor(.accentColor) + .rotationEffect(Angle(degrees: 270.0)) + .animation(.easeInOut, value: progress) + } + } + } + .padding() + } + } + .listStyle(.plain) + .toolbar { + ToolbarItem(placement: .bottomBar) { + Button( + action: { model.onboardingDidComplete() }, + label: { + Text(model.isReady ? "Finally".uppercased() : "Processing...".uppercased()) + .bold() + .frame(maxWidth: .infinity) + } + ) + .buttonStyle(.borderedProminent) + .controlSize(.large) + .padding() + .disabled(!model.isReady) + .accessibilityAddTraits(.updatesFrequently) + .accessibilityValue(isReadyButtonFocused ? ". Process completed" : "Still processing.") + .accessibilityHint(model.isReady ? "Complete the onboarding process and browse today's recipes tailored to you." : "") + .accessibilityFocused($isReadyButtonFocused) + } + } + .task { + Timer.scheduledTimer(withTimeInterval: 0.25, repeats: true) { timer in + progress -= Double.random(in: 0.001...0.05) + if progress <= 0 { + timer.invalidate() + model.onboardingIsReady() + isReadyButtonFocused = true + } + } + } + } +} + +#Preview { + NavigationStack { + AlmostThere() + .environment(OnboardingFeatureModel()) + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/DietSelector.swift b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/DietSelector.swift new file mode 100644 index 0000000..0a460dc --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/DietSelector.swift @@ -0,0 +1,91 @@ +import SwiftUI + +struct DietSelector: View { + + @Environment(OnboardingFeatureModel.self) + var model + + @Environment(Preferences.self) + var preferences + + var body: some View { + List { + Section { + ForEach(Diet.allCases) { diet in + let isSelected = diet == preferences.diet + Button( + action: { preferences.diet = diet }, + label: { + HStack { + Label(diet.rawValue, systemImage: diet.systemImage) + if diet.isIncludedInFreeVersion { + Spacer() + Text("Included in free version".uppercased()).font(.caption2) + .padding(3) + .background(RoundedRectangle(cornerRadius: 3).fill(Color.secondary.opacity(0.2))) + } + } + } + ) + .tag(diet) + .listItemTint(isSelected ? Color.primary : .accentColor) + .listRowBackground(isSelected ? Color.accentColor : .clear ) + .listRowSeparator(.hidden) + .accessibilityAction(named: "Continue") { + model.displayServingsCounter() + } + } + } header: { + VStack { + Spacer() + .frame(width: .zero, height: 0) + .accessibilityLabel("Step 2 of 4") + + Text("What's your diet?") + .font(.system(.title, design: .serif)) + .bold() + + Text("The free version includes the first 2 options.") + .fontWeight(.regular) + } + .frame(maxWidth: .infinity) + .foregroundStyle(.primary) + .padding(.bottom, 30) + .multilineTextAlignment(.center) + .accessibilityAddTraits(.isHeader) + .accessibilityElement(children: .combine) + .accessibilityHint("Choose one diet from the next list") + } + } + .listStyle(.plain) + .toolbar { + ToolbarItem(placement: .bottomBar) { + Button( + action: { model.displayServingsCounter() }, + label: { + Text("Continue".uppercased()) + .bold() + .frame(maxWidth: .infinity) + } + ) + .disabled(preferences.diet == nil) + .buttonStyle(.borderedProminent) + .controlSize(.large) + .padding() + } + } + .toolbar { + ToolbarItem { + Button("Skip") { model.displayServingsCounter() } + } + } + } +} + +#Preview { + NavigationStack { + DietSelector() + .environment(OnboardingFeatureModel()) + .environment(Preferences()) + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/GoalsSelector.swift b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/GoalsSelector.swift new file mode 100644 index 0000000..29f28a9 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/GoalsSelector.swift @@ -0,0 +1,87 @@ +import SwiftUI + +struct GoalsSelector: View { + + @Environment(OnboardingFeatureModel.self) + var model + + @Environment(Preferences.self) + var preferences + + var body: some View { + List { + Section { + ForEach(Goal.allCases) { goal in + let isSelected = preferences.goals.contains(goal) + Button( + action: { + if isSelected { + preferences.goals.remove(goal) + } else { + preferences.goals.insert(goal) + } + }, + label: { + Label(goal.rawValue, systemImage: goal.systemImage) + .accessibilityLabel(goal.rawValue + (isSelected ? ". selected" : "")) + } + ) + .tag(goal) + .listItemTint(isSelected ? Color.primary : .accentColor) + .listRowBackground(isSelected ? Color.accentColor : .clear ) + .accessibilityAction(named: "Continue") { + model.displayDietSelector() + } + } + } header: { + VStack { + Spacer() + .frame(width: .zero, height: 0) + .accessibilityLabel("Step 1 of 4") + + Text("What brings you to Hello Würst?") + .font(.system(.title, design: .serif)) + .bold() + + Text("We base our recipe recommendations on your goals.") + .fontWeight(.regular) + } + .foregroundStyle(.primary) + .padding(.bottom, 30) + .multilineTextAlignment(.center) + .accessibilityElement(children: .combine) + .accessibilityAddTraits(.isHeader) + .accessibilityHint("You can choose multiple goals from the list") + } + } + .listStyle(.plain) + .toolbar { + ToolbarItem(placement: .bottomBar) { + Button( + action: { model.displayDietSelector() }, + label: { + Text("Continue".uppercased()) + .frame(maxWidth: .infinity) + } + ) + .disabled(preferences.goals.isEmpty) + .buttonStyle(.borderedProminent) + .controlSize(.large) + .padding() + } + } + .toolbar { + ToolbarItem { + Button("Skip") { model.displayDietSelector() } + } + } + } +} + +#Preview { + NavigationStack { + GoalsSelector() + .environment(OnboardingFeatureModel()) + .environment(Preferences()) + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingFeatureModel.swift b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingFeatureModel.swift new file mode 100644 index 0000000..00f20c0 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingFeatureModel.swift @@ -0,0 +1,46 @@ +import Foundation +import SwiftUI + +@Observable +class OnboardingFeatureModel { + + enum Destination { + case goals + case diet + case servings + case almost + } + + var navigationPath: [Destination] = [] + var onboardingDidComplete: () -> Void = {} + var currentSlide = 0 + private(set) var isReady = false + + func displayGoalsSelector() { + navigationPath.append(.goals) + } + + func displayDietSelector() { + navigationPath.append(.diet) + } + + func displayServingsCounter() { + navigationPath.append(.servings) + } + + func displayAlmostThere() { + navigationPath.append(.almost) + } + + func nextSlide() { + if currentSlide >= 2 { + currentSlide = 0 + } else { + currentSlide += 1 + } + } + + func onboardingIsReady() { + isReady = true + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingStepView.swift b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingStepView.swift new file mode 100644 index 0000000..8b86a36 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingStepView.swift @@ -0,0 +1,47 @@ +import SwiftUI + +struct OnboardingStepView: View { + let title: String + let subtitle: String + let imageName: String + + var body: some View { + ZStack { + Color.clear + .background { + // This image is created with an explicit (accessibility) label. + // TODO: create image description + Image(decorative: imageName) + .resizable() + .aspectRatio(contentMode: .fill) + .offset(y: -12) + } + + VStack { + Text(title) + .font(.system(.title, design: .serif)) + .bold() + + Text(subtitle) + + Spacer() + } + .accessibilityElement(children: .combine) + .foregroundColor(.white) + .padding(.vertical, 32) + .multilineTextAlignment(.center) + + + } + } +} + + + +#Preview { + OnboardingStepView( + title: "Hello Würst! Quick & healthy recipes incoming!", + subtitle: "Discover new recipes everyday — for free!", + imageName: "agnieszka-kowalczyk-obMdrL5pFWI-unsplash" + ) +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingView.swift b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingView.swift new file mode 100644 index 0000000..803ff1c --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/OnboardingView.swift @@ -0,0 +1,37 @@ +import SwiftUI + +struct OnboardingView: View { + @Environment(OnboardingFeatureModel.self) private var model + + var body: some View { + @Bindable var model = model + + NavigationStack(path: $model.navigationPath) { + PresentationView() + .background(Color.black) + .ignoresSafeArea() + .navigationDestination(for: OnboardingFeatureModel.Destination.self) { destination in + switch destination { + case .goals: + GoalsSelector() + + case .diet: + DietSelector() + + case .servings: + ServingsCounter() + + case .almost: + AlmostThere() + } + } + } + } +} + +#Preview { + OnboardingView() + .environment(OnboardingFeatureModel()) + .environment(Preferences()) +} + diff --git a/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/PresentationView.swift b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/PresentationView.swift new file mode 100644 index 0000000..875045a --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/PresentationView.swift @@ -0,0 +1,113 @@ +import SwiftUI + +struct PresentationView: View { + + @Environment(OnboardingFeatureModel.self) + var model + + @Environment(\.accessibilityVoiceOverEnabled) + var voiceOverEnabled: Bool + + private let timer = Timer.publish(every: 5, tolerance: 0.5, on: .main, in: .common).autoconnect() + + private func cancelTimer() { + timer.upstream.connect().cancel() + } + + var body: some View { + @Bindable var model = model + let swipeToStopTimer = DragGesture() + .onChanged { _ in + cancelTimer() + } + + TabView(selection: $model.currentSlide) { + OnboardingStepView( + title: "Hello Würst! Quick & healthy recipes incoming!", + subtitle: "Discover new recipes everyday — for free!", + imageName: "agnieszka-kowalczyk-obMdrL5pFWI-unsplash" + ) + .tabItem { Text("Hello") } + .tag(0) + + OnboardingStepView( + title: "Get personalized recipes", + subtitle: "Choose between 9 different diets & leave out ingredients you don't eat.", + imageName: "benjamin-kaufmann-sb3Cv_K14Js-unsplash" + ) + .tabItem { Text("Personalized") } + .tag(1) + + OnboardingStepView( + title: "Find recipes based on ingredients", + subtitle: "Use up leftover ingredients with our `Fridge Finds` feature", + imageName: "ratul-ghosh-NPrWYa69Mz0-unsplash" + ) + .tabItem { Text("Find") } + .tag(2) + } + .accessibilityRepresentation { + Text( + """ + Hello Würst! Quick & healthy recipes incoming! + Discover new recipes everyday — for free! + + Get personalized recipes + Choose between 9 different diets & leave out ingredients you don't eat. + + Find recipes based on ingredients + Use up leftover ingredients with our `Fridge Finds` feature + """ + ) + .accessibilityAddTraits(.isHeader) + .accessibilitySortPriority(1) + } + .tabViewStyle(.page(indexDisplayMode: .never)) + .animation(.default, value: model.currentSlide) + .overlay(alignment: .bottom) { + VStack { + Button( + action: { model.displayGoalsSelector() }, + label: { + Text("Let's get started".uppercased()) + .bold() + .frame(maxWidth: .infinity) + } + ) + .buttonStyle(.borderedProminent) + .controlSize(.extraLarge) + .accessibilitySortPriority(0) + + Text( + """ + By continuing, I agree to Hello Würst's [Terms of Use](https://www.youtube.com/watch?v=dQw4w9WgXcQ) + and [Privacy Policy](https://www.youtube.com/watch?v=CduA0TULnow) + """ + ) + .font(.footnote) + .multilineTextAlignment(.center) + } + .foregroundColor(.white) + .padding(.horizontal) +#if os(visionOS) + .padding(.bottom) +#elseif os(iOS) + .padding(.bottom, 60) +#endif + } + .onReceive(timer) { _ in + model.nextSlide() + } + .gesture(swipeToStopTimer) + .task { + if voiceOverEnabled { + cancelTimer() + } + } + } +} + +#Preview { + PresentationView() + .environment(OnboardingFeatureModel()) +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/ServingsCounter.swift b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/ServingsCounter.swift new file mode 100644 index 0000000..f329a61 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/OnboardingFeature/ServingsCounter.swift @@ -0,0 +1,65 @@ +import SwiftUI + +struct ServingsCounter: View { + + @Environment(OnboardingFeatureModel.self) + var model + + var body: some View { + List { + Section { + VStack { + Spacer() + ServingsPicker(size: 50) + } + .padding(.horizontal) + .listRowSeparator(.hidden) + } header: { + VStack { + Spacer() + .frame(width: .zero, height: 0) + .accessibilityLabel("Step 3 of 4") + + Text("How many servings do you usually cook?") + .font(.system(.title, design: .serif)) + .bold() + + Text("You can change your serving count at any time.") + .fontWeight(.regular) + } + .frame(maxWidth: .infinity) + .foregroundStyle(.primary) + .padding(.bottom, 30) + .multilineTextAlignment(.center) + .accessibilityAddTraits(.isHeader) + .accessibilityElement(children: .combine) + } + } + .listStyle(.plain) + .toolbar { + ToolbarItem(placement: .bottomBar) { + Button( + action: { model.displayAlmostThere() }, + label: { + Text("Continue".uppercased()) + .frame(maxWidth: .infinity) + } + ) + .buttonStyle(.borderedProminent) + .controlSize(.large) + .padding() + } + } + } +} + +#Preview { + NavigationStack { + ServingsCounter() + .environment(OnboardingFeatureModel()) + .environment(Preferences()) + } +} + + + diff --git a/Examples/visionOS/HelloWurst/HelloWurst/Preview Content/Preview Assets.xcassets/Contents.json b/Examples/visionOS/HelloWurst/HelloWurst/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Diet.swift b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Diet.swift new file mode 100644 index 0000000..0689e0f --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Diet.swift @@ -0,0 +1,65 @@ +import Foundation + +enum Diet: String, CaseIterable, Identifiable { + var id: Self { self } + + case everything = "I eat everything" + case vegetarian = "Vegetarian" + case vegan = "Vegan" + case lowCarb = "Low carb" + case mediterranean = "Mediterranean" + case pescetarian = "Pescetarian" + case paleo = "Paleo" + case keto = "Keto" + case highProtein = "High protein" +} + +extension Diet { + var systemImage: String { + switch self { + case .everything: + "hare" + case .vegetarian: + "leaf" + case .vegan: + "laurel.trailing" + case .lowCarb: + "moon.circle" + case .mediterranean: + "sun.horizon" + case .pescetarian: + "fish" + case .paleo: + "fossil.shell" + case .keto: + "drop" + case .highProtein: + "atom" + } + } +} + +extension Diet { + var isIncludedInFreeVersion: Bool { + switch self { + case .everything: + true + case .vegetarian: + true + case .vegan: + false + case .lowCarb: + false + case .mediterranean: + false + case .pescetarian: + false + case .paleo: + false + case .keto: + false + case .highProtein: + false + } + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Goal.swift b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Goal.swift new file mode 100644 index 0000000..ece601f --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Goal.swift @@ -0,0 +1,37 @@ +import Foundation + +enum Goal: String, CaseIterable, Identifiable { + var id: Self { self } + + case inspiration = "Find recipe inspiration" + case health = "Eat healthier" + case learn = "Learn how to cook" + case diet = "Follow a certain diet" + case plan = "Plan my meals" + case time = "Save time" + case money = "Save money" + case other = "Other" +} + +extension Goal { + var systemImage: String { + switch self { + case .inspiration: + "lightbulb.led" + case .health: + "carrot" + case .learn: + "graduationcap" + case .diet: + "frying.pan" + case .plan: + "calendar" + case .time: + "clock" + case .money: + "banknote" + case .other: + "laurel.leading" + } + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Preferences.swift b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Preferences.swift new file mode 100644 index 0000000..70d2dbd --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Preferences.swift @@ -0,0 +1,9 @@ +import Foundation +import SwiftUI + +@Observable +class Preferences { + var goals: Set = [] + var diet: Diet? + var servings: UInt = 2 +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Recipe+Samples.swift b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Recipe+Samples.swift new file mode 100644 index 0000000..13d597b --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Recipe+Samples.swift @@ -0,0 +1,199 @@ +import Foundation + +extension Recipe { + static var samples = [ + Recipe( + name: "Die einzig wahre Currywurst", + diet: .everything, + image: "classic-truck", + time: .seconds(15 * 60), + price: 7, + authors: [ + Author( + name: "Eugénie Brazie", + description: "", + source: URL(string: "https://en.wikipedia.org/wiki/Eugénie_Brazier")! + ) + ], + required: [ + Ingredient(amount: .mass(.init(value: 250, unit: .grams)), name: "Potatoes"), + Ingredient(amount: .mass(.init(value: 75, unit: .grams)), name: "Tomato paste"), + ], + mightHave: [ + Ingredient(amount: .volume(.init(value: 250, unit: .milliliters)), name: "Water") + ], + nutritionFacts: [ + NutritionFact(factType: .calorie(.init(value: 707, unit: .calories))), + NutritionFact(factType: .protein(.init(value: 37, unit: .grams))), + NutritionFact(factType: .fat(.init(value: 28, unit: .grams))), + NutritionFact(factType: .carbohydrate(.init(value: 77, unit: .grams))), + ], + steps: [ + .init(name: "1"), + .init(name: "2"), + .init(name: "3", time: .init(.seconds(60 * 3))), + .init(name: "4"), + .init(name: "5", time: .init(.seconds(60))), + .init(name: "6"), + .init(name: "7"), + ] + ), + Recipe( + name: "Gingery orange", + diet: .vegan, + image: "gingery-orange", + time: .seconds(7 * 60), + price: 13, + authors: [ + Author( + name: "Elena Arzak", + description: "", + source: URL(string: "https://en.wikipedia.org/wiki/Elena_Arzak")! + ) + ], + required: [ + Ingredient(amount: .mass(.init(value: 250, unit: .grams)), name: "Potatoes"), + Ingredient(amount: .mass(.init(value: 10, unit: .grams)), name: "Ginger"), + ], + mightHave: [ + Ingredient(amount: .volume(.init(value: 250, unit: .milliliters)), name: "Water"), + Ingredient(amount: .subjective("a pinch of"), name: "Salt"), + ], + nutritionFacts: [ + NutritionFact(factType: .calorie(.init(value: 707, unit: .calories))), + NutritionFact(factType: .protein(.init(value: 37, unit: .grams))), + NutritionFact(factType: .fat(.init(value: 28, unit: .grams))), + NutritionFact(factType: .carbohydrate(.init(value: 77, unit: .grams))), + ], + steps: [ + .init(name: "1"), + .init(name: "2"), + .init(name: "3"), + .init(name: "4"), + .init(name: "5"), + .init(name: "6"), + .init(name: "7"), + .init(name: "8"), + .init(name: "9"), + .init(name: "10"), + .init(name: "11"), + ] + ), + Recipe( + name: "Green coconut", + diet: .vegetarian, + image: "green-coconut", + time: .seconds(23 * 60), + price: 15, + authors: [ + Author( + name: "Marie Bourgeois", + description: "", + source: URL(string: "https://en.wikipedia.org/wiki/Marie_Bourgeois")! + ) + ], + required: [ + Ingredient(amount: .mass(.init(value: 250, unit: .grams)), name: "Potatoes"), + Ingredient(amount: .mass(.init(value: 10, unit: .grams)), name: "Cilantro fresh"), + + ], + mightHave: [ + Ingredient(amount: .volume(.init(value: 250, unit: .milliliters)), name: "Water") + ], + nutritionFacts: [ + NutritionFact(factType: .calorie(.init(value: 707, unit: .calories))), + NutritionFact(factType: .protein(.init(value: 37, unit: .grams))), + NutritionFact(factType: .fat(.init(value: 28, unit: .grams))), + NutritionFact(factType: .carbohydrate(.init(value: 77, unit: .grams))), + ], + steps: [ + .init(name: "1"), + .init(name: "2"), + .init(name: "3"), + .init(name: "4"), + .init(name: "5"), + .init(name: "6"), + .init(name: "7"), + .init(name: "8"), + .init(name: "9"), + ] + ), + Recipe( + name: "Honey mustard", + diet: .mediterranean, + image: "honey-mustard", + time: .seconds(7 * 60), + price: 9, + authors: [ + Author( + name: "Marguerite Bise", + description: "", + source: URL(string: "https://en.wikipedia.org/wiki/Marguerite_Bise")! + ) + ], + required: [ + Ingredient(amount: .mass(.init(value: 250, unit: .grams)), name: "Potatoes"), + Ingredient(amount: .subjective("◐"), name: "Yellow onion"), + Ingredient(amount: .mass(.init(value: 160, unit: .grams)), name: "Ground beef"), + ], + mightHave: [ + Ingredient(amount: .volume(.init(value: 250, unit: .milliliters)), name: "Water") + ], + nutritionFacts: [ + NutritionFact(factType: .calorie(.init(value: 707, unit: .calories))), + NutritionFact(factType: .protein(.init(value: 37, unit: .grams))), + NutritionFact(factType: .fat(.init(value: 28, unit: .grams))), + NutritionFact(factType: .carbohydrate(.init(value: 77, unit: .grams))), + ], + steps: [ + .init(name: "1"), + .init(name: "2"), + .init(name: "3", time: .init(.seconds(60 * 5))), + .init(name: "4"), + .init(name: "5"), + .init(name: "6"), + .init(name: "7"), + .init(name: "8"), + .init(name: "9"), + .init(name: "10"), + .init(name: "11"), + .init(name: "12"), + .init(name: "13"), + ] + ), + Recipe( + name: "Radish arugula", + diet: .everything, + image: "radish-arugula", + time: .seconds(9 * 60), + price: 11, + authors: [ + Author( + name: "Sophie Bise", + description: "", + source: URL(string: "https://en.wikipedia.org/wiki/Sophie_Bise")! + ) + ], + required: [ + Ingredient(amount: .mass(.init(value: 250, unit: .grams)), name: "Potatoes"), + Ingredient(amount: .mass(.init(value: 100, unit: .grams)), name: "greeb peas, frozen"), + ], + mightHave: [ + Ingredient(amount: .volume(.init(value: 250, unit: .milliliters)), name: "Water") + ], + nutritionFacts: [ + NutritionFact(factType: .calorie(.init(value: 707, unit: .calories))), + NutritionFact(factType: .protein(.init(value: 37, unit: .grams))), + NutritionFact(factType: .fat(.init(value: 28, unit: .grams))), + NutritionFact(factType: .carbohydrate(.init(value: 77, unit: .grams))), + ], + steps: [ + .init(name: "1"), + .init(name: "2"), + .init(name: "3"), + .init(name: "4"), + .init(name: "5"), + ] + ), + ] +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Recipe.swift b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Recipe.swift new file mode 100644 index 0000000..c5b7b02 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/SharedModels/Recipe.swift @@ -0,0 +1,82 @@ +import Foundation + +struct Recipe: Identifiable { + var id = UUID() + + let name: String + let diet: Diet + let image: String + let time: Duration + let price: Double + + let authors: [Author] + let required: [Ingredient] + let mightHave: [Ingredient] + let nutritionFacts: [NutritionFact] + let steps: [Step] +} + +extension Recipe { + struct Author: Identifiable { + var id = UUID() + + let name: String + let description: String? + let source: URL + } +} + +extension Recipe { + enum Amount { + case mass(Measurement) + case subjective(String) + case volume(Measurement) + } + struct Ingredient: Identifiable { + var id = UUID() + + let amount: Amount + let name: String + } +} + +extension Recipe.Amount { + func formatted(servings: UInt) -> String { + switch self { + case .mass(let amount): + let amountForServings = Measurement(value: amount.value * Double(servings), unit: amount.unit) + return amountForServings.formatted() + + case .subjective(let amount): + return amount + + case .volume(let amount): + let amountForServings = Measurement(value: amount.value * Double(servings), unit: amount.unit) + return amountForServings.formatted() + } + } +} + +extension Recipe { + enum NutritionFactType { + case calorie(Measurement) + case protein(Measurement) + case fat(Measurement) + case carbohydrate(Measurement) + } + + struct NutritionFact: Identifiable { + var id = UUID() + + let factType: NutritionFactType + } +} + +extension Recipe { + struct Step: Identifiable, Hashable { + var id = UUID() + + let name: String + var time: Duration? = nil + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/SharedViews/RecipeView.swift b/Examples/visionOS/HelloWurst/HelloWurst/SharedViews/RecipeView.swift new file mode 100644 index 0000000..3376389 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/SharedViews/RecipeView.swift @@ -0,0 +1,298 @@ +import SwiftUI + +struct RecipeView: View { + + @Environment(AppCoreFeatureModel.self) + var model + + let recipe: Recipe + + var body: some View { + @Bindable var model = model + + Grid { +#if os(visionOS) + GridRow { + List { + RecipeSections(recipe: recipe) + } + Image(decorative: recipe.image) + .resizable() + .aspectRatio(contentMode: .fill) + .containerRelativeFrame(.vertical) + } + .ornament( + attachmentAnchor: .scene(.topTrailing), + contentAlignment: .trailing, + ornament: { + HStack { + Button("Love", systemImage: "heart", action: {}) + .buttonStyle(.borderless) + .labelStyle(.iconOnly) + + Button("Notes", systemImage: "note.text", action: {}) + .buttonStyle(.borderless) + .labelStyle(.iconOnly) + + Button("Share", systemImage: "square.and.arrow.up", action: {}) + .buttonStyle(.borderless) + .labelStyle(.iconOnly) + } + .padding(8) + .glassBackgroundEffect() + .padding(.trailing, 60) + } + ) +#elseif os(iOS) + List { + Section { + Color.clear + .aspectRatio(contentMode: .fit) + .background { + Image(decorative: recipe.image) + .resizable() + .aspectRatio(contentMode: .fill) + /// > Tip: inner corner radius + padding = outer corner radius + .mask(RoundedRectangle(cornerRadius: 8).aspectRatio(contentMode: .fit)) + } + } + + RecipeSections(recipe: recipe) + } + .toolbar { + ToolbarItem { + HStack { + Button("Love", systemImage: "heart", action: {}) + Button("Notes", systemImage: "note.text", action: {}) + Button("Share", systemImage: "square.and.arrow.up", action: {}) + } + } + } +#endif + } + .navigationTitle(recipe.name) + .toolbar { + ToolbarItem(placement: .bottomBar) { + Button( + action: { model.displayStepByStep(recipe: recipe) }, + label: { + Text("Preparation".uppercased()) + .frame(maxWidth: .infinity) + } + ) + .buttonStyle(.borderedProminent) + .controlSize(.large) + } + } + .sheet( + isPresented: $model.isStepByStepPresented, + onDismiss: { model.hideStepByStep() } + ) { + NavigationStack { + StepByStepView() + .environment(StepByStepFeatureModel(steps: recipe.steps, didComplete: { model.hideStepByStep() } )) + .toolbar { +#if os(visionOS) + ToolbarItem(placement: .navigation) { + /// Design for spatial user interfaces + /// https://developer.apple.com/videos/play/wwdc2023-10076 + Button( + "Close", + systemImage: "xmark", + action: { model.hideStepByStep() } + ) + } +#elseif os(iOS) + ToolbarItem(placement: .automatic) { + Button( + "Close", + systemImage: "xmark.circle.fill", + action: { model.hideStepByStep() } + ) + } +#endif + } + } + } + } +} + +struct RecipeSections: View { + let recipe: Recipe + + var body: some View { + Section("Recipe by:".uppercased()) { + AuthorView(recipe: recipe) + } + + Section("Servings".uppercased()) { + ServingsPicker(size: 50) + } + + Section("You need".uppercased()) { + IngredientsView(ingredients: recipe.required) + .fontDesign(.serif) + } + + Section("You might have this at home".uppercased()) { + IngredientsView(ingredients: recipe.mightHave) + .fontDesign(.serif) + } + + Section( + content: { + NutritionFactsView(recipe: recipe) + .fontDesign(.serif) + }, + header: { + HStack { + Text("Nutrition facts".uppercased()) + Spacer() + Text("per serving (approx.)").font(.caption) + } + .accessibilityElement(children: .combine) + } + ) + } +} + +// MARK: - Nutrition Facts View + +struct NutritionFactsView: View { + let recipe: Recipe + + var items: [GridItem] = [ + .init(.adaptive(minimum: 100)) + ] + + var body: some View { + LazyVGrid(columns: items) { + ForEach(recipe.nutritionFacts) { fact in + switch fact.factType { + case .calorie(let fact): + VStack { + Text(fact.value, format: .number).font(.title2) + Text("Cal").font(.caption).foregroundColor(.secondary) + } + .fixedSize() + .padding(24) + .background(Circle().stroke().fill(.yellow)) + .accessibilityElement(children: .combine) + + case .protein(let fact): + VStack { + Text(fact.formatted()).font(.title2) + Text("Protein").font(.caption).foregroundColor(.secondary) + } + .fixedSize() + .padding(24) + .background(Circle().stroke().fill(.green)) + .accessibilityElement(children: .combine) + + case .fat(let fact): + VStack { + Text(fact.formatted()).font(.title2) + Text("Fat").font(.caption).foregroundColor(.secondary) + } + .fixedSize() + .padding(24) + .background(Circle().stroke().fill(.orange)) + .accessibilityElement(children: .combine) + + case .carbohydrate(let fact): + VStack { + Text(fact.formatted()).font(.title2) + Text("Carb").font(.caption).foregroundColor(.secondary) + } + .fixedSize() + .padding(24) + .background(Circle().stroke().fill(.gray)) + .accessibilityElement(children: .combine) + } + } + } + } +} + +// MARK: - Author View + +struct AuthorView: View { + @Environment(\.openURL) private var openURL + let recipe: Recipe + + var body: some View { + ForEach(recipe.authors) { author in + HStack { + Text(author.name) + + Spacer() + + Button("More info") { openURL(author.source) } + .buttonStyle(.borderedProminent) + } + .accessibilityElement(children: .combine) + .fontDesign(.serif) + } + } +} + +// MARK: - Ingredients View + +struct IngredientsView: View { + @Environment(Preferences.self) private var preferences + let ingredients: [Recipe.Ingredient] + + var body: some View { + ForEach(ingredients) { ingredient in + LabeledContent( + ingredient.name, + value: ingredient.amount.formatted(servings: preferences.servings) + ) + } + } +} + +// MARK: - Preview + +#Preview { + NavigationStack { + RecipeView(recipe: Recipe.samples[0]) + } + .environment(AppCoreFeatureModel()) + .environment(Preferences()) +} + +#Preview { + NavigationStack { + RecipeView(recipe: Recipe.samples[1]) + } + .environment(AppCoreFeatureModel()) + .environment(Preferences()) +} + +#Preview { + NavigationStack { + RecipeView(recipe: Recipe.samples[2]) + } + .environment(AppCoreFeatureModel()) + .environment(Preferences()) +} + +#Preview { + NavigationView { + RecipeView(recipe: Recipe.samples[3]) + } + .environment(AppCoreFeatureModel()) + .environment(Preferences()) +} + +#Preview { + NavigationStack { + List { + Section { + NutritionFactsView(recipe: Recipe.samples[3]) + } + } + } + .environment(Preferences()) +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/SharedViews/ServingsPicker.swift b/Examples/visionOS/HelloWurst/HelloWurst/SharedViews/ServingsPicker.swift new file mode 100644 index 0000000..135bfee --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/SharedViews/ServingsPicker.swift @@ -0,0 +1,70 @@ +import SwiftUI + +struct ServingsPicker: View { + + @Environment(Preferences.self) + var preferences + + var size: CGFloat = 100 + + var body: some View { + @Bindable + var preferences = preferences + + let shape = RoundedRectangle(cornerRadius: size / 3) + + HStack { + Button( + "Less", + systemImage: "minus", + action: { preferences.servings -= 1 } + ) + .controlSize(.large) + .buttonStyle(.bordered) + .buttonBorderShape(.circle) + .labelStyle(.iconOnly) + .disabled(preferences.servings == 0) + + Spacer() + + Text(preferences.servings, format: .number) + .font(.system(size: size, weight: .medium, design: .serif)) + .padding(.horizontal) + + Spacer() + + Button( + "More", + systemImage: "plus", + action: { preferences.servings += 1 } + ) + .controlSize(.large) + .buttonStyle(.bordered) + .buttonBorderShape(.circle) + .labelStyle(.iconOnly) + .disabled(preferences.servings == 12) + } +#if os(visionOS) + .padding() + .background() + .clipShape(shape) +#elseif os(iOS) + .padding(8) + .background { shape.fill(Color.primary).colorInvert() } + .overlay { shape.stroke(.secondary) } +#endif + .accessibilityRepresentation { + Stepper(value: $preferences.servings, in: 1...12) { + Text("Servings".uppercased()) + } + } + } +} + +#Preview { + NavigationStack { + ServingsPicker() + .environment(Preferences()) + .padding() + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/ClockView.swift b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/ClockView.swift new file mode 100644 index 0000000..0d51540 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/ClockView.swift @@ -0,0 +1,17 @@ +import SwiftUI +import RealityKit +import RealityCheckConnect + +//#if os(visionOS) +struct ClockView: View { + var body: some View { + Model3D(named: "Wall_Kitchen_Clock_50s") + //.rotation3DEffect(.degrees(-90), axis: .y) + } +} + +#Preview { + ClockView() +} +//#endif + diff --git a/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepByStepFeatureModel.swift b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepByStepFeatureModel.swift new file mode 100644 index 0000000..6bad92b --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepByStepFeatureModel.swift @@ -0,0 +1,18 @@ +import Foundation +import SwiftUI + +@Observable +class StepByStepFeatureModel { + var steps: [Recipe.Step] + var current: Recipe.Step + var didComplete: () -> Void + + init( + steps: [Recipe.Step], + didComplete: @escaping () -> Void = {} + ) { + self.steps = steps + self.current = steps[0] + self.didComplete = didComplete + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepByStepView.swift b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepByStepView.swift new file mode 100644 index 0000000..995dd70 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepByStepView.swift @@ -0,0 +1,42 @@ +import SwiftUI + +struct StepByStepView: View { + @Environment(StepByStepFeatureModel.self) private var model + + var body: some View { + @Bindable var model = model + + TabView { + ForEach(model.steps) { step in + VStack { + StepView(step: step) + + if step == model.steps.last { + Button( + "Mark as cooked".uppercased(), + systemImage: "checkmark", + action: { model.didComplete() } + ) + .controlSize(.extraLarge) +#if os(iOS) + .buttonStyle(.borderedProminent) +#endif + } + } + .tag(step) + } + } + .tabViewStyle(.page) + .indexViewStyle(.page(backgroundDisplayMode: .always)) + .onChange(of: model.current) { oldValue, newValue in + print(oldValue, newValue) + } + } +} + +#Preview { + NavigationStack { + StepByStepView() + .environment(StepByStepFeatureModel(steps: Recipe.samples[0].steps)) + } +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepView.swift b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepView.swift new file mode 100644 index 0000000..d273543 --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/StepView.swift @@ -0,0 +1,29 @@ +import SwiftUI + +struct StepView: View { + let step: Recipe.Step + + @Environment(\.openWindow) + var openWindow + + var body: some View { + VStack { + Text("Step: " + step.name) + .font(.largeTitle) + .fontDesign(.serif) + + if let time = step.time { + Button( + time.formatted(), + systemImage: "clock.badge", + action: { openWindow(id: "Clock") } + ) + .buttonStyle(.bordered) + } + } + } +} + +#Preview { + StepView(step: .init(name: "Hello, Step!", time: .init(.seconds(60 * 5)))) +} diff --git a/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/Wall_Kitchen_Clock_50s.usdz b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/Wall_Kitchen_Clock_50s.usdz new file mode 100644 index 0000000..5eb1b84 Binary files /dev/null and b/Examples/visionOS/HelloWurst/HelloWurst/StepByStepFeature/Wall_Kitchen_Clock_50s.usdz differ diff --git a/Examples/visionOS/HelloWurst/HelloWurst/TodayFeature/TodayView.swift b/Examples/visionOS/HelloWurst/HelloWurst/TodayFeature/TodayView.swift new file mode 100644 index 0000000..0fa3fdc --- /dev/null +++ b/Examples/visionOS/HelloWurst/HelloWurst/TodayFeature/TodayView.swift @@ -0,0 +1,144 @@ +import SwiftUI + +struct TodayView: View { + + @Environment(AppCoreFeatureModel.self) + var model + + @State + var scrolledRecipe: Recipe.ID? + + @State + var displayOrnament = false + + var body: some View { + NavigationStack { + ScrollView { + LazyVStack(spacing: 0.0) { + ForEach(model.recipes) { recipe in + NavigationLink(destination: RecipeView(recipe: recipe)) { + VStack { + Spacer() +#if os(visionOS) + Color.clear +#elseif os(iOS) + Summary(recipe: recipe) + .padding(.horizontal) + .background(.black.opacity(0.5)) + .padding(.bottom, 80) + .accessibilityHidden(true) +#endif + } + .background( + Image(decorative: recipe.image) + .resizable() + .scaledToFill() + ) + .clipped() + .containerRelativeFrame(.horizontal) + .containerRelativeFrame(.vertical) + .accessibilityRepresentation { + Summary(recipe: recipe) + } + .accessibilityAction(named: "Love") { print("Love") } + .accessibilityAction(named: "Notes") { print("Notes") } + .accessibilityAction(named: "Share") { print("Share") } + .hoverEffect() + } + } + } + .scrollTargetLayout() + } + .scrollTargetBehavior(.paging) + .scrollPosition(id: $scrolledRecipe) + .ignoresSafeArea() +#if os(visionOS) + .ornament( + visibility: model.isOnboadingPresented ? .hidden : .visible, + attachmentAnchor: .scene(.bottom) + ) { + if let recipe = model.recipes.first(where: { $0.id == scrolledRecipe }) { + Summary(recipe: recipe) + .padding() + .glassBackgroundEffect() + .accessibilityHidden(true) + } + } +#endif + .task { + scrolledRecipe = model.recipes.first?.id + displayOrnament = true + } + } + } +} + +struct Summary: View { + + @Environment(Preferences.self) + var preferences + + @Environment(\.locale) + var locale + + let recipe: Recipe + + var body: some View { + let price = (recipe.price * Double(preferences.servings)) + .formatted(.currency(code: locale.currency?.identifier ?? "EUR")) + + VStack(alignment: .leading) { + Text(recipe.name) + .font(.system(.largeTitle, design: .serif, weight: .bold)) + + Spacer().frame(maxHeight: 60) + + HStack(alignment: .bottom) { + let cookingTime = recipe.time.formatted(.units(allowed: [.minutes], width: .abbreviated)) + Label(cookingTime, systemImage: "timer") + .accessibilityLabel("Cooking time \(cookingTime)") + + Spacer() + + Image(systemName: recipe.diet.systemImage) + .font(.title) + .opacity(0.5) + .accessibilityLabel("Diet: \(recipe.diet.rawValue)") + .accessibilitySortPriority(-1) + + Divider().overlay(.white).frame(maxHeight: 55) + + VStack(alignment: .leading) { + Label( + preferences.servings.formatted() + " Pers", + systemImage: "person.2" + ) + .font(.caption) + .accessibilityHidden(true) +#if os(visionOS) + .foregroundColor(.primary) + .padding(4) + .background(Color.accentColor) + .cornerRadius(4.0) +#elseif os(iOS) + .foregroundColor(.accentColor) + .background(.clear) +#endif + Text(price) + .font(.title) + .accessibilityLabel("Estimated cost \(price) for \(preferences.servings) persons") + } + } + } + .padding() + .foregroundColor(.white) + } +} + +#Preview { + NavigationStack { + TodayView() + .environment(AppCoreFeatureModel(recipes: Recipe.samples)) + .environment(Preferences()) + } +} diff --git a/Examples/visionOS/Package.swift b/Examples/visionOS/Package.swift new file mode 100644 index 0000000..a6ee1f2 --- /dev/null +++ b/Examples/visionOS/Package.swift @@ -0,0 +1,11 @@ +// swift-tools-version:5.2 + +// Leave blank. This is only here so that Xcode doesn't display it. + +import PackageDescription + +let package = Package( + name: "visionos-examples", + products: [], + targets: [] +) diff --git a/Package.swift b/Package.swift index e50ac11..a4bea16 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.8 +// swift-tools-version: 5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -6,74 +6,135 @@ import PackageDescription let package = Package( name: "reality-check", platforms: [ - .macOS(.v12), .iOS(.v15), + .macOS(.v12), + .visionOS(.v1), ], products: [ .library( name: "RealityCheckConnect", - targets: [ - "RealityCheckConnect", - "Models", - "MultipeerClient", - "RealityDumpClient", - "StreamingClient", - ] - ), + targets: ["RealityCheckConnect"] + ) ], dependencies: [ - .package( - url: "https://github.com/pointfreeco/swift-custom-dump", - from: "1.1.0" - ), - .package( - url: "https://github.com/pointfreeco/swift-dependencies", - from: "1.0.0" - ), - .package( - url: "https://github.com/devicekit/DeviceKit.git", - from: "5.0.0" - ), + .package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"), + .package(url: "https://github.com/apple/swift-docc-symbolkit", branch: "main"), + .package(url: "https://github.com/apple/swift-syntax", "508.0.0"..<"510.0.0"), + .package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.1.2"), + .package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.1.5"), + .package(url: "https://github.com/devicekit/DeviceKit.git", exact: "5.1.0"), ], targets: [ - .target( - name: "Models", + .plugin( + name: "ExtractSymbols", + capability: .command( + intent: .custom( + verb: "extract-symbols", + description: "Extracts iOS/macOS/visionOS SDK symbolgraphs" + ), + permissions: [ + .writeToPackageDirectory( + reason: + "This command is the launching pad for sub-commands that turn symbols into JSON and Swift files faster than you can say 'JSON and Swift files'!" + ) + ] + ), dependencies: [ - .product(name: "CustomDump", package: "swift-custom-dump") + "GenerateModelsExecutable", + "ProcessSymbolsExecutable", ] ), + .executableTarget( + name: "GenerateModelsExecutable", + dependencies: [ + .product(name: "ArgumentParser", package: "swift-argument-parser"), + .product(name: "SwiftSyntax", package: "swift-syntax"), + .product(name: "SwiftSyntaxBuilder", package: "swift-syntax"), + "Models", + "RealityDump", + ] + ), + .target(name: "Models"), .target( name: "MultipeerClient", dependencies: [ - .product(name: "Dependencies", package: "swift-dependencies") + .product(name: "Dependencies", package: "swift-dependencies"), + .product(name: "DependenciesMacros", package: "swift-dependencies"), ], resources: [ - .copy("Resources/Mock/simple_arview.json"), - .copy("Resources/Mock/not_so_simple_arview.json"), + .copy("Resources/Mock") + ] + ), + .executableTarget( + name: "ProcessSymbolsExecutable", + dependencies: [ + .product(name: "ArgumentParser", package: "swift-argument-parser"), + .product(name: "SymbolKit", package: "swift-docc-symbolkit"), + "Models", ] ), .target( name: "RealityCheckConnect", dependencies: [ - .product(name: "Dependencies", package: "swift-dependencies"), - .product( - name: "DeviceKit", - package: "DeviceKit", + .target( + name: "RealityCheckConnect_visionOS", + condition: .when(platforms: [.visionOS]) + ), + .target( + name: "RealityCheckConnect_iOS", condition: .when(platforms: [.iOS]) ), + ] + ), + .target( + name: "RealityCheckConnect_iOS", + dependencies: [ + .product(name: "Dependencies", package: "swift-dependencies"), + .product(name: "DeviceKit", package: "DeviceKit", condition: .when(platforms: [.iOS])), + "RealityCodable", + "RealityDump", "Models", "MultipeerClient", - "RealityDumpClient", "StreamingClient", ] ), .target( - name: "RealityDumpClient", + name: "RealityCheckConnect_visionOS", dependencies: [ .product(name: "Dependencies", package: "swift-dependencies"), + "RealityCodable", + "RealityDump", + "Models", + "MultipeerClient", + "StreamingClient", + ] + ), + .target( + name: "RealityCodable", + dependencies: [ + "RealityDump", "Models", ] ), + .testTarget( + name: "RealityCodableTests", + dependencies: [ + "RealityCodable" + ] + ), + .target( + name: "RealityDump", + dependencies: [ + .product(name: "CustomDump", package: "swift-custom-dump"), + "Models", + ] + ), + .target( + name: "RealitySymbols", + resources: [ + .copy("Processed") + ] + ), .target( name: "StreamingClient", dependencies: [ diff --git a/Plugins/ExtractSymbols/ExtractSymbols.swift b/Plugins/ExtractSymbols/ExtractSymbols.swift new file mode 100644 index 0000000..16ec474 --- /dev/null +++ b/Plugins/ExtractSymbols/ExtractSymbols.swift @@ -0,0 +1,129 @@ +import Foundation +import PackagePlugin + +@main +struct ExtractSymbols: CommandPlugin { + func performCommand(context: PackagePlugin.PluginContext, arguments: [String]) async throws { + try extractSymbolGraph(from: xcodePath(), context: context) + try processSymbols(context: context) + try generateModels(context: context) + try generateMirrors(context: context) + try generateCodable(context: context) + } +} + +//MARK: - Find Xcode path + +extension ExtractSymbols { + func xcodePath() throws -> Path { + let xcodeSelect = Process() + let pipe = Pipe() + xcodeSelect.launchPath = "/usr/bin/env" + xcodeSelect.arguments = ["xcode-select", "-p"] + xcodeSelect.standardOutput = pipe + try xcodeSelect.run() + let data = pipe.fileHandleForReading.readDataToEndOfFile() + let xcodePathString = String(data: data, encoding: .utf8)! + .trimmingCharacters(in: .whitespacesAndNewlines) + xcodeSelect.waitUntilExit() + return Path(xcodePathString) + } +} + +//MARK: - Extract SDK + +extension ExtractSymbols { + func extractSymbolGraph(from xcodePath: Path, context: PackagePlugin.PluginContext) throws { + for platform in _Platform.allCases { + let symbolgraphExtract = Process() + let swiftTool = try context.tool(named: "swift").path + symbolgraphExtract.executableURL = URL(fileURLWithPath: swiftTool.string) + symbolgraphExtract.arguments = [ + "symbolgraph-extract", + "-module-name", "RealityFoundation", + "-target", platform.target, + "-output-dir", + "\(context.package.directory.appending(platform.extractedDirectory))", + "-sdk", "\(xcodePath.appending(platform.sdk))", + ] + try symbolgraphExtract.run() + symbolgraphExtract.waitUntilExit() + } + } +} + +//MARK: - Process Symbols + +extension ExtractSymbols { + func processSymbols(context: PackagePlugin.PluginContext) throws { + for platform in _Platform.allCases { + let processSymbols = Process() + let processSymbolsTool = try context.tool(named: "ProcessSymbolsExecutable").path + processSymbols.executableURL = URL(fileURLWithPath: processSymbolsTool.string) + + processSymbols.arguments = [ + "\(context.package.directory.appending(platform.extractedDirectory))", + "\(context.package.directory.appending(platform.processedDirectory))", + ] + try processSymbols.run() + processSymbols.waitUntilExit() + } + } +} + +//MARK: - Generate Models + +extension ExtractSymbols { + func generateModels(context: PackagePlugin.PluginContext) throws { + for platform in _Platform.allCases { + let generateCodable = Process() + let generateCodableTool = try context.tool(named: "GenerateModelsExecutable").path + generateCodable.executableURL = URL(fileURLWithPath: generateCodableTool.string) + generateCodable.arguments = [ + "component-type", + "\(context.package.directory.appending(platform.processedDirectory))", + "\(context.package.directory.appending(platform.modelsDirectory))", + ] + try generateCodable.run() + generateCodable.waitUntilExit() + } + } +} + +//MARK: - Generate Codable + +extension ExtractSymbols { + func generateCodable(context: PackagePlugin.PluginContext) throws { + for platform in _Platform.allCases { + let generateCodable = Process() + let generateCodableTool = try context.tool(named: "GenerateModelsExecutable").path + generateCodable.executableURL = URL(fileURLWithPath: generateCodableTool.string) + generateCodable.arguments = [ + "component-codable", + "\(context.package.directory.appending(platform.processedDirectory))", + "\(context.package.directory.appending(platform.codableDirectory))", + ] + try generateCodable.run() + generateCodable.waitUntilExit() + } + } +} + +//MARK: - Generate Mirrors + +extension ExtractSymbols { + func generateMirrors(context: PackagePlugin.PluginContext) throws { + for platform in _Platform.allCases { + let generateCodable = Process() + let generateCodableTool = try context.tool(named: "GenerateModelsExecutable").path + generateCodable.executableURL = URL(fileURLWithPath: generateCodableTool.string) + generateCodable.arguments = [ + "mirrors", + "\(context.package.directory.appending(platform.processedDirectory))", + "\(context.package.directory.appending(platform.realityDumpDirectory))", + ] + try generateCodable.run() + generateCodable.waitUntilExit() + } + } +} diff --git a/Plugins/ExtractSymbols/_Platform.swift b/Plugins/ExtractSymbols/_Platform.swift new file mode 100644 index 0000000..711f7b2 --- /dev/null +++ b/Plugins/ExtractSymbols/_Platform.swift @@ -0,0 +1,63 @@ +import Foundation + +enum _Platform: CaseIterable { + case iOS + case macOS + case visionOS + + var target: String { + switch self { + case .iOS: + return "arm64-apple-ios" + case .macOS: + return "arm64-apple-macos" + case .visionOS: + return "arm64-apple-xros" + } + } + + var sdk: String { + switch self { + case .iOS: + return "Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk" + case .macOS: + return "Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" + case .visionOS: + return "Platforms/XROS.platform/Developer/SDKs/XROS.sdk" + } + } + + var extractedDirectory: String { + switch self { + case .iOS: + return "Sources/RealitySymbols/Extracted/iOS" + case .macOS: + return "Sources/RealitySymbols/Extracted/macOS" + case .visionOS: + return "Sources/RealitySymbols/Extracted/visionOS" + } + } + + var processedDirectory: String { + switch self { + case .iOS: + return "Sources/RealitySymbols/Processed/iOS" + case .macOS: + return "Sources/RealitySymbols/Processed/macOS" + case .visionOS: + return "Sources/RealitySymbols/Processed/visionOS" + } + } + + var modelsDirectory: String { + "Sources/Models/autogenerated" + } + + var realityDumpDirectory: String { + "Sources/RealityDump/autogenerated" + } + + var codableDirectory: String { + "Sources/RealityCodable/Components/autogenerated" + } +} diff --git a/RealityCheck.xcworkspace/contents.xcworkspacedata b/RealityCheck.xcworkspace/contents.xcworkspacedata index d29b272..0c58d4f 100644 --- a/RealityCheck.xcworkspace/contents.xcworkspacedata +++ b/RealityCheck.xcworkspace/contents.xcworkspacedata @@ -10,17 +10,28 @@ - - - - - - - - + + + + + + + + + + + + + + diff --git a/RealityCheck.xcworkspace/xcshareddata/swiftpm/Package.resolved b/RealityCheck.xcworkspace/xcshareddata/swiftpm/Package.resolved index 49fe812..f1bc55d 100644 --- a/RealityCheck.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/RealityCheck.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,104 +1,124 @@ { - "pins" : [ - { - "identity" : "combine-schedulers", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/combine-schedulers", - "state" : { - "revision" : "0625932976b3ae23949f6b816d13bd97f3b40b7c", - "version" : "0.10.0" + "object": { + "pins": [ + { + "package": "combine-schedulers", + "repositoryURL": "https://github.com/pointfreeco/combine-schedulers", + "state": { + "branch": null, + "revision": "9dc9cbe4bc45c65164fa653a563d8d8db61b09bb", + "version": "1.0.0" + } + }, + { + "package": "DeviceKit", + "repositoryURL": "https://github.com/devicekit/DeviceKit.git", + "state": { + "branch": null, + "revision": "66837ecf1516e41fd4251bbb684dc4b1997f08ab", + "version": "5.1.0" + } + }, + { + "package": "swift-case-paths", + "repositoryURL": "https://github.com/pointfreeco/swift-case-paths", + "state": { + "branch": null, + "revision": "bba1111185863c9288c5f047770f421c3b7793a4", + "version": "1.1.3" + } + }, + { + "package": "swift-clocks", + "repositoryURL": "https://github.com/pointfreeco/swift-clocks", + "state": { + "branch": null, + "revision": "a8421d68068d8f45fbceb418fbf22c5dad4afd33", + "version": "1.0.2" + } + }, + { + "package": "swift-collections", + "repositoryURL": "https://github.com/apple/swift-collections", + "state": { + "branch": null, + "revision": "d029d9d39c87bed85b1c50adee7c41795261a192", + "version": "1.0.6" + } + }, + { + "package": "swift-composable-architecture", + "repositoryURL": "https://github.com/pointfreeco/swift-composable-architecture", + "state": { + "branch": "observation-beta", + "revision": "caed49958d364116d82f506a20477610965908ec", + "version": null + } + }, + { + "package": "swift-concurrency-extras", + "repositoryURL": "https://github.com/pointfreeco/swift-concurrency-extras", + "state": { + "branch": null, + "revision": "bb5059bde9022d69ac516803f4f227d8ac967f71", + "version": "1.1.0" + } + }, + { + "package": "swift-custom-dump", + "repositoryURL": "https://github.com/pointfreeco/swift-custom-dump", + "state": { + "branch": null, + "revision": "aedcf6f4cd486ccef5b312ccac85d4b3f6e58605", + "version": "1.1.2" + } + }, + { + "package": "swift-dependencies", + "repositoryURL": "https://github.com/pointfreeco/swift-dependencies", + "state": { + "branch": null, + "revision": "c31b1445c4fae49e6fdb75496b895a3653f6aefc", + "version": "1.1.5" + } + }, + { + "package": "swift-identified-collections", + "repositoryURL": "https://github.com/pointfreeco/swift-identified-collections", + "state": { + "branch": null, + "revision": "d1e45f3e1eee2c9193f5369fa9d70a6ddad635e8", + "version": "1.0.0" + } + }, + { + "package": "swift-syntax", + "repositoryURL": "https://github.com/apple/swift-syntax", + "state": { + "branch": null, + "revision": "6ad4ea24b01559dde0773e3d091f1b9e36175036", + "version": "509.0.2" + } + }, + { + "package": "swiftui-navigation", + "repositoryURL": "https://github.com/pointfreeco/swiftui-navigation", + "state": { + "branch": null, + "revision": "78f9d72cf667adb47e2040aa373185c88c63f0dc", + "version": "1.2.0" + } + }, + { + "package": "xctest-dynamic-overlay", + "repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay", + "state": { + "branch": null, + "revision": "23cbf2294e350076ea4dbd7d5d047c1e76b03631", + "version": "1.0.2" + } } - }, - { - "identity" : "devicekit", - "kind" : "remoteSourceControl", - "location" : "https://github.com/devicekit/DeviceKit.git", - "state" : { - "revision" : "691fe8112cca20ebf0020a1709d4e0205400311c", - "version" : "5.0.0" - } - }, - { - "identity" : "swift-case-paths", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swift-case-paths", - "state" : { - "revision" : "fc45e7b2cfece9dd80b5a45e6469ffe67fe67984", - "version" : "0.14.1" - } - }, - { - "identity" : "swift-clocks", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swift-clocks", - "state" : { - "revision" : "f9acfa1a45f4483fe0f2c434a74e6f68f865d12d", - "version" : "0.3.0" - } - }, - { - "identity" : "swift-collections", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-collections", - "state" : { - "revision" : "937e904258d22af6e447a0b72c0bc67583ef64a2", - "version" : "1.0.4" - } - }, - { - "identity" : "swift-composable-architecture", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swift-composable-architecture", - "state" : { - "branch" : "prerelease/1.0", - "revision" : "d9ea2dc5b1d7653c5018304906b4e62694c47dfc" - } - }, - { - "identity" : "swift-custom-dump", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swift-custom-dump", - "state" : { - "revision" : "505aa98716275fbd045d8f934fee3337c82ffbd3", - "version" : "0.10.3" - } - }, - { - "identity" : "swift-dependencies", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swift-dependencies", - "state" : { - "revision" : "de1a984a71e51f6e488e98ce3652035563eb8acb", - "version" : "0.5.1" - } - }, - { - "identity" : "swift-identified-collections", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swift-identified-collections", - "state" : { - "revision" : "f52eee28bdc6065aa2f8424067e6f04c74bda6e6", - "version" : "0.7.1" - } - }, - { - "identity" : "swiftui-navigation", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swiftui-navigation", - "state" : { - "revision" : "db81007362f998654239021ca9308a264e59d3e2", - "version" : "0.7.2" - } - }, - { - "identity" : "xctest-dynamic-overlay", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay", - "state" : { - "revision" : "4af50b38daf0037cfbab15514a241224c3f62f98", - "version" : "0.8.5" - } - } - ], - "version" : 2 + ] + }, + "version": 1 } diff --git a/Sources/GenerateModelsExecutable/String+Case.swift b/Sources/GenerateModelsExecutable/String+Case.swift new file mode 100644 index 0000000..5cc1ca9 --- /dev/null +++ b/Sources/GenerateModelsExecutable/String+Case.swift @@ -0,0 +1,21 @@ +import Foundation + +extension String { + func withFirstLetterUppercased() -> String { + if let firstLetter = self.first { + return firstLetter.uppercased() + self.dropFirst() + } else { + return self + } + } +} + +extension String { + func withFirstLetterLowercased() -> String { + if let firstLetter = self.first { + return firstLetter.lowercased() + self.dropFirst() + } else { + return self + } + } +} diff --git a/Sources/GenerateModelsExecutable/component-codable.swift b/Sources/GenerateModelsExecutable/component-codable.swift new file mode 100644 index 0000000..f0eb142 --- /dev/null +++ b/Sources/GenerateModelsExecutable/component-codable.swift @@ -0,0 +1,211 @@ +import ArgumentParser +import CustomDump +import Foundation +import Models +import SwiftSyntax +import SwiftSyntaxBuilder + +@available(macOS 13.0, *) +struct GenerateComponentCodable: ParsableCommand { + static var configuration = CommandConfiguration( + commandName: "component-codable" + ) + + @Argument(help: "Input file path.") + var input: String + + @Argument(help: "Output file path.") + var output: String + + func run() throws { + let source = URL(string: "file://\(input)")! + let destination = URL(string: "file://\(output)")! + + let data = try Data(contentsOf: source.appending(path: "Components.json")) + let _symbols: [_Symbol] = try JSONDecoder().decode([_Symbol].self, from: data) + + //MARK: Templates + + let file = try SourceFileSyntax( + leadingTrivia: "// This file was automatically generated and should not be edited." + + .newlines(2) + ) { + try ImportDeclSyntax("import CustomDump") + try ImportDeclSyntax("import Foundation") + try ImportDeclSyntax("import Models") + try ImportDeclSyntax("import RealityKit") + + //MARK: - Component + //FIXME: consider align structure with `Entity/EntityType` + + try ExtensionDeclSyntax( + """ + extension RealityPlatform.\(raw: source.lastPathComponent) + """ + ) { + try EnumDeclSyntax( + """ + public enum Component: Codable, Hashable + """ + ) { + for symbol in _symbols { + try EnumCaseDeclSyntax( + """ + case \(raw: symbol.name.withFirstLetterLowercased())(\(raw: symbol.name)) + """ + ) + } + } + } + + //MARK: - Description + + try ExtensionDeclSyntax( + """ + extension RealityPlatform.\(raw: source.lastPathComponent).Component: CustomStringConvertible + """ + ) { + try VariableDeclSyntax("public var description: String") { + try SwitchExprSyntax("switch self") { + for symbol in _symbols { + SwitchCaseSyntax( + """ + case .\(raw: symbol.name.withFirstLetterLowercased()): + return "\(raw: symbol.name)" + """ + ) + } + } + } + } + + //MARK: - Comment + + try ExtensionDeclSyntax( + """ + extension RealityPlatform.\(raw: source.lastPathComponent).Component + """ + ) { + try VariableDeclSyntax("public var comment: String?") { + try SwitchExprSyntax("switch self") { + for symbol in _symbols { + SwitchCaseSyntax( + """ + case .\(raw: symbol.name.withFirstLetterLowercased())(let value): + return value.comment + """ + ) + } + } + } + } + + //MARK: - Reflected Description + + try ExtensionDeclSyntax( + """ + extension RealityPlatform.\(raw: source.lastPathComponent).Component + """ + ) { + try VariableDeclSyntax("public var reflectedDescription: String?") { + try SwitchExprSyntax("switch self") { + for symbol in _symbols { + SwitchCaseSyntax( + """ + case .\(raw: symbol.name.withFirstLetterLowercased())(let value): + return value.reflectedDescription + """ + ) + } + } + } + } + + //MARK: - Init + + try ExtensionDeclSyntax( + """ + //MARK: \(raw: source.lastPathComponent) + + extension RealityPlatform.\(raw: source.lastPathComponent) + """ + ) { + for symbol in _symbols { + try StructDeclSyntax("public struct \(raw: symbol.name): Codable, Hashable") { + try VariableDeclSyntax("public var comment: String?") + try VariableDeclSyntax("public var reflectedDescription: String") + + DeclSyntax("#if os(\(raw: source.lastPathComponent))") + + try InitializerDeclSyntax("init(rawValue component: RealityKit.\(raw: symbol.name))") { + for property in symbol.properties { + DeclReferenceExprSyntax( + baseName: + """ + //TODO: self.\(raw: property.name) = component.\(raw: property.name) + """ + ) + } + if let comment = symbol.comment { + DeclReferenceExprSyntax( + baseName: + """ + self.comment = + \""" + \(raw: comment) + \""" + """ + ) + } + DeclReferenceExprSyntax( + baseName: + """ + self.reflectedDescription = String(customDumping: component) + """ + ) + } + .with(\.trailingTrivia, .newline) + + DeclSyntax("#endif") + .with(\.trailingTrivia, .carriageReturnLineFeed) + } + } + } + + //MARK: - + + DeclSyntax("#if os(\(raw: source.lastPathComponent))") + + try ExtensionDeclSyntax( + """ + extension RealityPlatform.\(raw: source.lastPathComponent).ComponentType + """ + ) { + try FunctionDeclSyntax( + """ + func makeCodable(from component: RealityKit.Component) -> RealityPlatform.\(raw: source.lastPathComponent).Component + """ + ) { + try SwitchExprSyntax("switch self") { + for symbol in _symbols { + SwitchCaseSyntax( + """ + case .\(raw: symbol.name.withFirstLetterLowercased()): + return .\(raw: symbol.name.withFirstLetterLowercased())(.init(rawValue: component as! \(raw: symbol.name))) + """ + ) + } + } + } + } + .with(\.trailingTrivia, .newline) + + DeclSyntax("#endif") + .with(\.trailingTrivia, .carriageReturnLineFeed) + } + + //MARK: Save + let fileURL = destination.appending(path: "ComponentCodable_\(source.lastPathComponent).swift") + try file.formatted().description.write(to: fileURL, atomically: true, encoding: .utf8) + } +} diff --git a/Sources/GenerateModelsExecutable/component-type.swift b/Sources/GenerateModelsExecutable/component-type.swift new file mode 100644 index 0000000..f2c9071 --- /dev/null +++ b/Sources/GenerateModelsExecutable/component-type.swift @@ -0,0 +1,85 @@ +import ArgumentParser +import Foundation +import Models +import SwiftSyntax +import SwiftSyntaxBuilder + +@available(macOS 13.0, *) +struct GenerateComponentType: ParsableCommand { + static var configuration = CommandConfiguration( + commandName: "component-type" + ) + + @Argument(help: "Input file path.") + var input: String + + @Argument(help: "Output file path.") + var output: String + + func run() throws { + let source = URL(string: "file://\(input)")! + let destination = URL(string: "file://\(output)")! + + let data = try Data(contentsOf: source.appending(path: "Components.json")) + let _symbols: [_Symbol] = try JSONDecoder().decode([_Symbol].self, from: data) + + //MARK: Templates + let file = try SourceFileSyntax( + leadingTrivia: "// This file was automatically generated and should not be edited." + + .newlines(2) + ) { + try ImportDeclSyntax("import Foundation") + try ImportDeclSyntax("import RealityKit") + + try ExtensionDeclSyntax( + """ + //MARK: \(raw: source.lastPathComponent) + + extension RealityPlatform.\(raw: source.lastPathComponent) + """ + ) { + try EnumDeclSyntax( + """ + public enum ComponentType: CaseIterable + """ + ) { + for symbol in _symbols { + try EnumCaseDeclSyntax( + """ + case \(raw: symbol.name.withFirstLetterLowercased()) + """ + ) + } + } + } + + DeclSyntax("#if os(\(raw: source.lastPathComponent))") + + try ExtensionDeclSyntax( + """ + extension RealityPlatform.\(raw: source.lastPathComponent).ComponentType + """ + ) { + try VariableDeclSyntax("public var rawType: RealityKit.Component.Type") { + try SwitchExprSyntax("switch self") { + for symbol in _symbols { + SwitchCaseSyntax( + """ + case .\(raw: symbol.name.withFirstLetterLowercased()): + return \(raw: symbol.name).self + """ + ) + } + } + } + } + .with(\.trailingTrivia, .newline) + + DeclSyntax("#endif") + } + + //MARK: Save + let fileURL = destination.appending(path: "ComponentType_\(source.lastPathComponent).swift") + try file.formatted().description.write(to: fileURL, atomically: true, encoding: .utf8) + } +} diff --git a/Sources/GenerateModelsExecutable/generate-models.swift b/Sources/GenerateModelsExecutable/generate-models.swift new file mode 100644 index 0000000..d09cd57 --- /dev/null +++ b/Sources/GenerateModelsExecutable/generate-models.swift @@ -0,0 +1,17 @@ +import ArgumentParser +import Foundation + +@main +@available(macOS 13.0, *) +struct GenerateModels: ParsableCommand { + + static var configuration = CommandConfiguration( + commandName: "generate-models", + abstract: "This tool produces Swift files from processed symbol graphs.", + subcommands: [ + GenerateComponentType.self, + GenerateMirrors.self, + GenerateComponentCodable.self, + ] + ) +} diff --git a/Sources/GenerateModelsExecutable/mirrors.swift b/Sources/GenerateModelsExecutable/mirrors.swift new file mode 100644 index 0000000..30ceede --- /dev/null +++ b/Sources/GenerateModelsExecutable/mirrors.swift @@ -0,0 +1,62 @@ +import ArgumentParser +import Foundation +import Models +import SwiftSyntax +import SwiftSyntaxBuilder + +@available(macOS 13.0, *) +struct GenerateMirrors: ParsableCommand { + static var configuration = CommandConfiguration( + commandName: "mirrors" + ) + + @Argument(help: "Input file path.") + var input: String + + @Argument(help: "Output file path.") + var output: String + + func run() throws { + let source = URL(string: "file://\(input)")! + let destination = URL(string: "file://\(output)")! + + let data = try Data(contentsOf: source.appending(path: "Components.json")) + let _symbols: [_Symbol] = try JSONDecoder().decode([_Symbol].self, from: data) + + //MARK: Templates + let file = try SourceFileSyntax( + leadingTrivia: "// This file was automatically generated and should not be edited." + + .newlines(2) + ) { + try ImportDeclSyntax("import CustomDump") + try ImportDeclSyntax("import RealityKit") + + DeclSyntax( + """ + #if os(\(raw: source.lastPathComponent)) + + //MARK: \(raw: source.lastPathComponent) + """ + ) + + for symbol in _symbols { + try ExtensionDeclSyntax( + """ + extension \(raw: symbol.name): CustomDumpReflectable + """ + ) { + try VariableDeclSyntax("public var customDumpMirror: Mirror") { + DeclSyntax(".init(reflecting: self)") + } + } + .with(\.trailingTrivia, .newline) + } + + DeclSyntax("#endif") + } + + //MARK: Save + let fileURL = destination.appending(path: "Component_\(source.lastPathComponent)+Mirror.swift") + try file.formatted().description.write(to: fileURL, atomically: true, encoding: .utf8) + } +} diff --git a/Sources/Models/Component/ComponentSet+Equatable.swift b/Sources/Models/Component/ComponentSet+Equatable.swift deleted file mode 100644 index ad8d373..0000000 --- a/Sources/Models/Component/ComponentSet+Equatable.swift +++ /dev/null @@ -1,9 +0,0 @@ -import RealityKit - -extension Entity.ComponentSet: Equatable { - //FIXME: Find a better way to use equatable or use another type instear `Entity.ComponentSet` - - public static func == (lhs: Entity.ComponentSet, rhs: Entity.ComponentSet) -> Bool { - lhs.count == rhs.count - } -} diff --git a/Sources/Models/Component/IdentifiableComponent+Find.swift b/Sources/Models/Component/IdentifiableComponent+Find.swift deleted file mode 100644 index 5b2a4a7..0000000 --- a/Sources/Models/Component/IdentifiableComponent+Find.swift +++ /dev/null @@ -1,28 +0,0 @@ -import Foundation - -/// Performs a depth-first search in a tree-like structure represented by `IdentifiableEntity`. -/// -/// - Parameters: -/// - root: The root node of the tree. -/// - targetID: The target ID to search for. -/// - Returns: The `IdentifiableEntity` with the matching ID, or `nil` if not found. -/// -/// - Complexity: O(n), where n is the number of nodes in the tree. -/// -/// - Note: This method assumes that each node has a unique ID. -/// -public func findEntity(root: IdentifiableEntity, targetID: UInt64) -> IdentifiableEntity? { - if root.id == targetID { - return root - } - - if let children = root.children { - for child in children { - if let foundNode = findEntity(root: child, targetID: targetID) { - return foundNode - } - } - } - - return nil -} diff --git a/Sources/Models/Component/IdentifiableComponent+Type.swift b/Sources/Models/Component/IdentifiableComponent+Type.swift deleted file mode 100644 index 2f54e91..0000000 --- a/Sources/Models/Component/IdentifiableComponent+Type.swift +++ /dev/null @@ -1,191 +0,0 @@ -import RealityKit - -extension IdentifiableComponent.ComponentType: RawRepresentable { - public var rawValue: Component.Type { - switch self { - case .anchoring: - return AnchoringComponent.self - - case .characterController: - return CharacterControllerComponent.self - - case .characterControllerState: - return CharacterControllerStateComponent.self - - case .collision: - return CollisionComponent.self - - case .directionalLight: - return DirectionalLightComponent.self - - case .directionalLightShadow: - return DirectionalLightComponent.Shadow.self - - case .model: - return ModelComponent.self - - case .modelDebugOptions: - return ModelDebugOptionsComponent.self - - case .perspectiveCamera: - return PerspectiveCameraComponent.self - - case .physicsBody: - return PhysicsBodyComponent.self - - case .physicsMotion: - return PhysicsMotionComponent.self - - case .pointLight: - return PointLightComponent.self - - case .spotLight: - return SpotLightComponent.self - - case .spotLightShadow: - return SpotLightComponent.Shadow.self - - case .synchronization: - return SynchronizationComponent.self - - case .transform: - return Transform.self - } - } - - public init?(rawValue: Component.Type) { - for componentType in Self.allCases { - if componentType.rawValue == rawValue { - self = componentType - return - } - } - //TODO: handle unknown components - fatalError("Unknown Component.Type") - } -} - -extension IdentifiableComponent.ComponentType: CustomStringConvertible { - public var description: String { - switch self { - case .anchoring: - return "AnchoringComponent" - - case .characterController: - return "CharacterControllerComponent" - - case .characterControllerState: - return "CharacterControllerStateComponent" - - case .collision: - return "CollisionComponent" - - case .directionalLight: - return "DirectionalLightComponent" - - case .directionalLightShadow: - return "DirectionalLightComponent.Shadow" - - case .model: - return "ModelComponent" - - case .modelDebugOptions: - return "ModelDebugOptionsComponent" - - case .perspectiveCamera: - return "PerspectiveCameraComponent" - - case .physicsBody: - return "PhysicsBodyComponent" - - case .physicsMotion: - return "PhysicsMotionComponent" - - case .pointLight: - return "PointLightComponent" - - case .spotLight: - return "SpotLightComponent" - - case .spotLightShadow: - return "SpotLightComponent.Shadow" - - case .synchronization: - return "SynchronizationComponent" - - case .transform: - return "Transform" - } - } -} - -extension IdentifiableComponent.ComponentType { - public var help: String { - switch self { - case .anchoring: - return """ - A description of how virtual content can be anchored to the real world. - """ - case .characterController: - return """ - A component that manages character movement. - """ - case .characterControllerState: - return """ - An object that maintains state for a character controller. - """ - case .collision: - return """ - A component that gives an entity the ability to collide with other entities that also have collision components. - """ - case .directionalLight: - return """ - A component that defines a directional light source. - """ - case .directionalLightShadow: - return """ - Defines shadow characteristics for a directional light. - """ - case .model: - return """ - A collection of resources that create the visual appearance of an entity. - """ - case .modelDebugOptions: - return """ - A component that changes how RealityKit renders its entity to help with debugging. - """ - case .perspectiveCamera: - return """ - In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the camera needs to be set by the app. (If no camera is provided by the app, the system will use default camera.) - """ - case .physicsBody: - return """ - A component that defines an entity’s behavior in physics body simulations. - """ - case .physicsMotion: - return """ - A component that controls the motion of the body in physics simulations. - """ - case .pointLight: - return """ - A component that defines a point light source. - """ - case .spotLight: - return """ - A component that defines a spotlight source. - """ - case .spotLightShadow: - return """ - Characteristics of a shadow for the spotlight. - """ - case .synchronization: - return """ - A component that synchronizes an entity between processes and networked applications. - """ - case .transform: - return """ - A component that defines the scale, rotation, and translation of an entity. - """ - } - } -} diff --git a/Sources/Models/Component/IdentifiableComponent.swift b/Sources/Models/Component/IdentifiableComponent.swift deleted file mode 100644 index a68c5d9..0000000 --- a/Sources/Models/Component/IdentifiableComponent.swift +++ /dev/null @@ -1,278 +0,0 @@ -import CustomDump -import RealityKit - -public struct IdentifiableComponent: Codable { - - public let componentType: ComponentType - private(set) public var properties: ComponentProperties - - //TODO: include TransientComponent.self - public enum ComponentType: CaseIterable, Codable { - case anchoring - case characterController - case characterControllerState - case collision - case directionalLight - case directionalLightShadow - case model - case modelDebugOptions - case perspectiveCamera - case physicsBody - case physicsMotion - case pointLight - case spotLight - case spotLightShadow - case synchronization - case transform - } - - public init( - _ component: RealityKit.Component - ) { - //FIXME: handle errors - self.componentType = ComponentType(rawValue: Swift.type(of: component))! - switch self.componentType { - case .anchoring: - let component = component as! AnchoringComponent - self.properties = .anchoring( - AnchoringComponentProperties( - target: CodableTarget(component.target) - ) - ) - - case .characterController: - let component = component as! CharacterControllerComponent - self.properties = .characterController( - CharacterControllerComponentProperties( - radius: component.radius, - height: component.height, - skinWidth: component.skinWidth, - slopeLimit: component.slopeLimit, - stepLimit: component.stepLimit, - upVector: component.upVector, - collisionFilter: CodableCollisionFilter( - component.collisionFilter - ) - ) - ) - - case .characterControllerState: - let component = component as! CharacterControllerStateComponent - self.properties = .characterControllerState( - CharacterControllerStateComponentProperties( - velocity: component.velocity, - isOnGround: component.isOnGround - ) - ) - - case .collision: - let component = component as! CollisionComponent - self.properties = .collision( - CollisionComponentProperties( - shapes: component.shapes.map(CodableShapeResource.init), - mode: CodableCollisionComponentMode(component.mode), - filter: CodableCollisionFilter(component.filter) - ) - ) - - case .directionalLight: - let component = component as! DirectionalLightComponent - self.properties = .directionalLight( - DirectionalLightComponentProperties( - intensity: component.intensity, - isRealWorldProxy: component.isRealWorldProxy - ) - ) - - case .directionalLightShadow: - let component = component as! DirectionalLightComponent.Shadow - self.properties = .directionalLightShadow( - DirectionalLightShadowComponentProperties( - depthBias: component.depthBias, - maximumDistance: component.maximumDistance - ) - ) - - case .model: - let component = component as! ModelComponent - self.properties = .model( - ModelComponentProperties( - mesh: CodableMeshResource(component.mesh), - materials: component.materials.map(CodableMaterial.init), - boundsMargin: component.boundsMargin - ) - ) - - case .modelDebugOptions: - let component = component as! ModelDebugOptionsComponent - self.properties = .modelDebugOptions( - ModelDebugOptionsComponentProperties( - visualizationMode: component.visualizationMode - ) - ) - - case .perspectiveCamera: - let component = component as! PerspectiveCameraComponent - self.properties = .perspectiveCamera( - PerspectiveCameraComponentProperties( - near: component.near, - far: component.far, - fieldOfViewInDegrees: component.fieldOfViewInDegrees - ) - ) - - case .physicsBody: - let component = component as! PhysicsBodyComponent - self.properties = .physicsBody( - PhysicsBodyComponentProperties( - mode: CodablePhysicsBodyMode(component.mode), - //FIXME: massProperties: component.massProperties, - //FIXME: material: component.material, - isTranslationLocked: MovementLock( - component.isTranslationLocked - ), - isRotationLocked: MovementLock(component.isRotationLocked), - isContinuousCollisionDetectionEnabled: component - .isContinuousCollisionDetectionEnabled - ) - ) - - case .physicsMotion: - let component = component as! PhysicsMotionComponent - self.properties = .physicsMotion( - PhysicsMotionComponentProperties( - linearVelocity: component.linearVelocity, - angularVelocity: component.angularVelocity - ) - ) - - case .pointLight: - let component = component as! PointLightComponent - self.properties = .pointLight( - PointLightComponentProperties( - intensity: component.intensity, - attenuationRadius: component.attenuationRadius - ) - ) - - case .spotLight: - let component = component as! SpotLightComponent - self.properties = .spotLight( - SpotLightComponentProperties( - intensity: component.intensity, - innerAngleInDegrees: component.innerAngleInDegrees, - outerAngleInDegrees: component.outerAngleInDegrees, - attenuationRadius: component.attenuationRadius - ) - ) - - case .spotLightShadow: - // As of RealityKit 2.0, it was empty. - // let component = component as! SpotLightComponent.Shadow - self.properties = .spotLightShadow(SpotLightShadowComponentProperties()) - - case .synchronization: - let component = component as! SynchronizationComponent - self.properties = .synchronization( - SynchronizationComponentProperties( - identifier: component.identifier, - isOwner: component.isOwner, - ownershipTransferMode: CodableOwnershipTransferMode( - component.ownershipTransferMode - ) - ) - ) - - case .transform: - let component = component as! Transform - self.properties = .transform( - TransformComponentProperties( - scale: component.scale, - rotation: CodableQuaternion(component.rotation), - translation: component.translation, - matrix: CodableFloat4x4(component.matrix) - ) - ) - } - } -} - -//MARK: - - -extension IdentifiableComponent: Equatable, Hashable { - public static func == (lhs: IdentifiableComponent, rhs: IdentifiableComponent) -> Bool { - lhs.componentType == rhs.componentType - } - - public func hash(into hasher: inout Hasher) { - hasher.combine(componentType) - } -} - -extension IdentifiableComponent: CustomDumpReflectable { - public var customDumpMirror: Mirror { - .init( - self.properties, - children: [ - "componentType": self.componentType, - "properties": self.properties, - ], - displayStyle: .struct - ) - } -} - -extension IdentifiableComponent: CustomDumpRepresentable { - public var customDumpValue: Any { - switch self.properties { - case .anchoring(let value): - return value - - case .characterController(let value): - return value - - case .characterControllerState(let value): - return value - - case .collision(let value): - return value - - case .directionalLight(let value): - return value - - case .directionalLightShadow(let value): - return value - - case .model(let value): - return value - - case .modelDebugOptions(let value): - return value - - case .perspectiveCamera(let value): - return value - - case .physicsBody(let value): - return value - - case .physicsMotion(let value): - return value - - case .pointLight(let value): - return value - - case .spotLight(let value): - return value - - case .spotLightShadow(let value): - return value - - case .synchronization(let value): - return value - - case .transform(let value): - return value - - } - } -} diff --git a/Sources/Models/Component/Properties/AnchoringComponentProperties.swift b/Sources/Models/Component/Properties/AnchoringComponentProperties.swift deleted file mode 100644 index d13c251..0000000 --- a/Sources/Models/Component/Properties/AnchoringComponentProperties.swift +++ /dev/null @@ -1,63 +0,0 @@ -import CustomDump -import Foundation -import RealityKit - -public struct AnchoringComponentProperties: ComponentPropertiesRepresentable { - /// The kind of real world object to which the anchor entity should anchor. - public let target: CodableTarget -} - -public enum CodableTarget: Codable { - - case camera - case world(transform: CodableFloat4x4) - case anchor(identifier: UUID) - case plane([UInt8], classifications: [UInt64], minimumBounds: SIMD2) - case image(group: String, name: String) - case object(group: String, name: String) - case face - case body - - public init( - _ target: AnchoringComponent.Target - ) { - switch target { - case .camera: - self = .camera - case .world(let transform): - self = .world(transform: CodableFloat4x4(transform)) - #if os(iOS) - case .anchor(let identifier): - self = .anchor(identifier: identifier) - case .plane(let alignment, let classification, let minimumBounds): - self = .plane( - [alignment.rawValue], - classifications: [classification.rawValue], - minimumBounds: minimumBounds - ) - case .image(let group, let name): - self = .image(group: group, name: name) - case .object(let group, let name): - self = .object(group: group, name: name) - case .face: - self = .face - case .body: - self = .body - #endif - @unknown default: - fatalError() - } - } -} - -extension AnchoringComponentProperties: CustomDumpReflectable { - public var customDumpMirror: Mirror { - .init( - self, - children: [ - "target": self.target - ], - displayStyle: .struct - ) - } -} diff --git a/Sources/Models/Component/Properties/CharacterControllerComponentProperties.swift b/Sources/Models/Component/Properties/CharacterControllerComponentProperties.swift deleted file mode 100644 index b1cf952..0000000 --- a/Sources/Models/Component/Properties/CharacterControllerComponentProperties.swift +++ /dev/null @@ -1,43 +0,0 @@ -import RealityKit - -public struct CharacterControllerComponentProperties: ComponentPropertiesRepresentable { - /// The capsule radius. - /// - /// Specify this value in the entity's coordinate system. - public let radius: Float - - /// The capsule height. - /// - /// The capsule height includes radii and should be specified the entity's coordinate system. - public let height: Float - - /// An added tolerance around the character capsule. - /// - /// A small skin, known as the *contact offset*, is maintained around the controller's volume to avoid - /// rounding and precision issues with collision detection. Specify this value relative to the entity's - /// coordinate system. - public let skinWidth: Float - - /// The slope limit expressed as a limit angle in radians. - /// - /// This value represents the maximum slope that the character can move over. RealityKit applies this value - /// to characters that are walking on static objects, but not when walking on kinematic or dynamic objects. - public let slopeLimit: Float - - /// The maximum obstacle height that the controller can move over. - /// - /// Specify this value relative to the entity's coordinate system. - public let stepLimit: Float - - /// Y axis direction relative to the physics origin. - /// - /// Rotates the object so that the vertical height is along the up vector. - /// Vector must be normalized and specified in *physics space*, the coordinate system of the - /// physics simulation. - public let upVector: SIMD3 - - /// The character's collision filter. - /// - /// For more information on using collision filters, see . - public let collisionFilter: CodableCollisionFilter -} diff --git a/Sources/Models/Component/Properties/CharacterControllerStateComponentProperties.swift b/Sources/Models/Component/Properties/CharacterControllerStateComponentProperties.swift deleted file mode 100644 index cdfbd6e..0000000 --- a/Sources/Models/Component/Properties/CharacterControllerStateComponentProperties.swift +++ /dev/null @@ -1,9 +0,0 @@ -import RealityKit - -public struct CharacterControllerStateComponentProperties: ComponentPropertiesRepresentable { - /// The linear speed relative to the phyics origin. In physics space. - public let velocity: SIMD3 - - /// True if character controller is grounded, otherwise false. - public let isOnGround: Bool -} diff --git a/Sources/Models/Component/Properties/CollisionComponentProperties.swift b/Sources/Models/Component/Properties/CollisionComponentProperties.swift deleted file mode 100644 index 27623be..0000000 --- a/Sources/Models/Component/Properties/CollisionComponentProperties.swift +++ /dev/null @@ -1,62 +0,0 @@ -import RealityKit - -public struct CollisionComponentProperties: ComponentPropertiesRepresentable { - /// A collection of shape resources that collectively represent the outer - /// dimensions of an entity for the purposes of collision detection. - public let shapes: [CodableShapeResource] - - /// The collision mode. - public let mode: CodableCollisionComponentMode - - /// The collision filter used to segregate entities into different collision - /// groups. - public let filter: CodableCollisionFilter -} - -public struct CodableShapeResource: Codable { - public init(_ hapeResource: RealityKit.ShapeResource) { - //TODO: switch/cast on different materials - } -} - -public enum CodableCollisionComponentMode: Codable { - case `default` - case trigger - - init(_ collisionComponentMode: RealityKit.CollisionComponent.Mode) { - switch collisionComponentMode { - case .default: - self = .default - case .trigger: - self = .trigger - @unknown default: - fatalError() - } - } - - public init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - let rawValue = try container.decode(String.self) - - switch rawValue { - case "default": - self = .default - case "trigger": - self = .trigger - default: - throw DecodingError.dataCorruptedError( - in: container, debugDescription: "Invalid mode value: \(rawValue)") - } - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - - switch self { - case .default: - try container.encode("default") - case .trigger: - try container.encode("trigger") - } - } -} diff --git a/Sources/Models/Component/Properties/ComponentPropertiesRepresentable.swift b/Sources/Models/Component/Properties/ComponentPropertiesRepresentable.swift deleted file mode 100644 index f71eff4..0000000 --- a/Sources/Models/Component/Properties/ComponentPropertiesRepresentable.swift +++ /dev/null @@ -1,47 +0,0 @@ -import Foundation - -/// A protocol that represents a Component type whose properties can be encoded and decoded using the `Codable` protocol. -/// -/// Types conforming to `ComponentPropertiesRepresentable` can be used as properties within components that adopt the `Component` protocol. By conforming to `Codable`, the properties of the type can be easily serialized to and deserialized from various formats such as JSON or binary. -/// -/// When conforming to `ComponentPropertiesRepresentable`, ensure that all properties of the type also conform to `Codable`. -/// -/// Example: -/// ``` -/// struct Position: ComponentPropertiesRepresentable { -/// var x: Float -/// var y: Float -/// } -/// -/// struct Entity: Component { -/// var position: Position -/// } -/// -/// let entity = Entity(position: Position(x: 10.0, y: 5.0)) -/// -/// let encoder = JSONEncoder() -/// let data = try encoder.encode(entity) -/// -/// let decoder = JSONDecoder() -/// let decodedEntity = try decoder.decode(Entity.self, from: data) -/// ``` -public protocol ComponentPropertiesRepresentable: Codable {} - -public enum ComponentProperties: Codable { - case anchoring(AnchoringComponentProperties) - case characterController(CharacterControllerComponentProperties) - case characterControllerState(CharacterControllerStateComponentProperties) - case collision(CollisionComponentProperties) - case directionalLight(DirectionalLightComponentProperties) - case directionalLightShadow(DirectionalLightShadowComponentProperties) - case model(ModelComponentProperties) - case modelDebugOptions(ModelDebugOptionsComponentProperties) - case perspectiveCamera(PerspectiveCameraComponentProperties) - case physicsBody(PhysicsBodyComponentProperties) - case physicsMotion(PhysicsMotionComponentProperties) - case pointLight(PointLightComponentProperties) - case spotLight(SpotLightComponentProperties) - case spotLightShadow(SpotLightShadowComponentProperties) - case synchronization(SynchronizationComponentProperties) - case transform(TransformComponentProperties) -} diff --git a/Sources/Models/Component/Properties/DirectionalLightComponentProperties.swift b/Sources/Models/Component/Properties/DirectionalLightComponentProperties.swift deleted file mode 100644 index de548a8..0000000 --- a/Sources/Models/Component/Properties/DirectionalLightComponentProperties.swift +++ /dev/null @@ -1,16 +0,0 @@ -import Foundation - -public struct DirectionalLightComponentProperties: ComponentPropertiesRepresentable { - /// The intensity of the directional light, measured in lumen per square - /// meter. - public let intensity: Float - - /// A Boolean that you use to control whether the directional light operates - /// as a proxy for a real-world light. - /// - /// Set the value to `true` when you want the light to cast shadows on - /// virtual content without illuminating anything in the scene. You can use - /// this to create shadows on occlusion materials that accept dynamic - /// lighting. - public let isRealWorldProxy: Bool -} diff --git a/Sources/Models/Component/Properties/DirectionalLightShadowComponentProperties.swift b/Sources/Models/Component/Properties/DirectionalLightShadowComponentProperties.swift deleted file mode 100644 index 4987cb1..0000000 --- a/Sources/Models/Component/Properties/DirectionalLightShadowComponentProperties.swift +++ /dev/null @@ -1,9 +0,0 @@ -import Foundation - -public struct DirectionalLightShadowComponentProperties: ComponentPropertiesRepresentable { - /// The depth bias for the shadow. - public let depthBias: Float - - /// The maximum distance for the shadow. - public let maximumDistance: Float -} diff --git a/Sources/Models/Component/Properties/ModelComponentProperties.swift b/Sources/Models/Component/Properties/ModelComponentProperties.swift deleted file mode 100644 index 2ef77f1..0000000 --- a/Sources/Models/Component/Properties/ModelComponentProperties.swift +++ /dev/null @@ -1,87 +0,0 @@ -import RealityKit - -public struct ModelComponentProperties: ComponentPropertiesRepresentable { - /// The mesh that defines the shape of the entity. - /// - /// For more information, see ``RealityKit/MeshResource`` - public let mesh: CodableMeshResource - - /// The materials used by the model. - /// - /// Each ``RealityKit/MeshResource`` requires a set of materials. An entity that has no materials - /// renders using a pink, striped material. To determine the number of materials a model entity requires - /// , use `MeshResource.expectedMaterialCount` - public let materials: [CodableMaterial] - - /// A margin applied to an entity’s bounding box that determines object - /// visibility. - /// - /// When determining which entities are currently visible, RealityKit tests - /// each entity’s bounding box to see if it overlaps with the camera’s field - /// of view (also known as the camera’s _frustum_). For efficiency, entities - /// with a bounding box that don’t overlap the camera’s frustum aren’t - /// rendered. Use this property to prevent RealityKit from incorrectly - /// culling entities that use a ``CustomMaterial`` with a geometry modifier - /// that moves vertices outside of the entity’s bounding box. - /// - /// RealityKit adds the value of `boundsMargin` to the bounding box before - /// determining which entities are visible. - public let boundsMargin: Float -} - -public struct CodableMaterial: Codable { - public init(_ material: RealityKit.Material) { - //TODO: switch/cast on different materials - } -} - -public struct CodableMeshResource: Codable { - - /// The number of material entries required to render the mesh resource. - public var expectedMaterialCount: Int - - /// A box that bounds the mesh. - public var bounds: CodableBoundingBox - - public init(_ meshResource: RealityKit.MeshResource) { - self.expectedMaterialCount = meshResource.expectedMaterialCount - self.bounds = CodableBoundingBox(meshResource.bounds) - } -} - -public struct CodableBoundingBox: Codable { - /// The position of the minimum corner of the box. - public var min: SIMD3 - - /// The position of the maximum corner of the box. - public var max: SIMD3 - - public init(_ boundingBox: RealityKit.BoundingBox) { - self.init( - min: boundingBox.min, - max: boundingBox.max - ) - } - - public init(min: SIMD3, max: SIMD3) { - self.min = min - self.max = max - } - - private enum CodingKeys: String, CodingKey { - case min - case max - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(min, forKey: .min) - try container.encode(max, forKey: .max) - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - min = try container.decode(SIMD3.self, forKey: .min) - max = try container.decode(SIMD3.self, forKey: .max) - } -} diff --git a/Sources/Models/Component/Properties/ModelDebugOptionsComponentProperties.swift b/Sources/Models/Component/Properties/ModelDebugOptionsComponentProperties.swift deleted file mode 100644 index 7dcfa05..0000000 --- a/Sources/Models/Component/Properties/ModelDebugOptionsComponentProperties.swift +++ /dev/null @@ -1,9 +0,0 @@ -import RealityKit - -public struct ModelDebugOptionsComponentProperties: ComponentPropertiesRepresentable { - /// The part of the rendering process to display as the entity’s surface - /// texture. - public let visualizationMode: ModelDebugOptionsComponent.VisualizationMode -} - -extension ModelDebugOptionsComponent.VisualizationMode: Codable {} diff --git a/Sources/Models/Component/Properties/PerspectiveCameraComponentProperties.swift b/Sources/Models/Component/Properties/PerspectiveCameraComponentProperties.swift deleted file mode 100644 index e6fe66d..0000000 --- a/Sources/Models/Component/Properties/PerspectiveCameraComponentProperties.swift +++ /dev/null @@ -1,28 +0,0 @@ -import Foundation - -public struct PerspectiveCameraComponentProperties: ComponentPropertiesRepresentable { - /// The minimum distance in meters from the camera that the camera can see. - /// - /// The value defaults to 1 centimeter. Always use a value greater than `0` - /// and less than the value of ``PerspectiveCameraComponent/far``. The - /// renderer clips any surface closer than the - /// ``PerspectiveCameraComponent/near`` point. - public let near: Float - - /// The maximum distance in meters from the camera that the camera can see. - /// - /// The value defaults to infinity. Always use a value greater than the - /// value of ``PerspectiveCameraComponent/near``. The renderer clips any - /// surface beyond the ``PerspectiveCameraComponent/far`` point. - public let far: Float - - /// The camera’s total vertical field of view in degrees. - /// - /// This property contains the entire vertifical field of view for the - /// camera in degrees. The system automatically calculates the horizontal - /// field of view from this value to fit the aspect ratio of the device’s - /// screen. - /// - /// This property defaults to `60` degrees. - public let fieldOfViewInDegrees: Float -} diff --git a/Sources/Models/Component/Properties/PhysicsBodyComponentProperties.swift b/Sources/Models/Component/Properties/PhysicsBodyComponentProperties.swift deleted file mode 100644 index fbc683e..0000000 --- a/Sources/Models/Component/Properties/PhysicsBodyComponentProperties.swift +++ /dev/null @@ -1,117 +0,0 @@ -import RealityKit - -public struct PhysicsBodyComponentProperties: ComponentPropertiesRepresentable { - /// The physics body’s mode, indicating how or if it moves. - /// - /// By default, this value is set to ``PhysicsBodyMode/dynamic``, meaning - /// the body responds to forces. - public let mode: CodablePhysicsBodyMode - - /// The physics body’s mass properties, like inertia and center of mass. - /// - /// By default, the mass properties value is - /// ``PhysicsMassProperties/default``, which matches the properties of a - /// unit sphere with mass of 1 kilogram. - //FIXME: public let massProperties: PhysicsMassProperties - - /// The physics body’s material properties, like friction. - /// - /// By default, the body’s material resource is set to - /// ``PhysicsMaterialResource/default``, which provides a modest amount of - /// friction and restitution (bounciness). - //FIXME: public let material: PhysicsMaterialResource - - /// A tuple of Boolean values that you use to lock the position of the - /// physics body along any of the three axes. - /// - /// You can restrict movement of the body along one or more axes by setting - /// the corresponding item in the tuple to `true`. For example, if you set - /// the `x` and the `z` items in the tuple to `true`, then the body can move - /// only along the y-axis. By default, movement isn’t restricted. - public let isTranslationLocked: MovementLock - - /// A tuple of Boolean values that you use to lock rotation of the physics - /// body around any of the three axes. - /// - /// For any one of the three Booleans in the tuple that you set to `true`, - /// rotation is restricted on the axis represented by that item. For - /// example, if you set the `x` item to true, then the body can’t rotate - /// around the x-axis. By default, rotation isn’t restricted. - public let isRotationLocked: MovementLock - - /// A Boolean that controls whether the physics simulation performs - /// continuous collision detection. - /// - /// Set the value to `true` to perform continuous collision detection. The - /// value is `false` by default, indicating the simulation should apply - /// discrete collision detection. - /// - /// Discrete collision detection considers only the position of a body once - /// per rendered frame, or about every 16 milliseconds at 60 frames per - /// second. Continuous collision detection considers the position of the - /// body throughout the frame interval. The latter is more computationally - /// expensive, but can help to avoid missing a collision for a quickly - /// moving object, like a projectile. - public let isContinuousCollisionDetectionEnabled: Bool -} - -public enum CodablePhysicsBodyMode: Codable { - case `static` - case kinematic - case dynamic - - public init(_ physicsBodyMode: PhysicsBodyMode) { - switch physicsBodyMode { - case .static: - self = .static - case .kinematic: - self = .kinematic - case .dynamic: - self = .dynamic - @unknown default: - fatalError() - } - } - - public init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - let stringValue = try container.decode(String.self) - - switch stringValue { - case "static": - self = .static - case "kinematic": - self = .kinematic - case "dynamic": - self = .dynamic - default: - throw DecodingError.dataCorruptedError( - in: container, debugDescription: "Invalid physics body mode") - } - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - - switch self { - case .static: - try container.encode("static") - case .kinematic: - try container.encode("kinematic") - case .dynamic: - try container.encode("dynamic") - } - } -} - -public struct MovementLock: Codable { - public let x: Bool - public let y: Bool - public let z: Bool - - public init(_ tuple: (x: Bool, y: Bool, z: Bool)) { - self.x = tuple.0 - self.y = tuple.1 - self.z = tuple.2 - } -} diff --git a/Sources/Models/Component/Properties/PhysicsMotionComponentProperties.swift b/Sources/Models/Component/Properties/PhysicsMotionComponentProperties.swift deleted file mode 100644 index 85c469e..0000000 --- a/Sources/Models/Component/Properties/PhysicsMotionComponentProperties.swift +++ /dev/null @@ -1,9 +0,0 @@ -import Foundation - -public struct PhysicsMotionComponentProperties: ComponentPropertiesRepresentable { - /// The linear velocity of the body in the physics simulation. - public let linearVelocity: SIMD3 - - /// The angular velocity of the body around the center of mass. - public let angularVelocity: SIMD3 -} diff --git a/Sources/Models/Component/Properties/PointLightComponentProperties.swift b/Sources/Models/Component/Properties/PointLightComponentProperties.swift deleted file mode 100644 index 70a7caf..0000000 --- a/Sources/Models/Component/Properties/PointLightComponentProperties.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Foundation - -public struct PointLightComponentProperties: ComponentPropertiesRepresentable { - /// The intensity of the point light, measured in lumen. - public let intensity: Float - - /// The point light attenuation radius in meters. - /// - /// At any distance greater from the light that's greater than this value, the light's - /// intensity is zero. - public let attenuationRadius: Float -} diff --git a/Sources/Models/Component/Properties/SpotLightComponentProperties.swift b/Sources/Models/Component/Properties/SpotLightComponentProperties.swift deleted file mode 100644 index a9838b5..0000000 --- a/Sources/Models/Component/Properties/SpotLightComponentProperties.swift +++ /dev/null @@ -1,26 +0,0 @@ -import Foundation - -public struct SpotLightComponentProperties: ComponentPropertiesRepresentable { - /// The intensity of the spotlight measured in lumen. - public let intensity: Float - - /// The inner angle of the spotlight in degrees. - /// - /// A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines - /// relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and - /// `innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and - /// `outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`. - public let innerAngleInDegrees: Float - - /// The outer angle of the spotlight in degrees. - /// - /// A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines - /// relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and - /// `innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and - /// `outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`. - public let outerAngleInDegrees: Float - - /// The attenuation radius in meters, after which the intensity of the - /// spotlight is zero. - public let attenuationRadius: Float -} diff --git a/Sources/Models/Component/Properties/SpotLightShadowComponentProperties.swift b/Sources/Models/Component/Properties/SpotLightShadowComponentProperties.swift deleted file mode 100644 index 808aed2..0000000 --- a/Sources/Models/Component/Properties/SpotLightShadowComponentProperties.swift +++ /dev/null @@ -1,3 +0,0 @@ -import Foundation - -public struct SpotLightShadowComponentProperties: ComponentPropertiesRepresentable {} diff --git a/Sources/Models/Component/Properties/SynchronizationComponentProperties.swift b/Sources/Models/Component/Properties/SynchronizationComponentProperties.swift deleted file mode 100644 index 2b8fa05..0000000 --- a/Sources/Models/Component/Properties/SynchronizationComponentProperties.swift +++ /dev/null @@ -1,60 +0,0 @@ -import RealityKit - -public struct SynchronizationComponentProperties: ComponentPropertiesRepresentable { - /// A unique identifier of an entity within a network session. - public let identifier: UInt64 - - /// A Boolean that indicates whether the calling process owns the entity. - public let isOwner: Bool - - /// The entity’s transfer ownership mode. - /// - /// By default, the transfer mode is - /// ``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``. - /// You can set it to - /// ``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual`` to - /// require explicit confirmation of the request by your app. - public let ownershipTransferMode: CodableOwnershipTransferMode -} - -public enum CodableOwnershipTransferMode: Codable { - case autoAccept - case manual - - public init(_ ownershipTransferMode: SynchronizationComponent.OwnershipTransferMode) { - switch ownershipTransferMode { - case .autoAccept: - self = .autoAccept - case .manual: - self = .manual - @unknown default: - fatalError() - } - } - - public init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - let stringValue = try container.decode(String.self) - - switch stringValue { - case "autoAccept": - self = .autoAccept - case "manual": - self = .manual - default: - throw DecodingError.dataCorruptedError( - in: container, debugDescription: "Invalid ownership transfer mode") - } - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - - switch self { - case .autoAccept: - try container.encode("autoAccept") - case .manual: - try container.encode("manual") - } - } -} diff --git a/Sources/Models/Component/Properties/TransformComponentProperties.swift b/Sources/Models/Component/Properties/TransformComponentProperties.swift deleted file mode 100644 index 141b6b2..0000000 --- a/Sources/Models/Component/Properties/TransformComponentProperties.swift +++ /dev/null @@ -1,55 +0,0 @@ -import Foundation -import simd - -public struct TransformComponentProperties: ComponentPropertiesRepresentable, Codable { - /// The scaling factor applied to the entity. - public let scale: SIMD3 - - /// The rotation of the entity specified as a unit quaternion. - public let rotation: CodableQuaternion - /// The position of the entity along the x, y, and z axes. - public let translation: SIMD3 - - /// The transform represented as a 4x4 matrix. - /// - /// The ``Transform`` component can’t represent all transforms that a - /// general 4x4 matrix can represent. Using a 4x4 matrix to set the - /// transform is therefore a lossy event that might result in certain - /// transformations, like shear, being dropped. - public let matrix: CodableFloat4x4 - - private enum CodingKeys: String, CodingKey { - case scale - case rotation - case translation - case matrix - } - - public init( - scale: SIMD3, - rotation: CodableQuaternion, - translation: SIMD3, - matrix: CodableFloat4x4 - ) { - self.scale = scale - self.rotation = rotation - self.translation = translation - self.matrix = matrix - } - - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - scale = try container.decode(SIMD3.self, forKey: .scale) - rotation = try container.decode(CodableQuaternion.self, forKey: .rotation) - translation = try container.decode(SIMD3.self, forKey: .translation) - matrix = try container.decode(CodableFloat4x4.self, forKey: .matrix) - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(scale, forKey: .scale) - try container.encode(rotation, forKey: .rotation) - try container.encode(translation, forKey: .translation) - try container.encode(matrix, forKey: .matrix) - } -} diff --git a/Sources/Models/Entity+Find.swift b/Sources/Models/Entity+Find.swift new file mode 100644 index 0000000..d7a390f --- /dev/null +++ b/Sources/Models/Entity+Find.swift @@ -0,0 +1,28 @@ +import Foundation +import RealityKit + +/// Performs a depth-first search in a tree-like structure represented by `RealityKit.Entity`. +/// +/// - Parameters: +/// - id: The target ID to search for. +/// - Returns: The `RealityKit.Entity` with the matching ID, or `nil` if not found. +/// +/// - Complexity: O(n), where n is the number of nodes in the tree. +/// +/// - Note: This method assumes that each node has a unique ID. + +extension RealityKit.Entity { + public func findEntity(id targetID: UInt64) -> RealityKit.Entity? { + if self.id == targetID { + return self + } + + for child in self.children { + if let foundNode = child.findEntity(id: targetID) { + return foundNode + } + } + + return nil + } +} diff --git a/Sources/Models/IdentifiableEntity.swift b/Sources/Models/IdentifiableEntity.swift deleted file mode 100644 index 37e0bbc..0000000 --- a/Sources/Models/IdentifiableEntity.swift +++ /dev/null @@ -1,315 +0,0 @@ -import CustomDump -import Foundation -import RealityKit - -public struct IdentifiableEntity: Equatable, Identifiable, Hashable, Codable { - public static func == (lhs: IdentifiableEntity, rhs: IdentifiableEntity) -> Bool { - lhs.id == rhs.id - } - - public func hash(into hasher: inout Hasher) { - hasher.combine(self.id) - } - - public var id: UInt64 - public let isAccessibilityElement: Bool - public let accessibilityLabel: String? - public let accessibilityDescription: String? - public var anchorIdentifier: UUID? - public var availableAnimations: [CodableAnimationResource] - public var name: String? - public let entityType: EntityType - public var children: [IdentifiableEntity]? { - hierarhy.children.isEmpty ? nil : hierarhy.children - } - public var state: State - public var hierarhy: Hierarhy - public var components: Components - - public enum EntityType: CaseIterable, Codable { - case anchor - // case bodyTrackedEntity - case directionalLight - case entity - case model - case perspectiveCamera - case pointLight - case spotLight - case triggerVolume - } - - public struct State: Equatable, Hashable, Codable { - public let isEnabled: Bool - public let isEnabledInHierarchy: Bool - public let isActive: Bool - public let isAnchored: Bool - - public init( - isEnabled: Bool, - isEnabledInHierarchy: Bool, - isActive: Bool, - isAnchored: Bool - ) { - self.isEnabled = isEnabled - self.isEnabledInHierarchy = isEnabledInHierarchy - self.isActive = isActive - self.isAnchored = isAnchored - } - } - - public struct Hierarhy: Codable { - - public let hasParent: Bool - public var childrenCount: Int { children.count } - public var children: [IdentifiableEntity] - - public init( - children: [IdentifiableEntity], - hasParent: Bool - ) { - self.children = children - self.hasParent = hasParent - } - } - - public struct Components: Equatable, Hashable, Codable { - public let components: [IdentifiableComponent] - public var count: Int { components.count } - - public init( - components: [IdentifiableComponent] - ) { - self.components = components - } - } - - public init( - _ entity: RealityKit.Entity, - state: IdentifiableEntity.State, - hierarhy: IdentifiableEntity.Hierarhy, - components: IdentifiableEntity.Components - ) { - if let anchor = entity as? AnchorEntity { - self.anchorIdentifier = anchor.anchorIdentifier - } - self.id = entity.id - self.isAccessibilityElement = entity.isAccessibilityElement - self.accessibilityLabel = entity.accessibilityLabel - self.accessibilityDescription = entity.accessibilityDescription - self.availableAnimations = entity.availableAnimations.compactMap(CodableAnimationResource.init) - self.name = entity.name - self.entityType = .init(rawValue: Swift.type(of: entity)) ?? .entity - self.state = state - self.hierarhy = hierarhy - self.components = components - } -} - -extension IdentifiableEntity.EntityType: RawRepresentable { - public var rawValue: Entity.Type { - switch self { - case .anchor: - return AnchorEntity.self - // case .bodyTrackedEntity: - // return AnchorEntity.self - case .directionalLight: - return DirectionalLight.self - case .entity: - return Entity.self - case .model: - return ModelEntity.self - case .perspectiveCamera: - return PerspectiveCamera.self - case .pointLight: - return PointLight.self - case .spotLight: - return SpotLight.self - case .triggerVolume: - return TriggerVolume.self - } - } - - public init?( - rawValue: Entity.Type - ) { - for entityType in Self.allCases { - if entityType.rawValue == rawValue { - self = entityType - return - } else { - self = .entity - return - } - } - //TODO: handle unknown/custom entities - fatalError("Unknown Entity.Type") - } -} - -extension IdentifiableEntity.EntityType: CustomStringConvertible { - public var description: String { - switch self { - case .anchor: - return "AnchorEntity" - // case .bodyTrackedEntity: - // return "BodyTrackedEntity" - case .directionalLight: - return "DirectionalLight" - case .entity: - return "Entity" - case .model: - return "ModelEntity" - case .perspectiveCamera: - return "PerspectiveCamera" - case .pointLight: - return "PointLight" - case .spotLight: - return "SpotLight" - case .triggerVolume: - return "TriggerVolume" - } - } -} - -extension IdentifiableEntity.EntityType { - public var symbol: String { - switch self { - case .anchor: - return "arrow.down.to.line" - // case .bodyTrackedEntity: - // return "figure.walk" - case .directionalLight: - return "sun.max" - case .entity: - return "move.3d" - case .model: - return "cube" - case .perspectiveCamera: - return "camera" - case .pointLight: - return "lightbulb.led" - case .spotLight: - return "lamp.desk" - case .triggerVolume: - return "cube.transparent" - } - } -} - -extension IdentifiableEntity.EntityType { - public var help: String { - switch self { - case .anchor: - return """ - An anchor that tethers entities to a scene. - """ - // case .bodyTrackedEntity: - // return """ - // An entity used to animate a virtual character in an AR scene by tracking a real person. - // """ - case .directionalLight: - return """ - An entity that casts a virtual light in a particular direction. - """ - case .entity: - return """ - An element of a RealityKit scene to which you attach components that provide appearance and behavior characteristics for the entity. - """ - case .model: - return """ - A representation of a physical object that RealityKit renders and optionally simulates. - """ - case .perspectiveCamera: - return """ - A virtual camera that establishes the rendering perspective. - """ - case .pointLight: - return """ - An entity that produces an omnidirectional light for virtual objects. - """ - case .spotLight: - return """ - An entity that illuminates virtual content in a cone-shaped volume. - """ - case .triggerVolume: - return - """ - An invisible 3D shape that detects when objects enter or exit a given region of space. - """ - } - } -} - -extension IdentifiableEntity.State: CustomDumpReflectable { - public var customDumpMirror: Mirror { - .init( - self, - children: [ - "isEnabled": self.isEnabled, - "isEnabledInHierarchy": self.isEnabledInHierarchy, - "isActive": self.isActive, - "isAnchored": self.isAnchored, - ], - displayStyle: .dictionary - ) - } -} - -extension IdentifiableEntity.Hierarhy: CustomDumpReflectable { - public var customDumpMirror: Mirror { - .init( - self, - children: [ - "hasParent": self.hasParent, - "children": self.children, - ], - displayStyle: .dictionary - ) - } -} - -extension IdentifiableEntity.Components: CustomDumpReflectable { - public var customDumpMirror: Mirror { - .init( - self, - children: [ - "_items": self.components - ], - displayStyle: .collection - ) - } -} - -//extension IdentifiableEntity: CustomDumpStringConvertible { -// public var customDumpDescription: String { -// """ -// Anchor( -// id: \(self.id), -// components: \(String(customDumping: self.components)) -// -// ) -// """ -// } -//} - -extension IdentifiableEntity: CustomDumpReflectable { - public var customDumpMirror: Mirror { - .init( - self, - children: [ - "id": self.id, - "isAccessibilityElement": self.isAccessibilityElement, - "accessibilityLabel": self.accessibilityLabel, - "accessibilityDescription": self.accessibilityDescription, - "anchorIdentifier": self.anchorIdentifier, - "availableAnimations": self.availableAnimations, - "name": self.name, - "entityType": self.entityType, - "state": self.state, - "hierarhy": self.hierarhy, - "components": self.components.components, - ], - displayStyle: .struct - ) - } -} diff --git a/Sources/Models/JSONCoding.swift b/Sources/Models/JSONCoding.swift new file mode 100644 index 0000000..7abcb85 --- /dev/null +++ b/Sources/Models/JSONCoding.swift @@ -0,0 +1,22 @@ +import Foundation + +public var defaultEncoder: JSONEncoder = { + let encoder = JSONEncoder() + encoder.nonConformingFloatEncodingStrategy = .convertToString( + positiveInfinity: "INF", + negativeInfinity: "-INF", + nan: "NAN" + ) + encoder.outputFormatting = .prettyPrinted + return encoder +}() + +public var defaultDecoder: JSONDecoder = { + let decoder = JSONDecoder() + decoder.nonConformingFloatDecodingStrategy = .convertFromString( + positiveInfinity: "INF", + negativeInfinity: "-INF", + nan: "NAN" + ) + return decoder +}() diff --git a/Sources/Models/RealityPlatform.swift b/Sources/Models/RealityPlatform.swift new file mode 100644 index 0000000..514bb17 --- /dev/null +++ b/Sources/Models/RealityPlatform.swift @@ -0,0 +1,7 @@ +import Foundation + +public enum RealityPlatform { + public enum iOS {} + public enum macOS {} + public enum visionOS {} +} diff --git a/Sources/Models/RealityViewContent+Root.swift b/Sources/Models/RealityViewContent+Root.swift new file mode 100644 index 0000000..b32a55a --- /dev/null +++ b/Sources/Models/RealityViewContent+Root.swift @@ -0,0 +1,20 @@ +import Foundation +import RealityKit +import SwiftUI + +#if os(visionOS) + extension RealityViewContent { + public var root: Entity? { + guard let firstEntity = self.entities.first else { return nil } + return climbToRoot(from: firstEntity) + } + + private func climbToRoot(from entity: Entity) -> Entity { + if let parent = entity.parent { + return climbToRoot(from: parent) + } else { + return entity + } + } + } +#endif diff --git a/Sources/Models/SessionEvents/EntitySelection.swift b/Sources/Models/SessionEvents/EntitySelection.swift new file mode 100644 index 0000000..e22b3c1 --- /dev/null +++ b/Sources/Models/SessionEvents/EntitySelection.swift @@ -0,0 +1,15 @@ +import Foundation + +public struct EntitySelection: Codable { + public let entityID: UInt64 + + public init( + _ entityID: UInt64 + ) { + self.entityID = entityID + } +} + +public struct Disconnection: Codable { + public init() {} +} diff --git a/Sources/Models/SessionEvents/SessionEvent.swift b/Sources/Models/SessionEvents/SessionEvent.swift new file mode 100644 index 0000000..4eb4291 --- /dev/null +++ b/Sources/Models/SessionEvents/SessionEvent.swift @@ -0,0 +1,53 @@ +import Foundation + +extension RealityPlatform.iOS { + public enum SessionEvent { + case entitySelected(entityID: UInt64) + case debugOptionsUpdated(options: _DebugOptions) + case disconnectionRequested + + public init?(data: Data) { + // Entity selection + if let entitySelection = try? defaultDecoder.decode(EntitySelection.self, from: data) { + self = .entitySelected(entityID: entitySelection.entityID) + // selectedEntityID = entitySelection.entityID + // await sendSelectedEntityMultipeerRawData() + + } + // ARView Debug Options + else if let debugOptions = try? defaultDecoder.decode(_DebugOptions.self, from: data) { + self = .debugOptionsUpdated(options: debugOptions) + } + // Disconnection + else if let _ = try? defaultDecoder.decode(Disconnection.self, from: data) { + self = .disconnectionRequested + } + // Unkown + else { + return nil + } + } + } +} + +extension RealityPlatform.visionOS { + public enum SessionEvent { + case entitySelected(entityID: UInt64) + case disconnectionRequested + + public init?(data: Data) { + // Entity selection + if let entitySelection = try? defaultDecoder.decode(EntitySelection.self, from: data) { + self = .entitySelected(entityID: entitySelection.entityID) + } + // Disconnection + else if let _ = try? defaultDecoder.decode(Disconnection.self, from: data) { + self = .disconnectionRequested + } + // Unkown + else { + return nil + } + } + } +} diff --git a/Sources/Models/_DebugOptions.swift b/Sources/Models/_DebugOptions.swift index a9a14d3..b98399e 100644 --- a/Sources/Models/_DebugOptions.swift +++ b/Sources/Models/_DebugOptions.swift @@ -1,6 +1,6 @@ import Foundation -//Needed because macOS doesn't have all the values available. +// It's necessary because macOS doesn't have all the options available. public struct _DebugOptions: OptionSet, Codable, Equatable { public let rawValue: Int diff --git a/Sources/Models/_Symbol.swift b/Sources/Models/_Symbol.swift new file mode 100644 index 0000000..7202421 --- /dev/null +++ b/Sources/Models/_Symbol.swift @@ -0,0 +1,36 @@ +import Foundation + +public struct _Symbol: Codable, Hashable { + public let name: String + public let properties: [_Property] + public let comment: String? + + public init(name: String, properties: [_Property], comment: String?) { + self.name = name + self.properties = properties + self.comment = comment + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(name) + hasher.combine(properties) + } + + public static func == (lhs: _Symbol, rhs: _Symbol) -> Bool { + lhs.name == rhs.name + } +} + +public struct _Property: Codable, Hashable { + public let name: String + public let type: String? + public let complete: String? + public let comment: String? + + public init(name: String, type: String?, complete: String?, comment: String?) { + self.name = name + self.type = type + self.complete = complete + self.comment = comment + } +} diff --git a/Sources/Models/autogenerated/ComponentType_iOS.swift b/Sources/Models/autogenerated/ComponentType_iOS.swift new file mode 100644 index 0000000..143c1b2 --- /dev/null +++ b/Sources/Models/autogenerated/ComponentType_iOS.swift @@ -0,0 +1,74 @@ +// This file was automatically generated and should not be edited. + +import Foundation +import RealityKit + +//MARK: iOS + +extension RealityPlatform.iOS { + public enum ComponentType: CaseIterable { + case accessibilityComponent + case anchoringComponent + case bodyTrackingComponent + case characterControllerComponent + case characterControllerStateComponent + case collisionComponent + case directionalLightComponent + case modelComponent + case modelDebugOptionsComponent + case perspectiveCameraComponent + case physicsBodyComponent + case physicsMotionComponent + case pointLightComponent + case sceneUnderstandingComponent + case spotLightComponent + case synchronizationComponent + case transform + } +} +#if os(iOS) +extension RealityPlatform.iOS.ComponentType { + public var rawType: RealityKit.Component.Type { + switch self { + case .accessibilityComponent: + if #available(iOS 17.0, *) { + return AccessibilityComponent.self + } else { + fatalError() + } + case .anchoringComponent: + return AnchoringComponent.self + case .bodyTrackingComponent: + return BodyTrackingComponent.self + case .characterControllerComponent: + return CharacterControllerComponent.self + case .characterControllerStateComponent: + return CharacterControllerStateComponent.self + case .collisionComponent: + return CollisionComponent.self + case .directionalLightComponent: + return DirectionalLightComponent.self + case .modelComponent: + return ModelComponent.self + case .modelDebugOptionsComponent: + return ModelDebugOptionsComponent.self + case .perspectiveCameraComponent: + return PerspectiveCameraComponent.self + case .physicsBodyComponent: + return PhysicsBodyComponent.self + case .physicsMotionComponent: + return PhysicsMotionComponent.self + case .pointLightComponent: + return PointLightComponent.self + case .sceneUnderstandingComponent: + return SceneUnderstandingComponent.self + case .spotLightComponent: + return SpotLightComponent.self + case .synchronizationComponent: + return SynchronizationComponent.self + case .transform: + return Transform.self + } + } +} +#endif diff --git a/Sources/Models/autogenerated/ComponentType_macOS.swift b/Sources/Models/autogenerated/ComponentType_macOS.swift new file mode 100644 index 0000000..9e45ffb --- /dev/null +++ b/Sources/Models/autogenerated/ComponentType_macOS.swift @@ -0,0 +1,68 @@ +// This file was automatically generated and should not be edited. + +import Foundation +import RealityKit + +//MARK: macOS + +extension RealityPlatform.macOS { + public enum ComponentType: CaseIterable { + case accessibilityComponent + case anchoringComponent + case characterControllerComponent + case characterControllerStateComponent + case collisionComponent + case directionalLightComponent + case modelComponent + case modelDebugOptionsComponent + case perspectiveCameraComponent + case physicsBodyComponent + case physicsMotionComponent + case pointLightComponent + case spotLightComponent + case synchronizationComponent + case transform + } +} +#if os(macOS) +extension RealityPlatform.macOS.ComponentType { + public var rawType: RealityKit.Component.Type { + switch self { + case .accessibilityComponent: + if #available(macOS 14.0, *) { + return AccessibilityComponent.self + } else { + fatalError() + } + case .anchoringComponent: + return AnchoringComponent.self + case .characterControllerComponent: + return CharacterControllerComponent.self + case .characterControllerStateComponent: + return CharacterControllerStateComponent.self + case .collisionComponent: + return CollisionComponent.self + case .directionalLightComponent: + return DirectionalLightComponent.self + case .modelComponent: + return ModelComponent.self + case .modelDebugOptionsComponent: + return ModelDebugOptionsComponent.self + case .perspectiveCameraComponent: + return PerspectiveCameraComponent.self + case .physicsBodyComponent: + return PhysicsBodyComponent.self + case .physicsMotionComponent: + return PhysicsMotionComponent.self + case .pointLightComponent: + return PointLightComponent.self + case .spotLightComponent: + return SpotLightComponent.self + case .synchronizationComponent: + return SynchronizationComponent.self + case .transform: + return Transform.self + } + } +} +#endif diff --git a/Sources/Models/autogenerated/ComponentType_visionOS.swift b/Sources/Models/autogenerated/ComponentType_visionOS.swift new file mode 100644 index 0000000..402a131 --- /dev/null +++ b/Sources/Models/autogenerated/ComponentType_visionOS.swift @@ -0,0 +1,112 @@ +// This file was automatically generated and should not be edited. + +import Foundation +import RealityKit + +//MARK: visionOS + +extension RealityPlatform.visionOS { + public enum ComponentType: CaseIterable { + case accessibilityComponent + case adaptiveResolutionComponent + case ambientAudioComponent + case anchoringComponent + case audioMixGroupsComponent + case channelAudioComponent + case characterControllerComponent + case characterControllerStateComponent + case collisionComponent + case groundingShadowComponent + case hoverEffectComponent + case imageBasedLightComponent + case imageBasedLightReceiverComponent + case inputTargetComponent + case modelComponent + case modelDebugOptionsComponent + case modelSortGroupComponent + case opacityComponent + case particleEmitterComponent + case perspectiveCameraComponent + case physicsBodyComponent + case physicsMotionComponent + case physicsSimulationComponent + case portalComponent + case sceneUnderstandingComponent + case spatialAudioComponent + case synchronizationComponent + case textComponent + case transform + case videoPlayerComponent + case worldComponent + } +} +#if os(visionOS) +extension RealityPlatform.visionOS.ComponentType { + public var rawType: RealityKit.Component.Type { + switch self { + case .accessibilityComponent: + return AccessibilityComponent.self + case .adaptiveResolutionComponent: + return AdaptiveResolutionComponent.self + case .ambientAudioComponent: + return AmbientAudioComponent.self + case .anchoringComponent: + return AnchoringComponent.self + case .audioMixGroupsComponent: + return AudioMixGroupsComponent.self + case .channelAudioComponent: + return ChannelAudioComponent.self + case .characterControllerComponent: + return CharacterControllerComponent.self + case .characterControllerStateComponent: + return CharacterControllerStateComponent.self + case .collisionComponent: + return CollisionComponent.self + case .groundingShadowComponent: + return GroundingShadowComponent.self + case .hoverEffectComponent: + return HoverEffectComponent.self + case .imageBasedLightComponent: + return ImageBasedLightComponent.self + case .imageBasedLightReceiverComponent: + return ImageBasedLightReceiverComponent.self + case .inputTargetComponent: + return InputTargetComponent.self + case .modelComponent: + return ModelComponent.self + case .modelDebugOptionsComponent: + return ModelDebugOptionsComponent.self + case .modelSortGroupComponent: + return ModelSortGroupComponent.self + case .opacityComponent: + return OpacityComponent.self + case .particleEmitterComponent: + return ParticleEmitterComponent.self + case .perspectiveCameraComponent: + return PerspectiveCameraComponent.self + case .physicsBodyComponent: + return PhysicsBodyComponent.self + case .physicsMotionComponent: + return PhysicsMotionComponent.self + case .physicsSimulationComponent: + return PhysicsSimulationComponent.self + case .portalComponent: + return PortalComponent.self + case .sceneUnderstandingComponent: + return SceneUnderstandingComponent.self + case .spatialAudioComponent: + return SpatialAudioComponent.self + case .synchronizationComponent: + return SynchronizationComponent.self + case .textComponent: + return TextComponent.self + case .transform: + return Transform.self + case .videoPlayerComponent: + return VideoPlayerComponent.self + case .worldComponent: + return WorldComponent.self + } + } +} +#endif \ No newline at end of file diff --git a/Sources/MultipeerClient/Client.swift b/Sources/MultipeerClient/Client.swift index 85ad115..388d2ad 100644 --- a/Sources/MultipeerClient/Client.swift +++ b/Sources/MultipeerClient/Client.swift @@ -1,8 +1,9 @@ import Dependencies +import DependenciesMacros import Foundation import MultipeerConnectivity -/// A client for MultipeerConnectivity that can be used as a dependency in a `@Dependency`. +@DependencyClient public struct MultipeerClient { /// The session type for the Multipeer session. @@ -38,12 +39,6 @@ public struct MultipeerClient { } } - /// The internal closure that sets up the Multipeer session. - public var start: - (String, SessionType, String?, DiscoveryInfo?, MCEncryptionPreference) async -> AsyncStream< - Action - > - /** Sets up the Multipeer session. @@ -58,15 +53,9 @@ public struct MultipeerClient { This function sets up the Multipeer session with the specified parameters. */ - public func start( - serviceName: String, - sessionType: SessionType = .both, - peerName: String? = nil, - discoveryInfo: DiscoveryInfo? = nil, - encryptionPreference: MCEncryptionPreference = .required - ) async -> AsyncStream { - await self.start(serviceName, sessionType, peerName, discoveryInfo, encryptionPreference) - } + public var start: + (_ serviceName: String, _ sessionType: SessionType, _ discoveryInfo: DiscoveryInfo?) + async throws -> AsyncStream /** Returns an `AsyncStream` that emits `Peer` objects when a remote peer sends an invitation to connect. @@ -75,14 +64,14 @@ public struct MultipeerClient { This function starts advertising the local device as a peer and returns an `AsyncStream` that emits `Peer` objects when a remote peer sends an invitation to connect. */ - public var startAdvertisingPeer: () -> Void + public var startAdvertisingPeer: () async -> Void /** Stops advertising the local device as a peer. This function stops advertising the local device as a peer and disconnects from all peers. */ - public var stopAdvertisingPeer: () -> Void + public var stopAdvertisingPeer: () async -> Void /** Returns an `AsyncStream` that emits an array of `Peer` objects when a new peer is found or lost. @@ -91,14 +80,14 @@ public struct MultipeerClient { This function starts browsing for remote peers and returns an `AsyncStream` that emits an array of `Peer` objects when a new peer is found or lost. */ - public var startBrowsingForPeers: () -> Void + public var startBrowsingForPeers: () async -> Void /** Stops browsing for remote peers. This function stops browsing for remote peers and disconnects from all peers. */ - public var stopBrowsingForPeers: () -> Void + public var stopBrowsingForPeers: () async -> Void /** Invites a remote peer to connect. @@ -108,7 +97,7 @@ public struct MultipeerClient { This function invites the specified remote peer to connect to the local device. */ - public var invitePeer: (Peer) -> Void + public var invitePeer: (Peer) async -> Void // FIXME: consider throwing for those not so ideal cases /** @@ -118,7 +107,7 @@ public struct MultipeerClient { This function accepts an invitation from a remote peer to connect to the local device. */ - public var acceptInvitation: () -> Void + public var acceptInvitation: () async -> Void // FIXME: consider throwing for those not so ideal cases /** @@ -128,10 +117,7 @@ public struct MultipeerClient { This function rejects an invitation from a remote peer to connect to the local device. */ - public var rejectInvitation: () -> Void - - /// The internal closure that sends data to a list of peers. - var send: (Data, [Peer], MCSessionSendDataMode) -> Void + public var rejectInvitation: () async -> Void /** Sends data to a list of peers using a specific send mode. @@ -143,13 +129,10 @@ public struct MultipeerClient { Use this method to send data to a list of peers. The `data` parameter contains the data to send, while the `peers` parameter is an array of `Peer` objects representing the destination peers. The `mode` parameter specifies the send mode to use. */ - public func send( - _ data: Data, - toPeers peers: [Peer] = [], - with mode: MCSessionSendDataMode = .reliable - ) { - self.send(data, peers, mode) - } + public var send: (Data) async -> Void + + /// Disconnects the local peer from the session. + public var disconnect: () async -> Void } /// An extension of `DependencyValues` that adds a `multipeerClient` property. diff --git a/Sources/MultipeerClient/Live.swift b/Sources/MultipeerClient/Live.swift index 279211c..1c3e48d 100644 --- a/Sources/MultipeerClient/Live.swift +++ b/Sources/MultipeerClient/Live.swift @@ -4,69 +4,49 @@ import MultipeerConnectivity extension MultipeerClient: DependencyKey { static public var liveValue: Self = .init( - start: { (serviceName, sessionType, peerName, discoveryInfo, encryptionPreference) in + start: { (serviceName, sessionType, discoveryInfo) in let name: String - if let peerName { - name = peerName - } else { - #if os(iOS) || os(tvOS) - name = await UIDevice.current.name - #elseif os(macOS) - name = Host.current().name ?? UUID().uuidString - #endif - } + + #if os(iOS) || os(tvOS) || os(visionOS) + name = await UIDevice.current.name + #elseif os(macOS) + name = Host.current().name ?? UUID().uuidString + #endif return await MultipeerActor.shared.start( serviceName: serviceName, sessionType: sessionType, peerName: name, discoveryInfo: discoveryInfo?.rawValue, - encryptionPreference: encryptionPreference + encryptionPreference: .required ) }, startAdvertisingPeer: { - Task { - await MultipeerActor.shared.startAdvertisingPeer() - } + await MultipeerActor.shared.startAdvertisingPeer() }, stopAdvertisingPeer: { - Task { - await MultipeerActor.shared.stopAdvertisingPeer() - } + await MultipeerActor.shared.stopAdvertisingPeer() }, startBrowsingForPeers: { - Task { - await MultipeerActor.shared.startBrowsingForPeers() - } + await MultipeerActor.shared.startBrowsingForPeers() }, stopBrowsingForPeers: { - Task { - await MultipeerActor.shared.stopBrowsingForPeers() - } + await MultipeerActor.shared.stopBrowsingForPeers() }, invitePeer: { peer in - Task { - await MultipeerActor.shared.invitePeer(peer.rawValue) - } + await MultipeerActor.shared.invitePeer(peer.rawValue) }, acceptInvitation: { - Task { - await MultipeerActor.shared.acceptInvitation() - } + await MultipeerActor.shared.acceptInvitation() }, rejectInvitation: { - Task { - await MultipeerActor.shared.rejectInvitation() - } + await MultipeerActor.shared.rejectInvitation() }, - send: { (data, peers, mode) in - Task { - await MultipeerActor.shared.send( - data, - toPeers: peers.map(\.rawValue), - with: mode - ) - } + send: { data in + await MultipeerActor.shared.send(data) + }, + disconnect: { + await MultipeerActor.shared.disconnect() } ) } @@ -93,7 +73,6 @@ extension MultipeerClient { ) -> AsyncStream { AsyncStream { continuation in let myPeerID = MCPeerID(displayName: peerName) - setupSession() switch sessionType { @@ -108,6 +87,8 @@ extension MultipeerClient { setupServiceAdvertiser() } + //MARK: Session + func setupSession() { session = MCSession( peer: myPeerID, @@ -118,6 +99,8 @@ extension MultipeerClient { sessionDelegate.continuation = continuation } + //MARK: Browser + func setupServiceBrowser() { serviceBrowser = MCNearbyServiceBrowser( peer: myPeerID, @@ -129,6 +112,8 @@ extension MultipeerClient { serviceBrowser?.startBrowsingForPeers() } + //MARK: Advertiser + func setupServiceAdvertiser() { serviceAdvertiser = MCNearbyServiceAdvertiser( peer: myPeerID, @@ -142,61 +127,75 @@ extension MultipeerClient { } } } + } +} - func startBrowsingForPeers() { - serviceBrowser?.startBrowsingForPeers() - } +//MARK: Actions +extension MultipeerClient.MultipeerActor { - func stopBrowsingForPeers() { - serviceBrowser?.stopBrowsingForPeers() - } + //MARK: Browsing - func startAdvertisingPeer() { - serviceAdvertiser?.startAdvertisingPeer() - } + func startBrowsingForPeers() { + serviceBrowser?.startBrowsingForPeers() + } - func stopAdvertisingPeer() { - serviceAdvertiser?.stopAdvertisingPeer() - } + func stopBrowsingForPeers() { + serviceBrowser?.stopBrowsingForPeers() + } - func invitePeer(_ peerID: MCPeerID) { - serviceBrowser? - .invitePeer( - peerID, - to: session, - withContext: nil, - timeout: 120 - ) - } + //MARK: Advertising - func acceptInvitation() { - serviceAdvertiserDelegate?.acceptInvitation(session) - } + func startAdvertisingPeer() { + serviceAdvertiser?.startAdvertisingPeer() + } - func rejectInvitation() { - serviceAdvertiserDelegate?.rejectInvitation(session) - } + func stopAdvertisingPeer() { + serviceAdvertiser?.stopAdvertisingPeer() + } - func send( - _ data: Data, - toPeers peers: [MCPeerID], - with mode: MCSessionSendDataMode - ) { - do { - if peers.isEmpty { - guard let connectedPeers = session?.connectedPeers else { - fatalError( - "There are no connected peers and no specified peers to send to." - ) - } - try session?.send(data, toPeers: connectedPeers, with: mode) - } else { - try session?.send(data, toPeers: peers, with: mode) - } - } catch { - //TODO: handle errors - fatalError("Failed to send data.") + //MARK: Invite + + func invitePeer(_ peerID: MCPeerID) { + serviceBrowser? + .invitePeer( + peerID, + to: session, + withContext: nil, + timeout: 120 + ) + } + + func acceptInvitation() { + serviceAdvertiserDelegate?.acceptInvitation(session) + } + + func rejectInvitation() { + serviceAdvertiserDelegate?.rejectInvitation(session) + } + + //MARK: Connection + + func disconnect() { + session.disconnect() + } + + //MARK: Data transmission + + func send( + _ data: Data, + with mode: MCSessionSendDataMode = .reliable + ) { + do { + guard let connectedPeers = session?.connectedPeers else { + fatalError( + "There are no connected peers and no specified peers to send to." + ) } + try session?.send(data, toPeers: connectedPeers, with: mode) + } catch { + //TODO: handle errors + //fatalError("Failed to send data.") + print("Failed to send data.") } } } diff --git a/Sources/MultipeerClient/Model/DiscoveryInfo.swift b/Sources/MultipeerClient/Model/DiscoveryInfo.swift index 427a3fa..842f4e6 100644 --- a/Sources/MultipeerClient/Model/DiscoveryInfo.swift +++ b/Sources/MultipeerClient/Model/DiscoveryInfo.swift @@ -53,4 +53,17 @@ public struct DiscoveryInfo: Equatable { public var colorHash: String { "\(appName ?? "")\(appVersion ?? "")\(device)\(system ?? "")" } + + public var systemIcon: String? { + guard let system else { return nil } + if system.contains("iOS") { + return "􀟜" + } else if system.contains("macOS") { + return "􁟬" + } else if system.contains("visionOS") { + return "􁎖" + } else { + return "􀃬" + } + } } diff --git a/Sources/MultipeerClient/Preview.swift b/Sources/MultipeerClient/Preview.swift index e9466d7..2d123e6 100644 --- a/Sources/MultipeerClient/Preview.swift +++ b/Sources/MultipeerClient/Preview.swift @@ -2,7 +2,7 @@ import Foundation extension MultipeerClient { static public var previewValue: Self = .init( - start: { (_, _, _, _, _) in + start: { (_, _, _) in AsyncStream { continuation in continuation.finish() } @@ -14,6 +14,7 @@ extension MultipeerClient { invitePeer: { _ in }, acceptInvitation: {}, rejectInvitation: {}, - send: { (_, _, _) in } + send: { _ in }, + disconnect: {} ) } diff --git a/Sources/MultipeerClient/Resources/Mock/basic_visionOS.json b/Sources/MultipeerClient/Resources/Mock/basic_visionOS.json new file mode 100644 index 0000000..8ca52e2 --- /dev/null +++ b/Sources/MultipeerClient/Resources/Mock/basic_visionOS.json @@ -0,0 +1,582 @@ +{ + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "isAccessibilityElement" : false, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "SynchronizationComponent(\n identifier: 8819672326178519251,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)" + } + } + }, + { + "transform" : { + "_0" : { + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)", + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol." + } + } + } + ], + "name" : "Window Context Entity, ", + "isEnabledInHierarchy" : true, + "id" : 625455943878976601, + "isAnchored" : false, + "children" : [ + { + "value" : { + "id" : 2652688449833407553, + "isOwner" : true, + "isActive" : true, + "isAnchored" : false, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "SynchronizationComponent(\n identifier: 415179722941234113,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)" + } + } + }, + { + "transform" : { + "_0" : { + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)", + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol." + } + } + } + ], + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "parentID" : 625455943878976601, + "isAccessibilityElement" : false, + "children" : [ + { + "value" : { + "name" : "CALayerEntity (unnamed)", + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "reflectedDescription" : "SynchronizationComponent(\n identifier: 11177640951691317992,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)", + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol." + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 7.3529413e-06)\n)" + } + } + } + ], + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isAnchored" : false, + "children" : [ + { + "value" : { + "isActive" : true, + "id" : 5877514756608320991, + "parentID" : 7443510986583495516, + "isAnchored" : false, + "isEnabled" : true, + "isAccessibilityElement" : false, + "isEnabledInHierarchy" : true, + "isOwner" : true, + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "name" : "CALayerEntity (unnamed)", + "isEnabled" : true, + "id" : 10459600952766675065, + "isAccessibilityElement" : false, + "isOwner" : true, + "isAnchored" : false, + "isEnabledInHierarchy" : true, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "SynchronizationComponent(\n identifier: 14491615132901862338,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)" + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.048529413, 0.0)\n)" + } + } + } + ], + "isActive" : true, + "parentID" : 5877514756608320991, + "children" : [ + { + "value" : { + "parentID" : 10459600952766675065, + "isEnabledInHierarchy" : true, + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "id" : 3697062762248217325, + "isAccessibilityElement" : false, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "reflectedDescription" : "SynchronizationComponent(\n identifier: 1866226527791022553,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)", + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol." + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)" + } + } + } + ], + "isAnchored" : false, + "isEnabled" : true, + "name" : "", + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "isEnabled" : true, + "isAnchored" : false, + "isEnabledInHierarchy" : true, + "parentID" : 3697062762248217325, + "isActive" : true, + "isOwner" : true, + "id" : 7376662698508402451, + "isAccessibilityElement" : false, + "name" : "__realityCheck", + "children" : [ + + ], + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "reflectedDescription" : "SynchronizationComponent(\n identifier: 8903260569145984848,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)", + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol." + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)" + } + } + } + ] + } + } + ], + "isEnabledInHierarchy" : true, + "isOwner" : true, + "isActive" : true, + "parentID" : 5397997896767545727 + } + } + ], + "isOwner" : true, + "isEnabled" : true, + "id" : 5397997896767545727, + "isAccessibilityElement" : false, + "isActive" : true, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "SynchronizationComponent(\n identifier: 11712099037457400875,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)" + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, -0.0, 0.0)\n)" + } + } + } + ], + "isAnchored" : false, + "name" : "" + }, + "caseKey" : "Entity" + } + ] + } + }, + { + "value" : { + "id" : 5669226836718970455, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "reflectedDescription" : "SynchronizationComponent(\n identifier: 10320312322656499696,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)", + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol." + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.066911764, 0.0)\n)" + } + } + } + ], + "isAnchored" : false, + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "isAnchored" : false, + "isOwner" : true, + "name" : "", + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "SynchronizationComponent(\n identifier: 74212153570668201,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)" + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, -0.0, 0.05)\n)" + } + } + } + ], + "isEnabledInHierarchy" : true, + "isActive" : true, + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "parentID" : 15935698965729555273, + "isActive" : true, + "isAccessibilityElement" : false, + "isAnchored" : false, + "id" : 9006045031688735122, + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "parentID" : 9006045031688735122, + "isAnchored" : false, + "isActive" : true, + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "id" : 13108939239287443542, + "isAccessibilityElement" : false, + "name" : "Root", + "isActive" : true, + "isEnabled" : true, + "isOwner" : true, + "parentID" : 3098856466011869264, + "components" : [ + { + "inputTargetComponent" : { + "_0" : { + "comment" : "A component that gives an entity the ability to receive system input. This component should be added to an entity to inform the system that it should be treated as a target for input handling. It can be customized to require only specific forms of input like direct or indirect interactions. By default the component is configured to handle all forms of input on the system. The hit testing shape that defines the entity's interactive entity is defined by the `CollisionComponent`. To configure an entity for input but avoid any sort of physics-related processing, add an `InputTargetComponent` and `CollisionComponent`, but disable the `CollisionComponent` for collision detection, for example: ``` \/\/ Enable the entity for input. myEntity.components.set(InputTargetComponent()) \/\/ Create a collision component with an empty group and mask. var collision = CollisionComponent(shapes: [.generateSphere(radius: 0.1)]) collision.filter = CollisionFilter(group: [], mask: []) myEntity.components.set(collision) ``` `InputTargetComponent` behaves hierarchically, so if it is added to an entity that has descendants with `CollisionComponent`s, those shapes will be used for input handling. The `isEnabled` flag can be used to override this behavior by adding the `InputTargetComponent` to a descendant and setting `isEnabled` to false. `InputTargetComponent`'s `allowedInputTypes` property allows the entity to only receive the provided types of input. This property also propagates down the hierarchy, but if a descendant also has an `InputTargetComponent` defined, its `allowedInputTypes` property overrides the value provided by the ancestor.", + "reflectedDescription" : "InputTargetComponent(\n isEnabled: true,\n allowedInputTypes: InputTargetComponent.InputType(rawValue: 3)\n)" + } + } + }, + { + "synchronizationComponent" : { + "_0" : { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "SynchronizationComponent(\n identifier: 1760741789007141482,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)" + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)" + } + } + } + ], + "isEnabledInHierarchy" : true, + "isAnchored" : false, + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "isOwner" : true, + "isAccessibilityElement" : false, + "isAnchored" : false, + "id" : 5069672794652497962, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "reflectedDescription" : "SynchronizationComponent(\n identifier: 8622775127451110055,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)", + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol." + } + } + }, + { + "transform" : { + "_0" : { + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)", + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol." + } + } + } + ], + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isActive" : true, + "children" : [ + { + "caseKey" : "Entity", + "value" : { + "isAccessibilityElement" : false, + "isOwner" : true, + "children" : [ + + ], + "id" : 2667003448219909665, + "isAnchored" : false, + "isActive" : true, + "isEnabled" : true, + "name" : "GridMaterial", + "parentID" : 5069672794652497962, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "SynchronizationComponent(\n identifier: 5513465569490383067,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)" + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)" + } + } + } + ], + "isEnabledInHierarchy" : true + } + }, + { + "value" : { + "isOwner" : true, + "parentID" : 5069672794652497962, + "isActive" : true, + "components" : [ + { + "collisionComponent" : { + "_0" : { + "comment" : "A component that gives an entity the ability to collide with other entities that also have collision components. This component holds the entity's data related to participating in the scene's physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts. Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a *trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of entities it collides. If configured with a rigid body ``RealityKit\/PhysicsBodyComponent\/mode`` of ``RealityKit\/PhysicsBodyMode\/dynamic``, it's own velocity and direction can be affected by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but can trigger code or Reality Composer behaviors when a rigid body enity overlaps it. Note the following when considering applying a non-uniform scale to an entity: - Non-uniform scaling is applicable only to box, convex mesh and triangle mesh collision shapes. - Non-uniform scaling is not supported for all other types of collision shapes. In this case the scale.x value is duplicated to the scale's y and z components as well to force scale uniformity based on the x component. - If the entity has a non-uniform scale assigned to its transform then that entity should not have any descendants assigned that contain rotations in their transforms. A good rule of thumb is to assign the non-uniform scale to the entity that has the collision shape, and avoid adding children below that entity. Turn an entity into a trigger by adding a ``RealityKit\/CollisionComponent`` to it and setting its ``RealityKit\/CollisionComponent\/mode-swift.property`` to ``RealityKit\/CollisionComponent\/Mode-swift.enum\/trigger``. Turn an entity into a _rigd body_ by adding a ``RealityKit\/PhysicsBodyComponent`` to the entity in addition to a ``RealityKit\/CollisionComponent``. The ``PhysicsBodyComponent`` defines the physical properties of the entity, such as its mass and collision shape. The `filter` property defines the entity's collision filter, which determines which other objects the entity collides with. For more information, see . - Note: If an entity has a ``RealityKit\/PhysicsBodyComponent``, the collision component's mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time.", + "reflectedDescription" : "CollisionComponent(\n shapes: [\n [0]: ShapeResource(\n coreAssetInternal: OpaquePointer(_rawValue: (Opaque Value)),\n pose: REPoseF(\n position: SIMD3(0.0, 0.0, 0.0),\n orientation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n )\n )\n )\n ],\n mode: .default,\n interactionType: CollisionComponent.InteractionType(rawValue: 0),\n filter: CollisionFilter(\n group: CollisionGroup(rawValue: 1),\n mask: CollisionGroup(rawValue: 4294967295)\n )\n)" + } + } + }, + { + "inputTargetComponent" : { + "_0" : { + "comment" : "A component that gives an entity the ability to receive system input. This component should be added to an entity to inform the system that it should be treated as a target for input handling. It can be customized to require only specific forms of input like direct or indirect interactions. By default the component is configured to handle all forms of input on the system. The hit testing shape that defines the entity's interactive entity is defined by the `CollisionComponent`. To configure an entity for input but avoid any sort of physics-related processing, add an `InputTargetComponent` and `CollisionComponent`, but disable the `CollisionComponent` for collision detection, for example: ``` \/\/ Enable the entity for input. myEntity.components.set(InputTargetComponent()) \/\/ Create a collision component with an empty group and mask. var collision = CollisionComponent(shapes: [.generateSphere(radius: 0.1)]) collision.filter = CollisionFilter(group: [], mask: []) myEntity.components.set(collision) ``` `InputTargetComponent` behaves hierarchically, so if it is added to an entity that has descendants with `CollisionComponent`s, those shapes will be used for input handling. The `isEnabled` flag can be used to override this behavior by adding the `InputTargetComponent` to a descendant and setting `isEnabled` to false. `InputTargetComponent`'s `allowedInputTypes` property allows the entity to only receive the provided types of input. This property also propagates down the hierarchy, but if a descendant also has an `InputTargetComponent` defined, its `allowedInputTypes` property overrides the value provided by the ancestor.", + "reflectedDescription" : "InputTargetComponent(\n isEnabled: true,\n allowedInputTypes: InputTargetComponent.InputType(rawValue: 3)\n)" + } + } + }, + { + "modelComponent" : { + "_0" : { + "comment" : "A collection of resources that create the visual appearance of an entity.", + "reflectedDescription" : "ModelComponent(\n mesh: MeshResource(\n coreAssetInternal: OpaquePointer(_rawValue: (Opaque Value))\n ),\n materials: [\n [0]: ShaderGraphMaterial(\n __resource: __MaterialResource(\n coreAsset: OpaquePointer(_rawValue: (Opaque Value))\n ),\n __parameterBlock: __RKMaterialParameterBlock(\n transparentPassTechniqueMapping: [],\n transparentPassesProvidedOnInit: false,\n savedTransparentPassesFromCore: nil,\n coreParameterBlockValue: ArcObject()\n ),\n keys: [],\n coreFaceCulling: .MTLCullMode,\n __triangleFillMode: .MTLTriangleFillMode\n )\n ],\n _boundsMargin: 0.0\n)" + } + } + }, + { + "synchronizationComponent" : { + "_0" : { + "reflectedDescription" : "SynchronizationComponent(\n identifier: 16908694098822586679,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)", + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol." + } + } + }, + { + "transform" : { + "_0" : { + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0004)\n)", + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol." + } + } + } + ], + "id" : 15124937313423253830, + "isAnchored" : false, + "name" : "Sphere", + "isAccessibilityElement" : false, + "children" : [ + + ], + "isEnabled" : true, + "isEnabledInHierarchy" : true + }, + "caseKey" : "ModelEntity" + } + ], + "name" : "Root", + "parentID" : 13108939239287443542 + } + } + ] + } + } + ], + "id" : 3098856466011869264, + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "reflectedDescription" : "SynchronizationComponent(\n identifier: 5102877117472087794,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)", + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol." + } + } + }, + { + "transform" : { + "_0" : { + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, -0.00039999932)\n)", + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol." + } + } + } + ], + "isEnabledInHierarchy" : true, + "isAccessibilityElement" : false, + "isOwner" : true, + "isEnabled" : true, + "name" : "" + } + } + ], + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "reflectedDescription" : "SynchronizationComponent(\n identifier: 13894236409226169950,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)", + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol." + } + } + }, + { + "transform" : { + "_0" : { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)" + } + } + } + ], + "isEnabledInHierarchy" : true, + "isOwner" : true, + "isEnabled" : true, + "name" : "" + } + } + ], + "parentID" : 5669226836718970455, + "id" : 15935698965729555273, + "isEnabled" : true, + "isAccessibilityElement" : false + } + } + ], + "isOwner" : true, + "isEnabledInHierarchy" : true, + "isAccessibilityElement" : false, + "parentID" : 5877514756608320991, + "isEnabled" : true, + "name" : "CALayerEntity (unnamed)", + "isActive" : true + }, + "caseKey" : "Entity" + } + ], + "components" : [ + { + "synchronizationComponent" : { + "_0" : { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "reflectedDescription" : "SynchronizationComponent(\n identifier: 2851223121494287511,\n isOwner: true,\n ownershipTransferMode: .autoAccept,\n ownershipCompletion: nil\n)" + } + } + }, + { + "transform" : { + "_0" : { + "reflectedDescription" : "Transform(\n scale: SIMD3(1.0, 1.0, 1.0),\n rotation: simd_quatf(\n vector: SIMD4(0.0, 0.0, 0.0, 1.0)\n ),\n translation: SIMD3(0.0, 0.0, 0.0)\n)", + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol." + } + } + } + ], + "name" : "CALayerEntity (unnamed)" + }, + "caseKey" : "Entity" + } + ], + "isOwner" : true, + "isActive" : true, + "parentID" : 2652688449833407553, + "id" : 7443510986583495516, + "isAccessibilityElement" : false + }, + "caseKey" : "Entity" + } + ], + "name" : "" + }, + "caseKey" : "Entity" + } + ], + "isEnabled" : true, + "isActive" : true, + "isOwner" : true + } + } + ] +} diff --git a/Sources/MultipeerClient/Resources/Mock/not_so_simple_arview.json b/Sources/MultipeerClient/Resources/Mock/not_so_simple_arview.json index e95497f..94fa2b2 100644 --- a/Sources/MultipeerClient/Resources/Mock/not_so_simple_arview.json +++ b/Sources/MultipeerClient/Resources/Mock/not_so_simple_arview.json @@ -2,42 +2,304 @@ "scene" : { "anchors" : [ { + "components" : { + "components" : [ + { + "properties" : { + "anchoring" : { + "_0" : { + "target" : { + "plane" : { + "classifications" : [ + 18446744073709551615 + ], + "_0" : [ + 1 + ], + "minimumBounds" : [ + 0, + 0 + ] + } + } + } + } + }, + "componentType" : { + "anchoring" : { + + } + } + }, + { + "properties" : { + "synchronization" : { + "_0" : { + "isOwner" : true, + "ownershipTransferMode" : "autoAccept", + "identifier" : 8804710806275880779 + } + } + }, + "componentType" : { + "synchronization" : { + + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0, + 0, + 0, + 1 + ] + ], + "scale" : [ + 1, + 1, + 1 + ], + "translation" : [ + 0, + 0, + 0 + ] + } + } + } + } + ] + }, "name" : "", - "id" : 6102830334754037284, "isAccessibilityElement" : false, + "state" : { + "isAnchored" : false, + "isActive" : false, + "isEnabledInHierarchy" : true, + "isEnabled" : true + }, + "entityType" : { + "entity" : { + + } + }, + "availableAnimations" : [ + + ], "hierarhy" : { "children" : [ { - "name" : "", - "id" : 7073299286984424488, + "id" : 651673476834153011, "isAccessibilityElement" : false, + "state" : { + "isEnabled" : true, + "isAnchored" : false, + "isEnabledInHierarchy" : true, + "isActive" : false + }, + "name" : "", + "availableAnimations" : [ + + ], + "entityType" : { + "anchor" : { + + } + }, + "components" : { + "components" : [ + { + "properties" : { + "anchoring" : { + "_0" : { + "target" : { + "plane" : { + "minimumBounds" : [ + 0, + 0 + ], + "_0" : [ + 1 + ], + "classifications" : [ + 18446744073709551615 + ] + } + } + } + } + }, + "componentType" : { + "anchoring" : { + + } + } + }, + { + "componentType" : { + "synchronization" : { + + } + }, + "properties" : { + "synchronization" : { + "_0" : { + "isOwner" : true, + "ownershipTransferMode" : "autoAccept", + "identifier" : 7499355142807531241 + } + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0, + 0, + 0, + 1 + ] + ], + "translation" : [ + 0, + 0, + 0 + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "scale" : [ + 1, + 1, + 1 + ] + } + } + } + } + ] + }, "hierarhy" : { + "parentID" : 12039990845665541814, "children" : [ { - "name" : "", - "id" : 14572550037717354582, + "state" : { + "isActive" : false, + "isAnchored" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true + }, "isAccessibilityElement" : false, + "availableAnimations" : [ + + ], + "id" : 15302631343601957711, "hierarhy" : { "children" : [ { - "name" : "Steel Box", - "id" : 4176345584920859981, + "entityType" : { + "entity" : { + + } + }, "isAccessibilityElement" : false, + "availableAnimations" : [ + + ], + "state" : { + "isAnchored" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isActive" : false + }, + "name" : "Steel Box", "hierarhy" : { + "parentID" : 15302631343601957711, "children" : [ { - "name" : "simpBld_root", - "id" : 7194474703674396084, - "isAccessibilityElement" : false, + "id" : 12405626522203503055, + "entityType" : { + "entity" : { + + } + }, "hierarhy" : { + "parentID" : 18133920105240902742, "children" : [ - ], - "hasParent" : true + ] }, "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { @@ -46,38 +308,33 @@ } ], + "boundsMargin" : 0, "mesh" : { "expectedMaterialCount" : 1, "bounds" : { "min" : [ - -0.05000000074505806, - -0.05000000074505806, - -0.05000000074505806 + -0.05, + -0.05, + -0.05 ], "max" : [ - 0.05000000074505806, - 0.05000000074505806, - 0.05000000074505806 + 0.05, + 0.05, + 0.05 ] } - }, - "boundsMargin" : 0 + } } } - }, - "componentType" : { - "model" : { - - } } }, { "properties" : { "synchronization" : { "_0" : { + "identifier" : 1040248403246073352, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 11428503663065308588 + "ownershipTransferMode" : "autoAccept" } } }, @@ -88,20 +345,14 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -128,59 +379,67 @@ 1 ] ], + "translation" : [ + 0, + 0, + 0 + ], "scale" : [ 1, 1, 1 + ], + "rotation" : [ + 0, + 0, + 0, + 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], + "isAccessibilityElement" : false, "state" : { + "isAnchored" : false, "isActive" : false, "isEnabledInHierarchy" : true, - "isAnchored" : false, "isEnabled" : true - } + }, + "availableAnimations" : [ + + ], + "name" : "simpBld_root" } - ], - "hasParent" : true + ] }, + "id" : 18133920105240902742, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, + "identifier" : 1208626014608241259, "ownershipTransferMode" : "autoAccept", - "identifier" : 2638832547936298595 + "isOwner" : true } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { @@ -190,11 +449,6 @@ 0, 1 ], - "translation" : [ - 0, - 0.05000000074505806, - 0 - ], "matrix" : [ [ 1, @@ -216,7 +470,7 @@ ], [ 0, - 0.05000000074505806, + 0.05, 0, 1 ] @@ -225,69 +479,59 @@ 1, 1, 1 + ], + "translation" : [ + 0, + 0.05, + 0 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } } ], - "hasParent" : true + "parentID" : 651673476834153011 + }, + "entityType" : { + "entity" : { + + } }, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 11065276484325783532 + "identifier" : 15064199269789291320, + "isOwner" : true } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, + "scale" : [ + 1, + 1, 1 ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -300,7 +544,6 @@ 1, 0, 0 - ], [ 0, @@ -315,50 +558,43 @@ 1 ] ], - "scale" : [ - 1, - 1, + "translation" : [ + 0, + 0, + 0 + ], + "rotation" : [ + 0, + 0, + 0, 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } + "name" : "" + }, + { + "state" : { + "isEnabledInHierarchy" : true, + "isActive" : false, + "isEnabled" : true, + "isAnchored" : false }, "availableAnimations" : [ ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - }, - { - "name" : "Ground Plane", - "id" : 5087790995183636815, - "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ - - ], - "hasParent" : true - }, "components" : { "components" : [ { + "componentType" : { + "collision" : { + + } + }, "properties" : { "collision" : { "_0" : { @@ -367,59 +603,54 @@ } ], - "mode" : "default", "filter" : { "group" : 1, "mask" : 1 - } + }, + "mode" : "default" } } - }, - "componentType" : { - "collision" : { - - } } }, { + "componentType" : { + "physicsBody" : { + + } + }, "properties" : { "physicsBody" : { "_0" : { - "isTranslationLocked" : { - "x" : false, - "y" : false, - "z" : false - }, "isContinuousCollisionDetectionEnabled" : false, + "mode" : "static", "isRotationLocked" : { "x" : false, - "y" : false, - "z" : false + "z" : false, + "y" : false }, - "mode" : "static" + "isTranslationLocked" : { + "z" : false, + "x" : false, + "y" : false + } } } - }, - "componentType" : { - "physicsBody" : { - - } } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, + "identifier" : 16000888938473210839, "ownershipTransferMode" : "autoAccept", - "identifier" : 15155331625253781787 + "isOwner" : true } } - }, - "componentType" : { - "synchronization" : { - - } } }, { @@ -432,11 +663,6 @@ 0, 1 ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -463,6 +689,11 @@ 1 ] ], + "translation" : [ + 0, + 0, + 0 + ], "scale" : [ 1, 1, @@ -479,52 +710,1043 @@ } ] }, + "id" : 17269835022948775294, "entityType" : { "entity" : { } }, - "availableAnimations" : [ + "isAccessibilityElement" : false, + "hierarhy" : { + "children" : [ - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } + ], + "parentID" : 651673476834153011 + }, + "name" : "Ground Plane" } - ], - "hasParent" : true + ] + } + }, + { + "hierarhy" : { + "parentID" : 12039990845665541814, + "children" : [ + + ] + }, + "name" : "Le Box", + "isAccessibilityElement" : false, + "id" : 4103498616501043870, + "state" : { + "isEnabledInHierarchy" : true, + "isActive" : false, + "isAnchored" : false, + "isEnabled" : true + }, + "availableAnimations" : [ + + ], + "entityType" : { + "entity" : { + + } }, "components" : { "components" : [ { - "properties" : { - "anchoring" : { + "componentType" : { + "model" : { + + } + }, + "properties" : { + "model" : { "_0" : { - "target" : { - "plane" : [ + "boundsMargin" : 0, + "mesh" : { + "bounds" : { + "max" : [ + 1.012114, + 0.5, + 0.5107093 + ], + "min" : [ + -1.012114, + -0.5, + -0.5107093 + ] + }, + "expectedMaterialCount" : 1 + }, + "materials" : [ + { + + } + ] + } + } + } + }, + { + "properties" : { + "modelDebugOptions" : { + "_0" : { + "visualizationMode" : "DerivedNormal" + } + } + }, + "componentType" : { + "modelDebugOptions" : { + + } + } + }, + { + "properties" : { + "synchronization" : { + "_0" : { + "isOwner" : true, + "identifier" : 7595607321188015836, + "ownershipTransferMode" : "autoAccept" + } + } + }, + "componentType" : { + "synchronization" : { + + } + } + }, + { + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0.5331265, + 0, + 0.8460356 + ], + "scale" : [ + 0.99999994, + 0.99999994, + 0.99999994 + ], + "matrix" : [ + [ + 0.43155238, + 0, + -0.90208787, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0.90208787, + 0, + 0.4315524, + 0 + ], + [ + 0.0066464543, + 0.5, + -4.5539722, + 1 + ] + ], + "translation" : [ + 0.0066464543, + 0.5, + -4.5539722 + ] + } + } + }, + "componentType" : { + "transform" : { + + } + } + } + ] + } + } + ] + }, + "id" : 12039990845665541814 + }, + { + "isAccessibilityElement" : false, + "availableAnimations" : [ + + ], + "anchorIdentifier" : "8ED49F84-E830-491F-A16A-A9D1649FAC35", + "name" : "Le Anchor", + "id" : 14858563986960262752, + "hierarhy" : { + "children" : [ + { + "availableAnimations" : [ + + ], + "components" : { + "components" : [ + { + "componentType" : { + "model" : { + + } + }, + "properties" : { + "model" : { + "_0" : { + "mesh" : { + "bounds" : { + "min" : [ + -0.06435564, + -0.06435564, + -0.06435564 + ], + "max" : [ + 0.06435564, + 0.06435564, + 0.06435564 + ] + }, + "expectedMaterialCount" : 1 + }, + "materials" : [ + { + + } + ], + "boundsMargin" : 0 + } + } + } + }, + { + "componentType" : { + "synchronization" : { + + } + }, + "properties" : { + "synchronization" : { + "_0" : { + "identifier" : 2780289721360782784, + "ownershipTransferMode" : "autoAccept", + "isOwner" : true + } + } + } + }, + { + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "translation" : [ + -0.10744989, + 0.11504829, + 0.60147583 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, 0 + ], + [ + -0.10744989, + 0.11504829, + 0.60147583, + 1 ] + ], + "scale" : [ + 1, + 1, + 1 + ] + } + } + }, + "componentType" : { + "transform" : { + + } + } + } + ] + }, + "state" : { + "isActive" : true, + "isEnabledInHierarchy" : true, + "isEnabled" : true, + "isAnchored" : true + }, + "id" : 2412354501491433252, + "name" : "", + "entityType" : { + "entity" : { + + } + }, + "hierarhy" : { + "children" : [ + + ], + "parentID" : 14858563986960262752 + }, + "isAccessibilityElement" : false + }, + { + "entityType" : { + "entity" : { + + } + }, + "components" : { + "components" : [ + { + "componentType" : { + "model" : { + + } + }, + "properties" : { + "model" : { + "_0" : { + "materials" : [ + { + + } + ], + "boundsMargin" : 0, + "mesh" : { + "expectedMaterialCount" : 1, + "bounds" : { + "max" : [ + 0.0506111, + 0.0506111, + 0.0506111 + ], + "min" : [ + -0.0506111, + -0.0506111, + -0.0506111 + ] + } } } } - }, - "componentType" : { - "anchoring" : { - - } } }, { "properties" : { "synchronization" : { "_0" : { + "identifier" : 7530465550901577790, + "isOwner" : true, + "ownershipTransferMode" : "autoAccept" + } + } + }, + "componentType" : { + "synchronization" : { + + } + } + }, + { + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "scale" : [ + 1, + 1, + 1 + ], + "translation" : [ + -0.46181834, + 0.7725004, + -0.792833 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + -0.46181834, + 0.7725004, + -0.792833, + 1 + ] + ] + } + } + }, + "componentType" : { + "transform" : { + + } + } + } + ] + }, + "id" : 13160741885674332701, + "hierarhy" : { + "children" : [ + + ], + "parentID" : 14858563986960262752 + }, + "name" : "", + "isAccessibilityElement" : false, + "state" : { + "isEnabled" : true, + "isActive" : true, + "isAnchored" : true, + "isEnabledInHierarchy" : true + }, + "availableAnimations" : [ + + ] + }, + { + "hierarhy" : { + "parentID" : 14858563986960262752, + "children" : [ + + ] + }, + "entityType" : { + "entity" : { + + } + }, + "id" : 8256126316089268502, + "isAccessibilityElement" : false, + "components" : { + "components" : [ + { + "properties" : { + "model" : { + "_0" : { + "mesh" : { + "expectedMaterialCount" : 1, + "bounds" : { + "max" : [ + 0.0621462, + 0.0621462, + 0.0621462 + ], + "min" : [ + -0.0621462, + -0.0621462, + -0.0621462 + ] + } + }, + "boundsMargin" : 0, + "materials" : [ + { + + } + ] + } + } + }, + "componentType" : { + "model" : { + + } + } + }, + { + "properties" : { + "synchronization" : { + "_0" : { + "isOwner" : true, + "identifier" : 8800700955716479800, + "ownershipTransferMode" : "autoAccept" + } + } + }, + "componentType" : { + "synchronization" : { + + } + } + }, + { + "properties" : { + "transform" : { + "_0" : { + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + -0.80048203, + 0.5589207, + 0.90110385, + 1 + ] + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "scale" : [ + 1, + 1, + 1 + ], + "translation" : [ + -0.80048203, + 0.5589207, + 0.90110385 + ] + } + } + }, + "componentType" : { + "transform" : { + + } + } + } + ] + }, + "state" : { + "isAnchored" : true, + "isActive" : true, + "isEnabled" : true, + "isEnabledInHierarchy" : true + }, + "availableAnimations" : [ + + ], + "name" : "" + }, + { + "name" : "", + "components" : { + "components" : [ + { + "properties" : { + "model" : { + "_0" : { + "mesh" : { + "bounds" : { + "min" : [ + -0.06187874, + -0.06187874, + -0.06187874 + ], + "max" : [ + 0.06187874, + 0.06187874, + 0.06187874 + ] + }, + "expectedMaterialCount" : 1 + }, + "materials" : [ + { + + } + ], + "boundsMargin" : 0 + } + } + }, + "componentType" : { + "model" : { + + } + } + }, + { + "componentType" : { + "synchronization" : { + + } + }, + "properties" : { + "synchronization" : { + "_0" : { + "isOwner" : true, + "ownershipTransferMode" : "autoAccept", + "identifier" : 16107654173314287590 + } + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "scale" : [ + 1, + 1, + 1 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0.08737457, + 0.1767258, + -0.016834378, + 1 + ] + ], + "translation" : [ + 0.08737457, + 0.1767258, + -0.016834378 + ] + } + } + } + } + ] + }, + "isAccessibilityElement" : false, + "state" : { + "isActive" : true, + "isAnchored" : true, + "isEnabled" : true, + "isEnabledInHierarchy" : true + }, + "availableAnimations" : [ + + ], + "entityType" : { + "entity" : { + + } + }, + "id" : 17538366419468802031, + "hierarhy" : { + "children" : [ + + ], + "parentID" : 14858563986960262752 + } + }, + { + "isAccessibilityElement" : false, + "availableAnimations" : [ + + ], + "id" : 14204025177297098107, + "hierarhy" : { + "parentID" : 14858563986960262752, + "children" : [ + + ] + }, + "components" : { + "components" : [ + { + "componentType" : { + "model" : { + + } + }, + "properties" : { + "model" : { + "_0" : { + "mesh" : { + "bounds" : { + "max" : [ + 0.04794494, + 0.04794494, + 0.04794494 + ], + "min" : [ + -0.04794494, + -0.04794494, + -0.04794494 + ] + }, + "expectedMaterialCount" : 1 + }, + "boundsMargin" : 0, + "materials" : [ + { + + } + ] + } + } + } + }, + { + "componentType" : { + "synchronization" : { + + } + }, + "properties" : { + "synchronization" : { + "_0" : { + "identifier" : 7264725841809340913, + "isOwner" : true, + "ownershipTransferMode" : "autoAccept" + } + } + } + }, + { + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0.105076194, + 0.86111957, + 0.9259379, + 1 + ] + ], + "scale" : [ + 1, + 1, + 1 + ], + "translation" : [ + 0.105076194, + 0.86111957, + 0.9259379 + ] + } + } + }, + "componentType" : { + "transform" : { + + } + } + } + ] + }, + "name" : "", + "entityType" : { + "entity" : { + + } + }, + "state" : { + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isAnchored" : true, + "isActive" : true + } + }, + { + "hierarhy" : { + "parentID" : 14858563986960262752, + "children" : [ + + ] + }, + "entityType" : { + "entity" : { + + } + }, + "isAccessibilityElement" : false, + "name" : "", + "availableAnimations" : [ + + ], + "state" : { + "isAnchored" : true, + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isActive" : true + }, + "components" : { + "components" : [ + { + "componentType" : { + "model" : { + + } + }, + "properties" : { + "model" : { + "_0" : { + "mesh" : { + "bounds" : { + "min" : [ + -0.05664925, + -0.05664925, + -0.05664925 + ], + "max" : [ + 0.05664925, + 0.05664925, + 0.05664925 + ] + }, + "expectedMaterialCount" : 1 + }, + "materials" : [ + { + + } + ], + "boundsMargin" : 0 + } + } + } + }, + { + "componentType" : { + "synchronization" : { + + } + }, + "properties" : { + "synchronization" : { + "_0" : { + "isOwner" : true, + "identifier" : 6907467823057996719, + "ownershipTransferMode" : "autoAccept" + } + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "scale" : [ + 1, + 1, + 1 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0.08666754, + 0.44318128, + 0.2775737, + 1 + ] + ], + "translation" : [ + 0.08666754, + 0.44318128, + 0.2775737 + ] + } + } + } + } + ] + }, + "id" : 8028177140811111093 + }, + { + "availableAnimations" : [ + + ], + "state" : { + "isEnabledInHierarchy" : true, + "isActive" : true, + "isEnabled" : true, + "isAnchored" : true + }, + "components" : { + "components" : [ + { + "componentType" : { + "model" : { + + } + }, + "properties" : { + "model" : { + "_0" : { + "materials" : [ + { + + } + ], + "mesh" : { + "bounds" : { + "max" : [ + 0.09726049, + 0.09726049, + 0.09726049 + ], + "min" : [ + -0.09726049, + -0.09726049, + -0.09726049 + ] + }, + "expectedMaterialCount" : 1 + }, + "boundsMargin" : 0 + } + } + } + }, + { + "properties" : { + "synchronization" : { + "_0" : { + "identifier" : 18203743619633878141, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 6300477955791830780 + "ownershipTransferMode" : "autoAccept" } } }, @@ -538,17 +1760,22 @@ "properties" : { "transform" : { "_0" : { + "translation" : [ + 0.9215001, + 0.032578886, + -0.24276376 + ], + "scale" : [ + 1, + 1, + 1 + ], "rotation" : [ 0, 0, 0, 1 ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -569,16 +1796,11 @@ 0 ], [ - 0, - 0, - 0, + 0.9215001, + 0.032578886, + -0.24276376, 1 ] - ], - "scale" : [ - 1, - 1, - 1 ] } } @@ -591,30 +1813,296 @@ } ] }, + "name" : "", + "isAccessibilityElement" : false, "entityType" : { - "anchor" : { + "entity" : { + + } + }, + "id" : 16506815809766514615, + "hierarhy" : { + "parentID" : 14858563986960262752, + "children" : [ + + ] + } + }, + { + "id" : 6013102347319719841, + "entityType" : { + "entity" : { } }, + "name" : "", + "state" : { + "isActive" : true, + "isAnchored" : true, + "isEnabled" : true, + "isEnabledInHierarchy" : true + }, + "availableAnimations" : [ + + ], + "isAccessibilityElement" : false, + "hierarhy" : { + "parentID" : 14858563986960262752, + "children" : [ + + ] + }, + "components" : { + "components" : [ + { + "componentType" : { + "model" : { + + } + }, + "properties" : { + "model" : { + "_0" : { + "mesh" : { + "bounds" : { + "min" : [ + -0.074658826, + -0.074658826, + -0.074658826 + ], + "max" : [ + 0.074658826, + 0.074658826, + 0.074658826 + ] + }, + "expectedMaterialCount" : 1 + }, + "materials" : [ + { + + } + ], + "boundsMargin" : 0 + } + } + } + }, + { + "componentType" : { + "synchronization" : { + + } + }, + "properties" : { + "synchronization" : { + "_0" : { + "ownershipTransferMode" : "autoAccept", + "isOwner" : true, + "identifier" : 3435488670034746087 + } + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "translation" : [ + -0.7260494, + 0.26228762, + -0.2526797 + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "scale" : [ + 1, + 1, + 1 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + -0.7260494, + 0.26228762, + -0.2526797, + 1 + ] + ] + } + } + } + } + ] + } + }, + { + "isAccessibilityElement" : false, + "name" : "", "availableAnimations" : [ ], "state" : { - "isActive" : false, + "isEnabled" : true, "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } + "isAnchored" : true, + "isActive" : true + }, + "hierarhy" : { + "children" : [ + + ], + "parentID" : 14858563986960262752 + }, + "components" : { + "components" : [ + { + "componentType" : { + "model" : { + + } + }, + "properties" : { + "model" : { + "_0" : { + "boundsMargin" : 0, + "mesh" : { + "expectedMaterialCount" : 1, + "bounds" : { + "min" : [ + -0.08314078, + -0.08314078, + -0.08314078 + ], + "max" : [ + 0.08314078, + 0.08314078, + 0.08314078 + ] + } + }, + "materials" : [ + { + + } + ] + } + } + } + }, + { + "componentType" : { + "synchronization" : { + + } + }, + "properties" : { + "synchronization" : { + "_0" : { + "identifier" : 2313600920184178338, + "ownershipTransferMode" : "autoAccept", + "isOwner" : true + } + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "translation" : [ + -0.86410046, + 0.29503608, + -0.86886096 + ], + "scale" : [ + 1, + 1, + 1 + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + -0.86410046, + 0.29503608, + -0.86886096, + 1 + ] + ] + } + } + } + } + ] + }, + "entityType" : { + "entity" : { + + } + }, + "id" : 10997791758721849919 }, { - "name" : "Le Box", - "id" : 16532086729429668694, - "isAccessibilityElement" : false, + "id" : 2267383681041927561, "hierarhy" : { + "parentID" : 14858563986960262752, "children" : [ - ], - "hasParent" : true + ] }, "components" : { "components" : [ @@ -627,22 +2115,22 @@ } ], + "boundsMargin" : 0, "mesh" : { "expectedMaterialCount" : 1, "bounds" : { "min" : [ - -0.88825875520706177, - -0.5, - -0.3694419264793396 + -0.04297827, + -0.04297827, + -0.04297827 ], "max" : [ - 0.88825875520706177, - 0.5, - 0.3694419264793396 + 0.04297827, + 0.04297827, + 0.04297827 ] } - }, - "boundsMargin" : 0 + } } } }, @@ -652,27 +2140,13 @@ } } }, - { - "properties" : { - "modelDebugOptions" : { - "_0" : { - "visualizationMode" : "DerivedNormal" - } - } - }, - "componentType" : { - "modelDebugOptions" : { - - } - } - }, { "properties" : { "synchronization" : { "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 10896632844503232826 + "identifier" : 12939072837768264525 } } }, @@ -686,47 +2160,47 @@ "properties" : { "transform" : { "_0" : { + "translation" : [ + -0.96248937, + 0.39725435, + -0.6239518 + ], + "scale" : [ + 1, + 1, + 1 + ], "rotation" : [ 0, - -0.6255650520324707, 0, - 0.78017204999923706 - ], - "translation" : [ - 0.13221091032028198, - 0.5, - -4.3180141448974609 + 0, + 1 ], "matrix" : [ [ - 0.21733668446540833, + 1, + 0, 0, - 0.97609663009643555, 0 ], [ - -0, + 0, 1, 0, 0 ], [ - -0.97609663009643555, - -0, - 0.21733668446540833, + 0, + 0, + 1, 0 ], [ - 0.13221091032028198, - 0.5, - -4.3180141448974609, + -0.96248937, + 0.39725435, + -0.6239518, 1 ] - ], - "scale" : [ - 0.99999988079071045, - 1, - 0.99999988079071045 ] } } @@ -739,182 +2213,66 @@ } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], + "isAccessibilityElement" : false, "state" : { - "isActive" : false, "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - } - ], - "hasParent" : false - }, - "components" : { - "components" : [ - { - "properties" : { - "anchoring" : { - "_0" : { - "target" : { - "plane" : [ - 0, - 0 - ] - } - } - } + "isEnabled" : true, + "isActive" : true, + "isAnchored" : true }, - "componentType" : { - "anchoring" : { + "name" : "", + "entityType" : { + "entity" : { } - } - }, - { - "properties" : { - "synchronization" : { - "_0" : { - "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 15607615438144295092 - } - } }, - "componentType" : { - "synchronization" : { + "availableAnimations" : [ - } - } + ] }, { - "properties" : { - "transform" : { - "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], - "matrix" : [ - [ - 1, - 0, - 0, - 0 - ], - [ - 0, - 1, - 0, - 0 - ], - [ - 0, - 0, - 1, - 0 - ], - [ - 0, - 0, - 0, - 1 - ] - ], - "scale" : [ - 1, - 1, - 1 - ] - } - } - }, - "componentType" : { - "transform" : { - - } - } - } - ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - }, - { - "state" : { - "isActive" : true, - "isEnabledInHierarchy" : true, - "isAnchored" : true, - "isEnabled" : true - }, - "isAccessibilityElement" : false, - "id" : 11708666581627456330, - "anchorIdentifier" : "5291ABF4-ED06-4A65-8853-A3DAACF708C0", - "hierarhy" : { - "children" : [ - { - "name" : "", - "id" : 5874808153791026085, - "isAccessibilityElement" : false, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 14858563986960262752 + }, + "state" : { + "isAnchored" : true, + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isActive" : true }, + "availableAnimations" : [ + + ], "components" : { "components" : [ { "properties" : { "model" : { "_0" : { - "materials" : [ - { - - } - ], + "boundsMargin" : 0, "mesh" : { - "expectedMaterialCount" : 1, "bounds" : { "min" : [ - -0.07981930673122406, - -0.07981930673122406, - -0.07981930673122406 + -0.061701767, + -0.061701767, + -0.061701767 ], "max" : [ - 0.07981930673122406, - 0.07981930673122406, - 0.07981930673122406 + 0.061701767, + 0.061701767, + 0.061701767 ] - } + }, + "expectedMaterialCount" : 1 }, - "boundsMargin" : 0 + "materials" : [ + { + + } + ] } } }, @@ -925,35 +2283,34 @@ } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 3667823477816065105 + "identifier" : 7813774532349695560 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], "translation" : [ - 0.73615801334381104, - 0.50801986455917358, - -0.06983482837677002 + 0.49924505, + 0.74230313, + 0.77110696 ], "matrix" : [ [ @@ -975,9 +2332,9 @@ 0 ], [ - 0.73615801334381104, - 0.50801986455917358, - -0.06983482837677002, + 0.49924505, + 0.74230313, + 0.77110696, 1 ] ], @@ -985,14 +2342,15 @@ 1, 1, 1 + ], + "rotation" : [ + 0, + 0, + 0, + 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] @@ -1002,32 +2360,38 @@ } }, + "isAccessibilityElement" : false, + "name" : "", + "id" : 1566251445808726210 + }, + { "availableAnimations" : [ ], - "state" : { - "isActive" : true, - "isEnabledInHierarchy" : true, - "isAnchored" : true, - "isEnabled" : true - } - }, - { - "name" : "", - "id" : 12106713724682859916, - "isAccessibilityElement" : false, + "entityType" : { + "entity" : { + + } + }, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 14858563986960262752 }, + "id" : 11645285245526926156, "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { + "boundsMargin" : 0, "materials" : [ { @@ -1037,58 +2401,62 @@ "expectedMaterialCount" : 1, "bounds" : { "min" : [ - -0.09513130784034729, - -0.09513130784034729, - -0.09513130784034729 + -0.07863322, + -0.07863322, + -0.07863322 ], "max" : [ - 0.09513130784034729, - 0.09513130784034729, - 0.09513130784034729 + 0.07863322, + 0.07863322, + 0.07863322 ] } - }, - "boundsMargin" : 0 + } } } - }, - "componentType" : { - "model" : { - - } } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 4357603380106690503 + "isOwner" : true, + "identifier" : 5233246691438526092 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { + "translation" : [ + -0.63003945, + 0.8781037, + 0.87562084 + ], + "scale" : [ + 1, + 1, + 1 + ], "rotation" : [ 0, 0, 0, 1 ], - "translation" : [ - -0.66091656684875488, - 0.58013761043548584, - 0.74225318431854248 - ], "matrix" : [ [ 1, @@ -1109,87 +2477,76 @@ 0 ], [ - -0.66091656684875488, - 0.58013761043548584, - 0.74225318431854248, + -0.63003945, + 0.8781037, + 0.87562084, 1 ] - ], - "scale" : [ - 1, - 1, - 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, + "isAccessibilityElement" : false, + "name" : "", + "state" : { + "isActive" : true, + "isEnabled" : true, + "isAnchored" : true, + "isEnabledInHierarchy" : true + } + }, + { "entityType" : { "entity" : { } }, - "availableAnimations" : [ - - ], "state" : { "isActive" : true, - "isEnabledInHierarchy" : true, + "isEnabled" : true, "isAnchored" : true, - "isEnabled" : true - } - }, - { - "name" : "", - "id" : 10569219053221979239, - "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ - - ], - "hasParent" : true + "isEnabledInHierarchy" : true }, + "availableAnimations" : [ + + ], "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { - "materials" : [ - { - - } - ], "mesh" : { "expectedMaterialCount" : 1, "bounds" : { - "min" : [ - -0.05348537489771843, - -0.05348537489771843, - -0.05348537489771843 - ], "max" : [ - 0.05348537489771843, - 0.05348537489771843, - 0.05348537489771843 + 0.089053646, + 0.089053646, + 0.089053646 + ], + "min" : [ + -0.089053646, + -0.089053646, + -0.089053646 ] } }, + "materials" : [ + { + + } + ], "boundsMargin" : 0 } } - }, - "componentType" : { - "model" : { - - } } }, { @@ -1198,7 +2555,7 @@ "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 872824590102831148 + "identifier" : 15887815604025352379 } } }, @@ -1209,20 +2566,14 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - -0.43961501121520996, - 0.36602920293807983, - 0.040499329566955566 - ], "matrix" : [ [ 1, @@ -1243,9 +2594,9 @@ 0 ], [ - -0.43961501121520996, - 0.36602920293807983, - 0.040499329566955566, + -0.79888666, + 0.42699748, + 0.12862957, 1 ] ], @@ -1253,86 +2604,101 @@ 1, 1, 1 + ], + "translation" : [ + -0.79888666, + 0.42699748, + 0.12862957 + ], + "rotation" : [ + 0, + 0, + 0, + 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, + "name" : "", + "isAccessibilityElement" : false, + "id" : 1943590921240781058, + "hierarhy" : { + "parentID" : 14858563986960262752, + "children" : [ + + ] + } + }, + { "entityType" : { "entity" : { } }, - "availableAnimations" : [ - - ], + "id" : 12731754449330592548, + "isAccessibilityElement" : false, "state" : { - "isActive" : true, - "isEnabledInHierarchy" : true, + "isEnabled" : true, "isAnchored" : true, - "isEnabled" : true - } - }, - { - "name" : "", - "id" : 6833819534193249208, - "isAccessibilityElement" : false, + "isEnabledInHierarchy" : true, + "isActive" : true + }, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 14858563986960262752 }, + "name" : "", + "availableAnimations" : [ + + ], "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { - "materials" : [ - { - - } - ], "mesh" : { "expectedMaterialCount" : 1, "bounds" : { - "min" : [ - -0.063612475991249084, - -0.063612475991249084, - -0.063612475991249084 - ], "max" : [ - 0.063612475991249084, - 0.063612475991249084, - 0.063612475991249084 + 0.0540813, + 0.0540813, + 0.0540813 + ], + "min" : [ + -0.0540813, + -0.0540813, + -0.0540813 ] } }, + "materials" : [ + { + + } + ], "boundsMargin" : 0 } } - }, - "componentType" : { - "model" : { - - } } }, { "properties" : { "synchronization" : { "_0" : { + "identifier" : 14561427468223218857, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 15062913396668595197 + "ownershipTransferMode" : "autoAccept" } } }, @@ -1346,17 +2712,6 @@ "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0.62717413902282715, - 0.37965160608291626, - 0.19088399410247803 - ], "matrix" : [ [ 1, @@ -1377,12 +2732,23 @@ 0 ], [ - 0.62717413902282715, - 0.37965160608291626, - 0.19088399410247803, + -0.628785, + 0.10498077, + 0.9656198, 1 ] ], + "translation" : [ + -0.628785, + 0.10498077, + 0.9656198 + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], "scale" : [ 1, 1, @@ -1398,58 +2764,43 @@ } } ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : true, - "isEnabledInHierarchy" : true, - "isAnchored" : true, - "isEnabled" : true } }, { - "name" : "", - "id" : 3011292031483396240, "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ + "entityType" : { + "entity" : { - ], - "hasParent" : true + } }, + "id" : 5291731127237513834, + "name" : "", "components" : { "components" : [ { "properties" : { "model" : { "_0" : { - "materials" : [ - { - - } - ], "mesh" : { "expectedMaterialCount" : 1, "bounds" : { - "min" : [ - -0.075313933193683624, - -0.075313933193683624, - -0.075313933193683624 - ], "max" : [ - 0.075313933193683624, - 0.075313933193683624, - 0.075313933193683624 + 0.038130004, + 0.038130004, + 0.038130004 + ], + "min" : [ + -0.038130004, + -0.038130004, + -0.038130004 ] } }, + "materials" : [ + { + + } + ], "boundsMargin" : 0 } } @@ -1461,36 +2812,41 @@ } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { + "identifier" : 3573650230345003897, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 18002407931960290702 + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { + "translation" : [ + 0.6195564, + 0.37707078, + -0.7602135 + ], "rotation" : [ 0, 0, 0, 1 ], - "translation" : [ - -0.22170877456665039, - 0.97611379623413086, - -0.29893505573272705 - ], "matrix" : [ [ 1, @@ -1511,9 +2867,9 @@ 0 ], [ - -0.22170877456665039, - 0.97611379623413086, - -0.29893505573272705, + 0.6195564, + 0.37707078, + -0.7602135, 1 ] ], @@ -1524,83 +2880,92 @@ ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { + "state" : { + "isAnchored" : true, + "isEnabled" : true, + "isActive" : true, + "isEnabledInHierarchy" : true + }, + "hierarhy" : { + "children" : [ - } + ], + "parentID" : 14858563986960262752 }, "availableAnimations" : [ - ], + ] + }, + { "state" : { + "isEnabled" : true, "isActive" : true, - "isEnabledInHierarchy" : true, "isAnchored" : true, - "isEnabled" : true - } - }, - { - "name" : "", - "id" : 10108290611282443319, + "isEnabledInHierarchy" : true + }, + "availableAnimations" : [ + + ], "isAccessibilityElement" : false, + "entityType" : { + "entity" : { + + } + }, + "name" : "", "hierarhy" : { + "parentID" : 14858563986960262752, "children" : [ - ], - "hasParent" : true + ] }, "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { + "boundsMargin" : 0, "materials" : [ { } ], "mesh" : { - "expectedMaterialCount" : 1, "bounds" : { "min" : [ - -0.047364242374897003, - -0.047364242374897003, - -0.047364242374897003 + -0.09883827, + -0.09883827, + -0.09883827 ], "max" : [ - 0.047364242374897003, - 0.047364242374897003, - 0.047364242374897003 + 0.09883827, + 0.09883827, + 0.09883827 ] - } - }, - "boundsMargin" : 0 + }, + "expectedMaterialCount" : 1 + } } } - }, - "componentType" : { - "model" : { - - } } }, { "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, + "identifier" : 494223413995165166, "ownershipTransferMode" : "autoAccept", - "identifier" : 14949622812967594102 + "isOwner" : true } } }, @@ -1611,20 +2976,19 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, + "scale" : [ + 1, + 1, 1 ], - "translation" : [ - -0.1472477912902832, - 0.9177558422088623, - -0.2454376220703125 - ], "matrix" : [ [ 1, @@ -1645,120 +3009,112 @@ 0 ], [ - -0.1472477912902832, - 0.9177558422088623, - -0.2454376220703125, + -0.90271485, + 0.6714249, + -0.42278206, 1 ] ], - "scale" : [ - 1, - 1, + "rotation" : [ + 0, + 0, + 0, 1 + ], + "translation" : [ + -0.90271485, + 0.6714249, + -0.42278206 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : true, - "isEnabledInHierarchy" : true, - "isAnchored" : true, - "isEnabled" : true - } + "id" : 1307850878612496537 }, { "name" : "", - "id" : 9134500930220169473, "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ - - ], - "hasParent" : true + "state" : { + "isEnabled" : true, + "isAnchored" : true, + "isActive" : true, + "isEnabledInHierarchy" : true }, "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { - "materials" : [ - { - - } - ], "mesh" : { "expectedMaterialCount" : 1, "bounds" : { - "min" : [ - -0.033252336084842682, - -0.033252336084842682, - -0.033252336084842682 - ], "max" : [ - 0.033252336084842682, - 0.033252336084842682, - 0.033252336084842682 + 0.038931333, + 0.038931333, + 0.038931333 + ], + "min" : [ + -0.038931333, + -0.038931333, + -0.038931333 ] } }, - "boundsMargin" : 0 - } - } - }, - "componentType" : { - "model" : { + "boundsMargin" : 0, + "materials" : [ + { + } + ] + } } } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { + "identifier" : 2766256514816823871, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 199967233877166807 + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { + "translation" : [ + -0.32970226, + 0.09543085, + -0.19211042 + ], "rotation" : [ 0, 0, 0, 1 ], - "translation" : [ - 0.53736960887908936, - 0.77199631929397583, - 0.38893604278564453 - ], "matrix" : [ [ 1, @@ -1779,9 +3135,9 @@ 0 ], [ - 0.53736960887908936, - 0.77199631929397583, - 0.38893604278564453, + -0.32970226, + 0.09543085, + -0.19211042, 1 ] ], @@ -1792,11 +3148,6 @@ ] } } - }, - "componentType" : { - "transform" : { - - } } } ] @@ -1809,56 +3160,56 @@ "availableAnimations" : [ ], - "state" : { - "isActive" : true, - "isEnabledInHierarchy" : true, - "isAnchored" : true, - "isEnabled" : true - } - }, - { - "name" : "", - "id" : 13873608601323972813, - "isAccessibilityElement" : false, + "id" : 18378464368154598205, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 14858563986960262752 + } + }, + { + "entityType" : { + "entity" : { + + } }, + "availableAnimations" : [ + + ], "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { - "materials" : [ - { - - } - ], "mesh" : { "expectedMaterialCount" : 1, "bounds" : { "min" : [ - -0.068324796855449677, - -0.068324796855449677, - -0.068324796855449677 + -0.07899005, + -0.07899005, + -0.07899005 ], "max" : [ - 0.068324796855449677, - 0.068324796855449677, - 0.068324796855449677 + 0.07899005, + 0.07899005, + 0.07899005 ] } }, - "boundsMargin" : 0 - } - } - }, - "componentType" : { - "model" : { + "boundsMargin" : 0, + "materials" : [ + { + } + ] + } } } }, @@ -1866,9 +3217,9 @@ "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 15045085615434815321 + "isOwner" : true, + "identifier" : 8719404321621863292 } } }, @@ -1882,16 +3233,10 @@ "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], "translation" : [ - 0.37508785724639893, - 0.8716055154800415, - -0.86470425128936768 + 0.15127754, + 0.21177626, + 0.6829823 ], "matrix" : [ [ @@ -1913,12 +3258,18 @@ 0 ], [ - 0.37508785724639893, - 0.8716055154800415, - -0.86470425128936768, + 0.15127754, + 0.21177626, + 0.6829823, 1 ] ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], "scale" : [ 1, 1, @@ -1935,34 +3286,53 @@ } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], + "isAccessibilityElement" : false, + "name" : "", "state" : { - "isActive" : true, + "isEnabled" : true, "isEnabledInHierarchy" : true, - "isAnchored" : true, - "isEnabled" : true - } + "isActive" : true, + "isAnchored" : true + }, + "hierarhy" : { + "parentID" : 14858563986960262752, + "children" : [ + + ] + }, + "id" : 13982768656395486937 }, { - "name" : "", - "id" : 11420406340265135926, "isAccessibilityElement" : false, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 14858563986960262752 + }, + "name" : "", + "availableAnimations" : [ + + ], + "entityType" : { + "entity" : { + + } + }, + "state" : { + "isEnabledInHierarchy" : true, + "isEnabled" : true, + "isAnchored" : true, + "isActive" : true }, "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { @@ -1971,28 +3341,23 @@ } ], + "boundsMargin" : 0, "mesh" : { - "expectedMaterialCount" : 1, "bounds" : { - "min" : [ - -0.06071297824382782, - -0.06071297824382782, - -0.06071297824382782 - ], "max" : [ - 0.06071297824382782, - 0.06071297824382782, - 0.06071297824382782 - ] - } - }, - "boundsMargin" : 0 - } - } - }, - "componentType" : { - "model" : { - + 0.030135045, + 0.030135045, + 0.030135045 + ], + "min" : [ + -0.030135045, + -0.030135045, + -0.030135045 + ] + }, + "expectedMaterialCount" : 1 + } + } } } }, @@ -2001,8 +3366,8 @@ "synchronization" : { "_0" : { "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 4929672730690538270 + "identifier" : 9409888097344426857, + "ownershipTransferMode" : "autoAccept" } } }, @@ -2013,9 +3378,19 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { + "scale" : [ + 1, + 1, + 1 + ], "rotation" : [ 0, 0, @@ -2023,9 +3398,9 @@ 1 ], "translation" : [ - 0.95975673198699951, - 0.46991091966629028, - 0.67889237403869629 + 0.32094955, + 0.9177045, + -0.03716147 ], "matrix" : [ [ @@ -2047,115 +3422,98 @@ 0 ], [ - 0.95975673198699951, - 0.46991091966629028, - 0.67889237403869629, + 0.32094955, + 0.9177045, + -0.03716147, 1 ] - ], - "scale" : [ - 1, - 1, - 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : true, - "isEnabledInHierarchy" : true, - "isAnchored" : true, - "isEnabled" : true - } + "id" : 13242635905813859798 } - ], - "hasParent" : false + ] + }, + "entityType" : { + "anchor" : { + + } + }, + "state" : { + "isAnchored" : true, + "isEnabledInHierarchy" : true, + "isActive" : true, + "isEnabled" : true }, "components" : { "components" : [ { + "componentType" : { + "anchoring" : { + + } + }, "properties" : { "anchoring" : { "_0" : { "target" : { - "world" : [ - [ - 1, - 0, - 0, - 0 - ], - [ - 0, - 1, - 0, - 0 - ], - [ - 0, - 0, - 1, - 0 - ], - [ - 0, - 0, - -5, - 1 + "world" : { + "transform" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0, + 0, + -5, + 1 + ] ] - ] + } } } } - }, - "componentType" : { - "anchoring" : { - - } } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { + "identifier" : 4803182536531351163, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 9429855703273127634 + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], "translation" : [ 0, 0, @@ -2187,6 +3545,12 @@ 1 ] ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], "scale" : [ 1, 1, @@ -2202,84 +3566,199 @@ } } ] - }, + } + }, + { + "isAccessibilityElement" : false, "entityType" : { "anchor" : { } }, - "availableAnimations" : [ - - ], - "name" : "Le Anchor" - }, - { - "name" : "", - "id" : 15411787880722809485, - "isAccessibilityElement" : false, + "state" : { + "isActive" : false, + "isEnabled" : true, + "isAnchored" : false, + "isEnabledInHierarchy" : true + }, "hierarhy" : { "children" : [ { - "name" : "\/", - "id" : 7548883642309947117, - "isAccessibilityElement" : false, + "entityType" : { + "entity" : { + + } + }, + "availableAnimations" : [ + + ], + "id" : 17004983439918564509, + "state" : { + "isActive" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isAnchored" : false + }, "hierarhy" : { "children" : [ { - "name" : "toy_car", - "id" : 10903285967301346520, - "isAccessibilityElement" : false, + "state" : { + "isEnabledInHierarchy" : true, + "isEnabled" : true, + "isAnchored" : false, + "isActive" : false + }, + "availableAnimations" : [ + + ], + "entityType" : { + "entity" : { + + } + }, "hierarhy" : { + "parentID" : 17004983439918564509, "children" : [ { - "name" : "toy_car", - "id" : 5998536565140457538, + "components" : { + "components" : [ + { + "properties" : { + "synchronization" : { + "_0" : { + "ownershipTransferMode" : "autoAccept", + "isOwner" : true, + "identifier" : 10058201519894446022 + } + } + }, + "componentType" : { + "synchronization" : { + + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0, + 0, + 0, + 1 + ] + ], + "translation" : [ + 0, + 0, + 0 + ], + "scale" : [ + 1, + 1, + 1 + ] + } + } + } + } + ] + }, + "entityType" : { + "entity" : { + + } + }, + "id" : 8635398742849809842, "isAccessibilityElement" : false, + "state" : { + "isActive" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isAnchored" : false + }, + "availableAnimations" : [ + + ], + "name" : "toy_car", "hierarhy" : { "children" : [ { "name" : "Looks", - "id" : 1700896153720873370, + "entityType" : { + "entity" : { + + } + }, + "state" : { + "isEnabledInHierarchy" : true, + "isAnchored" : false, + "isActive" : false, + "isEnabled" : true + }, + "id" : 4875998685190985122, "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ + "availableAnimations" : [ - ], - "hasParent" : true - }, + ], "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 13081578388279447520 + "isOwner" : true, + "identifier" : 1621685466125861842 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -2306,80 +3785,92 @@ 1 ] ], + "translation" : [ + 0, + 0, + 0 + ], "scale" : [ 1, 1, 1 + ], + "rotation" : [ + 0, + 0, + 0, + 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { + "hierarhy" : { + "parentID" : 8635398742849809842, + "children" : [ - } - }, + ] + } + }, + { + "name" : "toy_car_realistic_lod0", "availableAnimations" : [ ], "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, "isAnchored" : false, - "isEnabled" : true - } - }, - { - "name" : "toy_car_realistic_lod0", - "id" : 11430753690554353071, - "isAccessibilityElement" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isActive" : false + }, + "entityType" : { + "entity" : { + + } + }, + "id" : 7376125305858964341, "hierarhy" : { + "parentID" : 8635398742849809842, "children" : [ - ], - "hasParent" : true + ] }, + "isAccessibilityElement" : false, "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { - "materials" : [ - { - - } - ], + "boundsMargin" : 0, "mesh" : { "expectedMaterialCount" : 1, "bounds" : { - "min" : [ - -6.2201743125915527, - -1.430511474609375e-06, - -15.655849456787109 - ], "max" : [ - 6.2201747894287109, - 11.605673789978027, - 15.655849456787109 + 6.220175, + 11.605674, + 15.655849 + ], + "min" : [ + -6.2201743, + -1.4305115e-06, + -15.655849 ] } }, - "boundsMargin" : 0 - } - } - }, - "componentType" : { - "model" : { + "materials" : [ + { + } + ] + } } } }, @@ -2387,195 +3878,92 @@ "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 7869918460461983505 - } - } - }, - "componentType" : { - "synchronization" : { - - } - } - }, - { - "properties" : { - "transform" : { - "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], - "matrix" : [ - [ - 1, - 0, - 0, - 0 - ], - [ - 0, - 1, - 0, - 0 - ], - [ - 0, - 0, - 1, - 0 - ], - [ - 0, - 0, - 0, - 1 - ] - ], - "scale" : [ - 1, - 1, - 1 - ] + "identifier" : 354661049148834294, + "isOwner" : true } } }, "componentType" : { - "transform" : { - - } - } - } - ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - } - ], - "hasParent" : true - }, - "components" : { - "components" : [ - { - "properties" : { - "synchronization" : { - "_0" : { - "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 9004635910268832132 - } - } - }, - "componentType" : { - "synchronization" : { - - } - } - }, - { - "properties" : { - "transform" : { - "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], - "matrix" : [ - [ - 1, - 0, - 0, - 0 - ], - [ - 0, - 1, - 0, - 0 - ], - [ - 0, - 0, - 1, - 0 - ], - [ - 0, - 0, - 0, - 1 - ] - ], - "scale" : [ - 1, - 1, - 1 - ] - } - } - }, - "componentType" : { - "transform" : { + "synchronization" : { - } + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "translation" : [ + 0, + 0, + 0 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0, + 0, + 0, + 1 + ] + ], + "scale" : [ + 1, + 1, + 1 + ] + } + } + } + } + ] } } - ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true + ], + "parentID" : 15728298361915322626 } } - ], - "hasParent" : true + ] }, + "isAccessibilityElement" : false, "components" : { "components" : [ { "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, + "identifier" : 16353617515793519827, "ownershipTransferMode" : "autoAccept", - "identifier" : 6728226085587809096 + "isOwner" : true } } }, @@ -2586,20 +3974,19 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, + "scale" : [ + 1, + 1, 1 ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -2626,22 +4013,33 @@ 1 ] ], - "scale" : [ - 1, - 1, + "rotation" : [ + 0, + 0, + 0, 1 + ], + "translation" : [ + 0, + 0, + 0 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, + "id" : 15728298361915322626, + "name" : "toy_car" + }, + { + "state" : { + "isActive" : false, + "isEnabledInHierarchy" : true, + "isEnabled" : true, + "isAnchored" : false + }, "entityType" : { "entity" : { @@ -2650,31 +4048,22 @@ "availableAnimations" : [ ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - }, - { - "name" : "", - "id" : 9956559564985291074, "isAccessibilityElement" : false, "hierarhy" : { + "parentID" : 17004983439918564509, "children" : [ - ], - "hasParent" : true + ] }, + "id" : 17340015619639740047, "components" : { "components" : [ { "properties" : { "directionalLightShadow" : { "_0" : { - "maximumDistance" : 5, - "depthBias" : 1 + "depthBias" : 1, + "maximumDistance" : 5 } } }, @@ -2688,10 +4077,10 @@ "properties" : { "spotLight" : { "_0" : { - "outerAngleInDegrees" : 60, - "innerAngleInDegrees" : 39.999996185302734, + "innerAngleInDegrees" : 39.999996, + "attenuationRadius" : 10, "intensity" : 1000000, - "attenuationRadius" : 10 + "outerAngleInDegrees" : 60 } } }, @@ -2702,67 +4091,67 @@ } }, { - "properties" : { + "componentType" : { "spotLightShadow" : { - "_0" : { - } } }, - "componentType" : { + "properties" : { "spotLightShadow" : { + "_0" : { + } } } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { + "identifier" : 10235150202954692016, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 10547934777053547843 + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0.23085592687129974, - 0.73683822154998779, - 0.5573354959487915, - -0.30520844459533691 - ], "translation" : [ 0, 5, -5 ], + "rotation" : [ + 0.23085593, + 0.7368382, + 0.5573355, + -0.30520844 + ], "matrix" : [ [ - -0.7071068286895752, - -6.9327342089309241e-08, - 0.70710688829421997, + -0.70710677, + -6.932734e-08, + 0.7071069, 0 ], [ - 0.68041396141052246, - 0.27216535806655884, - 0.68041384220123291, + 0.68041396, + 0.27216545, + 0.68041384, 0 ], [ - -0.19245009124279022, - 0.96225053071975708, - -0.19245004653930664, + -0.19245009, + 0.96225053, + -0.19244997, 0 ], [ @@ -2788,79 +4177,79 @@ } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } + "name" : "" }, { "name" : "", - "id" : 15760346543864022072, - "isAccessibilityElement" : false, + "id" : 8413811560989460194, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 17004983439918564509 + }, + "isAccessibilityElement" : false, + "entityType" : { + "entity" : { + + } }, + "availableAnimations" : [ + + ], "components" : { "components" : [ { - "properties" : { + "componentType" : { "pointLight" : { - "_0" : { - "attenuationRadius" : 10, - "intensity" : 26963.759765625 - } + } }, - "componentType" : { + "properties" : { "pointLight" : { - + "_0" : { + "intensity" : 26963.76, + "attenuationRadius" : 10 + } } } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { + "identifier" : 11230605617970149458, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 3323837393641110455 + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { + "scale" : [ + 1, + 1, + 1 + ], "rotation" : [ 0, 0, 0, 1 ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -2887,49 +4276,38 @@ 1 ] ], - "scale" : [ - 1, - 1, - 1 + "translation" : [ + 0, + 0, + 0 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], "state" : { - "isActive" : false, "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true + "isEnabled" : true, + "isActive" : false, + "isAnchored" : false } } ], - "hasParent" : true + "parentID" : 8869612504161882199 }, + "isAccessibilityElement" : false, + "name" : "\/", "components" : { "components" : [ { "properties" : { "synchronization" : { "_0" : { + "identifier" : 16427773019462848083, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 6315283977768004437 + "ownershipTransferMode" : "autoAccept" } } }, @@ -2940,37 +4318,41 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0.80378448963165283, - 0, - 0.59492063522338867 - ], "translation" : [ -0.5, 0, -0.25 ], + "scale" : [ + 1, + 1, + 1 + ], "matrix" : [ [ - -0.29213905334472656, + -0.29213896, 0, - -0.95637595653533936, + -0.95637596, 0 ], [ 0, - 1, + 1.0000001, 0, 0 ], [ - 0.95637595653533936, + 0.95637596, 0, - -0.29213905334472656, + -0.29213893, 0 ], [ @@ -2980,41 +4362,25 @@ 1 ] ], - "scale" : [ - 1, - 1, - 1 + "rotation" : [ + 0, + 0.8037845, + 0, + 0.59492064 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] - }, - "entityType" : { - "entity" : { - - } - - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } } - ], - "hasParent" : false + ] }, + "availableAnimations" : [ + + ], + "name" : "", "components" : { "components" : [ { @@ -3022,10 +4388,18 @@ "anchoring" : { "_0" : { "target" : { - "plane" : [ - 0, - 0 - ] + "plane" : { + "classifications" : [ + 18446744073709551615 + ], + "_0" : [ + 255 + ], + "minimumBounds" : [ + 0, + 0 + ] + } } } } @@ -3037,36 +4411,35 @@ } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { + "identifier" : 6139751611841533673, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 14259925259721833214 + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], "translation" : [ 0, 0, 0 ], + "scale" : [ + 1, + 1, + 1 + ], "matrix" : [ [ 1, @@ -3093,9 +4466,10 @@ 1 ] ], - "scale" : [ - 1, - 1, + "rotation" : [ + 0, + 0, + 0, 1 ] } @@ -3109,6 +4483,17 @@ } ] }, + "id" : 8869612504161882199 + }, + { + "id" : 17755668076156285797, + "state" : { + "isAnchored" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isActive" : false + }, + "isAccessibilityElement" : false, "entityType" : { "anchor" : { @@ -3117,99 +4502,113 @@ "availableAnimations" : [ ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - }, - { "name" : "RobotAnchor", - "id" : 17397063142267904538, - "isAccessibilityElement" : false, "hierarhy" : { "children" : [ { + "accessibilityDescription" : "", "name" : "\/", + "accessibilityLabel" : "Le robot accessibilityLabel", "state" : { "isActive" : false, - "isEnabledInHierarchy" : true, "isAnchored" : false, - "isEnabled" : true + "isEnabled" : true, + "isEnabledInHierarchy" : true + }, + "availableAnimations" : [ + { + "name" : "global scene animation" + } + ], + "entityType" : { + "entity" : { + + } }, "isAccessibilityElement" : true, - "id" : 13524967467058063214, - "accessibilityLabel" : "Le robot accessibilityLabel", "hierarhy" : { "children" : [ { "name" : "robot_walk_idle", - "id" : 14756045127838025832, - "isAccessibilityElement" : false, + "id" : 12633193968055825291, "hierarhy" : { + "parentID" : 18326093267967839324, "children" : [ { "name" : "robot_rig", - "id" : 16394107879663119920, - "isAccessibilityElement" : false, "hierarhy" : { + "parentID" : 12633193968055825291, "children" : [ { + "availableAnimations" : [ + + ], + "state" : { + "isEnabledInHierarchy" : true, + "isEnabled" : true, + "isActive" : false, + "isAnchored" : false + }, "name" : "robot_skinned_mesh", - "id" : 6904275369718444634, "isAccessibilityElement" : false, + "id" : 11276765646201870382, "hierarhy" : { "children" : [ { - "name" : "robot_mesh_robot_geo", - "id" : 15960019781644464281, + "id" : 10816499451904027660, "isAccessibilityElement" : false, + "entityType" : { + "entity" : { + + } + }, + "state" : { + "isActive" : false, + "isAnchored" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true + }, "hierarhy" : { "children" : [ { - "name" : "robot_mesh_mesh_export_neck_PLY", - "id" : 6151143559082905622, - "isAccessibilityElement" : false, + "id" : 5142495948905459876, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 10816499451904027660 }, + "availableAnimations" : [ + + ], + "name" : "robot_mesh_mesh_export_neck_PLY", "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 7680568631541895491 + "isOwner" : true, + "identifier" : 16247173066880652914 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -3236,6 +4635,17 @@ 1 ] ], + "translation" : [ + 0, + 0, + 0 + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], "scale" : [ 1, 1, @@ -3243,39 +4653,46 @@ ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, + "isAccessibilityElement" : false, "entityType" : { "entity" : { } }, - "availableAnimations" : [ - - ], "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, + "isEnabled" : true, "isAnchored" : false, - "isEnabled" : true + "isEnabledInHierarchy" : true, + "isActive" : false } }, { - "name" : "robot_mesh_mesh_export_right_ankle_PLY", - "id" : 3434751271037885984, "isAccessibilityElement" : false, + "id" : 2045471745276158649, + "availableAnimations" : [ + + ], + "name" : "robot_mesh_mesh_export_right_ankle_PLY", "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 10816499451904027660 + }, + "state" : { + "isEnabled" : true, + "isAnchored" : false, + "isEnabledInHierarchy" : true, + "isActive" : false + }, + "entityType" : { + "entity" : { + + } }, "components" : { "components" : [ @@ -3283,9 +4700,9 @@ "properties" : { "synchronization" : { "_0" : { + "identifier" : 15313450742506449527, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 15208737002483131834 + "ownershipTransferMode" : "autoAccept" } } }, @@ -3299,17 +4716,6 @@ "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -3336,6 +4742,17 @@ 1 ] ], + "translation" : [ + 0, + 0, + 0 + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], "scale" : [ 1, 1, @@ -3351,41 +4768,32 @@ } } ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } }, { - "name" : "robot_mesh_mesh_export_left_ankle_PLY", - "id" : 16245150876351209138, - "isAccessibilityElement" : false, + "state" : { + "isAnchored" : false, + "isEnabledInHierarchy" : true, + "isActive" : false, + "isEnabled" : true + }, "hierarhy" : { + "parentID" : 10816499451904027660, "children" : [ - ], - "hasParent" : true + ] }, + "name" : "robot_mesh_mesh_export_left_ankle_PLY", + "id" : 6780665925198118232, "components" : { "components" : [ { "properties" : { "synchronization" : { "_0" : { + "identifier" : 17712542170457532988, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 685825532185007509 + "ownershipTransferMode" : "autoAccept" } } }, @@ -3396,6 +4804,11 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { @@ -3405,10 +4818,10 @@ 0, 1 ], - "translation" : [ - 0, - 0, - 0 + "scale" : [ + 1, + 1, + 1 ], "matrix" : [ [ @@ -3436,79 +4849,68 @@ 1 ] ], - "scale" : [ - 1, - 1, - 1 + "translation" : [ + 0, + 0, + 0 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, + "availableAnimations" : [ + + ], "entityType" : { "entity" : { } }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } + "isAccessibilityElement" : false }, { - "name" : "robot_mesh_mesh_export_head_PLY", - "id" : 12359940052049230976, - "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ + "availableAnimations" : [ - ], - "hasParent" : true - }, + ], "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, + "identifier" : 17496068288950263443, "ownershipTransferMode" : "autoAccept", - "identifier" : 14461844653389229389 + "isOwner" : true } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, + "translation" : [ 0, 0, - 1 + 0 ], - "translation" : [ + "rotation" : [ 0, 0, - 0 + 0, + 1 ], "matrix" : [ [ @@ -3543,11 +4945,6 @@ ] } } - }, - "componentType" : { - "transform" : { - - } } } ] @@ -3557,59 +4954,51 @@ } }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - }, - { - "name" : "robot_mesh_mesh_export_left_arm_PLY", - "id" : 10836546235265570368, "isAccessibilityElement" : false, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 10816499451904027660 }, + "id" : 5462102729902086236, + "name" : "robot_mesh_mesh_export_head_PLY", + "state" : { + "isAnchored" : false, + "isEnabledInHierarchy" : true, + "isEnabled" : true, + "isActive" : false + } + }, + { + "id" : 16848100296713323142, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 9928375688159277106 + "identifier" : 7708413599905690328 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -3640,62 +5029,94 @@ 1, 1, 1 + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "translation" : [ + 0, + 0, + 0 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, "availableAnimations" : [ ], "state" : { "isActive" : false, - "isEnabledInHierarchy" : true, + "isEnabled" : true, "isAnchored" : false, - "isEnabled" : true - } + "isEnabledInHierarchy" : true + }, + "entityType" : { + "entity" : { + + } + }, + "isAccessibilityElement" : false, + "hierarhy" : { + "parentID" : 10816499451904027660, + "children" : [ + + ] + }, + "name" : "robot_mesh_mesh_export_left_arm_PLY" }, { "name" : "robot_mesh_mesh_export_left_leg_PLY", - "id" : 5520430718046965515, + "state" : { + "isActive" : false, + "isEnabled" : true, + "isAnchored" : false, + "isEnabledInHierarchy" : true + }, + "entityType" : { + "entity" : { + + } + }, + "availableAnimations" : [ + + ], "isAccessibilityElement" : false, "hierarhy" : { + "parentID" : 10816499451904027660, "children" : [ - ], - "hasParent" : true + ] }, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 2712591250510788762 + "identifier" : 4050966784478294320, + "isOwner" : true } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { @@ -3743,66 +5164,48 @@ ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, + "id" : 11582275059860442627 + }, + { "entityType" : { "entity" : { } }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - }, - { - "name" : "robot_mesh_mesh_export_right_leg_PLY", - "id" : 5714694127074419098, - "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ - - ], - "hasParent" : true - }, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 9169797846235451867 + "identifier" : 15862444524209716516, + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, + "scale" : [ + 1, + 1, 1 ], "translation" : [ @@ -3836,56 +5239,47 @@ 1 ] ], - "scale" : [ - 1, - 1, + "rotation" : [ + 0, + 0, + 0, 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - }, - { - "name" : "robot_mesh_mesh_export_body_PLY", - "id" : 16237442439255284025, - "isAccessibilityElement" : false, + "name" : "robot_mesh_mesh_export_right_leg_PLY", + "id" : 17447805604113554636, "hierarhy" : { + "parentID" : 10816499451904027660, "children" : [ - ], - "hasParent" : true + ] + }, + "availableAnimations" : [ + + ], + "state" : { + "isActive" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isAnchored" : false }, + "isAccessibilityElement" : false + }, + { "components" : { "components" : [ { "properties" : { "synchronization" : { "_0" : { + "identifier" : 10782510853036440555, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 2043885319379791061 + "ownershipTransferMode" : "autoAccept" } } }, @@ -3896,20 +5290,14 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -3936,6 +5324,17 @@ 1 ] ], + "translation" : [ + 0, + 0, + 0 + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], "scale" : [ 1, 1, @@ -3943,39 +5342,46 @@ ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { + "name" : "robot_mesh_mesh_export_body_PLY", + "isAccessibilityElement" : false, + "id" : 4234577135485721304, + "state" : { + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isAnchored" : false, + "isActive" : false + }, + "hierarhy" : { + "parentID" : 10816499451904027660, + "children" : [ - } + ] }, "availableAnimations" : [ ], + "entityType" : { + "entity" : { + + } + } + }, + { + "id" : 493369888419780716, "state" : { - "isActive" : false, "isEnabledInHierarchy" : true, + "isActive" : false, "isAnchored" : false, "isEnabled" : true - } - }, - { - "name" : "robot_mesh_mesh_export_right_arm_PLY", - "id" : 12794118269029478361, - "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ + }, + "entityType" : { + "entity" : { - ], - "hasParent" : true + } }, "components" : { "components" : [ @@ -3983,9 +5389,9 @@ "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 17124006275562721912 + "identifier" : 17688872543288416721, + "isOwner" : true } } }, @@ -3996,15 +5402,14 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], "translation" : [ 0, 0, @@ -4036,6 +5441,12 @@ 1 ] ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], "scale" : [ 1, 1, @@ -4043,73 +5454,48 @@ ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, "availableAnimations" : [ ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } - }, - { - "name" : "robot_mesh_mesh_export_right_foot_PLY", - "id" : 3019325771996444184, - "isAccessibilityElement" : false, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 10816499451904027660 }, + "isAccessibilityElement" : false, + "name" : "robot_mesh_mesh_export_right_arm_PLY" + }, + { + "name" : "robot_mesh_mesh_export_right_foot_PLY", + "id" : 3026541971679476935, + "isAccessibilityElement" : false, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { + "identifier" : 4913574249690243511, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 656588899058322967 + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -4136,10 +5522,21 @@ 1 ] ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], "scale" : [ 1, 1, 1 + ], + "translation" : [ + 0, + 0, + 0 ] } } @@ -4152,57 +5549,54 @@ } ] }, + "availableAnimations" : [ + + ], "entityType" : { "entity" : { } }, - "availableAnimations" : [ + "hierarhy" : { + "children" : [ - ], + ], + "parentID" : 10816499451904027660 + }, "state" : { "isActive" : false, "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true + "isEnabled" : true, + "isAnchored" : false } }, { "name" : "robot_mesh_mesh_export_left_foot_PLY", - "id" : 13589819844428907004, - "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ - - ], - "hasParent" : true - }, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 16814930193678159892 + "identifier" : 5554951018847787645 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, + "scale" : [ + 1, + 1, 1 ], "translation" : [ @@ -4236,9 +5630,10 @@ 1 ] ], - "scale" : [ - 1, - 1, + "rotation" : [ + 0, + 0, + 0, 1 ] } @@ -4252,31 +5647,30 @@ } ] }, - "entityType" : { - "entity" : { + "hierarhy" : { + "parentID" : 10816499451904027660, + "children" : [ - } + ] + }, + "isAccessibilityElement" : false, + "state" : { + "isEnabled" : true, + "isAnchored" : false, + "isActive" : false, + "isEnabledInHierarchy" : true }, + "id" : 2772370477699597252, "availableAnimations" : [ ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true + "entityType" : { + "entity" : { + + } } }, { - "name" : "robot_mesh_mesh_export_spin_PLY", - "id" : 9569908341405492399, - "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ - - ], - "hasParent" : true - }, "components" : { "components" : [ { @@ -4285,7 +5679,7 @@ "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 5424024734179293470 + "identifier" : 9334284169103192424 } } }, @@ -4296,6 +5690,11 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { @@ -4305,6 +5704,11 @@ 0, 1 ], + "scale" : [ + 1, + 1, + 1 + ], "translation" : [ 0, 0, @@ -4335,41 +5739,44 @@ 0, 1 ] - ], - "scale" : [ - 1, - 1, - 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, + "name" : "robot_mesh_mesh_export_spin_PLY", + "isAccessibilityElement" : false, "availableAnimations" : [ ], "state" : { "isActive" : false, - "isEnabledInHierarchy" : true, + "isEnabled" : true, "isAnchored" : false, - "isEnabled" : true + "isEnabledInHierarchy" : true + }, + "hierarhy" : { + "parentID" : 10816499451904027660, + "children" : [ + + ] + }, + "id" : 2701369247000588545, + "entityType" : { + "entity" : { + + } } } ], - "hasParent" : true + "parentID" : 11276765646201870382 }, + "name" : "robot_mesh_robot_geo", + "availableAnimations" : [ + + ], "components" : { "components" : [ { @@ -4378,7 +5785,7 @@ "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 1924047811731154890 + "identifier" : 9809643270193507500 } } }, @@ -4398,11 +5805,6 @@ 0, 1 ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -4433,6 +5835,11 @@ 1, 1, 1 + ], + "translation" : [ + 0, + 0, + 0 ] } } @@ -4444,71 +5851,124 @@ } } ] - }, - "entityType" : { - "entity" : { - - } - }, + } + }, + { "availableAnimations" : [ - + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "Animation" + }, + { + "name" : "default scene animation" + }, + { + "name" : "default subtree animation" + } ], "state" : { "isActive" : false, - "isEnabledInHierarchy" : true, + "isEnabled" : true, "isAnchored" : false, - "isEnabled" : true - } - }, - { + "isEnabledInHierarchy" : true + }, "name" : "robot_bind", - "id" : 14947556965855028983, - "isAccessibilityElement" : false, "hierarhy" : { + "parentID" : 11276765646201870382, "children" : [ { + "availableAnimations" : [ + + ], + "state" : { + "isEnabledInHierarchy" : true, + "isAnchored" : false, + "isEnabled" : true, + "isActive" : false + }, "name" : "root", - "id" : 16501443592857541884, + "entityType" : { + "entity" : { + + } + }, "isAccessibilityElement" : false, "hierarhy" : { + "parentID" : 15770533885507784683, "children" : [ - ], - "hasParent" : true + ] }, + "id" : 2578965996846646071, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 18385887861732561659 + "identifier" : 8364652438624566378 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], "translation" : [ 0, 0, 0 ], + "scale" : [ + 1, + 1, + 1 + ], "matrix" : [ [ 1, @@ -4535,66 +5995,54 @@ 1 ] ], - "scale" : [ - 1, - 1, + "rotation" : [ + 0, + 0, + 0, 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } } - ], - "hasParent" : true + ] + }, + "entityType" : { + "entity" : { + + } }, + "isAccessibilityElement" : false, + "id" : 15770533885507784683, "components" : { "components" : [ { "properties" : { "model" : { "_0" : { - "materials" : [ - { - - } - ], "mesh" : { - "expectedMaterialCount" : 1, "bounds" : { "min" : [ - -7.1308999061584473, - 0.0043735499493777752, - -9.3909997940063477 + -7.1309, + 0.00437355, + -9.391 ], "max" : [ - 7.1308999061584473, - 27.392299652099609, - 7.4211797714233398 + 7.1309, + 27.3923, + 7.42118 ] - } + }, + "expectedMaterialCount" : 1 }, + "materials" : [ + { + + } + ], "boundsMargin" : 0 } } @@ -4609,9 +6057,9 @@ "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, + "identifier" : 11883632196825281390, "ownershipTransferMode" : "autoAccept", - "identifier" : 6158176545416761545 + "isOwner" : true } } }, @@ -4625,147 +6073,85 @@ "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], - "matrix" : [ - [ - 1, - 0, - 0, - 0 - ], - [ - 0, - 1, - 0, - 0 - ], - [ - 0, - 0, - 1, - 0 - ], - [ - 0, - 0, - 0, - 1 - ] - ], "scale" : [ 1, 1, 1 - ] - } - } - }, - "componentType" : { - "transform" : { - - } - } - } - ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "Animation" - }, - { - "name" : "default scene animation" - }, - { - "name" : "default subtree animation" - } - ], + ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "translation" : [ + 0, + 0, + 0 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0, + 0, + 0, + 1 + ] + ] + } + } + }, + "componentType" : { + "transform" : { - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true + } + } + } + ] } } ], - "hasParent" : true + "parentID" : 12990209049311204547 }, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 14217231894495224127 + "identifier" : 17555556699751840717 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], "translation" : [ 0, 0, @@ -4801,6 +6187,12 @@ 1, 1, 1 + ], + "rotation" : [ + 0, + 0, + 0, + 1 ] } } @@ -4817,39 +6209,50 @@ "entity" : { } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } } - ], - "hasParent" : true + ] + }, + "state" : { + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isActive" : false, + "isAnchored" : false + }, + "entityType" : { + "entity" : { + + } }, + "id" : 12990209049311204547, + "availableAnimations" : [ + + ], + "isAccessibilityElement" : false, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 7188200759245067465 + "isOwner" : true, + "identifier" : 7861685996543716201 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { @@ -4859,11 +6262,6 @@ 0, 1 ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -4894,52 +6292,40 @@ 1, 1, 1 + ], + "translation" : [ + 0, + 0, + 0 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] - }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } } - ], - "hasParent" : true + ] }, + "availableAnimations" : [ + + ], "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 15716932701968482745 + "identifier" : 15525681203575316313, + "isOwner" : true } } - }, - "componentType" : { - "synchronization" : { - - } } }, { @@ -4999,46 +6385,54 @@ } ] }, + "isAccessibilityElement" : false, "entityType" : { "entity" : { } }, - "availableAnimations" : [ - - ], "state" : { "isActive" : false, - "isEnabledInHierarchy" : true, + "isEnabled" : true, "isAnchored" : false, - "isEnabled" : true + "isEnabledInHierarchy" : true } } ], - "hasParent" : true + "parentID" : 17755668076156285797 }, "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { + "identifier" : 2604610167304378661, "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 2180034876844334762 + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { + "scale" : [ + 0.01, + 0.01, + 0.01 + ], "rotation" : [ 0, 0, @@ -5052,21 +6446,21 @@ ], "matrix" : [ [ - 0.0099999997764825821, + 0.01, 0, 0, 0 ], [ 0, - 0.0099999997764825821, + 0.01, 0, 0 ], [ 0, 0, - 0.0099999997764825821, + 0.01, 0 ], [ @@ -5075,37 +6469,16 @@ 0, 1 ] - ], - "scale" : [ - 0.0099999997764825821, - 0.0099999997764825821, - 0.0099999997764825821 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, - "entityType" : { - "entity" : { - - } - }, - "accessibilityDescription" : "", - "availableAnimations" : [ - { - "name" : "global scene animation" - } - ] + "id" : 18326093267967839324 } - ], - "hasParent" : false + ] }, "components" : { "components" : [ @@ -5114,10 +6487,18 @@ "anchoring" : { "_0" : { "target" : { - "plane" : [ - 0, - 0 - ] + "plane" : { + "classifications" : [ + 18446744073709551615 + ], + "_0" : [ + 255 + ], + "minimumBounds" : [ + 0, + 0 + ] + } } } } @@ -5132,9 +6513,9 @@ "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 1421716892748975436 + "identifier" : 16449333663491879719, + "isOwner" : true } } }, @@ -5145,20 +6526,19 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, + "scale" : [ + 1, + 1, 1 ], - "translation" : [ - 0, - 0, - 0.5 - ], "matrix" : [ [ 1, @@ -5185,39 +6565,26 @@ 1 ] ], - "scale" : [ - 1, - 1, + "translation" : [ + 0, + 0, + 0.5 + ], + "rotation" : [ + 0, + 0, + 0, 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] - }, - "entityType" : { - "anchor" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } } ] }, - "debugOptionsRawValue" : 17, - "contentScaleFactor" : 3 + "contentScaleFactor" : 3, + "debugOptionsRawValue" : 0 } diff --git a/Sources/MultipeerClient/Resources/Mock/simple_arview.json b/Sources/MultipeerClient/Resources/Mock/simple_arview.json index 37d9968..09660f0 100644 --- a/Sources/MultipeerClient/Resources/Mock/simple_arview.json +++ b/Sources/MultipeerClient/Resources/Mock/simple_arview.json @@ -1,43 +1,148 @@ { + "contentScaleFactor" : 3, "scene" : { "anchors" : [ { - "name" : "", - "id" : 10798020353963348595, - "isAccessibilityElement" : false, + "id" : 2483588098358084184, "hierarhy" : { "children" : [ { "name" : "", - "id" : 18359438271439800841, - "isAccessibilityElement" : false, + "state" : { + "isActive" : false, + "isEnabledInHierarchy" : true, + "isEnabled" : true, + "isAnchored" : false + }, + "id" : 15531501328511675032, "hierarhy" : { + "parentID" : 2483588098358084184, "children" : [ { - "name" : "", - "id" : 15038790943578240344, - "isAccessibilityElement" : false, "hierarhy" : { + "parentID" : 15531501328511675032, "children" : [ { + "components" : { + "components" : [ + { + "componentType" : { + "synchronization" : { + + } + }, + "properties" : { + "synchronization" : { + "_0" : { + "isOwner" : true, + "ownershipTransferMode" : "autoAccept", + "identifier" : 383895323399954579 + } + } + } + }, + { + "componentType" : { + "transform" : { + + } + }, + "properties" : { + "transform" : { + "_0" : { + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "matrix" : [ + [ + 1, + 0, + 0, + 0 + ], + [ + 0, + 1, + 0, + 0 + ], + [ + 0, + 0, + 1, + 0 + ], + [ + 0, + 0.05, + 0, + 1 + ] + ], + "translation" : [ + 0, + 0.05, + 0 + ], + "scale" : [ + 1, + 1, + 1 + ] + } + } + } + } + ] + }, + "id" : 8663982150608008035, + "state" : { + "isEnabled" : true, + "isActive" : false, + "isEnabledInHierarchy" : true, + "isAnchored" : false + }, + "entityType" : { + "entity" : { + + } + }, "name" : "Steel Box", - "id" : 672640840761579920, - "isAccessibilityElement" : false, "hierarhy" : { "children" : [ { - "name" : "simpBld_root", - "id" : 9648984824774598611, - "isAccessibilityElement" : false, + "availableAnimations" : [ + + ], + "entityType" : { + "entity" : { + + } + }, + "id" : 16637816425975897603, + "state" : { + "isEnabled" : true, + "isAnchored" : false, + "isActive" : false, + "isEnabledInHierarchy" : true + }, "hierarhy" : { "children" : [ ], - "hasParent" : true + "parentID" : 8663982150608008035 }, "components" : { "components" : [ { + "componentType" : { + "model" : { + + } + }, "properties" : { "model" : { "_0" : { @@ -47,28 +152,23 @@ } ], "mesh" : { - "expectedMaterialCount" : 1, "bounds" : { "min" : [ - -0.05000000074505806, - -0.05000000074505806, - -0.05000000074505806 + -0.05, + -0.05, + -0.05 ], "max" : [ - 0.05000000074505806, - 0.05000000074505806, - 0.05000000074505806 + 0.05, + 0.05, + 0.05 ] - } + }, + "expectedMaterialCount" : 1 }, "boundsMargin" : 0 } } - }, - "componentType" : { - "model" : { - - } } }, { @@ -76,8 +176,8 @@ "synchronization" : { "_0" : { "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 15912208395330172194 + "identifier" : 5363323842274640034, + "ownershipTransferMode" : "autoAccept" } } }, @@ -102,6 +202,11 @@ 0, 0 ], + "scale" : [ + 1, + 1, + 1 + ], "matrix" : [ [ 1, @@ -127,11 +232,6 @@ 0, 1 ] - ], - "scale" : [ - 1, - 1, - 1 ] } } @@ -144,150 +244,54 @@ } ] }, - "entityType" : { - "entity" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } + "name" : "simpBld_root", + "isAccessibilityElement" : false } ], - "hasParent" : true - }, - "components" : { - "components" : [ - { - "properties" : { - "synchronization" : { - "_0" : { - "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 4553652004896119075 - } - } - }, - "componentType" : { - "synchronization" : { - - } - } - }, - { - "properties" : { - "transform" : { - "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0.05000000074505806, - 0 - ], - "matrix" : [ - [ - 1, - 0, - 0, - 0 - ], - [ - 0, - 1, - 0, - 0 - ], - [ - 0, - 0, - 1, - 0 - ], - [ - 0, - 0.05000000074505806, - 0, - 1 - ] - ], - "scale" : [ - 1, - 1, - 1 - ] - } - } - }, - "componentType" : { - "transform" : { - - } - } - } - ] - }, - "entityType" : { - "entity" : { - - } + "parentID" : 1561550102024476731 }, "availableAnimations" : [ ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } + "isAccessibilityElement" : false } - ], - "hasParent" : true + ] }, + "availableAnimations" : [ + + ], "components" : { "components" : [ { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 7443260464541884213 + "identifier" : 16647246008028842643, + "isOwner" : true } } - }, - "componentType" : { - "synchronization" : { - - } } }, { "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], "translation" : [ 0, 0, 0 ], + "scale" : [ + 1, + 1, + 1 + ], "matrix" : [ [ 1, @@ -300,7 +304,6 @@ 1, 0, 0 - ], [ 0, @@ -315,9 +318,10 @@ 1 ] ], - "scale" : [ - 1, - 1, + "rotation" : [ + 0, + 0, + 0, 1 ] } @@ -331,31 +335,22 @@ } ] }, + "id" : 1561550102024476731, + "name" : "", + "state" : { + "isEnabled" : true, + "isEnabledInHierarchy" : true, + "isAnchored" : false, + "isActive" : false + }, + "isAccessibilityElement" : false, "entityType" : { "entity" : { } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } }, { - "name" : "Ground Plane", - "id" : 2523032544665650958, - "isAccessibilityElement" : false, - "hierarhy" : { - "children" : [ - - ], - "hasParent" : true - }, "components" : { "components" : [ { @@ -367,11 +362,11 @@ } ], - "mode" : "default", "filter" : { - "group" : 1, - "mask" : 1 - } + "mask" : 1, + "group" : 1 + }, + "mode" : "default" } } }, @@ -382,47 +377,52 @@ } }, { + "componentType" : { + "physicsBody" : { + + } + }, "properties" : { "physicsBody" : { "_0" : { + "mode" : "static", "isTranslationLocked" : { "x" : false, "y" : false, "z" : false }, - "isContinuousCollisionDetectionEnabled" : false, "isRotationLocked" : { - "x" : false, "y" : false, + "x" : false, "z" : false }, - "mode" : "static" + "isContinuousCollisionDetectionEnabled" : false } } - }, - "componentType" : { - "physicsBody" : { - - } } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 780681697957606691 + "identifier" : 14153558297139435912 } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { @@ -437,6 +437,11 @@ 0, 0 ], + "scale" : [ + 1, + 1, + 1 + ], "matrix" : [ [ 1, @@ -462,93 +467,102 @@ 0, 1 ] - ], - "scale" : [ - 1, - 1, - 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, + "state" : { + "isAnchored" : false, + "isActive" : false, + "isEnabled" : true, + "isEnabledInHierarchy" : true + }, + "availableAnimations" : [ + + ], + "name" : "Ground Plane", "entityType" : { "entity" : { } }, - "availableAnimations" : [ + "hierarhy" : { + "children" : [ - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } + ], + "parentID" : 15531501328511675032 + }, + "id" : 11734244072457182353, + "isAccessibilityElement" : false } - ], - "hasParent" : true + ] }, + "isAccessibilityElement" : false, + "entityType" : { + "anchor" : { + + } + }, + "availableAnimations" : [ + + ], "components" : { "components" : [ { + "componentType" : { + "anchoring" : { + + } + }, "properties" : { "anchoring" : { "_0" : { "target" : { - "plane" : [ - 0, - 0 - ] + "plane" : { + "minimumBounds" : [ + 0, + 0 + ], + "_0" : [ + 1 + ], + "classifications" : [ + 18446744073709551615 + ] + } } } } - }, - "componentType" : { - "anchoring" : { - - } } }, { + "componentType" : { + "synchronization" : { + + } + }, "properties" : { "synchronization" : { "_0" : { "isOwner" : true, - "ownershipTransferMode" : "autoAccept", - "identifier" : 10807156165815798859 + "identifier" : 14699791824862646126, + "ownershipTransferMode" : "autoAccept" } } - }, - "componentType" : { - "synchronization" : { - - } } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, - 1 - ], - "translation" : [ - 0, - 0, - 0 - ], "matrix" : [ [ 1, @@ -575,6 +589,17 @@ 1 ] ], + "rotation" : [ + 0, + 0, + 0, + 1 + ], + "translation" : [ + 0, + 0, + 0 + ], "scale" : [ 1, 1, @@ -582,32 +607,12 @@ ] } } - }, - "componentType" : { - "transform" : { - - } } } ] - }, - "entityType" : { - "anchor" : { - - } - }, - "availableAnimations" : [ - - ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true } } - ], - "hasParent" : false + ] }, "components" : { "components" : [ @@ -616,10 +621,18 @@ "anchoring" : { "_0" : { "target" : { - "plane" : [ - 0, - 0 - ] + "plane" : { + "minimumBounds" : [ + 0, + 0 + ], + "_0" : [ + 1 + ], + "classifications" : [ + 18446744073709551615 + ] + } } } } @@ -634,9 +647,9 @@ "properties" : { "synchronization" : { "_0" : { - "isOwner" : true, "ownershipTransferMode" : "autoAccept", - "identifier" : 16950790846409808805 + "identifier" : 9990575719057888320, + "isOwner" : true } } }, @@ -647,13 +660,17 @@ } }, { + "componentType" : { + "transform" : { + + } + }, "properties" : { "transform" : { "_0" : { - "rotation" : [ - 0, - 0, - 0, + "scale" : [ + 1, + 1, 1 ], "translation" : [ @@ -687,22 +704,24 @@ 1 ] ], - "scale" : [ - 1, - 1, + "rotation" : [ + 0, + 0, + 0, 1 ] } } - }, - "componentType" : { - "transform" : { - - } } } ] }, + "state" : { + "isEnabledInHierarchy" : true, + "isAnchored" : false, + "isActive" : false, + "isEnabled" : true + }, "entityType" : { "entity" : { @@ -711,15 +730,10 @@ "availableAnimations" : [ ], - "state" : { - "isActive" : false, - "isEnabledInHierarchy" : true, - "isAnchored" : false, - "isEnabled" : true - } + "isAccessibilityElement" : false, + "name" : "" } ] }, - "debugOptionsRawValue" : 0, - "contentScaleFactor" : 3 + "debugOptionsRawValue" : 0 } diff --git a/Sources/MultipeerClient/Test.swift b/Sources/MultipeerClient/Test.swift index 0ad38ee..509f1f7 100644 --- a/Sources/MultipeerClient/Test.swift +++ b/Sources/MultipeerClient/Test.swift @@ -3,19 +3,24 @@ import Foundation extension MultipeerClient { static public var testValue: Self = .init( - start: { (_, _, _, _, _) in + start: { (_, _, _) in AsyncStream { continuation in let mocky = Peer(displayName: "MOCKY") let mockyDiscoveryInfo = DiscoveryInfo( appName: "MockyAppName", appVersion: "0.4.2", - device: "???", - system: "iOS17" + device: "Vision Mock", + system: "visionOS 1.0" ) continuation.yield(.browser(.peersUpdated([mocky: mockyDiscoveryInfo]))) continuation.yield(.session(.stateDidChange(.connected(mocky)))) - let url = Bundle.module.url(forResource: "not_so_simple_arview", withExtension: "json")! + let url = Bundle.module.url( + forResource: "basic_visionOS", + withExtension: "json", + subdirectory: "Mock" + )! + let data = try! Data(contentsOf: url) continuation.yield(.session(.didReceiveData(data))) } @@ -27,6 +32,7 @@ extension MultipeerClient { invitePeer: { _ in unimplemented("invitePeer") }, acceptInvitation: { unimplemented("acceptInvitation") }, rejectInvitation: { unimplemented("rejectInvitation") }, - send: { (_, _, _) in unimplemented("send") } + send: { _ in unimplemented("send") }, + disconnect: { unimplemented("disconnect") } ) } diff --git a/Sources/ProcessSymbolsExecutable/Components+Extraction.swift b/Sources/ProcessSymbolsExecutable/Components+Extraction.swift new file mode 100644 index 0000000..fee17e9 --- /dev/null +++ b/Sources/ProcessSymbolsExecutable/Components+Extraction.swift @@ -0,0 +1,66 @@ +import Foundation +import Models +import SymbolKit + +// MARK: - Extract + +func extractComponents(from symbolGraph: SymbolGraph) -> [SymbolGraph.Symbol] { + let componentIdentifier = symbolGraph.symbols.values + .first(where: { $0.names.title == "Component" })? + .identifier.precise + + let conformingIdentifiers = symbolGraph.relationships + .filter({ $0.kind == .conformsTo }) + .filter({ $0.target == componentIdentifier }) + .map(\.source) + + let components = + conformingIdentifiers.compactMap { identifier in + symbolGraph.symbols.values + .filter({ $0.kind.identifier == .struct }) + .filter({ !$0.names.title.contains(".") }) + .first(where: { $0.identifier.precise == identifier }) + } + + return components +} + +// MARK: - Create files + +func createComponentsFile(from symbolGraph: SymbolGraph, at path: String) { + let componentsSymbols = extractComponents(from: symbolGraph) + let properties = extractProperties(from: componentsSymbols, in: symbolGraph) + + var _components: [_Symbol] = [] + + for p in properties { + _components.append(p) + } + + let encoder = JSONEncoder() + encoder.outputFormatting.insert(.sortedKeys) + encoder.outputFormatting.insert(.prettyPrinted) + + let encoded = try! encoder.encode(_components.sorted(by: { $0.name < $1.name })) + FileManager.default.createFile(atPath: path.appending("/Components.json"), contents: encoded) +} + +func createComponentsFile(from symbolGraphs: [SymbolGraph], at path: String) { + var _components: Set<_Symbol> = [] + + for symbolGraph in symbolGraphs { + let symbols = extractComponents(from: symbolGraph) + let properties = extractProperties(from: symbols, in: symbolGraph) + + for p in properties { + _components.insert(p) + } + } + + let encoder = JSONEncoder() + encoder.outputFormatting.insert(.sortedKeys) + encoder.outputFormatting.insert(.prettyPrinted) + + let encoded = try! encoder.encode(_components.sorted(by: { $0.name < $1.name })) + FileManager.default.createFile(atPath: path, contents: encoded) +} diff --git a/Sources/ProcessSymbolsExecutable/Entities+Extraction.swift b/Sources/ProcessSymbolsExecutable/Entities+Extraction.swift new file mode 100644 index 0000000..deb7ed6 --- /dev/null +++ b/Sources/ProcessSymbolsExecutable/Entities+Extraction.swift @@ -0,0 +1,86 @@ +import Foundation +import Models +import SymbolKit + +// MARK: - Extract + +private func extractEntitiesSymbols(from symbolGraph: SymbolGraph) -> [SymbolGraph.Symbol] { + let entity = symbolGraph.symbols.values.first(where: { $0.names.title == "Entity" })! + + let subclassesIdentifiers = symbolGraph.relationships + .filter({ $0.kind == .inheritsFrom }) + .filter({ $0.target == entity.identifier.precise }) + .map(\.source) + + let subclasses = subclassesIdentifiers.compactMap { identifier in + symbolGraph.symbols.values + .filter({ $0.kind.identifier == .class }) + .first(where: { $0.identifier.precise == identifier }) + } + + return subclasses + [entity] +} + +func extractEntities(from symbolGraphs: [SymbolGraph]) -> [SymbolGraph.Symbol] { + var entities: Set = [] + + for symbolGraph in symbolGraphs { + let entity = symbolGraph.symbols.values.first(where: { $0.names.title == "Entity" })! + + let subclassesIdentifiers = symbolGraph.relationships + .filter({ $0.kind == .inheritsFrom }) + .filter({ $0.target == entity.identifier.precise }) + .map(\.source) + + let subclasses = subclassesIdentifiers.compactMap { identifier in + symbolGraph.symbols.values + .filter({ $0.kind.identifier == .class }) + .first(where: { $0.identifier.precise == identifier }) + } + + // return subclasses + [entity] + entities.formUnion(subclasses) + } + + return Array(entities) +} + +// MARK: - Create files + +func createEntitiesFile(from symbolGraph: SymbolGraph, at path: String) { + let symbols = extractEntitiesSymbols(from: symbolGraph) + let properties = extractProperties(from: symbols, in: symbolGraph) + + var _entities: [_Symbol] = [] + + for p in properties { + _entities.append(p) + } + + let encoder = JSONEncoder() + encoder.outputFormatting.insert(.sortedKeys) + encoder.outputFormatting.insert(.prettyPrinted) + + let encoded = try! encoder.encode(_entities.sorted(by: { $0.name < $1.name })) + FileManager.default.createFile(atPath: path.appending("/Entities.json"), contents: encoded) +} + +// func createEntitiesFile(from symbolGraphs: [SymbolGraph], at path: String) { +// var _entities: Set<_Symbol> = [] +// +// for symbolGraph in symbolGraphs { +// let symbols = extractEntitiesSymbols(from: symbolGraph) +// let properties = extractProperties(from: symbols, in: symbolGraph) +// +// for p in properties { +// _entities.insert(p) +// } +// } +// +// let encoder = JSONEncoder() +// encoder.outputFormatting.insert(.sortedKeys) +// encoder.outputFormatting.insert(.prettyPrinted) +// +// let encoded = try! encoder.encode(_entities.sorted(by: { $0.name < $1.name })) +// FileManager.default.createFile(atPath: path, contents: encoded) +// } diff --git a/Sources/ProcessSymbolsExecutable/ProcessSymbols.swift b/Sources/ProcessSymbolsExecutable/ProcessSymbols.swift new file mode 100644 index 0000000..97bfe75 --- /dev/null +++ b/Sources/ProcessSymbolsExecutable/ProcessSymbols.swift @@ -0,0 +1,21 @@ +import ArgumentParser +import Foundation +import SymbolKit + +@main +struct ProcessSymbols: ParsableCommand { + @Argument(help: "Input file path.") + var input: String + + @Argument(help: "Output file path.") + var output: String + + mutating func run() throws { + let url = URL(string: "file://\(input)/RealityFoundation.symbols.json")! + let data = try Data(contentsOf: url) + let symbolGraph = try JSONDecoder().decode(SymbolGraph.self, from: data) + + createEntitiesFile(from: symbolGraph, at: output) + createComponentsFile(from: symbolGraph, at: output) + } +} diff --git a/Sources/ProcessSymbolsExecutable/Properties+Extraction.swift b/Sources/ProcessSymbolsExecutable/Properties+Extraction.swift new file mode 100644 index 0000000..255aeea --- /dev/null +++ b/Sources/ProcessSymbolsExecutable/Properties+Extraction.swift @@ -0,0 +1,62 @@ +import Foundation +import Models +import SymbolKit + +//TODO: consider moving to an extension of SymbolGraph +func extractProperties( + from symbols: [SymbolGraph.Symbol], + in symbolGraph: SymbolGraph +) -> [_Symbol] { + + var _symbols: [_Symbol] = [] + for symbol in symbols { + + var symbol_properties: [_Property] = [] + + let properties = symbolGraph.symbols.values + .filter({ $0.pathComponents.count == 2 }) + .filter({ $0.pathComponents.contains(symbol.names.title) }) + .filter({ $0.kind.identifier == .property }) + + for property in properties { + let name = property.names.title + let type = property.names.typeSpelling + let complete = property.declarationFragments?.map(\.spelling).joined() + let comment = property.docComment?.lines.map(\.text).joined(separator: " ") + + symbol_properties.append( + .init( + name: name, + type: type, + complete: complete, + comment: comment + ) + ) + } + + _symbols.append( + .init( + name: symbol.names.title, + properties: symbol_properties, + comment: symbol.docComment?.lines.map(\.text).joined(separator: " ") + ) + ) + } + + return _symbols +} + +extension SymbolGraph.Symbol.Names { + var typeSpelling: String? { + guard let inputString = self.subHeading?.map(\.spelling).reduce("", +) else { return nil } + let startChar: Character = ":" + let endChar: Character = "?" + if let startIndex = inputString.firstIndex(of: startChar) { + let endIndex = inputString.firstIndex(of: endChar) ?? inputString.endIndex + let substring = inputString[inputString.index(after: startIndex).. Bool { + lhs.identifier == rhs.identifier + } +} + +extension SymbolGraph.Symbol: Hashable { + public func hash(into hasher: inout Hasher) { + hasher.combine(identifier) + hasher.combine(absolutePath) + } +} diff --git a/Sources/RealityCheckConnect/RealityCheckConnect.swift b/Sources/RealityCheckConnect/RealityCheckConnect.swift new file mode 100644 index 0000000..70c4df1 --- /dev/null +++ b/Sources/RealityCheckConnect/RealityCheckConnect.swift @@ -0,0 +1,7 @@ +import Foundation + +#if os(visionOS) + @_exported import RealityCheckConnect_visionOS +#elseif os(iOS) + @_exported import RealityCheckConnect_iOS +#endif diff --git a/Sources/RealityCheckConnect/RealityCheckConnectView.swift b/Sources/RealityCheckConnect/RealityCheckConnectView.swift deleted file mode 100644 index c783cb7..0000000 --- a/Sources/RealityCheckConnect/RealityCheckConnectView.swift +++ /dev/null @@ -1,425 +0,0 @@ -import Dependencies -import Models -import MultipeerClient -import RealityDumpClient -import RealityKit -import StreamingClient -import SwiftUI - -final class ViewModel: ObservableObject { - @Published var connectionState: MultipeerClient.SessionState - @Published var hostName: String - @Published var isStreaming = false - - @Dependency(\.multipeerClient) var multipeerClient - @Dependency(\.realityDump) var realityDump - @Dependency(\.streamingClient) var streamingClient - - fileprivate var arView: ARView? - - init( - connectionState: MultipeerClient.SessionState = .notConnected, - hostName: String = "...", - arView: ARView? = nil - ) { - self.connectionState = connectionState - self.hostName = hostName - self.arView = arView - } - - func startMultipeerSession() async { - //MARK: 1. Setup - for await action in await multipeerClient.start( - serviceName: "reality-check", - sessionType: .peer, - discoveryInfo: AppInfo.discoveryInfo - ) { - switch action { - case .session(let sessionAction): - switch sessionAction { - case .stateDidChange(let state): - await MainActor.run { - connectionState = state - } - if case .connected = state { - //MARK: 2. Send Hierarchy - await sendHierarchy() - } - - case .didReceiveData(let data): - //ARView Debug Options - if let debugOptions = try? JSONDecoder() - .decode( - _DebugOptions.self, - from: data - ) - { - await MainActor.run { - arView?.debugOptions = ARView.DebugOptions( - rawValue: debugOptions.rawValue - ) - } - } - } - - case .browser(_): - return - - case .advertiser(let advertiserAction): - switch advertiserAction { - case .didReceiveInvitationFromPeer(let peer): - multipeerClient.acceptInvitation() - multipeerClient.stopAdvertisingPeer() - await MainActor.run { - hostName = peer.displayName - } - } - } - } - } - - func sendHierarchy() async { - guard let arView else { - //FIXME: make a runtime error instead - fatalError("ARView is required in order to be able to send its hierarchy") - } - - let encoder = JSONEncoder() - encoder.nonConformingFloatEncodingStrategy = .convertToString( - positiveInfinity: "INF", - negativeInfinity: "-INF", - nan: "NAN" - ) - encoder.outputFormatting = .prettyPrinted - - let anchors = await arView.scene.anchors.compactMap { $0 } - var identifiableAnchors: [IdentifiableEntity] = [] - for anchor in anchors { - identifiableAnchors.append( - await realityDump.identify(anchor) - ) - } - - #if os(iOS) - let arViewData = try! await encoder.encode( - CodableARView( - arView, - anchors: identifiableAnchors, - contentScaleFactor: arView.contentScaleFactor - ) - ) - multipeerClient.send(arViewData) - print(String(data: arViewData, encoding: .utf8)!) - #else - fatalError("`arView.contentScaleFactor` cant be found on macOS") - #endif - } - - func startStreaming() async { - await MainActor.run { - isStreaming = true - } - - for await frameData in await streamingClient.startScreenCapture() { - multipeerClient.send(frameData) - } - } - - func stopStreaming() async { - await MainActor.run { - isStreaming = false - } - - streamingClient.stopScreenCapture() - } -} - -/** -Represents a SwiftUI view for controlling the RealityCheck connection and exchange of the running AR experience data. - -Use the `RealityCheckConnectView` struct to display the state of the connection and provide a user interface for establishing a connection with **RealityCheck** macOS app. Once integrated, the GUI will allow to connect and exchange AR scene hierarchy data. It utilizes SwiftUI for rendering the user interface. and can be accessed as a `LibraryItem` from the `Library` panel. - -**Usage** - -1. Initialize `RealityCheckConnectView` and provide an optional `ARView` instance to enable hierarchy sending functionality. -2. Add `RealityCheckConnectView` to your SwiftUI view hierarchy. - -**Example** - -Here's an example of how to use `RealityCheckConnectView`: -```swift -var body: some View { - ZStack { - // Other views - RealityCheckConnectView(arView) - } -} -``` - */ -public struct RealityCheckConnectView: View { - @ObservedObject private var viewModel: ViewModel - - public init() { - self.viewModel = .init() - } - - public init( - _ arView: ARView - ) { - self.viewModel = .init(arView: arView) - } - - fileprivate init( - viewModel: ViewModel - ) { - self.viewModel = viewModel - } - - var connectionStateFill: Color { - switch viewModel.connectionState { - case .notConnected: - return .red - case .connecting: - return .orange - case .connected: - return .green - } - } - - var connectionStateMessage: String { - switch viewModel.connectionState { - case .notConnected: - return "not connected" - case .connecting: - return "connecting" - case .connected: - return viewModel.isStreaming - ? " " - : "connected to: \(viewModel.hostName)" - } - } - - var isConnected: Bool { - switch viewModel.connectionState { - case .notConnected, .connecting: - return false - case .connected: - return true - } - } - - @State var location: CGPoint = CGPoint(x: 88, y: 33) - @GestureState var startLocation: CGPoint? = nil - - public var body: some View { - RoundedRectangle(cornerRadius: 32, style: .continuous) - .stroke(lineWidth: viewModel.isStreaming ? 0.5 : 3) - .fill(Material.ultraThin) - .animation(.default, value: viewModel.isStreaming) - .padding() - .overlay { - VStack { - Text(connectionStateMessage) - .font(.system(.caption, design: .rounded)) - .padding(8) - .background( - Capsule(style: .continuous) - .fill(connectionStateFill) - ) - .scaleEffect(viewModel.isStreaming ? 0.5 : 1) - .animation(.default, value: viewModel.isStreaming) - - Spacer() - - GeometryReader { geometry in - HStack(spacing: 24) { - Button( - action: { - Task { - if viewModel.isStreaming { - await viewModel.stopStreaming() - } else { - await viewModel.startStreaming() - } - } - }, - label: { - ZStack { - Circle().stroke(lineWidth: 3).fill(.primary) - - RoundedRectangle( - cornerRadius: viewModel.isStreaming ? 4 : 20, - style: .continuous - ) - .fill(.purple) - .padding(viewModel.isStreaming ? 12 : 3) - .animation(.easeInOut(duration: 0.15), value: viewModel.isStreaming) - } - } - ) - .frame(width: 44, height: 44) - .buttonStyle(.plain) - - Button( - action: { - Task { - await viewModel.sendHierarchy() - } - }, - label: { - Image(systemName: "arrow.up.circle") - .resizable() - .aspectRatio(contentMode: .fit) - } - ) - .frame(width: 33, height: 33) - .buttonStyle(.plain) - } - .padding(.vertical, 8) - .padding(.horizontal) - .background( - Material.ultraThin, - in: RoundedRectangle(cornerRadius: 16, style: .continuous) - ) - .disabled(isConnected ? false : true) - .position(location) - .gesture( - DragGesture() - .onChanged { value in - var newLocation = startLocation ?? location - newLocation.x += value.translation.width - newLocation.y += value.translation.height - location = newLocation - } - .updating($startLocation) { value, startLocation, transaction in - startLocation = startLocation ?? location - } - .onEnded { value in - withAnimation( - .interpolatingSpring(stiffness: 150, damping: 20, initialVelocity: 5) - ) { - location = snapToLocation( - containerSize: geometry.size, - predictedEndLocation: value.predictedEndLocation - ) - } - } - ) - } - } - } - .animation(.default, value: viewModel.connectionState) - .task { - await viewModel.startMultipeerSession() - } - } - - private func snapToLocation( - containerSize: CGSize, - predictedEndLocation: CGPoint - ) -> CGPoint { - let midWidth = containerSize.width / 2 - let midHeight = containerSize.height / 2 - var endLocation: CGPoint = .zero - - //Top Leading - if predictedEndLocation.x < midWidth - && predictedEndLocation.y < midHeight - { - endLocation = CGPoint( - x: 88, - y: 33 - ) - } - //Top Trailing - else if predictedEndLocation.x > midWidth - && predictedEndLocation.y < midHeight - { - endLocation = CGPoint( - x: containerSize.width - 88, - y: 33 - ) - } - //Bottom Leading - else if predictedEndLocation.x < midWidth - && predictedEndLocation.y > midHeight - { - endLocation = CGPoint( - x: 88, - y: containerSize.height - 66 - ) - } - //Bottom Trailing - else if predictedEndLocation.x > midWidth - && predictedEndLocation.y > midHeight - { - endLocation = CGPoint( - x: containerSize.width - 88, - y: containerSize.height - 66 - ) - } - - return endLocation - } -} - -extension RealityCheckConnectView { - public func arView(_ arView: ARView) -> Self { - self.viewModel.arView = arView - return self - } -} - -#if DEBUG - struct ContentView_Previews: PreviewProvider { - static var previews: some View { - Group { - RealityCheckConnectView( - viewModel: withDependencies { - $0.multipeerClient.start = { (_, _, _, _, _) in - AsyncStream.finished - } - } operation: { - ViewModel( - hostName: "MOCKY", - arView: .init(frame: .null) - ) - } - ) - .previewDisplayName(".notConnected") - - RealityCheckConnectView( - viewModel: withDependencies { - $0.multipeerClient.start = { (_, _, _, _, _) in - AsyncStream { - $0.yield(.session(.stateDidChange(.connecting(Peer(displayName: "MOCKYPEER"))))) - } - } - } operation: { - ViewModel( - hostName: "MOCKY", - arView: .init(frame: .null) - ) - } - ) - .previewDisplayName(".connecting") - - RealityCheckConnectView( - viewModel: .init( - hostName: "MOCKY", - arView: .init(frame: .null) - ) - ) - .previewDisplayName(".connected") - } - .frame(maxWidth: .infinity, maxHeight: .infinity) - .background { - Image("background_preview", bundle: .module) - .resizable() - .aspectRatio(contentMode: .fill) - .ignoresSafeArea() - } - .preferredColorScheme(.light) - } - } -#endif diff --git a/Sources/RealityCheckConnect/AppInfo+DiscoveryInfo.swift b/Sources/RealityCheckConnect_iOS/Extensions/AppInfo+DiscoveryInfo.swift similarity index 54% rename from Sources/RealityCheckConnect/AppInfo+DiscoveryInfo.swift rename to Sources/RealityCheckConnect_iOS/Extensions/AppInfo+DiscoveryInfo.swift index 81841ed..1207ab3 100644 --- a/Sources/RealityCheckConnect/AppInfo+DiscoveryInfo.swift +++ b/Sources/RealityCheckConnect_iOS/Extensions/AppInfo+DiscoveryInfo.swift @@ -1,10 +1,7 @@ +import DeviceKit import Foundation import MultipeerClient -#if os(iOS) - import DeviceKit -#endif - struct AppInfo { static var appName: String? { readFromInfoPlist(withKey: "CFBundleName") @@ -39,35 +36,30 @@ struct AppInfo { } } -#if os(iOS) - extension AppInfo { - static var discoveryInfo: DiscoveryInfo { - var appVersion: String? - if let version = AppInfo.version, - let build = AppInfo.build - { - appVersion = "\(version) (\(build))" - } +extension AppInfo { + static var discoveryInfo: DiscoveryInfo { + var appVersion: String? + if let version = AppInfo.version, + let build = AppInfo.build + { + appVersion = "\(version) (\(build))" + } - var system: String? - if let systemName = Device.current.systemName, - let systemVersion = Device.current.systemVersion - { - system = "\(systemName) \(systemVersion)" - } + var system: String? - return DiscoveryInfo( - appName: AppInfo.appName, - appVersion: appVersion, - device: Device.current.safeDescription, - system: system - ) - } - } -#else - extension AppInfo { - static var discoveryInfo: DiscoveryInfo { - fatalError("DiscoveryInfo is currently only supported on iOS devices") + if let systemName = Device.current.systemName, + let systemVersion = Device.current.systemVersion + { + system = "\(systemName) \(systemVersion)" } + + let device = Device.current.safeDescription + + return DiscoveryInfo( + appName: AppInfo.appName, + appVersion: appVersion, + device: device, + system: system + ) } -#endif +} diff --git a/Sources/RealityCheckConnect_iOS/Extensions/CGPoint+snapToLocation.swift b/Sources/RealityCheckConnect_iOS/Extensions/CGPoint+snapToLocation.swift new file mode 100644 index 0000000..f44a8e0 --- /dev/null +++ b/Sources/RealityCheckConnect_iOS/Extensions/CGPoint+snapToLocation.swift @@ -0,0 +1,49 @@ +import Foundation + +func snapToLocation( + containerSize: CGSize, + predictedEndLocation: CGPoint +) -> CGPoint { + let midWidth = containerSize.width / 2 + let midHeight = containerSize.height / 2 + var endLocation: CGPoint = .zero + + //Top Leading + if predictedEndLocation.x < midWidth + && predictedEndLocation.y < midHeight + { + endLocation = CGPoint( + x: 88, + y: 33 + ) + } + //Top Trailing + else if predictedEndLocation.x > midWidth + && predictedEndLocation.y < midHeight + { + endLocation = CGPoint( + x: containerSize.width - 88, + y: 33 + ) + } + //Bottom Leading + else if predictedEndLocation.x < midWidth + && predictedEndLocation.y > midHeight + { + endLocation = CGPoint( + x: 88, + y: containerSize.height - 66 + ) + } + //Bottom Trailing + else if predictedEndLocation.x > midWidth + && predictedEndLocation.y > midHeight + { + endLocation = CGPoint( + x: containerSize.width - 88, + y: containerSize.height - 66 + ) + } + + return endLocation +} diff --git a/Sources/RealityCheckConnect_iOS/Extensions/RealityCheckConnectViewModel+Multipeer.swift b/Sources/RealityCheckConnect_iOS/Extensions/RealityCheckConnectViewModel+Multipeer.swift new file mode 100644 index 0000000..e347dd2 --- /dev/null +++ b/Sources/RealityCheckConnect_iOS/Extensions/RealityCheckConnectViewModel+Multipeer.swift @@ -0,0 +1,94 @@ +import Foundation +import Models +import RealityCodable +import RealityDump +import RealityKit //FIXME: avoid depending directly + +extension RealityCheckConnectViewModel { + func startMultipeerSession() async throws { + + /// Setup + for await action in try await multipeerClient.start( + serviceName: "reality-check", + sessionType: .peer, + discoveryInfo: AppInfo.discoveryInfo + ) { + switch action { + case .session(let sessionAction): + switch sessionAction { + case .stateDidChange(let state): + self.connectionState = state + if case .connected = state { + /// Send Hierarchy on connect + await sendMultipeerData() + } + + case .didReceiveData(let data): + guard let sessionEvent = RealityPlatform.iOS.SessionEvent(data: data) else { + fatalError("Unknown data was received.") + } + + switch sessionEvent { + case .entitySelected(let entityID): + selectedEntityID = entityID + await sendSelectedEntityMultipeerRawData() + + case .debugOptionsUpdated(let options): + await MainActor.run { + arView?.debugOptions = ARView.DebugOptions( + rawValue: options.rawValue + ) + } + case .disconnectionRequested: + await multipeerClient.disconnect() + } + } + + case .browser(_): + return + + case .advertiser(let advertiserAction): + switch advertiserAction { + case .didReceiveInvitationFromPeer(let peer): + await multipeerClient.acceptInvitation() + hostName = peer.displayName + } + } + } + } + + func sendMultipeerData() async { + guard case .connected = connectionState else { return } + guard let arView else { + //FIXME: Turn it into a runtime error + fatalError("You need an ARView to send its hierarchy.") + } + var rootEntities: [RealityPlatform.iOS.EntityType] = [] + + let anchors = arView.scene.anchors.map({ $0 }) + for anchor in anchors { + rootEntities.append(anchor.encoded) + } + + let arViewData = try! defaultEncoder.encode( + RealityPlatform.iOS.ARView( + arView, + anchors: rootEntities, + contentScaleFactor: arView.contentScaleFactor + ) + ) + await multipeerClient.send(arViewData) + } + + fileprivate func sendSelectedEntityMultipeerRawData() async { + guard let arView, let selectedEntityID else { return } + + let anchors = arView.scene.anchors.map({ $0 }) + for anchor in anchors { + if let selectedEntity = anchor.findEntity(id: selectedEntityID) { + let rawData = try! defaultEncoder.encode(String(customDumping: selectedEntity)) + await multipeerClient.send(rawData) + } + } + } +} diff --git a/Sources/RealityCheckConnect_iOS/Extensions/RealityCheckConnectViewModel+Streaming.swift b/Sources/RealityCheckConnect_iOS/Extensions/RealityCheckConnectViewModel+Streaming.swift new file mode 100644 index 0000000..9e3300a --- /dev/null +++ b/Sources/RealityCheckConnect_iOS/Extensions/RealityCheckConnectViewModel+Streaming.swift @@ -0,0 +1,22 @@ +import Foundation + +extension RealityCheckConnectViewModel { + + func startVideoStreaming() async { + await MainActor.run { + isStreaming = true + } + + for await frameData in await streamingClient.startScreenCapture() { + await multipeerClient.send(frameData) + } + } + + func stopVideoStreaming() async { + await MainActor.run { + isStreaming = false + } + + streamingClient.stopScreenCapture() + } +} diff --git a/Sources/RealityCheckConnect_iOS/Media.xcassets/Contents.json b/Sources/RealityCheckConnect_iOS/Media.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Sources/RealityCheckConnect_iOS/Media.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/RealityCheckConnect/Media.xcassets/background_preview.imageset/Contents.json b/Sources/RealityCheckConnect_iOS/Media.xcassets/background_preview.imageset/Contents.json similarity index 100% rename from Sources/RealityCheckConnect/Media.xcassets/background_preview.imageset/Contents.json rename to Sources/RealityCheckConnect_iOS/Media.xcassets/background_preview.imageset/Contents.json diff --git a/Sources/RealityCheckConnect/Media.xcassets/background_preview.imageset/background_preview.png b/Sources/RealityCheckConnect_iOS/Media.xcassets/background_preview.imageset/background_preview.png similarity index 100% rename from Sources/RealityCheckConnect/Media.xcassets/background_preview.imageset/background_preview.png rename to Sources/RealityCheckConnect_iOS/Media.xcassets/background_preview.imageset/background_preview.png diff --git a/Sources/RealityCheckConnect/RealityCheckConnectContainer.swift b/Sources/RealityCheckConnect_iOS/RealityCheckConnectContainer.swift similarity index 100% rename from Sources/RealityCheckConnect/RealityCheckConnectContainer.swift rename to Sources/RealityCheckConnect_iOS/RealityCheckConnectContainer.swift diff --git a/Sources/RealityCheckConnect/RealityCheckConnectLibraryViewContent.swift b/Sources/RealityCheckConnect_iOS/RealityCheckConnectLibraryViewContent.swift similarity index 100% rename from Sources/RealityCheckConnect/RealityCheckConnectLibraryViewContent.swift rename to Sources/RealityCheckConnect_iOS/RealityCheckConnectLibraryViewContent.swift diff --git a/Sources/RealityCheckConnect_iOS/RealityCheckConnectView.swift b/Sources/RealityCheckConnect_iOS/RealityCheckConnectView.swift new file mode 100644 index 0000000..cbdc841 --- /dev/null +++ b/Sources/RealityCheckConnect_iOS/RealityCheckConnectView.swift @@ -0,0 +1,219 @@ +import Dependencies +import MultipeerClient +import RealityKit +import SwiftUI + +/** +Represents a SwiftUI view for controlling the RealityCheck connection and exchange of the running AR experience data. + +Use the `RealityCheckConnectView` struct to display the state of the connection and provide a user interface for establishing a connection with **RealityCheck** macOS app. Once integrated, the GUI will allow to connect and exchange AR scene hierarchy data. It utilizes SwiftUI for rendering the user interface. and can be accessed as a `LibraryItem` from the `Library` panel. + +**Usage** + +1. Initialize `RealityCheckConnectView` and provide an optional `ARView` instance to enable hierarchy sending functionality. +2. Add `RealityCheckConnectView` to your SwiftUI view hierarchy. + +**Example** + +Here's an example of how to use `RealityCheckConnectView`: +```swift +var body: some View { + ZStack { + // Other views + RealityCheckConnectView(arView) + } +} +``` + */ +public struct RealityCheckConnectView: View { + @ObservedObject private var viewModel: RealityCheckConnectViewModel + + public init() { + self.viewModel = .init() + } + + public init( + _ arView: ARView + ) { + self.viewModel = .init(arView: arView) + } + + fileprivate init( + viewModel: RealityCheckConnectViewModel + ) { + self.viewModel = viewModel + } + + var connectionStateFill: Color { + switch viewModel.connectionState { + case .notConnected: + return .red + case .connecting: + return .orange + case .connected: + return .green + } + } + + var connectionStateMessage: String { + switch viewModel.connectionState { + case .notConnected: + return "not connected" + case .connecting: + return "connecting" + case .connected: + return viewModel.isStreaming + ? " " + : "connected to: \(viewModel.hostName)" + } + } + + var isConnected: Bool { + switch viewModel.connectionState { + case .notConnected, .connecting: + return false + case .connected: + return true + } + } + + @State var location: CGPoint = CGPoint(x: 88, y: 33) + @GestureState var startLocation: CGPoint? = nil + + public var body: some View { + ///inner corner radius + padding = outer corner radius + RoundedRectangle(cornerRadius: 32, style: .continuous) + .stroke(lineWidth: viewModel.isStreaming ? 0.5 : 3) + .fill(Material.ultraThin) + .animation(.default, value: viewModel.isStreaming) + .padding() + .overlay { + VStack { + Text(connectionStateMessage) + .font(.system(.caption, design: .rounded)) + .padding(8) + .background( + Capsule(style: .continuous) + .fill(connectionStateFill) + ) + .scaleEffect(viewModel.isStreaming ? 0.5 : 1) + .animation(.default, value: viewModel.isStreaming) + + Spacer() + + GeometryReader { geometry in + HStack(spacing: 16) { + Button( + action: { + Task { + if viewModel.isStreaming { + await viewModel.stopVideoStreaming() + } else { + await viewModel.startVideoStreaming() + } + } + }, + label: { + ZStack { + Circle().stroke(lineWidth: 3) + + RoundedRectangle( + cornerRadius: viewModel.isStreaming ? 4 : 20, + style: .continuous + ) + .fill(.purple) + .padding(viewModel.isStreaming ? 12 : 3) + .animation(.easeInOut(duration: 0.15), value: viewModel.isStreaming) + } + } + ) + .frame(width: 44, height: 44) + .buttonStyle(.plain) + + Image(systemName: "line.3.horizontal") + .accessibilityHidden(true) + .foregroundColor(.secondary) + } + .padding(10) + .background( + Material.ultraThin, + in: RoundedRectangle(cornerRadius: 24, style: .continuous) + ) + .disabled(isConnected ? false : true) + .position(location) + .gesture( + DragGesture() + .onChanged { value in + var newLocation = startLocation ?? location + newLocation.x += value.translation.width + newLocation.y += value.translation.height + location = newLocation + } + .updating($startLocation) { value, startLocation, transaction in + startLocation = startLocation ?? location + } + .onEnded { value in + withAnimation( + .interpolatingSpring(stiffness: 150, damping: 20, initialVelocity: 5) + ) { + location = snapToLocation( + containerSize: geometry.size, + predictedEndLocation: value.predictedEndLocation + ) + } + } + ) + } + } + } + .animation(.default, value: viewModel.connectionState) + } +} + +extension RealityCheckConnectView { + public func arView(_ arView: ARView) -> Self { + self.viewModel.arView = arView + return self + } +} + +#Preview { + RealityCheckConnectView( + viewModel: withDependencies { + $0.multipeerClient.start = { (_, _, _) in + AsyncStream.finished + } + } operation: { + RealityCheckConnectViewModel( + hostName: "MOCKY", + arView: .init(frame: .null) + ) + } + ) +} + +#Preview { + RealityCheckConnectView( + viewModel: withDependencies { + $0.multipeerClient.start = { (_, _, _) in + AsyncStream { + $0.yield(.session(.stateDidChange(.connecting(Peer(displayName: "MOCKYPEER"))))) + } + } + } operation: { + RealityCheckConnectViewModel( + hostName: "MOCKY", + arView: .init(frame: .null) + ) + } + ) +} + +#Preview { + RealityCheckConnectView( + viewModel: .init( + hostName: "MOCKY", + arView: .init(frame: .null) + ) + ) +} diff --git a/Sources/RealityCheckConnect_iOS/RealityCheckConnectViewModel.swift b/Sources/RealityCheckConnect_iOS/RealityCheckConnectViewModel.swift new file mode 100644 index 0000000..dfd6fb9 --- /dev/null +++ b/Sources/RealityCheckConnect_iOS/RealityCheckConnectViewModel.swift @@ -0,0 +1,38 @@ +import Dependencies +import Models +import MultipeerClient +import RealityCodable +import RealityDump +import RealityKit +import StreamingClient +import SwiftUI + +@MainActor +final class RealityCheckConnectViewModel: ObservableObject { + @Published var connectionState: MultipeerClient.SessionState + @Published var hostName: String + @Published var isStreaming = false + var selectedEntityID: UInt64? + + @Dependency(\.multipeerClient) var multipeerClient + @Dependency(\.streamingClient) var streamingClient + + weak var arView: ARView? + private var selectionEntity = ModelEntity( + mesh: .generateSphere(radius: 0.075), + materials: [UnlitMaterial(color: .systemPink)] + ) + + init( + connectionState: MultipeerClient.SessionState = .notConnected, + hostName: String = "[REDACTED]", + arView: ARView? = nil + ) { + self.connectionState = connectionState + self.hostName = hostName + self.arView = arView + Task { + try await startMultipeerSession() + } + } +} diff --git a/Sources/RealityCheckConnect_visionOS/Extensions/AppInfo+DiscoveryInfo.swift b/Sources/RealityCheckConnect_visionOS/Extensions/AppInfo+DiscoveryInfo.swift new file mode 100644 index 0000000..501913f --- /dev/null +++ b/Sources/RealityCheckConnect_visionOS/Extensions/AppInfo+DiscoveryInfo.swift @@ -0,0 +1,66 @@ +import Foundation +import MultipeerClient + +struct AppInfo { + static var appName: String? { + readFromInfoPlist(withKey: "CFBundleName") + } + + static var appDisplayName: String? { + readFromInfoPlist(withKey: "CFBundleDisplayName") + } + + static var version: String? { + readFromInfoPlist(withKey: "CFBundleShortVersionString") + } + + static var build: String? { + readFromInfoPlist(withKey: "CFBundleVersion") + } + + static var minimumOSVersion: String? { + readFromInfoPlist(withKey: "MinimumOSVersion") + } + + static var copyrightNotice: String? { + readFromInfoPlist(withKey: "NSHumanReadableCopyright") + } + + static var bundleIdentifier: String? { + readFromInfoPlist(withKey: "CFBundleIdentifier") + } + + // lets hold a reference to the Info.plist of the app as Dictionary + static private let infoPlistDictionary = Bundle.main.infoDictionary + + /// Retrieves and returns associated values (of Type String) from info.Plist of the app. + static private func readFromInfoPlist(withKey key: String) -> String? { + infoPlistDictionary?[key] as? String + } +} + +extension AppInfo { + static var discoveryInfo: DiscoveryInfo { + var appVersion: String? + if let version = AppInfo.version, + let build = AppInfo.build + { + appVersion = "\(version) (\(build))" + } + + var system: String? + + //FIXME: find a way to get the system version + system = "visionOS 1.0" + + //FIXME: find a way to get the device name + let device = "Vision Pro" + + return DiscoveryInfo( + appName: AppInfo.appDisplayName, + appVersion: appVersion, + device: device, + system: system + ) + } +} diff --git a/Sources/RealityCheckConnect_visionOS/Extensions/RealityCheckConnectViewModel+Multipeer.swift b/Sources/RealityCheckConnect_visionOS/Extensions/RealityCheckConnectViewModel+Multipeer.swift new file mode 100644 index 0000000..a021e81 --- /dev/null +++ b/Sources/RealityCheckConnect_visionOS/Extensions/RealityCheckConnectViewModel+Multipeer.swift @@ -0,0 +1,89 @@ +import Dependencies +import Foundation +import Models +import MultipeerClient +import RealityCodable +import RealityDump + +extension RealityCheckConnectViewModel { + func startMultipeerSession() async throws { + + /// Setup + for await action in try await multipeerClient.start( + serviceName: "reality-check", + sessionType: .peer, + discoveryInfo: AppInfo.discoveryInfo + ) { + switch action { + case .session(let sessionAction): + switch sessionAction { + case .stateDidChange(let state): + connectionState = state + + if case .connected = state { + /// Send Hierarchy on connect + await sendMultipeerData() + } + + case .didReceiveData(let data): + guard let sessionEvent = RealityPlatform.visionOS.SessionEvent(data: data) else { + fatalError("Unknown data was received.") + } + + switch sessionEvent { + case .entitySelected(let entityID): + selectedEntityID = entityID + await sendSelectedEntityMultipeerRawData() + + case .disconnectionRequested: + await multipeerClient.disconnect() + } + } + + case .browser: + return + + case .advertiser(let advertiserAction): + switch advertiserAction { + case .didReceiveInvitationFromPeer(let peer): + await multipeerClient.acceptInvitation() + hostName = peer.displayName + } + } + } + } + + func sendMultipeerData() async { + guard case .connected = connectionState else { return } + var rootEntities: [RealityPlatform.visionOS.EntityType] = [] + + for content in scenes.values { + guard let root = content.root else { return } + rootEntities.append(await root.encoded) + } + + let sceneData = try! defaultEncoder.encode( + RealityPlatform.visionOS.Scene(children: rootEntities) + ) + + self.debouncedUpdateContentTask?.cancel() + self.debouncedUpdateContentTask = Task { + try await Task.sleep(for: .milliseconds(300)) + await multipeerClient.send(sceneData) + } + } + + fileprivate func sendSelectedEntityMultipeerRawData() async { + guard let selectedEntityID else { return } + + for scene in scenes.values { + guard let root = scene.root else { return } + + //TODO: It appears that visionOS has a new "locate by ID" API. Have a look at it. + if let selectedEntity = await root.findEntity(id: selectedEntityID) { + let rawData = try! defaultEncoder.encode(String(customDumping: selectedEntity)) + await multipeerClient.send(rawData) + } + } + } +} diff --git a/Sources/RealityCheckConnect_visionOS/Extensions/RealityCheckConnectViewModel+Streaming.swift b/Sources/RealityCheckConnect_visionOS/Extensions/RealityCheckConnectViewModel+Streaming.swift new file mode 100644 index 0000000..bf83bc3 --- /dev/null +++ b/Sources/RealityCheckConnect_visionOS/Extensions/RealityCheckConnectViewModel+Streaming.swift @@ -0,0 +1,24 @@ +import Dependencies +import Foundation +import StreamingClient + +//MARK: - Video streaming +extension RealityCheckConnectViewModel { + public func startVideoStreaming() async { + await MainActor.run { + isStreaming = true + } + + for await frameData in await streamingClient.startScreenCapture() { + await multipeerClient.send(frameData) + } + } + + func stopVideoStreaming() async { + await MainActor.run { + isStreaming = false + } + + streamingClient.stopScreenCapture() + } +} diff --git a/Sources/RealityCheckConnect_visionOS/RealityCheckConnectViewModel.swift b/Sources/RealityCheckConnect_visionOS/RealityCheckConnectViewModel.swift new file mode 100644 index 0000000..7d8e6bd --- /dev/null +++ b/Sources/RealityCheckConnect_visionOS/RealityCheckConnectViewModel.swift @@ -0,0 +1,65 @@ +import Dependencies +import Foundation +import Models +import MultipeerClient +import RealityKit +import SwiftUI + +@Observable +final public class RealityCheckConnectViewModel { + var connectionState: MultipeerClient.SessionState + var scenes: [UInt64: RealityViewContent] = [:] + var hostName: String + var isStreaming = false + var selectedEntityID: UInt64? + + @ObservationIgnored + var debouncedUpdateContentTask: Task? + + @ObservationIgnored + @Dependency(\.multipeerClient) var multipeerClient + + @ObservationIgnored + @Dependency(\.streamingClient) var streamingClient + + public init( + connectionState: MultipeerClient.SessionState = .notConnected, + hostName: String = "[REDACTED]" + ) { + self.connectionState = connectionState + self.hostName = hostName + + Task(priority: .userInitiated) { + do { + try await startMultipeerSession() + } + } + } + + func updateContent(_ content: RealityViewContent) { + guard let scene = content.root?.scene else { return } + _scenes.updateValue(content, forKey: scene.id) + + Task { + await sendMultipeerData() + } + } + + func addScene(_ content: RealityViewContent) { + guard let scene = content.root?.scene else { return } + _scenes.updateValue(content, forKey: scene.id) + + Task { + await sendMultipeerData() + } + } + + func removeScene(_ content: RealityViewContent) { + guard let scene = content.root?.scene else { return } + _scenes.removeValue(forKey: scene.id) + + Task { + await sendMultipeerData() + } + } +} diff --git a/Sources/RealityCheckConnect_visionOS/RealityCheckView.swift b/Sources/RealityCheckConnect_visionOS/RealityCheckView.swift new file mode 100644 index 0000000..a3bcb80 --- /dev/null +++ b/Sources/RealityCheckConnect_visionOS/RealityCheckView.swift @@ -0,0 +1,53 @@ +import RealityKit +import SwiftUI + +public struct RealityCheckView: View { + + @Environment(RealityCheckConnectViewModel.self) var realityCheckConnectModel + @State private var subscription: EventSubscription? + + let make: @MainActor @Sendable (inout RealityViewContent) async -> Void + var update: ((inout RealityViewContent) -> Void)? + + public init( + make: @escaping @MainActor @Sendable (inout RealityViewContent) async -> Void, + update: ((inout RealityViewContent) -> Void)? = nil + ) { + self.make = make + self.update = update + } + + public var body: some View { + RealityView( + make: { content in + let referenceEntity = Entity() + referenceEntity.name = "__realityCheck" + content.add(referenceEntity) + + subscription = content.subscribe(to: SceneEvents.DidAddEntity.self) { [content] event in + realityCheckConnectModel.addScene(content) + } + + subscription = content.subscribe(to: SceneEvents.WillRemoveEntity.self) { [content] event in + realityCheckConnectModel.removeScene(content) + } + + await make(&content) + }, + update: { content in + realityCheckConnectModel.updateContent(content) + update?(&content) + } + ) + } +} + +extension View { + public func realityCheck() -> some View { + return + self + .background { + RealityCheckView { _ in } + } + } +} diff --git a/Sources/Models/CodableARView.swift b/Sources/RealityCodable/ARView+Codable.swift similarity index 53% rename from Sources/Models/CodableARView.swift rename to Sources/RealityCodable/ARView+Codable.swift index c04eb8c..6f2b158 100644 --- a/Sources/Models/CodableARView.swift +++ b/Sources/RealityCodable/ARView+Codable.swift @@ -1,46 +1,38 @@ import Foundation +import Models import RealityKit -public struct CodableScene: Codable, Equatable { - public let anchors: [IdentifiableEntity] - - init( - anchors: [IdentifiableEntity] - ) { - self.anchors = anchors - } - - //TODO: allow anchors identification at this level - // init( - // _ scene: RealityKit.Scene - // ) { - // self.anchors = ??? - // } -} - -extension RealityKit.ARView.DebugOptions: Codable {} - -public struct CodableARView: Codable, Equatable { - //MARK: Working with the Scene - public let scene: CodableScene - - //MARK: Debugging the Session - ///The current debugging options. - public let debugOptionsRawValue: RealityKit.ARView.DebugOptions.RawValue - - /// #Managing the View - - // The scale factor of the content in the view. - public let contentScaleFactor: CGFloat - - public init( - _ arView: RealityKit.ARView, - anchors: [IdentifiableEntity], - contentScaleFactor: CGFloat - ) { - self.scene = CodableScene(anchors: anchors) - self.debugOptionsRawValue = arView.debugOptions.rawValue - self.contentScaleFactor = contentScaleFactor +#if os(iOS) + extension RealityKit.ARView.DebugOptions: Codable {} +#endif + +extension RealityPlatform.iOS { + public struct ARView: Codable, Equatable { + //MARK: Working with the Scene + public let scene: RealityPlatform.iOS.Scene + + #if os(iOS) || os(macOS) + //MARK: Debugging the Session + ///The current debugging options. + public let debugOptionsRawValue: RealityKit.ARView.DebugOptions.RawValue + #endif + + /// #Managing the View + + // The scale factor of the content in the view. + public let contentScaleFactor: CGFloat + + #if os(iOS) + public init( + _ arView: RealityKit.ARView, + anchors: [RealityPlatform.iOS.EntityType], + contentScaleFactor: CGFloat + ) { + self.scene = .init(anchors: anchors) + self.debugOptionsRawValue = arView.debugOptions.rawValue + self.contentScaleFactor = contentScaleFactor + } + #endif } } @@ -88,3 +80,29 @@ public struct CodableARView: Codable, Equatable { var debugOptions: ARView.DebugOptions The current debugging options. */ + +// extension ARView { +// public func findEntityIdentified(targetID: UInt64) -> Entity? { +// for anchor in self.scene.anchors { +// if let entity = findCodableEntity(root: anchor, targetID: targetID) { +// return entity +// } +// } +// +// return nil +// } +// } + +// public func findCodableEntity(root: RealityKit.Entity, targetID: UInt64) -> Entity? { +// if root.id == targetID { +// return root +// } +// +// for child in root.children { +// if let foundNode = findCodableEntity(root: child, targetID: targetID) { +// return foundNode +// } +// } +// +// return nil +// } diff --git a/Sources/RealityCodable/Components/RealityKitComponentSet+Encoding.swift b/Sources/RealityCodable/Components/RealityKitComponentSet+Encoding.swift new file mode 100644 index 0000000..b9b1578 --- /dev/null +++ b/Sources/RealityCodable/Components/RealityKitComponentSet+Encoding.swift @@ -0,0 +1,57 @@ +import Foundation +import Models +import RealityKit + +extension RealityKit.Entity.ComponentSet { + + #if os(iOS) + + public var encoded: [RealityPlatform.iOS.Component] { + //FIXME: this will be more correct using `Set` + var encodedComponents: [RealityPlatform.iOS.Component] = [] + + for componentType in RealityPlatform.iOS.ComponentType.allCases { + if let component = self[componentType.rawType] { + let encodedComponent = componentType.makeCodable(from: component) + encodedComponents.append(encodedComponent) + } + } + + return encodedComponents + } + + #elseif os(macOS) + + public var encoded: [RealityPlatform.macOS.Component] { + //FIXME: this will be more correct using `Set` + var encodedComponents: [RealityPlatform.macOS.Component] = [] + + for componentType in RealityPlatform.macOS.ComponentType.allCases { + if let component = self[componentType.rawType] { + let encodedComponent = componentType.makeCodable(from: component) + encodedComponents.append(encodedComponent) + } + } + + return encodedComponents + } + + #elseif os(visionOS) + + public var encoded: [RealityPlatform.visionOS.Component] { + //FIXME: this will be more correct using `Set` + var encodedComponents: [RealityPlatform.visionOS.Component] = [] + + for componentType in RealityPlatform.visionOS.ComponentType.allCases { + if let component = self[componentType.rawType] { + let encodedComponent = componentType.makeCodable(from: component) + encodedComponents.append(encodedComponent) + } + } + + return encodedComponents + } + + #endif + +} diff --git a/Sources/RealityCodable/Components/autogenerated/ComponentCodable_iOS.swift b/Sources/RealityCodable/Components/autogenerated/ComponentCodable_iOS.swift new file mode 100644 index 0000000..2c2c419 --- /dev/null +++ b/Sources/RealityCodable/Components/autogenerated/ComponentCodable_iOS.swift @@ -0,0 +1,463 @@ +// This file was automatically generated and should not be edited. + +import CustomDump +import Foundation +import Models +import RealityKit +extension RealityPlatform.iOS { + public enum Component: Codable, Hashable { + case accessibilityComponent(AccessibilityComponent) + case anchoringComponent(AnchoringComponent) + case bodyTrackingComponent(BodyTrackingComponent) + case characterControllerComponent(CharacterControllerComponent) + case characterControllerStateComponent(CharacterControllerStateComponent) + case collisionComponent(CollisionComponent) + case directionalLightComponent(DirectionalLightComponent) + case modelComponent(ModelComponent) + case modelDebugOptionsComponent(ModelDebugOptionsComponent) + case perspectiveCameraComponent(PerspectiveCameraComponent) + case physicsBodyComponent(PhysicsBodyComponent) + case physicsMotionComponent(PhysicsMotionComponent) + case pointLightComponent(PointLightComponent) + case sceneUnderstandingComponent(SceneUnderstandingComponent) + case spotLightComponent(SpotLightComponent) + case synchronizationComponent(SynchronizationComponent) + case transform(Transform) + } +} +extension RealityPlatform.iOS.Component: CustomStringConvertible { + public var description: String { + switch self { + case .accessibilityComponent: + return "AccessibilityComponent" + case .anchoringComponent: + return "AnchoringComponent" + case .bodyTrackingComponent: + return "BodyTrackingComponent" + case .characterControllerComponent: + return "CharacterControllerComponent" + case .characterControllerStateComponent: + return "CharacterControllerStateComponent" + case .collisionComponent: + return "CollisionComponent" + case .directionalLightComponent: + return "DirectionalLightComponent" + case .modelComponent: + return "ModelComponent" + case .modelDebugOptionsComponent: + return "ModelDebugOptionsComponent" + case .perspectiveCameraComponent: + return "PerspectiveCameraComponent" + case .physicsBodyComponent: + return "PhysicsBodyComponent" + case .physicsMotionComponent: + return "PhysicsMotionComponent" + case .pointLightComponent: + return "PointLightComponent" + case .sceneUnderstandingComponent: + return "SceneUnderstandingComponent" + case .spotLightComponent: + return "SpotLightComponent" + case .synchronizationComponent: + return "SynchronizationComponent" + case .transform: + return "Transform" + } + } +} +extension RealityPlatform.iOS.Component { + public var comment: String? { + switch self { + case .accessibilityComponent(let value): + return value.comment + case .anchoringComponent(let value): + return value.comment + case .bodyTrackingComponent(let value): + return value.comment + case .characterControllerComponent(let value): + return value.comment + case .characterControllerStateComponent(let value): + return value.comment + case .collisionComponent(let value): + return value.comment + case .directionalLightComponent(let value): + return value.comment + case .modelComponent(let value): + return value.comment + case .modelDebugOptionsComponent(let value): + return value.comment + case .perspectiveCameraComponent(let value): + return value.comment + case .physicsBodyComponent(let value): + return value.comment + case .physicsMotionComponent(let value): + return value.comment + case .pointLightComponent(let value): + return value.comment + case .sceneUnderstandingComponent(let value): + return value.comment + case .spotLightComponent(let value): + return value.comment + case .synchronizationComponent(let value): + return value.comment + case .transform(let value): + return value.comment + } + } +} +extension RealityPlatform.iOS.Component { + public var reflectedDescription: String? { + switch self { + case .accessibilityComponent(let value): + return value.reflectedDescription + case .anchoringComponent(let value): + return value.reflectedDescription + case .bodyTrackingComponent(let value): + return value.reflectedDescription + case .characterControllerComponent(let value): + return value.reflectedDescription + case .characterControllerStateComponent(let value): + return value.reflectedDescription + case .collisionComponent(let value): + return value.reflectedDescription + case .directionalLightComponent(let value): + return value.reflectedDescription + case .modelComponent(let value): + return value.reflectedDescription + case .modelDebugOptionsComponent(let value): + return value.reflectedDescription + case .perspectiveCameraComponent(let value): + return value.reflectedDescription + case .physicsBodyComponent(let value): + return value.reflectedDescription + case .physicsMotionComponent(let value): + return value.reflectedDescription + case .pointLightComponent(let value): + return value.reflectedDescription + case .sceneUnderstandingComponent(let value): + return value.reflectedDescription + case .spotLightComponent(let value): + return value.reflectedDescription + case .synchronizationComponent(let value): + return value.reflectedDescription + case .transform(let value): + return value.reflectedDescription + } + } +} +//MARK: iOS + +extension RealityPlatform.iOS { + public struct AccessibilityComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.AccessibilityComponent) { + //TODO: self.systemActions = component.systemActions + //TODO: self.label = component.label + //TODO: self.value = component.value + //TODO: self.customContent = component.customContent + //TODO: self.customActions = component.customActions + //TODO: self.isAccessibilityElement = component.isAccessibilityElement + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct AnchoringComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.AnchoringComponent) { + //TODO: self.target = component.target + self.comment = + """ + A description of how virtual content can be anchored to the real world. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct BodyTrackingComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.BodyTrackingComponent) { + //TODO: self.isPaused = component.isPaused + //TODO: self.target = component.target + self.comment = + """ + A component for tracking people in an AR session. Body tracking requires a compatible rigged model. For more information on creating a compatible model, see . For a sample app that uses body tracking, see + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CharacterControllerComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.CharacterControllerComponent) { + //TODO: self.slopeLimit = component.slopeLimit + //TODO: self.upVector = component.upVector + //TODO: self.stepLimit = component.stepLimit + //TODO: self.height = component.height + //TODO: self.collisionFilter = component.collisionFilter + //TODO: self.skinWidth = component.skinWidth + //TODO: self.radius = component.radius + self.comment = + """ + A component that manages character movement. To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent`` to your entity to make it a character entity. Character entities can *move* to new locations in space, which happens over a period of time based on how you've configured the character controller component, and also *teleport*, which moves the charcter to the new location instantaneously. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CharacterControllerStateComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.CharacterControllerStateComponent) { + //TODO: self.isOnGround = component.isOnGround + //TODO: self.velocity = component.velocity + self.comment = + """ + An object that maintains state for a character controller. Add this component to an entity, this along with ``CharacterControllerComponent``, to use the entity as a character that moves and animates. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CollisionComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.CollisionComponent) { + //TODO: self.mode = component.mode + //TODO: self.shapes = component.shapes + //TODO: self.filter = component.filter + self.comment = + """ + A component that gives an entity the ability to collide with other entities that also have collision components. This component holds the entity's data related to participating in the scene's physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts. Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a *trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of entities it collides. If configured with a rigid body ``RealityKit/PhysicsBodyComponent/mode`` of ``RealityKit/PhysicsBodyMode/dynamic``, it's own velocity and direction can be affected by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but can trigger code or Reality Composer behaviors when a rigid body enity overlaps it. Turn an entity into a trigger by adding a ``RealityKit/CollisionComponent`` to it and setting its ``RealityKit/CollisionComponent/mode-swift.property`` to ``RealityKit/CollisionComponent/Mode-swift.enum/trigger``. Turn an entity into a _rigd body_ by adding a ``RealityKit/PhysicsBodyComponent`` to the entity in addition to a ``RealityKit/CollisionComponent``. The ``PhysicsBodyComponent`` defines the physical properties of the entity, such as its mass and collision shape. The `filter` property defines the entity's collision filter, which determines which other objects the entity collides with. For more information, see . - Note: If an entity has a ``RealityKit/PhysicsBodyComponent``, the collision component's mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct DirectionalLightComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.DirectionalLightComponent) { + //TODO: self.intensity = component.intensity + //TODO: self.isRealWorldProxy = component.isRealWorldProxy + self.comment = + """ + A component that defines a directional light source. A directional light shines in the entithy's forward direction (0, 0, -1). To orient a directional light, use `HasTransform.look(at:from:upVector:)`. A directional light source can cast shadows. To enable shadows, create a ``RealityKit/DirectionalLightComponent/Shadow`` and assign it to `HasDirectionalLight.shadow`. To disable shadows set `HasDirectionalLight.shadow` to `nil`. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ModelComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.ModelComponent) { + //TODO: self.materials = component.materials + //TODO: self.mesh = component.mesh + //TODO: self.boundsMargin = component.boundsMargin + self.comment = + """ + A collection of resources that create the visual appearance of an entity. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ModelDebugOptionsComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.ModelDebugOptionsComponent) { + //TODO: self.visualizationMode = component.visualizationMode + self.comment = + """ + A component that changes how RealityKit renders its entity to help with debugging. Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells RealityKit to change the way it renders that entity based on a specified ``ModelDebugOptionsComponent/visualizationMode-swift.property``. This component isolates individual parts of the rendering process, such as the entity’s transparency or roughness, and displays surface color to help identify visual anomalies. To use this component, create a `ModelDebugOptionsComponent` and set its ``ModelDebugOptionsComponent/visualizationMode-swift.property`` to the desired value. Then, set the component as the entity’s ``ModelEntity/modelDebugOptions`` property: ```swift if let robot = anchor.findEntity(named: "Robot") as? ModelEntity { let component = ModelDebugOptionsComponent(visualizationMode: .normal) robot.modelDebugOptions = component } ``` For more information on the visualization modes supported by `ModelDebugOptionsComponent`, see ``ModelDebugOptionsComponent/VisualizationMode-swift.enum``. ## Attach a Debug Component to an Entity To attach a debug component to a particular entity, traverse the entity tree while passing the component to each child: ```swift // Traverse the entity tree to attach a certain debug mode through components. func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { entity.components.set(debug) for child in entity.children { attachDebug(entity: child, debug: debug) } } // Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` ## Attach a Debug Component to a Trait To attach a debug component based on a trait, traverse the entity tree while checking for ``HasModel`` adoption: ```swift func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { if let model = entity as? ModelEntity { model.visualizationMode = debug } for child in entity.children { attachDebug(entity: child, debug: debug) } } // Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PerspectiveCameraComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.PerspectiveCameraComponent) { + //TODO: self.fieldOfViewInDegrees = component.fieldOfViewInDegrees + //TODO: self.far = component.far + //TODO: self.near = component.near + self.comment = + """ + In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the camera needs to be set by the app. (If no camera is provided by the app, the system will use default camera.) + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PhysicsBodyComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.PhysicsBodyComponent) { + //TODO: self.isContinuousCollisionDetectionEnabled = component.isContinuousCollisionDetectionEnabled + //TODO: self.isTranslationLocked = component.isTranslationLocked + //TODO: self.massProperties = component.massProperties + //TODO: self.mode = component.mode + //TODO: self.isRotationLocked = component.isRotationLocked + //TODO: self.material = component.material + self.comment = + """ + A component that defines an entity’s behavior in physics body simulations. To participate in a scene's physics simulation, an entity must have a ``RealityKit/PhysicsBodyComponent`` and a ``RealityKit/CollisionComponent``. If you need to move an entity that participates in the physics system, it also needs a ``RealityKit/PhysicsMotionComponent``. Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body, following basic rules of Newtonian mechanics. - Note: Model entities have a physics body component by default. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PhysicsMotionComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.PhysicsMotionComponent) { + //TODO: self.angularVelocity = component.angularVelocity + //TODO: self.linearVelocity = component.linearVelocity + self.comment = + """ + A component that controls the motion of the body in physics simulations. You specify velocities in the coordinate space of the physics simulation defined by ``ARView/physicsOrigin``. The behavior of an entity with a physics motion component depends on the entity’s ``PhysicsBodyComponent/mode`` setting: - term ``PhysicsBodyMode/static``: The physics simulation ignores the velocities. The entity doesn’t move. - term ``PhysicsBodyMode/kinematic``: The physics simulation moves the body according to the values you set for ``PhysicsMotionComponent/angularVelocity`` and ``PhysicsMotionComponent/linearVelocity``. - term ``PhysicsBodyMode/dynamic``: The physics simulation overwrites the velocity values based on simulation, and ignores any values that you write. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PointLightComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.PointLightComponent) { + //TODO: self.intensity = component.intensity + //TODO: self.attenuationRadius = component.attenuationRadius + self.comment = + """ + A component that defines a point light source. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct SceneUnderstandingComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.SceneUnderstandingComponent) { + //TODO: self.entityType = component.entityType + self.comment = + """ + A component that maps features of the physical environment. Example features include faces and the shape of arbitrary regions. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct SpotLightComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.SpotLightComponent) { + //TODO: self.attenuationRadius = component.attenuationRadius + //TODO: self.outerAngleInDegrees = component.outerAngleInDegrees + //TODO: self.innerAngleInDegrees = component.innerAngleInDegrees + //TODO: self.intensity = component.intensity + self.comment = + """ + A component that defines a spotlight source. A spot light illuminates a cone-shaped volume in the entity's forward direction (0, 0, -1) . To orient a spot light, use `HasTransform.look(at:from:upVector:)`. To enable shadows, create a ``RealityKit/DirectionalLightComponent/Shadow`` and assign it to `HasDirectionalLight.shadow`. To disable shadows set `HasDirectionalLight.shadow` to `nil`. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct SynchronizationComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.SynchronizationComponent) { + //TODO: self.identifier = component.identifier + //TODO: self.ownershipTransferMode = component.ownershipTransferMode + //TODO: self.isOwner = component.isOwner + self.comment = + """ + A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct Transform: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(iOS) + init(rawValue component: RealityKit.Transform) { + //TODO: self.rotation = component.rotation + //TODO: self.translation = component.translation + //TODO: self.hashValue = component.hashValue + //TODO: self.matrix = component.matrix + //TODO: self.scale = component.scale + self.comment = + """ + A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} +} +#if os(iOS) +extension RealityPlatform.iOS.ComponentType { + func makeCodable(from component: RealityKit.Component) -> RealityPlatform.iOS.Component { + switch self { + case .accessibilityComponent: + return .accessibilityComponent(.init(rawValue: component as! AccessibilityComponent)) + case .anchoringComponent: + return .anchoringComponent(.init(rawValue: component as! AnchoringComponent)) + case .bodyTrackingComponent: + return .bodyTrackingComponent(.init(rawValue: component as! BodyTrackingComponent)) + case .characterControllerComponent: + return .characterControllerComponent(.init(rawValue: component as! CharacterControllerComponent)) + case .characterControllerStateComponent: + return .characterControllerStateComponent(.init(rawValue: component as! CharacterControllerStateComponent)) + case .collisionComponent: + return .collisionComponent(.init(rawValue: component as! CollisionComponent)) + case .directionalLightComponent: + return .directionalLightComponent(.init(rawValue: component as! DirectionalLightComponent)) + case .modelComponent: + return .modelComponent(.init(rawValue: component as! ModelComponent)) + case .modelDebugOptionsComponent: + return .modelDebugOptionsComponent(.init(rawValue: component as! ModelDebugOptionsComponent)) + case .perspectiveCameraComponent: + return .perspectiveCameraComponent(.init(rawValue: component as! PerspectiveCameraComponent)) + case .physicsBodyComponent: + return .physicsBodyComponent(.init(rawValue: component as! PhysicsBodyComponent)) + case .physicsMotionComponent: + return .physicsMotionComponent(.init(rawValue: component as! PhysicsMotionComponent)) + case .pointLightComponent: + return .pointLightComponent(.init(rawValue: component as! PointLightComponent)) + case .sceneUnderstandingComponent: + return .sceneUnderstandingComponent(.init(rawValue: component as! SceneUnderstandingComponent)) + case .spotLightComponent: + return .spotLightComponent(.init(rawValue: component as! SpotLightComponent)) + case .synchronizationComponent: + return .synchronizationComponent(.init(rawValue: component as! SynchronizationComponent)) + case .transform: + return .transform(.init(rawValue: component as! Transform)) + } + } +} +#endif diff --git a/Sources/RealityCodable/Components/autogenerated/ComponentCodable_macOS.swift b/Sources/RealityCodable/Components/autogenerated/ComponentCodable_macOS.swift new file mode 100644 index 0000000..83074b1 --- /dev/null +++ b/Sources/RealityCodable/Components/autogenerated/ComponentCodable_macOS.swift @@ -0,0 +1,422 @@ +// This file was automatically generated and should not be edited. + +import CustomDump +import Foundation +import Models +import RealityKit +extension RealityPlatform.macOS { + public enum Component: Codable, Hashable { + case accessibilityComponent(AccessibilityComponent) + case anchoringComponent(AnchoringComponent) + case characterControllerComponent(CharacterControllerComponent) + case characterControllerStateComponent(CharacterControllerStateComponent) + case collisionComponent(CollisionComponent) + case directionalLightComponent(DirectionalLightComponent) + case modelComponent(ModelComponent) + case modelDebugOptionsComponent(ModelDebugOptionsComponent) + case perspectiveCameraComponent(PerspectiveCameraComponent) + case physicsBodyComponent(PhysicsBodyComponent) + case physicsMotionComponent(PhysicsMotionComponent) + case pointLightComponent(PointLightComponent) + case spotLightComponent(SpotLightComponent) + case synchronizationComponent(SynchronizationComponent) + case transform(Transform) + } +} +extension RealityPlatform.macOS.Component: CustomStringConvertible { + public var description: String { + switch self { + case .accessibilityComponent: + return "AccessibilityComponent" + case .anchoringComponent: + return "AnchoringComponent" + case .characterControllerComponent: + return "CharacterControllerComponent" + case .characterControllerStateComponent: + return "CharacterControllerStateComponent" + case .collisionComponent: + return "CollisionComponent" + case .directionalLightComponent: + return "DirectionalLightComponent" + case .modelComponent: + return "ModelComponent" + case .modelDebugOptionsComponent: + return "ModelDebugOptionsComponent" + case .perspectiveCameraComponent: + return "PerspectiveCameraComponent" + case .physicsBodyComponent: + return "PhysicsBodyComponent" + case .physicsMotionComponent: + return "PhysicsMotionComponent" + case .pointLightComponent: + return "PointLightComponent" + case .spotLightComponent: + return "SpotLightComponent" + case .synchronizationComponent: + return "SynchronizationComponent" + case .transform: + return "Transform" + } + } +} +extension RealityPlatform.macOS.Component { + public var comment: String? { + switch self { + case .accessibilityComponent(let value): + return value.comment + case .anchoringComponent(let value): + return value.comment + case .characterControllerComponent(let value): + return value.comment + case .characterControllerStateComponent(let value): + return value.comment + case .collisionComponent(let value): + return value.comment + case .directionalLightComponent(let value): + return value.comment + case .modelComponent(let value): + return value.comment + case .modelDebugOptionsComponent(let value): + return value.comment + case .perspectiveCameraComponent(let value): + return value.comment + case .physicsBodyComponent(let value): + return value.comment + case .physicsMotionComponent(let value): + return value.comment + case .pointLightComponent(let value): + return value.comment + case .spotLightComponent(let value): + return value.comment + case .synchronizationComponent(let value): + return value.comment + case .transform(let value): + return value.comment + } + } +} +extension RealityPlatform.macOS.Component { + public var reflectedDescription: String? { + switch self { + case .accessibilityComponent(let value): + return value.reflectedDescription + case .anchoringComponent(let value): + return value.reflectedDescription + case .characterControllerComponent(let value): + return value.reflectedDescription + case .characterControllerStateComponent(let value): + return value.reflectedDescription + case .collisionComponent(let value): + return value.reflectedDescription + case .directionalLightComponent(let value): + return value.reflectedDescription + case .modelComponent(let value): + return value.reflectedDescription + case .modelDebugOptionsComponent(let value): + return value.reflectedDescription + case .perspectiveCameraComponent(let value): + return value.reflectedDescription + case .physicsBodyComponent(let value): + return value.reflectedDescription + case .physicsMotionComponent(let value): + return value.reflectedDescription + case .pointLightComponent(let value): + return value.reflectedDescription + case .spotLightComponent(let value): + return value.reflectedDescription + case .synchronizationComponent(let value): + return value.reflectedDescription + case .transform(let value): + return value.reflectedDescription + } + } +} +//MARK: macOS + +extension RealityPlatform.macOS { + public struct AccessibilityComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + @available(macOS 14.0, *) + init(rawValue component: RealityKit.AccessibilityComponent) { + //TODO: self.customContent = component.customContent + //TODO: self.customActions = component.customActions + //TODO: self.label = component.label + //TODO: self.systemActions = component.systemActions + //TODO: self.value = component.value + //TODO: self.isAccessibilityElement = component.isAccessibilityElement + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct AnchoringComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.AnchoringComponent) { + //TODO: self.target = component.target + self.comment = + """ + A description of how virtual content can be anchored to the real world. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CharacterControllerComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.CharacterControllerComponent) { + //TODO: self.stepLimit = component.stepLimit + //TODO: self.radius = component.radius + //TODO: self.slopeLimit = component.slopeLimit + //TODO: self.collisionFilter = component.collisionFilter + //TODO: self.height = component.height + //TODO: self.upVector = component.upVector + //TODO: self.skinWidth = component.skinWidth + self.comment = + """ + A component that manages character movement. To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent`` to your entity to make it a character entity. Character entities can *move* to new locations in space, which happens over a period of time based on how you've configured the character controller component, and also *teleport*, which moves the charcter to the new location instantaneously. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CharacterControllerStateComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.CharacterControllerStateComponent) { + //TODO: self.velocity = component.velocity + //TODO: self.isOnGround = component.isOnGround + self.comment = + """ + An object that maintains state for a character controller. Add this component to an entity, this along with ``CharacterControllerComponent``, to use the entity as a character that moves and animates. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CollisionComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.CollisionComponent) { + //TODO: self.filter = component.filter + //TODO: self.shapes = component.shapes + //TODO: self.mode = component.mode + self.comment = + """ + A component that gives an entity the ability to collide with other entities that also have collision components. This component holds the entity's data related to participating in the scene's physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts. Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a *trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of entities it collides. If configured with a rigid body ``RealityKit/PhysicsBodyComponent/mode`` of ``RealityKit/PhysicsBodyMode/dynamic``, it's own velocity and direction can be affected by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but can trigger code or Reality Composer behaviors when a rigid body enity overlaps it. Turn an entity into a trigger by adding a ``RealityKit/CollisionComponent`` to it and setting its ``RealityKit/CollisionComponent/mode-swift.property`` to ``RealityKit/CollisionComponent/Mode-swift.enum/trigger``. Turn an entity into a _rigd body_ by adding a ``RealityKit/PhysicsBodyComponent`` to the entity in addition to a ``RealityKit/CollisionComponent``. The ``PhysicsBodyComponent`` defines the physical properties of the entity, such as its mass and collision shape. The `filter` property defines the entity's collision filter, which determines which other objects the entity collides with. For more information, see . - Note: If an entity has a ``RealityKit/PhysicsBodyComponent``, the collision component's mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct DirectionalLightComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.DirectionalLightComponent) { + //TODO: self.isRealWorldProxy = component.isRealWorldProxy + //TODO: self.intensity = component.intensity + self.comment = + """ + A component that defines a directional light source. A directional light shines in the entithy's forward direction (0, 0, -1). To orient a directional light, use `HasTransform.look(at:from:upVector:)`. A directional light source can cast shadows. To enable shadows, create a ``RealityKit/DirectionalLightComponent/Shadow`` and assign it to `HasDirectionalLight.shadow`. To disable shadows set `HasDirectionalLight.shadow` to `nil`. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ModelComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.ModelComponent) { + //TODO: self.mesh = component.mesh + //TODO: self.materials = component.materials + //TODO: self.boundsMargin = component.boundsMargin + self.comment = + """ + A collection of resources that create the visual appearance of an entity. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ModelDebugOptionsComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.ModelDebugOptionsComponent) { + //TODO: self.visualizationMode = component.visualizationMode + self.comment = + """ + A component that changes how RealityKit renders its entity to help with debugging. Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells RealityKit to change the way it renders that entity based on a specified ``ModelDebugOptionsComponent/visualizationMode-swift.property``. This component isolates individual parts of the rendering process, such as the entity’s transparency or roughness, and displays surface color to help identify visual anomalies. To use this component, create a `ModelDebugOptionsComponent` and set its ``ModelDebugOptionsComponent/visualizationMode-swift.property`` to the desired value. Then, set the component as the entity’s ``ModelEntity/modelDebugOptions`` property: ```swift if let robot = anchor.findEntity(named: "Robot") as? ModelEntity { let component = ModelDebugOptionsComponent(visualizationMode: .normal) robot.modelDebugOptions = component } ``` For more information on the visualization modes supported by `ModelDebugOptionsComponent`, see ``ModelDebugOptionsComponent/VisualizationMode-swift.enum``. ## Attach a Debug Component to an Entity To attach a debug component to a particular entity, traverse the entity tree while passing the component to each child: ```swift // Traverse the entity tree to attach a certain debug mode through components. func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { entity.components.set(debug) for child in entity.children { attachDebug(entity: child, debug: debug) } } // Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` ## Attach a Debug Component to a Trait To attach a debug component based on a trait, traverse the entity tree while checking for ``HasModel`` adoption: ```swift func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { if let model = entity as? ModelEntity { model.visualizationMode = debug } for child in entity.children { attachDebug(entity: child, debug: debug) } } // Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PerspectiveCameraComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.PerspectiveCameraComponent) { + //TODO: self.near = component.near + //TODO: self.fieldOfViewInDegrees = component.fieldOfViewInDegrees + //TODO: self.far = component.far + self.comment = + """ + In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the camera needs to be set by the app. (If no camera is provided by the app, the system will use default camera.) + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PhysicsBodyComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.PhysicsBodyComponent) { + //TODO: self.mode = component.mode + //TODO: self.isContinuousCollisionDetectionEnabled = component.isContinuousCollisionDetectionEnabled + //TODO: self.isTranslationLocked = component.isTranslationLocked + //TODO: self.material = component.material + //TODO: self.isRotationLocked = component.isRotationLocked + //TODO: self.massProperties = component.massProperties + self.comment = + """ + A component that defines an entity’s behavior in physics body simulations. To participate in a scene's physics simulation, an entity must have a ``RealityKit/PhysicsBodyComponent`` and a ``RealityKit/CollisionComponent``. If you need to move an entity that participates in the physics system, it also needs a ``RealityKit/PhysicsMotionComponent``. Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body, following basic rules of Newtonian mechanics. - Note: Model entities have a physics body component by default. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PhysicsMotionComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.PhysicsMotionComponent) { + //TODO: self.linearVelocity = component.linearVelocity + //TODO: self.angularVelocity = component.angularVelocity + self.comment = + """ + A component that controls the motion of the body in physics simulations. You specify velocities in the coordinate space of the physics simulation defined by ``ARView/physicsOrigin``. The behavior of an entity with a physics motion component depends on the entity’s ``PhysicsBodyComponent/mode`` setting: - term ``PhysicsBodyMode/static``: The physics simulation ignores the velocities. The entity doesn’t move. - term ``PhysicsBodyMode/kinematic``: The physics simulation moves the body according to the values you set for ``PhysicsMotionComponent/angularVelocity`` and ``PhysicsMotionComponent/linearVelocity``. - term ``PhysicsBodyMode/dynamic``: The physics simulation overwrites the velocity values based on simulation, and ignores any values that you write. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PointLightComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.PointLightComponent) { + //TODO: self.attenuationRadius = component.attenuationRadius + //TODO: self.intensity = component.intensity + self.comment = + """ + A component that defines a point light source. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct SpotLightComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.SpotLightComponent) { + //TODO: self.innerAngleInDegrees = component.innerAngleInDegrees + //TODO: self.attenuationRadius = component.attenuationRadius + //TODO: self.outerAngleInDegrees = component.outerAngleInDegrees + //TODO: self.intensity = component.intensity + self.comment = + """ + A component that defines a spotlight source. A spot light illuminates a cone-shaped volume in the entity's forward direction (0, 0, -1) . To orient a spot light, use `HasTransform.look(at:from:upVector:)`. To enable shadows, create a ``RealityKit/DirectionalLightComponent/Shadow`` and assign it to `HasDirectionalLight.shadow`. To disable shadows set `HasDirectionalLight.shadow` to `nil`. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct SynchronizationComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.SynchronizationComponent) { + //TODO: self.ownershipTransferMode = component.ownershipTransferMode + //TODO: self.isOwner = component.isOwner + //TODO: self.identifier = component.identifier + self.comment = + """ + A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct Transform: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(macOS) + init(rawValue component: RealityKit.Transform) { + //TODO: self.hashValue = component.hashValue + //TODO: self.scale = component.scale + //TODO: self.translation = component.translation + //TODO: self.rotation = component.rotation + //TODO: self.matrix = component.matrix + self.comment = + """ + A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} +} +#if os(macOS) +extension RealityPlatform.macOS.ComponentType { + func makeCodable(from component: RealityKit.Component) -> RealityPlatform.macOS.Component { + switch self { + case .accessibilityComponent: + if #available(macOS 14.0, *) { + return .accessibilityComponent(.init(rawValue: component as! AccessibilityComponent)) + } else { + // Fallback on earlier versions + fatalError() + } + case .anchoringComponent: + return .anchoringComponent(.init(rawValue: component as! AnchoringComponent)) + case .characterControllerComponent: + return .characterControllerComponent(.init(rawValue: component as! CharacterControllerComponent)) + case .characterControllerStateComponent: + return .characterControllerStateComponent(.init(rawValue: component as! CharacterControllerStateComponent)) + case .collisionComponent: + return .collisionComponent(.init(rawValue: component as! CollisionComponent)) + case .directionalLightComponent: + return .directionalLightComponent(.init(rawValue: component as! DirectionalLightComponent)) + case .modelComponent: + return .modelComponent(.init(rawValue: component as! ModelComponent)) + case .modelDebugOptionsComponent: + return .modelDebugOptionsComponent(.init(rawValue: component as! ModelDebugOptionsComponent)) + case .perspectiveCameraComponent: + return .perspectiveCameraComponent(.init(rawValue: component as! PerspectiveCameraComponent)) + case .physicsBodyComponent: + return .physicsBodyComponent(.init(rawValue: component as! PhysicsBodyComponent)) + case .physicsMotionComponent: + return .physicsMotionComponent(.init(rawValue: component as! PhysicsMotionComponent)) + case .pointLightComponent: + return .pointLightComponent(.init(rawValue: component as! PointLightComponent)) + case .spotLightComponent: + return .spotLightComponent(.init(rawValue: component as! SpotLightComponent)) + case .synchronizationComponent: + return .synchronizationComponent(.init(rawValue: component as! SynchronizationComponent)) + case .transform: + return .transform(.init(rawValue: component as! Transform)) + } + } +} +#endif diff --git a/Sources/RealityCodable/Components/autogenerated/ComponentCodable_visionOS.swift b/Sources/RealityCodable/Components/autogenerated/ComponentCodable_visionOS.swift new file mode 100644 index 0000000..b62bfc9 --- /dev/null +++ b/Sources/RealityCodable/Components/autogenerated/ComponentCodable_visionOS.swift @@ -0,0 +1,791 @@ +// This file was automatically generated and should not be edited. + +import CustomDump +import Foundation +import Models +import RealityKit +extension RealityPlatform.visionOS { + public enum Component: Codable, Hashable { + case accessibilityComponent(AccessibilityComponent) + case adaptiveResolutionComponent(AdaptiveResolutionComponent) + case ambientAudioComponent(AmbientAudioComponent) + case anchoringComponent(AnchoringComponent) + case audioMixGroupsComponent(AudioMixGroupsComponent) + case channelAudioComponent(ChannelAudioComponent) + case characterControllerComponent(CharacterControllerComponent) + case characterControllerStateComponent(CharacterControllerStateComponent) + case collisionComponent(CollisionComponent) + case groundingShadowComponent(GroundingShadowComponent) + case hoverEffectComponent(HoverEffectComponent) + case imageBasedLightComponent(ImageBasedLightComponent) + case imageBasedLightReceiverComponent(ImageBasedLightReceiverComponent) + case inputTargetComponent(InputTargetComponent) + case modelComponent(ModelComponent) + case modelDebugOptionsComponent(ModelDebugOptionsComponent) + case modelSortGroupComponent(ModelSortGroupComponent) + case opacityComponent(OpacityComponent) + case particleEmitterComponent(ParticleEmitterComponent) + case perspectiveCameraComponent(PerspectiveCameraComponent) + case physicsBodyComponent(PhysicsBodyComponent) + case physicsMotionComponent(PhysicsMotionComponent) + case physicsSimulationComponent(PhysicsSimulationComponent) + case portalComponent(PortalComponent) + case sceneUnderstandingComponent(SceneUnderstandingComponent) + case spatialAudioComponent(SpatialAudioComponent) + case synchronizationComponent(SynchronizationComponent) + case textComponent(TextComponent) + case transform(Transform) + case videoPlayerComponent(VideoPlayerComponent) + case worldComponent(WorldComponent) + } +} +extension RealityPlatform.visionOS.Component: CustomStringConvertible { + public var description: String { + switch self { + case .accessibilityComponent: + return "AccessibilityComponent" + case .adaptiveResolutionComponent: + return "AdaptiveResolutionComponent" + case .ambientAudioComponent: + return "AmbientAudioComponent" + case .anchoringComponent: + return "AnchoringComponent" + case .audioMixGroupsComponent: + return "AudioMixGroupsComponent" + case .channelAudioComponent: + return "ChannelAudioComponent" + case .characterControllerComponent: + return "CharacterControllerComponent" + case .characterControllerStateComponent: + return "CharacterControllerStateComponent" + case .collisionComponent: + return "CollisionComponent" + case .groundingShadowComponent: + return "GroundingShadowComponent" + case .hoverEffectComponent: + return "HoverEffectComponent" + case .imageBasedLightComponent: + return "ImageBasedLightComponent" + case .imageBasedLightReceiverComponent: + return "ImageBasedLightReceiverComponent" + case .inputTargetComponent: + return "InputTargetComponent" + case .modelComponent: + return "ModelComponent" + case .modelDebugOptionsComponent: + return "ModelDebugOptionsComponent" + case .modelSortGroupComponent: + return "ModelSortGroupComponent" + case .opacityComponent: + return "OpacityComponent" + case .particleEmitterComponent: + return "ParticleEmitterComponent" + case .perspectiveCameraComponent: + return "PerspectiveCameraComponent" + case .physicsBodyComponent: + return "PhysicsBodyComponent" + case .physicsMotionComponent: + return "PhysicsMotionComponent" + case .physicsSimulationComponent: + return "PhysicsSimulationComponent" + case .portalComponent: + return "PortalComponent" + case .sceneUnderstandingComponent: + return "SceneUnderstandingComponent" + case .spatialAudioComponent: + return "SpatialAudioComponent" + case .synchronizationComponent: + return "SynchronizationComponent" + case .textComponent: + return "TextComponent" + case .transform: + return "Transform" + case .videoPlayerComponent: + return "VideoPlayerComponent" + case .worldComponent: + return "WorldComponent" + } + } +} +extension RealityPlatform.visionOS.Component { + public var comment: String? { + switch self { + case .accessibilityComponent(let value): + return value.comment + case .adaptiveResolutionComponent(let value): + return value.comment + case .ambientAudioComponent(let value): + return value.comment + case .anchoringComponent(let value): + return value.comment + case .audioMixGroupsComponent(let value): + return value.comment + case .channelAudioComponent(let value): + return value.comment + case .characterControllerComponent(let value): + return value.comment + case .characterControllerStateComponent(let value): + return value.comment + case .collisionComponent(let value): + return value.comment + case .groundingShadowComponent(let value): + return value.comment + case .hoverEffectComponent(let value): + return value.comment + case .imageBasedLightComponent(let value): + return value.comment + case .imageBasedLightReceiverComponent(let value): + return value.comment + case .inputTargetComponent(let value): + return value.comment + case .modelComponent(let value): + return value.comment + case .modelDebugOptionsComponent(let value): + return value.comment + case .modelSortGroupComponent(let value): + return value.comment + case .opacityComponent(let value): + return value.comment + case .particleEmitterComponent(let value): + return value.comment + case .perspectiveCameraComponent(let value): + return value.comment + case .physicsBodyComponent(let value): + return value.comment + case .physicsMotionComponent(let value): + return value.comment + case .physicsSimulationComponent(let value): + return value.comment + case .portalComponent(let value): + return value.comment + case .sceneUnderstandingComponent(let value): + return value.comment + case .spatialAudioComponent(let value): + return value.comment + case .synchronizationComponent(let value): + return value.comment + case .textComponent(let value): + return value.comment + case .transform(let value): + return value.comment + case .videoPlayerComponent(let value): + return value.comment + case .worldComponent(let value): + return value.comment + } + } +} +extension RealityPlatform.visionOS.Component { + public var reflectedDescription: String? { + switch self { + case .accessibilityComponent(let value): + return value.reflectedDescription + case .adaptiveResolutionComponent(let value): + return value.reflectedDescription + case .ambientAudioComponent(let value): + return value.reflectedDescription + case .anchoringComponent(let value): + return value.reflectedDescription + case .audioMixGroupsComponent(let value): + return value.reflectedDescription + case .channelAudioComponent(let value): + return value.reflectedDescription + case .characterControllerComponent(let value): + return value.reflectedDescription + case .characterControllerStateComponent(let value): + return value.reflectedDescription + case .collisionComponent(let value): + return value.reflectedDescription + case .groundingShadowComponent(let value): + return value.reflectedDescription + case .hoverEffectComponent(let value): + return value.reflectedDescription + case .imageBasedLightComponent(let value): + return value.reflectedDescription + case .imageBasedLightReceiverComponent(let value): + return value.reflectedDescription + case .inputTargetComponent(let value): + return value.reflectedDescription + case .modelComponent(let value): + return value.reflectedDescription + case .modelDebugOptionsComponent(let value): + return value.reflectedDescription + case .modelSortGroupComponent(let value): + return value.reflectedDescription + case .opacityComponent(let value): + return value.reflectedDescription + case .particleEmitterComponent(let value): + return value.reflectedDescription + case .perspectiveCameraComponent(let value): + return value.reflectedDescription + case .physicsBodyComponent(let value): + return value.reflectedDescription + case .physicsMotionComponent(let value): + return value.reflectedDescription + case .physicsSimulationComponent(let value): + return value.reflectedDescription + case .portalComponent(let value): + return value.reflectedDescription + case .sceneUnderstandingComponent(let value): + return value.reflectedDescription + case .spatialAudioComponent(let value): + return value.reflectedDescription + case .synchronizationComponent(let value): + return value.reflectedDescription + case .textComponent(let value): + return value.reflectedDescription + case .transform(let value): + return value.reflectedDescription + case .videoPlayerComponent(let value): + return value.reflectedDescription + case .worldComponent(let value): + return value.reflectedDescription + } + } +} +//MARK: visionOS + +extension RealityPlatform.visionOS { + public struct AccessibilityComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.AccessibilityComponent) { + //TODO: self.label = component.label + //TODO: self.systemActions = component.systemActions + //TODO: self.isAccessibilityElement = component.isAccessibilityElement + //TODO: self.value = component.value + //TODO: self.customContent = component.customContent + //TODO: self.customActions = component.customActions + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct AdaptiveResolutionComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.AdaptiveResolutionComponent) { + //TODO: self.pixelsPerMeter = component.pixelsPerMeter + self.comment = + """ + Allows an entity to change the resolution of the resources it uses according to its relevance to the user. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct AmbientAudioComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.AmbientAudioComponent) { + //TODO: self.hashValue = component.hashValue + //TODO: self.gain = component.gain + self.comment = + """ + Configure ambient rendering of sounds from an entity. Ambient audio sources emit each channel of an audio resource from an angle projected from the entity, without reverberation. Ambient audio sources take into account the relative orientation of the source and the listener. Position is not taken into account; the channels do not get louder as the user moves toward them. The audio resource's front channels (e.g., mono, center) are projected into the entity's -Z direction, with the rear channels projected into +Z. The left channels are laid out in -X and the right channels are laid out in +X. ```swift let entity = Entity() let resource = try AudioFileResource.load(named: "MyAudioFile") entity.ambientAudio = AmbientAudioComponent() entity.playAudio(resource) ``` The `AmbientAudioComponent` allows you to set the overall level of all sounds played from the entity with the `gain` property, in relative Decibels, in the range `-.infinity ... .zero` where `-infinity` is silent and `.zero` is nominal. ```swift entity.ambientAudio?.gain = -10 ``` Ambient audio sources are well suited to play back multichannel content which captures the acoustics of its originating environment in the recording process (e.g., multichannel field recordings of outdoor environments). + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct AnchoringComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.AnchoringComponent) { + //TODO: self.trackingMode = component.trackingMode + //TODO: self.target = component.target + self.comment = + """ + A description of how virtual content can be anchored to the real world. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct AudioMixGroupsComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.AudioMixGroupsComponent) { + //TODO: self.hashValue = component.hashValue + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ChannelAudioComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.ChannelAudioComponent) { + //TODO: self.hashValue = component.hashValue + //TODO: self.gain = component.gain + self.comment = + """ + Configure channel-based rendering of sounds from an entity. Channel audio sources route the audio resource's channels directly to the device's output without any spatialization or reverberation applied. Neither the position nor orientation of the entity is taken into consideration for channel rendering. For example, the left channel will always be heard from the left, and the right channel will always be heard from the right, regardless of where the user is oriented. The channels of multichannel audio resources are panned according to their channel layout, including rear channels. ```swift let entity = Entity() let resource = try AudioFileResource.load(named: "MyAudioFile") entity.channelAudio = ChannelAudioComponent() entity.playAudio(resource) ``` The `ChannelAudioComponent` allows you to set the overall level of all sounds played from the entity with the `gain` property, in relative Decibels, in the range `-.infinity ... .zero` where `-infinity` is silent and `.zero` is nominal. ```swift entity.channelAudio?.gain = -10 ``` Channel audio sources are well suited to play back sounds not associated with any visual elements in a scene. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CharacterControllerComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.CharacterControllerComponent) { + //TODO: self.radius = component.radius + //TODO: self.stepLimit = component.stepLimit + //TODO: self.height = component.height + //TODO: self.collisionFilter = component.collisionFilter + //TODO: self.upVector = component.upVector + //TODO: self.slopeLimit = component.slopeLimit + //TODO: self.skinWidth = component.skinWidth + self.comment = + """ + A component that manages character movement. To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent`` to your entity to make it a character entity. Character entities can *move* to new locations in space, which happens over a period of time based on how you've configured the character controller component, and also *teleport*, which moves the charcter to the new location instantaneously. - Note: PhysicsBodyComponent and CollisionComponent can not exist on the same Entity that contains a CharacterControllerComponent and are therefore inactivated. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CharacterControllerStateComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.CharacterControllerStateComponent) { + //TODO: self.velocity = component.velocity + //TODO: self.isOnGround = component.isOnGround + self.comment = + """ + An object that maintains state for a character controller. Add this component to an entity, this along with ``CharacterControllerComponent``, to use the entity as a character that moves and animates. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct CollisionComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.CollisionComponent) { + //TODO: self.shapes = component.shapes + //TODO: self.filter = component.filter + //TODO: self.mode = component.mode + //TODO: self.isStatic = component.isStatic + //TODO: self.collisionOptions = component.collisionOptions + self.comment = + """ + A component that gives an entity the ability to collide with other entities that also have collision components. This component holds the entity's data related to participating in the scene's physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts. Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a *trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of entities it collides. If configured with a rigid body ``RealityKit/PhysicsBodyComponent/mode`` of ``RealityKit/PhysicsBodyMode/dynamic``, it's own velocity and direction can be affected by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but can trigger code or Reality Composer behaviors when a rigid body enity overlaps it. Note the following when considering applying a non-uniform scale to an entity: - Non-uniform scaling is applicable only to box, convex mesh and triangle mesh collision shapes. - Non-uniform scaling is not supported for all other types of collision shapes. In this case the scale.x value is duplicated to the scale's y and z components as well to force scale uniformity based on the x component. - If the entity has a non-uniform scale assigned to its transform then that entity should not have any descendants assigned that contain rotations in their transforms. A good rule of thumb is to assign the non-uniform scale to the entity that has the collision shape, and avoid adding children below that entity. Turn an entity into a trigger by adding a ``RealityKit/CollisionComponent`` to it and setting its ``RealityKit/CollisionComponent/mode-swift.property`` to ``RealityKit/CollisionComponent/Mode-swift.enum/trigger``. Turn an entity into a _rigd body_ by adding a ``RealityKit/PhysicsBodyComponent`` to the entity in addition to a ``RealityKit/CollisionComponent``. The ``PhysicsBodyComponent`` defines the physical properties of the entity, such as its mass and collision shape. The `filter` property defines the entity's collision filter, which determines which other objects the entity collides with. For more information, see . - Note: If an entity has a ``RealityKit/PhysicsBodyComponent``, the collision component's mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct GroundingShadowComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.GroundingShadowComponent) { + //TODO: self.castsShadow = component.castsShadow + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct HoverEffectComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.HoverEffectComponent) { + self.comment = + """ + A component that applies a standard highlight effect when someone focuses an entity. - Note: A `CollisionComponent` is required for the ``Entity`` to be part of hit-testing. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ImageBasedLightComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.ImageBasedLightComponent) { + //TODO: self.source = component.source + //TODO: self.inheritsRotation = component.inheritsRotation + //TODO: self.intensityExponent = component.intensityExponent + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ImageBasedLightReceiverComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.ImageBasedLightReceiverComponent) { + //TODO: self.imageBasedLight = component.imageBasedLight + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct InputTargetComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.InputTargetComponent) { + //TODO: self.isEnabled = component.isEnabled + //TODO: self.allowedInputTypes = component.allowedInputTypes + self.comment = + """ + A component that gives an entity the ability to receive system input. This component should be added to an entity to inform the system that it should be treated as a target for input handling. It can be customized to require only specific forms of input like direct or indirect interactions. By default the component is configured to handle all forms of input on the system. The hit testing shape that defines the entity's interactive entity is defined by the `CollisionComponent`. To configure an entity for input but avoid any sort of physics-related processing, add an `InputTargetComponent` and `CollisionComponent`, but disable the `CollisionComponent` for collision detection, for example: ``` // Enable the entity for input. myEntity.components.set(InputTargetComponent()) // Create a collision component with an empty group and mask. var collision = CollisionComponent(shapes: [.generateSphere(radius: 0.1)]) collision.filter = CollisionFilter(group: [], mask: []) myEntity.components.set(collision) ``` `InputTargetComponent` behaves hierarchically, so if it is added to an entity that has descendants with `CollisionComponent`s, those shapes will be used for input handling. The `isEnabled` flag can be used to override this behavior by adding the `InputTargetComponent` to a descendant and setting `isEnabled` to false. `InputTargetComponent`'s `allowedInputTypes` property allows the entity to only receive the provided types of input. This property also propagates down the hierarchy, but if a descendant also has an `InputTargetComponent` defined, its `allowedInputTypes` property overrides the value provided by the ancestor. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ModelComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.ModelComponent) { + //TODO: self.materials = component.materials + //TODO: self.mesh = component.mesh + //TODO: self.boundsMargin = component.boundsMargin + self.comment = + """ + A collection of resources that create the visual appearance of an entity. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ModelDebugOptionsComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.ModelDebugOptionsComponent) { + //TODO: self.visualizationMode = component.visualizationMode + self.comment = + """ + A component that changes how RealityKit renders its entity to help with debugging. Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells RealityKit to change the way it renders that entity based on a specified ``ModelDebugOptionsComponent/visualizationMode-swift.property``. This component isolates individual parts of the rendering process, such as the entity’s transparency or roughness, and displays surface color to help identify visual anomalies. To use this component, create a `ModelDebugOptionsComponent` and set its ``ModelDebugOptionsComponent/visualizationMode-swift.property`` to the desired value. Then, set the component as the entity’s ``ModelEntity/modelDebugOptions`` property: ```swift if let robot = anchor.findEntity(named: "Robot") as? ModelEntity { let component = ModelDebugOptionsComponent(visualizationMode: .normal) robot.modelDebugOptions = component } ``` For more information on the visualization modes supported by `ModelDebugOptionsComponent`, see ``ModelDebugOptionsComponent/VisualizationMode-swift.enum``. ## Attach a Debug Component to an Entity To attach a debug component to a particular entity, traverse the entity tree while passing the component to each child: ```swift // Traverse the entity tree to attach a certain debug mode through components. func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { entity.components.set(debug) for child in entity.children { attachDebug(entity: child, debug: debug) } } // Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` ## Attach a Debug Component to a Trait To attach a debug component based on a trait, traverse the entity tree while checking for ``HasModel`` adoption: ```swift func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { if let model = entity as? ModelEntity { model.visualizationMode = debug } for child in entity.children { attachDebug(entity: child, debug: debug) } } // Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ModelSortGroupComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.ModelSortGroupComponent) { + //TODO: self.group = component.group + //TODO: self.order = component.order + self.comment = + """ + A component that allows an entity's models to be rendered in an explicit order relative to the models of other entities in the same sort group. If this component is on an entity, then it must belong to a sort group. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct OpacityComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.OpacityComponent) { + //TODO: self.opacity = component.opacity + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct ParticleEmitterComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.ParticleEmitterComponent) { + //TODO: self.particlesInheritTransform = component.particlesInheritTransform + //TODO: self.spawnInheritsParentColor = component.spawnInheritsParentColor + //TODO: self.emitterShape = component.emitterShape + //TODO: self.spawnSpreadFactor = component.spawnSpreadFactor + //TODO: self.emissionDirection = component.emissionDirection + //TODO: self.isEmitting = component.isEmitting + //TODO: self.spawnSpreadFactorVariation = component.spawnSpreadFactorVariation + //TODO: self.spawnedEmitter = component.spawnedEmitter + //TODO: self.speedVariation = component.speedVariation + //TODO: self.mainEmitter = component.mainEmitter + //TODO: self.radialAmount = component.radialAmount + //TODO: self.simulationState = component.simulationState + //TODO: self.fieldSimulationSpace = component.fieldSimulationSpace + //TODO: self.birthDirection = component.birthDirection + //TODO: self.speed = component.speed + //TODO: self.torusInnerRadius = component.torusInnerRadius + //TODO: self.spawnOccasion = component.spawnOccasion + //TODO: self.birthLocation = component.birthLocation + //TODO: self.burstCountVariation = component.burstCountVariation + //TODO: self.burstCount = component.burstCount + //TODO: self.emitterShapeSize = component.emitterShapeSize + //TODO: self.spawnVelocityFactor = component.spawnVelocityFactor + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PerspectiveCameraComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.PerspectiveCameraComponent) { + //TODO: self.near = component.near + //TODO: self.far = component.far + //TODO: self.fieldOfViewInDegrees = component.fieldOfViewInDegrees + self.comment = + """ + In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the camera needs to be set by the app. (If no camera is provided by the app, the system will use default camera.) + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PhysicsBodyComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.PhysicsBodyComponent) { + //TODO: self.isAffectedByGravity = component.isAffectedByGravity + //TODO: self.isRotationLocked = component.isRotationLocked + //TODO: self.isContinuousCollisionDetectionEnabled = component.isContinuousCollisionDetectionEnabled + //TODO: self.linearDamping = component.linearDamping + //TODO: self.mode = component.mode + //TODO: self.isTranslationLocked = component.isTranslationLocked + //TODO: self.massProperties = component.massProperties + //TODO: self.angularDamping = component.angularDamping + //TODO: self.material = component.material + self.comment = + """ + A component that defines an entity’s behavior in physics body simulations. To participate in a scene's physics simulation, an entity must have a ``RealityKit/PhysicsBodyComponent`` and a ``RealityKit/CollisionComponent``. If you need to move an entity that participates in the physics system, it also needs a ``RealityKit/PhysicsMotionComponent``. Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body, following basic rules of Newtonian mechanics. Note the following when considering applying a non-uniform scale to an entity: - Non-uniform scaling is applicable only to box, convex mesh and triangle mesh collision shapes. - Non-uniform scaling is not supported for all other types of collision shapes. In this case the scale.x value is duplicated to the scale's y and z components as well to force scale uniformity based on the x component. - If the entity has a non-uniform scale assigned to its transform then that entity should not have any descendants assigned that contain rotations in their transforms. A good rule of thumb is to assign the non-uniform scale to the entity that has the collision shape, and avoid adding children below that entity. - Note: Model entities have a physics body component by default. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PhysicsMotionComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.PhysicsMotionComponent) { + //TODO: self.angularVelocity = component.angularVelocity + //TODO: self.linearVelocity = component.linearVelocity + self.comment = + """ + A component that controls the motion of the body in physics simulations. You specify velocities in the coordinate space of the physics simulation defined by ``ARView/PhysicsSimulationComponent.nearestSimulationEntity``. The behavior of an entity with a physics motion component depends on the entity’s ``PhysicsBodyComponent/mode`` setting: - term ``PhysicsBodyMode/static``: The physics simulation ignores the velocities. The entity doesn’t move. - term ``PhysicsBodyMode/kinematic``: The physics simulation moves the body according to the values you set for ``PhysicsMotionComponent/angularVelocity`` and ``PhysicsMotionComponent/linearVelocity``. - term ``PhysicsBodyMode/dynamic``: The physics simulation overwrites the velocity values based on simulation, and ignores any values that you write. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PhysicsSimulationComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.PhysicsSimulationComponent) { + //TODO: self.clock = component.clock + //TODO: self.gravity = component.gravity + //TODO: self.collisionOptions = component.collisionOptions + self.comment = + """ + A component that controls localized physics simulations. To use a localized physics simulation add a ``PhysicsSimulationComponent`` to the desired root entity. Use the component to set custom physics simulation properties such as ``gravity`` and ``collisionOptions`` specific to the physics simulation. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct PortalComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.PortalComponent) { + //TODO: self.clippingPlane = component.clippingPlane + //TODO: self.targetEntity = component.targetEntity + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct SceneUnderstandingComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.SceneUnderstandingComponent) { + //TODO: self.origin = component.origin + //TODO: self.entityType = component.entityType + self.comment = + """ + A component that maps features of the physical environment. Example features include faces and the shape of arbitrary regions. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct SpatialAudioComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.SpatialAudioComponent) { + //TODO: self.reverbLevel = component.reverbLevel + //TODO: self.directivity = component.directivity + //TODO: self.gain = component.gain + //TODO: self.hashValue = component.hashValue + //TODO: self.directLevel = component.directLevel + self.comment = + """ + Configure how sounds are emitted from an entity into the user's environment. The position and orientation of spatial audio sources are updated continuously and automatically by the audio system, so sounds always come from an entity wherever it goes and wherever it is pointing. Spatial audio sources have the user environment's acoustics applied to them so that they blend in naturally with it, and they are distance attenuated so they become quieter the further away they are from the user. - Note: Spatial audio sources emit only a single channel (i.e., mono). If the format of the audio resource played on the entity is stereo or multichannel, all of its channels will be mixed down to a single channel before spatialization. To minimize any unwanted mixdown artifacts, use mono source material where possible. RealityKit audio playback is spatial by default, so no additional configuration is necessary to opt into sophisticated spatial rendering. ```swift let entity = Entity() let resource = try AudioFileResource.load(named: "MyAudioFile") entity.playAudio(resource) // Audio file is played spatially from entity ``` The `SpatialAudioComponent` allows you to further customize the playback characteristics of spatial audio sources. The `gain`, `directLevel`, and `reverbLevel` properties are in relative Decibels, in the range `-.infinity ... .zero`, where `-.infinity` is silent and `.zero` is nominal. For example, you can adjust the overall level of all sounds played from the entity with the `gain` property. ```swift entity.spatialAudio = SpatialAudioComponent(gain: -10) ``` You can reduce the amount of reverb applied to all sounds played from the entity with the `reverbLevel` property. Reducing this value will make the sounds less reverberant and more intimate. Setting `reverbLevel` to `-.infinity` will cause the sounds to collapse into the head of the listener. ```swift entity.spatialAudio?.reverbLevel = -6 ``` The `gain`, `directLevel`, and `reverbLevel` properties can be updated dynamically, for example based on your app's state, or in the context of a Custom RealityKit System. The `directivity` property allows you to configure the radiation pattern for sound emitted from the entity. ```swift entity.spatialAudio?.directivity = .beam(focus: 0.5) ``` Spatial audio sources project sounds along their -Z axis. If a spatial audio source is co-located and co-oriented with visual content authored with a +Z-forward coordinate convention, you will want to rotate your spatial audio source 180º about the Y-axis. ```swift let parent = Entity() // Add model entity let model = try ModelEntity.load(named: "PositiveZForward") parent.addChild(model) // Add audio source entity let audioSource = Entity() parent.addChild(audioSource) // Orient audio source towards +Z audioSource.orientation = .init(angle: .pi, axis: [0, 1, 0]) ``` This is only a consideration if you have explicitly set a `directivity` other than the default `.beam(focus: .zero)`, which projects sound evenly for all frequencies in all directions. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct SynchronizationComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.SynchronizationComponent) { + //TODO: self.identifier = component.identifier + //TODO: self.isOwner = component.isOwner + //TODO: self.ownershipTransferMode = component.ownershipTransferMode + self.comment = + """ + A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct TextComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.TextComponent) { + //TODO: self.backgroundColor = component.backgroundColor + //TODO: self.text = component.text + //TODO: self.cornerRadius = component.cornerRadius + //TODO: self.size = component.size + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct Transform: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.Transform) { + //TODO: self.matrix = component.matrix + //TODO: self.scale = component.scale + //TODO: self.rotation = component.rotation + //TODO: self.hashValue = component.hashValue + //TODO: self.translation = component.translation + self.comment = + """ + A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct VideoPlayerComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.VideoPlayerComponent) { + //TODO: self.desiredViewingMode = component.desiredViewingMode + //TODO: self.avPlayer = component.avPlayer + //TODO: self.screenVideoDimension = component.screenVideoDimension + //TODO: self.currentScreenVideoDimension = component.currentScreenVideoDimension + //TODO: self.isPassthroughTintingEnabled = component.isPassthroughTintingEnabled + //TODO: self.playerScreenSize = component.playerScreenSize + //TODO: self.viewingMode = component.viewingMode + self.reflectedDescription = String(customDumping: component) + } + #endif +} + public struct WorldComponent: Codable, Hashable { + public var comment: String? + public var reflectedDescription: String + #if os(visionOS) + init(rawValue component: RealityKit.WorldComponent) { + self.comment = + """ + When set on an entity, a WorldComponent separates the entity and its subtree to be rendered as part of a diferent world, that is only visible through a portal. Entities in a WorldComponent are rendered in a isolated lighting environment. To light entities in this environment, use an ImageBasedLightComponent placed within the entity subtree. + """ + self.reflectedDescription = String(customDumping: component) + } + #endif +} +} +#if os(visionOS) +extension RealityPlatform.visionOS.ComponentType { + func makeCodable(from component: RealityKit.Component) -> RealityPlatform.visionOS.Component { + switch self { + case .accessibilityComponent: + return .accessibilityComponent(.init(rawValue: component as! AccessibilityComponent)) + case .adaptiveResolutionComponent: + return .adaptiveResolutionComponent(.init(rawValue: component as! AdaptiveResolutionComponent)) + case .ambientAudioComponent: + return .ambientAudioComponent(.init(rawValue: component as! AmbientAudioComponent)) + case .anchoringComponent: + return .anchoringComponent(.init(rawValue: component as! AnchoringComponent)) + case .audioMixGroupsComponent: + return .audioMixGroupsComponent(.init(rawValue: component as! AudioMixGroupsComponent)) + case .channelAudioComponent: + return .channelAudioComponent(.init(rawValue: component as! ChannelAudioComponent)) + case .characterControllerComponent: + return .characterControllerComponent(.init(rawValue: component as! CharacterControllerComponent)) + case .characterControllerStateComponent: + return .characterControllerStateComponent(.init(rawValue: component as! CharacterControllerStateComponent)) + case .collisionComponent: + return .collisionComponent(.init(rawValue: component as! CollisionComponent)) + case .groundingShadowComponent: + return .groundingShadowComponent(.init(rawValue: component as! GroundingShadowComponent)) + case .hoverEffectComponent: + return .hoverEffectComponent(.init(rawValue: component as! HoverEffectComponent)) + case .imageBasedLightComponent: + return .imageBasedLightComponent(.init(rawValue: component as! ImageBasedLightComponent)) + case .imageBasedLightReceiverComponent: + return .imageBasedLightReceiverComponent(.init(rawValue: component as! ImageBasedLightReceiverComponent)) + case .inputTargetComponent: + return .inputTargetComponent(.init(rawValue: component as! InputTargetComponent)) + case .modelComponent: + return .modelComponent(.init(rawValue: component as! ModelComponent)) + case .modelDebugOptionsComponent: + return .modelDebugOptionsComponent(.init(rawValue: component as! ModelDebugOptionsComponent)) + case .modelSortGroupComponent: + return .modelSortGroupComponent(.init(rawValue: component as! ModelSortGroupComponent)) + case .opacityComponent: + return .opacityComponent(.init(rawValue: component as! OpacityComponent)) + case .particleEmitterComponent: + return .particleEmitterComponent(.init(rawValue: component as! ParticleEmitterComponent)) + case .perspectiveCameraComponent: + return .perspectiveCameraComponent(.init(rawValue: component as! PerspectiveCameraComponent)) + case .physicsBodyComponent: + return .physicsBodyComponent(.init(rawValue: component as! PhysicsBodyComponent)) + case .physicsMotionComponent: + return .physicsMotionComponent(.init(rawValue: component as! PhysicsMotionComponent)) + case .physicsSimulationComponent: + return .physicsSimulationComponent(.init(rawValue: component as! PhysicsSimulationComponent)) + case .portalComponent: + return .portalComponent(.init(rawValue: component as! PortalComponent)) + case .sceneUnderstandingComponent: + return .sceneUnderstandingComponent(.init(rawValue: component as! SceneUnderstandingComponent)) + case .spatialAudioComponent: + return .spatialAudioComponent(.init(rawValue: component as! SpatialAudioComponent)) + case .synchronizationComponent: + return .synchronizationComponent(.init(rawValue: component as! SynchronizationComponent)) + case .textComponent: + return .textComponent(.init(rawValue: component as! TextComponent)) + case .transform: + return .transform(.init(rawValue: component as! Transform)) + case .videoPlayerComponent: + return .videoPlayerComponent(.init(rawValue: component as! VideoPlayerComponent)) + case .worldComponent: + return .worldComponent(.init(rawValue: component as! WorldComponent)) + } + } +} +#endif diff --git a/Sources/RealityCodable/Entities/Entity+Codable.swift.gyb b/Sources/RealityCodable/Entities/Entity+Codable.swift.gyb new file mode 100644 index 0000000..f507f7a --- /dev/null +++ b/Sources/RealityCodable/Entities/Entity+Codable.swift.gyb @@ -0,0 +1,222 @@ +% warning = "This file was automatically generated and should not be edited." +// ${warning} + +import Foundation +import Models +import RealityDump +import RealityKit +% import json +% symbols_path = "../../RealitySymbols/Extracted" + +//MARK: - iOS + +% with open(f'{symbols_path}/iOS/Processed/Entities.json') as file: +% data = json.load(file) +% for entity in data: + + +//MARK: ${entity["name"]} + +%if entity["name"] == "Entity": +extension RealityPlatform.iOS { + public class Entity: Codable, Identifiable { + private(set) public var accessibilityDescription: String? + private(set) public var accessibilityLabel: String? + private(set) public var children: [RealityPlatform.iOS.EntityType] = [] + private(set) public var components: [RealityPlatform.iOS.Component] = [] + public let id: UInt64 + public let isAccessibilityElement: Bool + public let isActive: Bool + public let isAnchored: Bool + public let isEnabled: Bool + public let isEnabledInHierarchy: Bool + public let isOwner: Bool + private(set) public var name: String? + private(set) public var parentID: UInt64? + + #if os(iOS) + init( + _ entity: RealityKit.Entity + ) { + self.accessibilityDescription = entity.accessibilityDescription + self.accessibilityLabel = entity.accessibilityLabel + self.children = entity.children.map(\.encoded) + self.components = entity.components.encoded + self.id = entity.id + self.isAccessibilityElement = entity.isAccessibilityElement + self.isActive = entity.isActive + self.isAnchored = entity.isAnchored + self.isEnabled = entity.isEnabled + self.isEnabledInHierarchy = entity.isEnabledInHierarchy + self.isOwner = entity.isOwner + self.name = entity.name + self.parentID = entity.parent?.id + } + #endif + } +} + +extension RealityPlatform.iOS.Entity: Equatable { + public static func == (lhs: RealityPlatform.iOS.Entity, rhs: RealityPlatform.iOS.Entity) -> Bool { + lhs.id == rhs.id + } +} +%else: +extension RealityPlatform.iOS { + public class ${entity["name"]}: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} +%end +%end + +//MARK: - macOS + +% with open(f'{symbols_path}/macOS/Processed/Entities.json') as file: +% data = json.load(file) +% for entity in data: + + +//MARK: ${entity["name"]} + +%if entity["name"] == "Entity": +extension RealityPlatform.macOS { + public class Entity: Codable, Identifiable { + private(set) public var accessibilityDescription: String? + private(set) public var accessibilityLabel: String? + private(set) public var children: [RealityPlatform.macOS.EntityType] = [] + private(set) public var components: [RealityPlatform.macOS.Component] = [] + public let id: UInt64 + public let isAccessibilityElement: Bool + public let isActive: Bool + public let isAnchored: Bool + public let isEnabled: Bool + public let isEnabledInHierarchy: Bool + public let isOwner: Bool + private(set) public var name: String? + private(set) public var parentID: UInt64? + + #if os(macOS) + init( + _ entity: RealityKit.Entity + ) { + self.accessibilityDescription = entity.accessibilityDescription + self.accessibilityLabel = entity.accessibilityLabel + self.children = entity.children.map(\.encoded) + self.components = entity.components.encoded + self.id = entity.id + self.isAccessibilityElement = entity.isAccessibilityElement + self.isActive = entity.isActive + self.isAnchored = entity.isAnchored + self.isEnabled = entity.isEnabled + self.isEnabledInHierarchy = entity.isEnabledInHierarchy + self.isOwner = entity.isOwner + self.name = entity.name + self.parentID = entity.parent?.id + } + #endif + } +} + +extension RealityPlatform.macOS.Entity: Equatable { + public static func == (lhs: RealityPlatform.macOS.Entity, rhs: RealityPlatform.macOS.Entity) -> Bool { + lhs.id == rhs.id + } +} +%else: +extension RealityPlatform.macOS { + public class ${entity["name"]}: RealityPlatform.macOS.Entity { + + #if os(macOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} +%end +%end + +//MARK: - visionOS + +% with open(f'{symbols_path}/visionOS/Processed/Entities.json') as file: +% data = json.load(file) +% for entity in data: + + +//MARK: ${entity["name"]} + +%if entity["name"] == "Entity": +extension RealityPlatform.visionOS { + public class Entity: Codable, Identifiable { + private(set) public var accessibilityDescription: String? + private(set) public var accessibilityLabel: String? + private(set) public var children: [RealityPlatform.visionOS.EntityType] = [] + private(set) public var components: [RealityPlatform.visionOS.Component] = [] + public let id: UInt64 + public let isAccessibilityElement: Bool + public let isActive: Bool + public let isAnchored: Bool + public let isEnabled: Bool + public let isEnabledInHierarchy: Bool + public let isOwner: Bool + private(set) public var name: String? + private(set) public var parentID: UInt64? + + #if os(visionOS) + init( + _ entity: RealityKit.Entity + ) { + self.accessibilityDescription = entity.accessibilityDescription + self.accessibilityLabel = entity.accessibilityLabel + self.children = entity.children.map(\.encoded) + self.components = entity.components.encoded + self.id = entity.id + self.isAccessibilityElement = entity.isAccessibilityElement + self.isActive = entity.isActive + self.isAnchored = entity.isAnchored + self.isEnabled = entity.isEnabled + self.isEnabledInHierarchy = entity.isEnabledInHierarchy + self.isOwner = entity.isOwner + self.name = entity.name + self.parentID = entity.parent?.id + } + #endif + } +} + +extension RealityPlatform.visionOS.Entity: Equatable { + public static func == (lhs: RealityPlatform.visionOS.Entity, rhs: RealityPlatform.visionOS.Entity) -> Bool { + lhs.id == rhs.id + } +} +%else: +extension RealityPlatform.visionOS { + public class ${entity["name"]}: RealityPlatform.visionOS.Entity { + + #if os(visionOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} +%end +%end diff --git a/Sources/RealityCodable/Entities/EntityType+Codable.swift.gyb b/Sources/RealityCodable/Entities/EntityType+Codable.swift.gyb new file mode 100644 index 0000000..c561683 --- /dev/null +++ b/Sources/RealityCodable/Entities/EntityType+Codable.swift.gyb @@ -0,0 +1,197 @@ +% warning = "This file was automatically generated and should not be edited." +// ${warning} + +import Foundation +import Models +import RealityKit +% import json +% symbols_path = "../../RealitySymbols/Extracted" + +//MARK: - iOS + +% with open(f'{symbols_path}/iOS/Processed/Entities.json') as file: +% data = json.load(file) + +extension RealityPlatform.iOS { + public enum EntityType: Equatable { + % for entity in data: + case ${entity["name"][0].lower() + entity["name"][1:]}(${entity["name"]}) + %end + } +} + +extension RealityPlatform.iOS.EntityType: Codable { + public var caseKey: String { + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}: return "${entity["name"]}" + %end + } + } + + public var value: RealityPlatform.iOS.Entity { + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}(let value): return value + %end + } + } + + enum CodingKeys: String, CodingKey { + case caseKey + case value + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: CodingKeys.self) + let caseKey = try values.decode(String.self, forKey: .caseKey) + + switch caseKey { + % for entity in data: + case "${entity["name"]}": + let value = try values.decode(RealityPlatform.iOS.${entity["name"]}.self, forKey: .value) + self = .${entity["name"][0].lower() + entity["name"][1:]}(value) + %end + default: + fatalError("Unknown iOS Entity type.") + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(caseKey, forKey: .caseKey) + + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}(let value): + try container.encode(value, forKey: .value) + %end + } + } +} + +//MARK: - macOS + +% with open(f'{symbols_path}/macOS/Processed/Entities.json') as file: +% data = json.load(file) + +extension RealityPlatform.macOS { + public enum EntityType: Equatable { + % for entity in data: + case ${entity["name"][0].lower() + entity["name"][1:]}(${entity["name"]}) + %end + } +} + +extension RealityPlatform.macOS.EntityType: Codable { + public var caseKey: String { + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}: return "${entity["name"]}" + %end + } + } + + public var value: RealityPlatform.macOS.Entity { + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}(let value): return value + %end + } + } + + enum CodingKeys: String, CodingKey { + case caseKey + case value + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: CodingKeys.self) + let caseKey = try values.decode(String.self, forKey: .caseKey) + + switch caseKey { + % for entity in data: + case "${entity["name"]}": + let value = try values.decode(RealityPlatform.macOS.${entity["name"]}.self, forKey: .value) + self = .${entity["name"][0].lower() + entity["name"][1:]}(value) + %end + default: + fatalError("Unknown macOS Entity type.") + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(caseKey, forKey: .caseKey) + + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}(let value): + try container.encode(value, forKey: .value) + %end + } + } +} + +//MARK: - visionOS + +% with open(f'{symbols_path}/visionOS/Processed/Entities.json') as file: +% data = json.load(file) + +extension RealityPlatform.visionOS { + public enum EntityType: Equatable { + % for entity in data: + case ${entity["name"][0].lower() + entity["name"][1:]}(${entity["name"]}) + %end + } +} + +extension RealityPlatform.visionOS.EntityType: Codable { + public var caseKey: String { + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}: return "${entity["name"]}" + %end + } + } + + public var value: RealityPlatform.visionOS.Entity { + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}(let value): return value + %end + } + } + + enum CodingKeys: String, CodingKey { + case caseKey + case value + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: CodingKeys.self) + let caseKey = try values.decode(String.self, forKey: .caseKey) + + switch caseKey { + % for entity in data: + case "${entity["name"]}": + let value = try values.decode(RealityPlatform.visionOS.${entity["name"]}.self, forKey: .value) + self = .${entity["name"][0].lower() + entity["name"][1:]}(value) + %end + default: + fatalError("Unknown visionOS Entity type.") + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(caseKey, forKey: .caseKey) + + switch self { + % for entity in data: + case .${entity["name"][0].lower() + entity["name"][1:]}(let value): + try container.encode(value, forKey: .value) + %end + } + } +} diff --git a/Sources/RealityCodable/Entities/RealityKitEntity+Encoding.swift.gyb b/Sources/RealityCodable/Entities/RealityKitEntity+Encoding.swift.gyb new file mode 100644 index 0000000..7370dc6 --- /dev/null +++ b/Sources/RealityCodable/Entities/RealityKitEntity+Encoding.swift.gyb @@ -0,0 +1,86 @@ +% warning = "This file was automatically generated and should not be edited." +// ${warning} + +import Foundation +import Models +import RealityKit +% import json +% symbols_path = "../../RealitySymbols/Extracted" + +//MARK: - iOS + +% with open(f'{symbols_path}/iOS/Processed/Entities.json') as file: +% data = json.load(file) + +#if os(iOS) +extension RealityKit.Entity { + public var encoded: RealityPlatform.iOS.EntityType { + switch "\(type(of: self))" { + % for entity in data: + %if entity["name"] == "Entity": + case "Entity": + return .${entity["name"][0].lower() + entity["name"][1:]}(.init(self)) + %else: + case "${entity["name"]}": + return .${entity["name"][0].lower() + entity["name"][1:]}(.init(rawValue: self)) + %end + %end + default: + return .entity(.init(self)) + } + } +} +#endif +%end + +//MARK: - macOS + +% with open(f'{symbols_path}/macOS/Processed/Entities.json') as file: +% data = json.load(file) + +#if os(macOS) +extension RealityKit.Entity { + public var encoded: RealityPlatform.macOS.EntityType { + switch "\(type(of: self))" { + % for entity in data: + %if entity["name"] == "Entity": + case "Entity": + return .${entity["name"][0].lower() + entity["name"][1:]}(.init(self)) + %else: + case "${entity["name"]}": + return .${entity["name"][0].lower() + entity["name"][1:]}(.init(rawValue: self)) + %end + %end + default: + return .entity(.init(self)) + } + } +} +#endif +%end + +//MARK: - visionOS + +% with open(f'{symbols_path}/visionOS/Processed/Entities.json') as file: +% data = json.load(file) + +#if os(visionOS) +extension RealityKit.Entity { + public var encoded: RealityPlatform.visionOS.EntityType { + switch "\(type(of: self))" { + % for entity in data: + %if entity["name"] == "Entity": + case "Entity": + return .${entity["name"][0].lower() + entity["name"][1:]}(.init(self)) + %else: + case "${entity["name"]}": + return .${entity["name"][0].lower() + entity["name"][1:]}(.init(rawValue: self)) + %end + %end + default: + return .entity(.init(self)) + } + } +} +#endif +%end diff --git a/Sources/RealityCodable/Entities/autogenerated/Entity+Codable.swift b/Sources/RealityCodable/Entities/autogenerated/Entity+Codable.swift new file mode 100644 index 0000000..75463c1 --- /dev/null +++ b/Sources/RealityCodable/Entities/autogenerated/Entity+Codable.swift @@ -0,0 +1,479 @@ +// This file was automatically generated and should not be edited. + +import Foundation +import Models +import RealityDump +import RealityKit + +//MARK: - iOS + +//MARK: AnchorEntity + +extension RealityPlatform.iOS { + public class AnchorEntity: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: BodyTrackedEntity + +extension RealityPlatform.iOS { + public class BodyTrackedEntity: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: DirectionalLight + +extension RealityPlatform.iOS { + public class DirectionalLight: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: Entity + +extension RealityPlatform.iOS { + public class Entity: Codable, Identifiable { + private(set) public var accessibilityDescription: String? + private(set) public var accessibilityLabel: String? + private(set) public var children: [RealityPlatform.iOS.EntityType] = [] + private(set) public var components: [RealityPlatform.iOS.Component] = [] + public let id: UInt64 + public let isAccessibilityElement: Bool + public let isActive: Bool + public let isAnchored: Bool + public let isEnabled: Bool + public let isEnabledInHierarchy: Bool + public let isOwner: Bool + private(set) public var name: String? + private(set) public var parentID: UInt64? + + #if os(iOS) + init( + _ entity: RealityKit.Entity + ) { + self.accessibilityDescription = entity.accessibilityDescription + self.accessibilityLabel = entity.accessibilityLabel + self.children = entity.children.map(\.encoded) + self.components = entity.components.encoded + self.id = entity.id + self.isAccessibilityElement = entity.isAccessibilityElement + self.isActive = entity.isActive + self.isAnchored = entity.isAnchored + self.isEnabled = entity.isEnabled + self.isEnabledInHierarchy = entity.isEnabledInHierarchy + self.isOwner = entity.isOwner + self.name = entity.name + self.parentID = entity.parent?.id + } + #endif + } +} + +extension RealityPlatform.iOS.Entity: Equatable { + public static func == (lhs: RealityPlatform.iOS.Entity, rhs: RealityPlatform.iOS.Entity) -> Bool { + lhs.id == rhs.id + } +} + +//MARK: ModelEntity + +extension RealityPlatform.iOS { + public class ModelEntity: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: PerspectiveCamera + +extension RealityPlatform.iOS { + public class PerspectiveCamera: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: PointLight + +extension RealityPlatform.iOS { + public class PointLight: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: SpotLight + +extension RealityPlatform.iOS { + public class SpotLight: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: TriggerVolume + +extension RealityPlatform.iOS { + public class TriggerVolume: RealityPlatform.iOS.Entity { + + #if os(iOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: - macOS + +//MARK: AnchorEntity + +extension RealityPlatform.macOS { + public class AnchorEntity: RealityPlatform.macOS.Entity { + + #if os(macOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: DirectionalLight + +extension RealityPlatform.macOS { + public class DirectionalLight: RealityPlatform.macOS.Entity { + + #if os(macOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: Entity + +extension RealityPlatform.macOS { + public class Entity: Codable, Identifiable { + private(set) public var accessibilityDescription: String? + private(set) public var accessibilityLabel: String? + private(set) public var children: [RealityPlatform.macOS.EntityType] = [] + private(set) public var components: [RealityPlatform.macOS.Component] = [] + public let id: UInt64 + public let isAccessibilityElement: Bool + public let isActive: Bool + public let isAnchored: Bool + public let isEnabled: Bool + public let isEnabledInHierarchy: Bool + public let isOwner: Bool + private(set) public var name: String? + private(set) public var parentID: UInt64? + + #if os(macOS) + init( + _ entity: RealityKit.Entity + ) { + self.accessibilityDescription = entity.accessibilityDescription + self.accessibilityLabel = entity.accessibilityLabel + self.children = entity.children.map(\.encoded) + self.components = entity.components.encoded + self.id = entity.id + self.isAccessibilityElement = entity.isAccessibilityElement + self.isActive = entity.isActive + self.isAnchored = entity.isAnchored + self.isEnabled = entity.isEnabled + self.isEnabledInHierarchy = entity.isEnabledInHierarchy + self.isOwner = entity.isOwner + self.name = entity.name + self.parentID = entity.parent?.id + } + #endif + } +} + +extension RealityPlatform.macOS.Entity: Equatable { + public static func == ( + lhs: RealityPlatform.macOS.Entity, + rhs: RealityPlatform.macOS.Entity + ) -> Bool { + lhs.id == rhs.id + } +} + +//MARK: ModelEntity + +extension RealityPlatform.macOS { + public class ModelEntity: RealityPlatform.macOS.Entity { + + #if os(macOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: PerspectiveCamera + +extension RealityPlatform.macOS { + public class PerspectiveCamera: RealityPlatform.macOS.Entity { + + #if os(macOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: PointLight + +extension RealityPlatform.macOS { + public class PointLight: RealityPlatform.macOS.Entity { + + #if os(macOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: SpotLight + +extension RealityPlatform.macOS { + public class SpotLight: RealityPlatform.macOS.Entity { + + #if os(macOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: TriggerVolume + +extension RealityPlatform.macOS { + public class TriggerVolume: RealityPlatform.macOS.Entity { + + #if os(macOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: - visionOS + +//MARK: AnchorEntity + +extension RealityPlatform.visionOS { + public class AnchorEntity: RealityPlatform.visionOS.Entity { + + #if os(visionOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: Entity + +extension RealityPlatform.visionOS { + public class Entity: Codable, Identifiable { + private(set) public var accessibilityDescription: String? + private(set) public var accessibilityLabel: String? + private(set) public var children: [RealityPlatform.visionOS.EntityType] = [] + private(set) public var components: [RealityPlatform.visionOS.Component] = [] + public let id: UInt64 + public let isAccessibilityElement: Bool + public let isActive: Bool + public let isAnchored: Bool + public let isEnabled: Bool + public let isEnabledInHierarchy: Bool + public let isOwner: Bool + private(set) public var name: String? + private(set) public var parentID: UInt64? + + #if os(visionOS) + init( + _ entity: RealityKit.Entity + ) { + self.accessibilityDescription = entity.accessibilityDescription + //FIXME: self.accessibilityLabel = entity.accessibilityLabel + self.children = entity.children.map(\.encoded) + self.components = entity.components.encoded + self.id = entity.id + self.isAccessibilityElement = entity.isAccessibilityElement + self.isActive = entity.isActive + self.isAnchored = entity.isAnchored + self.isEnabled = entity.isEnabled + self.isEnabledInHierarchy = entity.isEnabledInHierarchy + self.isOwner = entity.isOwner + self.name = entity.name + self.parentID = entity.parent?.id + } + #endif + } +} + +extension RealityPlatform.visionOS.Entity: Equatable { + public static func == ( + lhs: RealityPlatform.visionOS.Entity, + rhs: RealityPlatform.visionOS.Entity + ) -> Bool { + lhs.id == rhs.id + } +} + +//MARK: ModelEntity + +extension RealityPlatform.visionOS { + public class ModelEntity: RealityPlatform.visionOS.Entity { + + #if os(visionOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: PerspectiveCamera + +extension RealityPlatform.visionOS { + public class PerspectiveCamera: RealityPlatform.visionOS.Entity { + + #if os(visionOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} + +//MARK: TriggerVolume + +extension RealityPlatform.visionOS { + public class TriggerVolume: RealityPlatform.visionOS.Entity { + + #if os(visionOS) + init(rawValue entity: RealityKit.Entity) { + super.init(entity) + } + #endif + + required init(from decoder: Decoder) throws { + try super.init(from: decoder) + } + } +} diff --git a/Sources/RealityCodable/Entities/autogenerated/EntityType+Codable.swift b/Sources/RealityCodable/Entities/autogenerated/EntityType+Codable.swift new file mode 100644 index 0000000..e5b6cc0 --- /dev/null +++ b/Sources/RealityCodable/Entities/autogenerated/EntityType+Codable.swift @@ -0,0 +1,310 @@ +// This file was automatically generated and should not be edited. + +import Foundation +import Models +import RealityKit + +//MARK: - iOS + +extension RealityPlatform.iOS { + public enum EntityType: Equatable { + case anchorEntity(AnchorEntity) + case bodyTrackedEntity(BodyTrackedEntity) + case directionalLight(DirectionalLight) + case entity(Entity) + case modelEntity(ModelEntity) + case perspectiveCamera(PerspectiveCamera) + case pointLight(PointLight) + case spotLight(SpotLight) + case triggerVolume(TriggerVolume) + } +} + +extension RealityPlatform.iOS.EntityType: Codable { + public var caseKey: String { + switch self { + case .anchorEntity: return "AnchorEntity" + case .bodyTrackedEntity: return "BodyTrackedEntity" + case .directionalLight: return "DirectionalLight" + case .entity: return "Entity" + case .modelEntity: return "ModelEntity" + case .perspectiveCamera: return "PerspectiveCamera" + case .pointLight: return "PointLight" + case .spotLight: return "SpotLight" + case .triggerVolume: return "TriggerVolume" + } + } + + public var value: RealityPlatform.iOS.Entity { + switch self { + case .anchorEntity(let value): return value + case .bodyTrackedEntity(let value): return value + case .directionalLight(let value): return value + case .entity(let value): return value + case .modelEntity(let value): return value + case .perspectiveCamera(let value): return value + case .pointLight(let value): return value + case .spotLight(let value): return value + case .triggerVolume(let value): return value + } + } + + enum CodingKeys: String, CodingKey { + case caseKey + case value + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: CodingKeys.self) + let caseKey = try values.decode(String.self, forKey: .caseKey) + + switch caseKey { + case "AnchorEntity": + let value = try values.decode(RealityPlatform.iOS.AnchorEntity.self, forKey: .value) + self = .anchorEntity(value) + case "BodyTrackedEntity": + let value = try values.decode(RealityPlatform.iOS.BodyTrackedEntity.self, forKey: .value) + self = .bodyTrackedEntity(value) + case "DirectionalLight": + let value = try values.decode(RealityPlatform.iOS.DirectionalLight.self, forKey: .value) + self = .directionalLight(value) + case "Entity": + let value = try values.decode(RealityPlatform.iOS.Entity.self, forKey: .value) + self = .entity(value) + case "ModelEntity": + let value = try values.decode(RealityPlatform.iOS.ModelEntity.self, forKey: .value) + self = .modelEntity(value) + case "PerspectiveCamera": + let value = try values.decode(RealityPlatform.iOS.PerspectiveCamera.self, forKey: .value) + self = .perspectiveCamera(value) + case "PointLight": + let value = try values.decode(RealityPlatform.iOS.PointLight.self, forKey: .value) + self = .pointLight(value) + case "SpotLight": + let value = try values.decode(RealityPlatform.iOS.SpotLight.self, forKey: .value) + self = .spotLight(value) + case "TriggerVolume": + let value = try values.decode(RealityPlatform.iOS.TriggerVolume.self, forKey: .value) + self = .triggerVolume(value) + default: + fatalError("Unknown iOS Entity type.") + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(caseKey, forKey: .caseKey) + + switch self { + case .anchorEntity(let value): + try container.encode(value, forKey: .value) + case .bodyTrackedEntity(let value): + try container.encode(value, forKey: .value) + case .directionalLight(let value): + try container.encode(value, forKey: .value) + case .entity(let value): + try container.encode(value, forKey: .value) + case .modelEntity(let value): + try container.encode(value, forKey: .value) + case .perspectiveCamera(let value): + try container.encode(value, forKey: .value) + case .pointLight(let value): + try container.encode(value, forKey: .value) + case .spotLight(let value): + try container.encode(value, forKey: .value) + case .triggerVolume(let value): + try container.encode(value, forKey: .value) + } + } +} + +//MARK: - macOS + +extension RealityPlatform.macOS { + public enum EntityType: Equatable { + case anchorEntity(AnchorEntity) + case directionalLight(DirectionalLight) + case entity(Entity) + case modelEntity(ModelEntity) + case perspectiveCamera(PerspectiveCamera) + case pointLight(PointLight) + case spotLight(SpotLight) + case triggerVolume(TriggerVolume) + } +} + +extension RealityPlatform.macOS.EntityType: Codable { + public var caseKey: String { + switch self { + case .anchorEntity: return "AnchorEntity" + case .directionalLight: return "DirectionalLight" + case .entity: return "Entity" + case .modelEntity: return "ModelEntity" + case .perspectiveCamera: return "PerspectiveCamera" + case .pointLight: return "PointLight" + case .spotLight: return "SpotLight" + case .triggerVolume: return "TriggerVolume" + } + } + + public var value: RealityPlatform.macOS.Entity { + switch self { + case .anchorEntity(let value): return value + case .directionalLight(let value): return value + case .entity(let value): return value + case .modelEntity(let value): return value + case .perspectiveCamera(let value): return value + case .pointLight(let value): return value + case .spotLight(let value): return value + case .triggerVolume(let value): return value + } + } + + enum CodingKeys: String, CodingKey { + case caseKey + case value + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: CodingKeys.self) + let caseKey = try values.decode(String.self, forKey: .caseKey) + + switch caseKey { + case "AnchorEntity": + let value = try values.decode(RealityPlatform.macOS.AnchorEntity.self, forKey: .value) + self = .anchorEntity(value) + case "DirectionalLight": + let value = try values.decode(RealityPlatform.macOS.DirectionalLight.self, forKey: .value) + self = .directionalLight(value) + case "Entity": + let value = try values.decode(RealityPlatform.macOS.Entity.self, forKey: .value) + self = .entity(value) + case "ModelEntity": + let value = try values.decode(RealityPlatform.macOS.ModelEntity.self, forKey: .value) + self = .modelEntity(value) + case "PerspectiveCamera": + let value = try values.decode(RealityPlatform.macOS.PerspectiveCamera.self, forKey: .value) + self = .perspectiveCamera(value) + case "PointLight": + let value = try values.decode(RealityPlatform.macOS.PointLight.self, forKey: .value) + self = .pointLight(value) + case "SpotLight": + let value = try values.decode(RealityPlatform.macOS.SpotLight.self, forKey: .value) + self = .spotLight(value) + case "TriggerVolume": + let value = try values.decode(RealityPlatform.macOS.TriggerVolume.self, forKey: .value) + self = .triggerVolume(value) + default: + fatalError("Unknown macOS Entity type.") + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(caseKey, forKey: .caseKey) + + switch self { + case .anchorEntity(let value): + try container.encode(value, forKey: .value) + case .directionalLight(let value): + try container.encode(value, forKey: .value) + case .entity(let value): + try container.encode(value, forKey: .value) + case .modelEntity(let value): + try container.encode(value, forKey: .value) + case .perspectiveCamera(let value): + try container.encode(value, forKey: .value) + case .pointLight(let value): + try container.encode(value, forKey: .value) + case .spotLight(let value): + try container.encode(value, forKey: .value) + case .triggerVolume(let value): + try container.encode(value, forKey: .value) + } + } +} + +//MARK: - visionOS + +extension RealityPlatform.visionOS { + public enum EntityType: Equatable { + case anchorEntity(AnchorEntity) + case entity(Entity) + case modelEntity(ModelEntity) + case perspectiveCamera(PerspectiveCamera) + case triggerVolume(TriggerVolume) + } +} + +extension RealityPlatform.visionOS.EntityType: Codable { + public var caseKey: String { + switch self { + case .anchorEntity: return "AnchorEntity" + case .entity: return "Entity" + case .modelEntity: return "ModelEntity" + case .perspectiveCamera: return "PerspectiveCamera" + case .triggerVolume: return "TriggerVolume" + } + } + + public var value: RealityPlatform.visionOS.Entity { + switch self { + case .anchorEntity(let value): return value + case .entity(let value): return value + case .modelEntity(let value): return value + case .perspectiveCamera(let value): return value + case .triggerVolume(let value): return value + } + } + + enum CodingKeys: String, CodingKey { + case caseKey + case value + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: CodingKeys.self) + let caseKey = try values.decode(String.self, forKey: .caseKey) + + switch caseKey { + case "AnchorEntity": + let value = try values.decode(RealityPlatform.visionOS.AnchorEntity.self, forKey: .value) + self = .anchorEntity(value) + case "Entity": + let value = try values.decode(RealityPlatform.visionOS.Entity.self, forKey: .value) + self = .entity(value) + case "ModelEntity": + let value = try values.decode(RealityPlatform.visionOS.ModelEntity.self, forKey: .value) + self = .modelEntity(value) + case "PerspectiveCamera": + let value = try values.decode( + RealityPlatform.visionOS.PerspectiveCamera.self, + forKey: .value + ) + self = .perspectiveCamera(value) + case "TriggerVolume": + let value = try values.decode(RealityPlatform.visionOS.TriggerVolume.self, forKey: .value) + self = .triggerVolume(value) + default: + fatalError("Unknown visionOS Entity type.") + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(caseKey, forKey: .caseKey) + + switch self { + case .anchorEntity(let value): + try container.encode(value, forKey: .value) + case .entity(let value): + try container.encode(value, forKey: .value) + case .modelEntity(let value): + try container.encode(value, forKey: .value) + case .perspectiveCamera(let value): + try container.encode(value, forKey: .value) + case .triggerVolume(let value): + try container.encode(value, forKey: .value) + } + } +} diff --git a/Sources/RealityCodable/Entities/autogenerated/RealityKitEntity+Encoding.swift b/Sources/RealityCodable/Entities/autogenerated/RealityKitEntity+Encoding.swift new file mode 100644 index 0000000..540e418 --- /dev/null +++ b/Sources/RealityCodable/Entities/autogenerated/RealityKitEntity+Encoding.swift @@ -0,0 +1,91 @@ +// This file was automatically generated and should not be edited. + +import Foundation +import Models +import RealityKit + +//MARK: - iOS + + +#if os(iOS) +extension RealityKit.Entity { + public var encoded: RealityPlatform.iOS.EntityType { + switch "\(type(of: self))" { + case "AnchorEntity": + return .anchorEntity(.init(rawValue: self)) + case "BodyTrackedEntity": + return .bodyTrackedEntity(.init(rawValue: self)) + case "DirectionalLight": + return .directionalLight(.init(rawValue: self)) + case "Entity": + return .entity(.init(self)) + case "ModelEntity": + return .modelEntity(.init(rawValue: self)) + case "PerspectiveCamera": + return .perspectiveCamera(.init(rawValue: self)) + case "PointLight": + return .pointLight(.init(rawValue: self)) + case "SpotLight": + return .spotLight(.init(rawValue: self)) + case "TriggerVolume": + return .triggerVolume(.init(rawValue: self)) + default: + return .entity(.init(self)) + } + } +} +#endif + +//MARK: - macOS + + +#if os(macOS) +extension RealityKit.Entity { + public var encoded: RealityPlatform.macOS.EntityType { + switch "\(type(of: self))" { + case "AnchorEntity": + return .anchorEntity(.init(rawValue: self)) + case "DirectionalLight": + return .directionalLight(.init(rawValue: self)) + case "Entity": + return .entity(.init(self)) + case "ModelEntity": + return .modelEntity(.init(rawValue: self)) + case "PerspectiveCamera": + return .perspectiveCamera(.init(rawValue: self)) + case "PointLight": + return .pointLight(.init(rawValue: self)) + case "SpotLight": + return .spotLight(.init(rawValue: self)) + case "TriggerVolume": + return .triggerVolume(.init(rawValue: self)) + default: + return .entity(.init(self)) + } + } +} +#endif + +//MARK: - visionOS + + +#if os(visionOS) +extension RealityKit.Entity { + public var encoded: RealityPlatform.visionOS.EntityType { + switch "\(type(of: self))" { + case "AnchorEntity": + return .anchorEntity(.init(rawValue: self)) + case "Entity": + return .entity(.init(self)) + case "ModelEntity": + return .modelEntity(.init(rawValue: self)) + case "PerspectiveCamera": + return .perspectiveCamera(.init(rawValue: self)) + case "TriggerVolume": + return .triggerVolume(.init(rawValue: self)) + default: + return .entity(.init(self)) + } + } +} +#endif diff --git a/Sources/Models/Codable Extras/CodableAnimationResource.swift b/Sources/RealityCodable/Properties/CodableAnimationResource.swift similarity index 100% rename from Sources/Models/Codable Extras/CodableAnimationResource.swift rename to Sources/RealityCodable/Properties/CodableAnimationResource.swift diff --git a/Sources/Models/Codable Extras/CodableCollisionFilter.swift b/Sources/RealityCodable/Properties/CodableCollisionFilter.swift similarity index 100% rename from Sources/Models/Codable Extras/CodableCollisionFilter.swift rename to Sources/RealityCodable/Properties/CodableCollisionFilter.swift diff --git a/Sources/Models/Codable Extras/CodableFloat4x4.swift b/Sources/RealityCodable/Properties/CodableFloat4x4.swift similarity index 78% rename from Sources/Models/Codable Extras/CodableFloat4x4.swift rename to Sources/RealityCodable/Properties/CodableFloat4x4.swift index 8291607..d11d1a5 100644 --- a/Sources/Models/Codable Extras/CodableFloat4x4.swift +++ b/Sources/RealityCodable/Properties/CodableFloat4x4.swift @@ -1,7 +1,10 @@ -import CustomDump import simd -public struct CodableFloat4x4: Codable { +public struct CodableFloat4x4: Codable, Equatable { + public static func == (lhs: CodableFloat4x4, rhs: CodableFloat4x4) -> Bool { + lhs.float4x4 == rhs.float4x4 + } + let columns: (SIMD4, SIMD4, SIMD4, SIMD4) init( @@ -43,8 +46,9 @@ extension CodableFloat4x4: CustomDebugStringConvertible { } } -extension CodableFloat4x4: CustomDumpStringConvertible { - public var customDumpDescription: String { - "\(self.float4x4)" - } -} +//FIXME: +//extension CodableFloat4x4: CustomDumpStringConvertible { +// public var customDumpDescription: String { +// "\(self.float4x4)" +// } +//} diff --git a/Sources/Models/Codable Extras/CodableQuaternion.swift b/Sources/RealityCodable/Properties/CodableQuaternion.swift similarity index 82% rename from Sources/Models/Codable Extras/CodableQuaternion.swift rename to Sources/RealityCodable/Properties/CodableQuaternion.swift index 1409eef..efeed5b 100644 --- a/Sources/Models/Codable Extras/CodableQuaternion.swift +++ b/Sources/RealityCodable/Properties/CodableQuaternion.swift @@ -1,8 +1,7 @@ -import CustomDump import simd // Wrapper struct for simd_quatf to make it Codable -public struct CodableQuaternion: Codable { +public struct CodableQuaternion: Codable, Equatable { let vector: SIMD4 public init( @@ -41,8 +40,9 @@ extension CodableQuaternion: CustomDebugStringConvertible { } } -extension CodableQuaternion: CustomDumpStringConvertible { - public var customDumpDescription: String { - "\(self.vector)" - } -} +//FIXME: +//extension CodableQuaternion: CustomDumpStringConvertible { +// public var customDumpDescription: String { +// "\(self.vector)" +// } +//} diff --git a/Sources/RealityCodable/Scene+Codable.swift b/Sources/RealityCodable/Scene+Codable.swift new file mode 100644 index 0000000..aa4ea83 --- /dev/null +++ b/Sources/RealityCodable/Scene+Codable.swift @@ -0,0 +1,129 @@ +import Foundation +import Models +import RealityKit + +//MARK: - iOS + +extension RealityPlatform.iOS { + /** + Scene structure on iOS + + ``` + ┌─────────┐ + │ ARView │ + └─────────┘ + │ + ┌─────────────┐ + │ Scene │ + └─────────────┘ + ┌─────────────┴─────────────┐ + ┌───────────────────┐ ┌───────────────────┐ + │ Anchor Entity │ │ Anchor Entity │ + └───────────────────┘ └───────────────────┘ + ┌────────┴───────┐ │ + ┌─────────┐ ┌─────────┐ ┌─────────┐ + │ Entity │ │ Entity │ │ Entity │ + └─────────┘ └─────────┘ └─────────┘ + ┌───────┴──────┐ + ┌─────────┐ ┌─────────┐ + │ Entity │ │ Entity │ + └─────────┘ └─────────┘ + ``` + */ + public struct Scene: Codable, Equatable { + public let anchors: [RealityPlatform.iOS.EntityType] + + public init( + anchors: [RealityPlatform.iOS.EntityType] + ) { + self.anchors = anchors + } + } +} + +extension RealityPlatform.iOS.Scene { + public static func findEntity( + id targetID: RealityPlatform.iOS.Entity.ID, + root: RealityPlatform.iOS.Entity + ) -> RealityPlatform.iOS.Entity? { + if targetID == root.id { + return root + } + + for child in root.children.map(\.value) { + if let foundNode = findEntity(id: targetID, root: child) { + return foundNode + } + } + + return nil + } +} + +//MARK: - macOS + +extension RealityPlatform.macOS { + + public struct Scene: Codable, Equatable { + public let anchors: [RealityPlatform.macOS.AnchorEntity] + + public init( + anchors: [RealityPlatform.macOS.AnchorEntity] + ) { + self.anchors = anchors + } + } +} + +//MARK: - visionOS + +extension RealityPlatform.visionOS { + /** + Scene structure on visionOS + + ``` + ┌─────────────┐ + │ Scene │ + └─────────────┘ + │ + ┌─────────────┴─────────────┐ + ┌────────┴───────┐ │ + ┌─────────┐ ┌─────────┐ ┌─────────┐ + │ Entity │ │ Entity │ │ Entity │ + └─────────┘ └─────────┘ └─────────┘ + ┌───────┴──────┐ + ┌─────────┐ ┌─────────┐ + │ Entity │ │ Entity │ + └─────────┘ └─────────┘ + ``` + */ + public struct Scene: Codable, Equatable { + public let children: [RealityPlatform.visionOS.EntityType] + + public init( + children: [RealityPlatform.visionOS.EntityType] + ) { + self.children = children + } + } +} + +extension RealityPlatform.visionOS.Scene { + //TODO: make generic + public static func findEntity( + id targetID: RealityPlatform.visionOS.Entity.ID, + root: RealityPlatform.visionOS.Entity + ) -> RealityPlatform.visionOS.Entity? { + if targetID == root.id { + return root + } + + for child in root.children.map(\.value) { + if let foundNode = findEntity(id: targetID, root: child) { + return foundNode + } + } + + return nil + } +} diff --git a/Sources/RealityCodable/Utilities/__pycache__/gyb.cpython-311.pyc b/Sources/RealityCodable/Utilities/__pycache__/gyb.cpython-311.pyc new file mode 100644 index 0000000..fc44e14 Binary files /dev/null and b/Sources/RealityCodable/Utilities/__pycache__/gyb.cpython-311.pyc differ diff --git a/Sources/RealityCodable/Utilities/generate-sources.sh b/Sources/RealityCodable/Utilities/generate-sources.sh new file mode 100755 index 0000000..2d63882 --- /dev/null +++ b/Sources/RealityCodable/Utilities/generate-sources.sh @@ -0,0 +1,62 @@ +#!/bin/sh +#===----------------------------------------------------------------------===// +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2020 - 2023 Apple Inc. and the Swift project authors +# Licensed under Apache License v2.0 with Runtime Library Exception +# +# See https://swift.org/LICENSE.txt for license information +# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors +# +#===----------------------------------------------------------------------===// + +set -eu + +srcroot="$(dirname "$0")/.." +cd "$srcroot" + +gyb="./Utilities/gyb" + +# Disable line directives in gyb output. We commit generated sources +# into the package repository, so we do not want absolute file names +# in them. +lineDirective='' + +# Uncomment the following line to enable #sourceLocation directives. +# This is useful for local development. +#lineDirective='#sourceLocation(file: "%(file)s", line: %(line)d)' + + +# Create a temporary directory; remove it on exit. +tmpdir="$(mktemp -d "${TMPDIR:-/tmp}/$(basename "$0").XXXXXXXX")" +trap "rm -rf \"$tmpdir\"" EXIT + +# Run gyb on each gyb file in the source tree and put results in +# subdirectories named 'autogenerated'. +find .. -name "*.gyb" | while read input; do + basename="$(basename "$input")" + targetdir="$(dirname "$input")/autogenerated" + output="$targetdir/"${basename%.gyb} + tmpfile="$tmpdir/${basename%.gyb}" + + # Make sure the output directory exists. + mkdir -p "$targetdir" + + # Run gyb, making sure to only update files when they change. + "$gyb" --line-directive "$lineDirective" -o "$tmpfile" "$input" + if [ -e "$output" ] && cmp -s "$tmpfile" "$output"; then + : Ignore unchanged file + else + echo "Updated $output" + cp "$tmpfile" "$output" + fi + echo "$output" >> "$tmpdir/generated-files.txt" +done + +# Remove autogenerated files without a corresponding gyb. +#find . -path '*/autogenerated/*.swift' >> "$tmpdir/generated-files.txt" +#sort "$tmpdir/generated-files.txt" | uniq -u | while read obsolete; do +# echo "Removing $obsolete" +# rm "$obsolete" +#done diff --git a/Sources/RealityCodable/Utilities/gyb b/Sources/RealityCodable/Utilities/gyb new file mode 100755 index 0000000..8206bd8 --- /dev/null +++ b/Sources/RealityCodable/Utilities/gyb @@ -0,0 +1,3 @@ +#!/usr/bin/env python3 +import gyb +gyb.main() diff --git a/Sources/RealityCodable/Utilities/gyb.py b/Sources/RealityCodable/Utilities/gyb.py new file mode 100644 index 0000000..520d1de --- /dev/null +++ b/Sources/RealityCodable/Utilities/gyb.py @@ -0,0 +1,1262 @@ +#!/usr/bin/env python3 +# GYB: Generate Your Boilerplate (improved names welcome; at least +# this one's short). See -h output for instructions + +import io +import os +import re +import sys +import textwrap +import tokenize +from bisect import bisect +from io import StringIO + + +def get_line_starts(s): + """Return a list containing the start index of each line in s. + + The list also contains a sentinel index for the end of the string, + so there will be one more element in the list than there are lines + in the string + """ + starts = [0] + + for line in s.split('\n'): + starts.append(starts[-1] + len(line) + 1) + + starts[-1] -= 1 + return starts + + +def strip_trailing_nl(s): + """If s ends with a newline, drop it; else return s intact""" + return s[:-1] if s.endswith('\n') else s + + +def split_lines(s): + """Split s into a list of lines, each of which has a trailing newline + + If the lines are later concatenated, the result is s, possibly + with a single appended newline. + """ + return [line + '\n' for line in s.split('\n')] + + +# text on a line up to the first '$$', '${', or '%%' +literalText = r'(?: [^$\n%] | \$(?![${]) | %(?!%) )*' + +# The part of an '%end' line that follows the '%' sign +linesClose = r'[\ \t]* end [\ \t]* (?: \# .* )? $' + +# Note: Where "# Absorb" appears below, the regexp attempts to eat up +# through the end of ${...} and %{...}% constructs. In reality we +# handle this with the Python tokenizer, which avoids mis-detections +# due to nesting, comments and strings. This extra absorption in the +# regexp facilitates testing the regexp on its own, by preventing the +# interior of some of these constructs from being treated as literal +# text. +tokenize_re = re.compile( + r''' +# %-lines and %{...}-blocks + # \n? # absorb one preceding newline + ^ + (?: + (?P + (?P<_indent> [\ \t]* % (?! [{%] ) [\ \t]* ) (?! [\ \t] | ''' + + linesClose + r''' ) .* + ( \n (?P=_indent) (?! ''' + linesClose + r''' ) .* ) * + ) + | (?P [\ \t]* % [ \t]* ''' + linesClose + r''' ) + | [\ \t]* (?P %\{ ) + (?: [^}]| \} (?!%) )* \}% # Absorb + ) + \n? # absorb one trailing newline + +# Substitutions +| (?P \$\{ ) + [^}]* \} # Absorb + +# %% and $$ are literal % and $ respectively +| (?P[$%]) (?P=symbol) + +# Literal text +| (?P ''' + literalText + r''' + (?: + # newline that doesn't precede space+% + (?: \n (?! [\ \t]* %[^%] ) ) + ''' + literalText + r''' + )* + \n? + ) +''', re.VERBOSE | re.MULTILINE) + +gyb_block_close = re.compile(r'\}%[ \t]*\n?') + + +def token_pos_to_index(token_pos, start, line_starts): + """Translate a tokenize (line, column) pair into an absolute + position in source text given the position where we started + tokenizing and a list that maps lines onto their starting + character indexes. + """ + relative_token_line_plus1, token_col = token_pos + + # line number where we started tokenizing + start_line_num = bisect(line_starts, start) - 1 + + # line number of the token in the whole text + abs_token_line = relative_token_line_plus1 - 1 + start_line_num + + # if found in the first line, adjust the end column to account + # for the extra text + if relative_token_line_plus1 == 1: + token_col += start - line_starts[start_line_num] + + # Sometimes tokenizer errors report a line beyond the last one + if abs_token_line >= len(line_starts): + return line_starts[-1] + + return line_starts[abs_token_line] + token_col + + +def tokenize_python_to_unmatched_close_curly(source_text, start, line_starts): + """Apply Python's tokenize to source_text starting at index start + while matching open and close curly braces. When an unmatched + close curly brace is found, return its index. If not found, + return len(source_text). If there's a tokenization error, return + the position of the error. + """ + stream = StringIO(source_text) + stream.seek(start) + nesting = 0 + + try: + for kind, text, token_start, token_end, line_text \ + in tokenize.generate_tokens(stream.readline): + + if text == '{': + nesting += 1 + elif text == '}': + nesting -= 1 + if nesting < 0: + return token_pos_to_index(token_start, start, line_starts) + + except tokenize.TokenError as error: + (message, error_pos) = error.args + return token_pos_to_index(error_pos, start, line_starts) + + return len(source_text) + + +def tokenize_template(template_text): + r"""Given the text of a template, returns an iterator over + (tokenType, token, match) tuples. + + **Note**: this is template syntax tokenization, not Python + tokenization. + + When a non-literal token is matched, a client may call + iter.send(pos) on the iterator to reset the position in + template_text at which scanning will resume. + + This function provides a base level of tokenization which is + then refined by ParseContext.token_generator. + + >>> from pprint import * + >>> pprint(list((kind, text) for kind, text, _ in tokenize_template( + ... '%for x in range(10):\n% print x\n%end\njuicebox'))) + [('gybLines', '%for x in range(10):\n% print x'), + ('gybLinesClose', '%end'), + ('literal', 'juicebox')] + + >>> pprint(list((kind, text) for kind, text, _ in tokenize_template( + ... '''Nothing + ... % if x: + ... % for i in range(3): + ... ${i} + ... % end + ... % else: + ... THIS SHOULD NOT APPEAR IN THE OUTPUT + ... '''))) + [('literal', 'Nothing\n'), + ('gybLines', '% if x:\n% for i in range(3):'), + ('substitutionOpen', '${'), + ('literal', '\n'), + ('gybLinesClose', '% end'), + ('gybLines', '% else:'), + ('literal', 'THIS SHOULD NOT APPEAR IN THE OUTPUT\n')] + + >>> for kind, text, _ in tokenize_template(''' + ... This is $some$ literal stuff containing a ${substitution} + ... followed by a %{...} block: + ... %{ + ... # Python code + ... }% + ... and here $${are} some %-lines: + ... % x = 1 + ... % y = 2 + ... % if z == 3: + ... % print '${hello}' + ... % end + ... % for x in zz: + ... % print x + ... % # different indentation + ... % twice + ... and some lines that literally start with a %% token + ... %% first line + ... %% second line + ... '''): + ... print((kind, text.strip().split('\n',1)[0])) + ('literal', 'This is $some$ literal stuff containing a') + ('substitutionOpen', '${') + ('literal', 'followed by a %{...} block:') + ('gybBlockOpen', '%{') + ('literal', 'and here ${are} some %-lines:') + ('gybLines', '% x = 1') + ('gybLinesClose', '% end') + ('gybLines', '% for x in zz:') + ('gybLines', '% # different indentation') + ('gybLines', '% twice') + ('literal', 'and some lines that literally start with a % token') + """ + pos = 0 + end = len(template_text) + + saved_literal = [] + literal_first_match = None + + while pos < end: + m = tokenize_re.match(template_text, pos, end) + + # pull out the one matched key (ignoring internal patterns starting + # with _) + ((kind, text), ) = ( + (kind, text) for (kind, text) in m.groupdict().items() + if text is not None and kind[0] != '_') + + if kind in ('literal', 'symbol'): + if len(saved_literal) == 0: + literal_first_match = m + # literals and symbols get batched together + saved_literal.append(text) + pos = None + else: + # found a non-literal. First yield any literal we've accumulated + if saved_literal != []: + yield 'literal', ''.join(saved_literal), literal_first_match + saved_literal = [] + + # Then yield the thing we found. If we get a reply, it's + # the place to resume tokenizing + pos = yield kind, text, m + + # If we were not sent a new position by our client, resume + # tokenizing at the end of this match. + if pos is None: + pos = m.end(0) + else: + # Client is not yet ready to process next token + yield + + if saved_literal != []: + yield 'literal', ''.join(saved_literal), literal_first_match + + +def split_gyb_lines(source_lines): + r"""Return a list of lines at which to split the incoming source + + These positions represent the beginnings of python line groups that + will require a matching %end construct if they are to be closed. + + >>> src = split_lines('''\ + ... if x: + ... print x + ... if y: # trailing comment + ... print z + ... if z: # another comment\ + ... ''') + >>> s = split_gyb_lines(src) + >>> len(s) + 2 + >>> src[s[0]] + ' print z\n' + >>> s[1] - len(src) + 0 + + >>> src = split_lines('''\ + ... if x: + ... if y: print 1 + ... if z: + ... print 2 + ... pass\ + ... ''') + >>> s = split_gyb_lines(src) + >>> len(s) + 1 + >>> src[s[0]] + ' if y: print 1\n' + + >>> src = split_lines('''\ + ... if x: + ... if y: + ... print 1 + ... print 2 + ... ''') + >>> s = split_gyb_lines(src) + >>> len(s) + 2 + >>> src[s[0]] + ' if y:\n' + >>> src[s[1]] + ' print 1\n' + """ + last_token_text, last_token_kind = None, None + unmatched_indents = [] + + dedents = 0 + try: + for token_kind, token_text, token_start, \ + (token_end_line, token_end_col), line_text \ + in tokenize.generate_tokens(lambda i=iter(source_lines): + next(i)): + + if token_kind in (tokenize.COMMENT, tokenize.ENDMARKER): + continue + + if token_text == '\n' and last_token_text == ':': + unmatched_indents.append(token_end_line) + + # The tokenizer appends dedents at EOF; don't consider + # those as matching indentations. Instead just save them + # up... + if last_token_kind == tokenize.DEDENT: + dedents += 1 + # And count them later, when we see something real. + if token_kind != tokenize.DEDENT and dedents > 0: + unmatched_indents = unmatched_indents[:-dedents] + dedents = 0 + + last_token_text, last_token_kind = token_text, token_kind + + except tokenize.TokenError: + # Let the later compile() call report the error + return [] + + if last_token_text == ':': + unmatched_indents.append(len(source_lines)) + + return unmatched_indents + + +def code_starts_with_dedent_keyword(source_lines): + r"""Return True iff the incoming Python source_lines begin with "else", + "elif", "except", or "finally". + + Initial comments and whitespace are ignored. + + >>> code_starts_with_dedent_keyword(split_lines('if x in y: pass')) + False + >>> code_starts_with_dedent_keyword(split_lines('except ifSomethingElse:')) + True + >>> code_starts_with_dedent_keyword( + ... split_lines('\n# comment\nelse: # yes')) + True + """ + token_text = None + for token_kind, token_text, _, _, _ \ + in tokenize.generate_tokens(lambda i=iter(source_lines): next(i)): + + if token_kind != tokenize.COMMENT and token_text.strip() != '': + break + + return token_text in ('else', 'elif', 'except', 'finally') + + +class ParseContext(object): + + """State carried through a parse of a template""" + + filename = '' + template = '' + line_starts = [] + code_start_line = -1 + code_text = None + tokens = None # The rest of the tokens + close_lines = False + + def __init__(self, filename, template=None): + self.filename = os.path.abspath(filename) + if sys.platform == 'win32': + self.filename = '/'.join(self.filename.split(os.sep)) + if template is None: + with io.open(os.path.normpath(filename), encoding='utf-8') as f: + self.template = f.read() + else: + self.template = template + self.line_starts = get_line_starts(self.template) + self.tokens = self.token_generator(tokenize_template(self.template)) + self.next_token() + + def pos_to_line(self, pos): + return bisect(self.line_starts, pos) - 1 + + def token_generator(self, base_tokens): + r"""Given an iterator over (kind, text, match) triples (see + tokenize_template above), return a refined iterator over + token_kinds. + + Among other adjustments to the elements found by base_tokens, + this refined iterator tokenizes python code embedded in + template text to help determine its true extent. The + expression "base_tokens.send(pos)" is used to reset the index at + which base_tokens resumes scanning the underlying text. + + >>> ctx = ParseContext('dummy', ''' + ... %for x in y: + ... % print x + ... % end + ... literally + ... ''') + >>> while ctx.token_kind: + ... print((ctx.token_kind, ctx.code_text or ctx.token_text)) + ... ignored = ctx.next_token() + ('literal', '\n') + ('gybLinesOpen', 'for x in y:\n') + ('gybLines', ' print x\n') + ('gybLinesClose', '% end') + ('literal', 'literally\n') + + >>> ctx = ParseContext('dummy', + ... '''Nothing + ... % if x: + ... % for i in range(3): + ... ${i} + ... % end + ... % else: + ... THIS SHOULD NOT APPEAR IN THE OUTPUT + ... ''') + >>> while ctx.token_kind: + ... print((ctx.token_kind, ctx.code_text or ctx.token_text)) + ... ignored = ctx.next_token() + ('literal', 'Nothing\n') + ('gybLinesOpen', 'if x:\n') + ('gybLinesOpen', ' for i in range(3):\n') + ('substitutionOpen', 'i') + ('literal', '\n') + ('gybLinesClose', '% end') + ('gybLinesOpen', 'else:\n') + ('literal', 'THIS SHOULD NOT APPEAR IN THE OUTPUT\n') + + >>> ctx = ParseContext('dummy', + ... '''% for x in [1, 2, 3]: + ... % if x == 1: + ... literal1 + ... % elif x > 1: # add output line here to fix bug + ... % if x == 2: + ... literal2 + ... % end + ... % end + ... % end + ... ''') + >>> while ctx.token_kind: + ... print((ctx.token_kind, ctx.code_text or ctx.token_text)) + ... ignored = ctx.next_token() + ('gybLinesOpen', 'for x in [1, 2, 3]:\n') + ('gybLinesOpen', ' if x == 1:\n') + ('literal', 'literal1\n') + ('gybLinesOpen', 'elif x > 1: # add output line here to fix bug\n') + ('gybLinesOpen', ' if x == 2:\n') + ('literal', 'literal2\n') + ('gybLinesClose', '% end') + ('gybLinesClose', '% end') + ('gybLinesClose', '% end') + """ + for self.token_kind, self.token_text, self.token_match in base_tokens: + kind = self.token_kind + self.code_text = None + + # Do we need to close the current lines? + self.close_lines = kind == 'gybLinesClose' + + # %{...}% and ${...} constructs + if kind.endswith('Open'): + + # Tokenize text that follows as Python up to an unmatched '}' + code_start = self.token_match.end(kind) + self.code_start_line = self.pos_to_line(code_start) + + close_pos = tokenize_python_to_unmatched_close_curly( + self.template, code_start, self.line_starts) + self.code_text = self.template[code_start:close_pos] + yield kind + + if (kind == 'gybBlockOpen'): + # Absorb any '}% \n' + m2 = gyb_block_close.match(self.template, close_pos) + if not m2: + raise ValueError("Invalid block closure") + next_pos = m2.end(0) + else: + assert kind == 'substitutionOpen' + # skip past the closing '}' + next_pos = close_pos + 1 + + # Resume tokenizing after the end of the code. + base_tokens.send(next_pos) + + elif kind == 'gybLines': + + self.code_start_line = self.pos_to_line( + self.token_match.start('gybLines')) + indentation = self.token_match.group('_indent') + + # Strip off the leading indentation and %-sign + source_lines = re.split( + '^' + re.escape(indentation), + self.token_match.group('gybLines') + '\n', + flags=re.MULTILINE)[1:] + + if code_starts_with_dedent_keyword(source_lines): + self.close_lines = True + + last_split = 0 + for line in split_gyb_lines(source_lines): + self.token_kind = 'gybLinesOpen' + self.code_text = ''.join(source_lines[last_split:line]) + yield self.token_kind + last_split = line + self.code_start_line += line - last_split + self.close_lines = False + + self.code_text = ''.join(source_lines[last_split:]) + if self.code_text: + self.token_kind = 'gybLines' + yield self.token_kind + else: + yield self.token_kind + + def next_token(self): + """Move to the next token""" + for kind in self.tokens: + return self.token_kind + + self.token_kind = None + + +_default_line_directive = \ + '// ###sourceLocation(file: "%(file)s", line: %(line)d)' + + +class ExecutionContext(object): + + """State we pass around during execution of a template""" + + def __init__(self, line_directive=_default_line_directive, + **local_bindings): + self.local_bindings = local_bindings + self.line_directive = line_directive + self.local_bindings['__context__'] = self + self.result_text = [] + self.last_file_line = None + + def append_text(self, text, file, line): + # see if we need to inject a line marker + if self.line_directive: + if (file, line) != self.last_file_line: + # We can only insert the line directive at a line break + if len(self.result_text) == 0 \ + or self.result_text[-1].endswith('\n'): + substitutions = {'file': file, 'line': line + 1} + format_str = self.line_directive + '\n' + self.result_text.append(format_str % substitutions) + # But if the new text contains any line breaks, we can create + # one + elif '\n' in text: + i = text.find('\n') + self.result_text.append(text[:i + 1]) + # and try again + self.append_text(text[i + 1:], file, line + 1) + return + + self.result_text.append(text) + self.last_file_line = (file, line + text.count('\n')) + + +class ASTNode(object): + + """Abstract base class for template AST nodes""" + + def __init__(self): + raise NotImplementedError("ASTNode.__init__ is not implemented.") + + def execute(self, context): + raise NotImplementedError("ASTNode.execute is not implemented.") + + def __str__(self, indent=''): + raise NotImplementedError("ASTNode.__str__ is not implemented.") + + def format_children(self, indent): + if not self.children: + return ' []' + + return '\n'.join( + ['', indent + '['] + + [x.__str__(indent + 4 * ' ') for x in self.children] + + [indent + ']']) + + +class Block(ASTNode): + + """A sequence of other AST nodes, to be executed in order""" + + children = [] + + def __init__(self, context): + self.children = [] + + while context.token_kind and not context.close_lines: + if context.token_kind == 'literal': + node = Literal + else: + node = Code + self.children.append(node(context)) + + def execute(self, context): + for x in self.children: + x.execute(context) + + def __str__(self, indent=''): + return indent + 'Block:' + self.format_children(indent) + + +class Literal(ASTNode): + + """An AST node that generates literal text""" + + def __init__(self, context): + self.text = context.token_text + start_position = context.token_match.start(context.token_kind) + self.start_line_number = context.pos_to_line(start_position) + self.filename = context.filename + context.next_token() + + def execute(self, context): + context.append_text(self.text, self.filename, self.start_line_number) + + def __str__(self, indent=''): + return '\n'.join( + [indent + x for x in ['Literal:'] + + strip_trailing_nl(self.text).split('\n')]) + + +class Code(ASTNode): + + """An AST node that is evaluated as Python""" + + code = None + children = () + kind = None + + def __init__(self, context): + + source = '' + source_line_count = 0 + + def accumulate_code(): + s = source + (context.code_start_line - source_line_count) * '\n' \ + + textwrap.dedent(context.code_text) + line_count = context.code_start_line + \ + context.code_text.count('\n') + context.next_token() + return s, line_count + + eval_exec = 'exec' + if context.token_kind.startswith('substitution'): + eval_exec = 'eval' + source, source_line_count = accumulate_code() + source = '(' + source.strip() + ')' + + else: + while context.token_kind == 'gybLinesOpen': + source, source_line_count = accumulate_code() + source += ' __children__[%d].execute(__context__)\n' % len( + self.children) + source_line_count += 1 + + self.children += (Block(context),) + + if context.token_kind == 'gybLinesClose': + context.next_token() + + if context.token_kind == 'gybLines': + source, source_line_count = accumulate_code() + + # Only handle a substitution as part of this code block if + # we don't already have some %-lines. + elif context.token_kind == 'gybBlockOpen': + + # Opening ${...} and %{...}% constructs + source, source_line_count = accumulate_code() + + self.filename = context.filename + self.start_line_number = context.code_start_line + self.code = compile(source, context.filename, eval_exec) + self.source = source + + def execute(self, context): + # Save __children__ from the local bindings + save_children = context.local_bindings.get('__children__') + # Execute the code with our __children__ in scope + context.local_bindings['__children__'] = self.children + context.local_bindings['__file__'] = self.filename + result = eval(self.code, context.local_bindings) + + if context.local_bindings['__children__'] is not self.children: + raise ValueError("The code is not allowed to mutate __children__") + # Restore the bindings + context.local_bindings['__children__'] = save_children + + # If we got a result, the code was an expression, so append + # its value + if result is not None \ + or (isinstance(result, str) and result != ''): + from numbers import Number, Integral + result_string = None + if isinstance(result, Number) and not isinstance(result, Integral): + result_string = repr(result) + elif isinstance(result, Integral) or isinstance(result, list): + result_string = str(result) + else: + result_string = result + context.append_text( + result_string, self.filename, self.start_line_number) + + def __str__(self, indent=''): + source_lines = re.sub(r'^\n', '', strip_trailing_nl( + self.source), flags=re.MULTILINE).split('\n') + if len(source_lines) == 1: + s = indent + 'Code: {' + source_lines[0] + '}' + else: + s = indent + 'Code:\n' + indent + '{\n' + '\n'.join( + indent + 4 * ' ' + line for line in source_lines + ) + '\n' + indent + '}' + return s + self.format_children(indent) + + +def expand(filename, line_directive=_default_line_directive, **local_bindings): + r"""Return the contents of the given template file, executed with the given + local bindings. + + >>> from tempfile import NamedTemporaryFile + >>> # On Windows, the name of a NamedTemporaryFile cannot be used to open + >>> # the file for a second time if delete=True. Therefore, we have to + >>> # manually handle closing and deleting this file to allow us to open + >>> # the file by its name across all platforms. + >>> f = NamedTemporaryFile(delete=False) + >>> _ = f.write( + ... br'''--- + ... % for i in range(int(x)): + ... a pox on ${i} for epoxy + ... % end + ... ${120 + + ... + ... 3} + ... abc + ... ${"w\nx\nX\ny"} + ... z + ... ''') + >>> f.flush() + >>> result = expand( + ... f.name, + ... line_directive='//#sourceLocation(file: "%(file)s", ' + \ + ... 'line: %(line)d)', + ... x=2 + ... ).replace( + ... '"%s"' % f.name.replace('\\', '/'), '"dummy.file"') + >>> print(result, end='') + //#sourceLocation(file: "dummy.file", line: 1) + --- + //#sourceLocation(file: "dummy.file", line: 3) + a pox on 0 for epoxy + //#sourceLocation(file: "dummy.file", line: 3) + a pox on 1 for epoxy + //#sourceLocation(file: "dummy.file", line: 5) + 123 + //#sourceLocation(file: "dummy.file", line: 8) + abc + w + x + X + y + //#sourceLocation(file: "dummy.file", line: 10) + z + >>> f.close() + >>> os.remove(f.name) + """ + with io.open(filename, encoding='utf-8') as f: + t = parse_template(filename, f.read()) + d = os.getcwd() + os.chdir(os.path.dirname(os.path.abspath(filename))) + try: + return execute_template( + t, line_directive=line_directive, **local_bindings) + finally: + os.chdir(d) + + +def parse_template(filename, text=None): + r"""Return an AST corresponding to the given template file. + + If text is supplied, it is assumed to be the contents of the file, + as a string. + + >>> print(parse_template('dummy.file', text= + ... '''% for x in [1, 2, 3]: + ... % if x == 1: + ... literal1 + ... % elif x > 1: # add output line after this line to fix bug + ... % if x == 2: + ... literal2 + ... % end + ... % end + ... % end + ... ''')) + Block: + [ + Code: + { + for x in [1, 2, 3]: + __children__[0].execute(__context__) + } + [ + Block: + [ + Code: + { + if x == 1: + __children__[0].execute(__context__) + elif x > 1: # add output line after this line to fix bug + __children__[1].execute(__context__) + } + [ + Block: + [ + Literal: + literal1 + ] + Block: + [ + Code: + { + if x == 2: + __children__[0].execute(__context__) + } + [ + Block: + [ + Literal: + literal2 + ] + ] + ] + ] + ] + ] + ] + + >>> print(parse_template( + ... 'dummy.file', + ... text='%for x in range(10):\n% print(x)\n%end\njuicebox')) + Block: + [ + Code: + { + for x in range(10): + __children__[0].execute(__context__) + } + [ + Block: + [ + Code: {print(x)} [] + ] + ] + Literal: + juicebox + ] + + >>> print(parse_template('/dummy.file', text= + ... '''Nothing + ... % if x: + ... % for i in range(3): + ... ${i} + ... % end + ... % else: + ... THIS SHOULD NOT APPEAR IN THE OUTPUT + ... ''')) + Block: + [ + Literal: + Nothing + Code: + { + if x: + __children__[0].execute(__context__) + else: + __children__[1].execute(__context__) + } + [ + Block: + [ + Code: + { + for i in range(3): + __children__[0].execute(__context__) + } + [ + Block: + [ + Code: {(i)} [] + Literal: + + ] + ] + ] + Block: + [ + Literal: + THIS SHOULD NOT APPEAR IN THE OUTPUT + ] + ] + ] + + >>> print(parse_template('dummy.file', text='''% + ... %for x in y: + ... % print(y) + ... ''')) + Block: + [ + Code: + { + for x in y: + __children__[0].execute(__context__) + } + [ + Block: + [ + Code: {print(y)} [] + ] + ] + ] + + >>> print(parse_template('dummy.file', text='''% + ... %if x: + ... % print(y) + ... AAAA + ... %else: + ... BBBB + ... ''')) + Block: + [ + Code: + { + if x: + __children__[0].execute(__context__) + else: + __children__[1].execute(__context__) + } + [ + Block: + [ + Code: {print(y)} [] + Literal: + AAAA + ] + Block: + [ + Literal: + BBBB + ] + ] + ] + + >>> print(parse_template('dummy.file', text='''% + ... %if x: + ... % print(y) + ... AAAA + ... %# This is a comment + ... %else: + ... BBBB + ... ''')) + Block: + [ + Code: + { + if x: + __children__[0].execute(__context__) + # This is a comment + else: + __children__[1].execute(__context__) + } + [ + Block: + [ + Code: {print(y)} [] + Literal: + AAAA + ] + Block: + [ + Literal: + BBBB + ] + ] + ] + + >>> print(parse_template('dummy.file', text='''\ + ... %for x in y: + ... AAAA + ... %if x: + ... BBBB + ... %end + ... CCCC + ... ''')) + Block: + [ + Code: + { + for x in y: + __children__[0].execute(__context__) + } + [ + Block: + [ + Literal: + AAAA + Code: + { + if x: + __children__[0].execute(__context__) + } + [ + Block: + [ + Literal: + BBBB + ] + ] + Literal: + CCCC + ] + ] + ] + """ + return Block(ParseContext(filename, text)) + + +def execute_template( + ast, line_directive=_default_line_directive, **local_bindings): + r"""Return the text generated by executing the given template AST. + + Keyword arguments become local variable bindings in the execution context + + >>> root_directory = os.path.abspath('/') + >>> file_name = (root_directory + 'dummy.file').replace('\\', '/') + >>> ast = parse_template(file_name, text= + ... '''Nothing + ... % if x: + ... % for i in range(3): + ... ${i} + ... % end + ... % else: + ... THIS SHOULD NOT APPEAR IN THE OUTPUT + ... ''') + >>> out = execute_template(ast, + ... line_directive='//#sourceLocation(file: "%(file)s", line: %(line)d)', + ... x=1) + >>> out = out.replace(file_name, "DUMMY-FILE") + >>> print(out, end="") + //#sourceLocation(file: "DUMMY-FILE", line: 1) + Nothing + //#sourceLocation(file: "DUMMY-FILE", line: 4) + 0 + //#sourceLocation(file: "DUMMY-FILE", line: 4) + 1 + //#sourceLocation(file: "DUMMY-FILE", line: 4) + 2 + + >>> ast = parse_template(file_name, text= + ... '''Nothing + ... % a = [] + ... % for x in range(3): + ... % a.append(x) + ... % end + ... ${a} + ... ''') + >>> out = execute_template(ast, + ... line_directive='//#sourceLocation(file: "%(file)s", line: %(line)d)', + ... x=1) + >>> out = out.replace(file_name, "DUMMY-FILE") + >>> print(out, end="") + //#sourceLocation(file: "DUMMY-FILE", line: 1) + Nothing + //#sourceLocation(file: "DUMMY-FILE", line: 6) + [0, 1, 2] + + >>> ast = parse_template(file_name, text= + ... '''Nothing + ... % a = [] + ... % for x in range(3): + ... % a.append(x) + ... % end + ... ${a} + ... ''') + >>> out = execute_template(ast, + ... line_directive='#line %(line)d "%(file)s"', x=1) + >>> out = out.replace(file_name, "DUMMY-FILE") + >>> print(out, end="") + #line 1 "DUMMY-FILE" + Nothing + #line 6 "DUMMY-FILE" + [0, 1, 2] + """ + execution_context = ExecutionContext( + line_directive=line_directive, **local_bindings) + ast.execute(execution_context) + return ''.join(execution_context.result_text) + + +def main(): + import argparse + import sys + + parser = argparse.ArgumentParser( + formatter_class=argparse.RawDescriptionHelpFormatter, + description='Generate Your Boilerplate!', epilog=''' + A GYB template consists of the following elements: + + - Literal text which is inserted directly into the output + + - %% or $$ in literal text, which insert literal '%' and '$' + symbols respectively. + + - Substitutions of the form ${}. The Python + expression is converted to a string and the result is inserted + into the output. + + - Python code delimited by %{...}%. Typically used to inject + definitions (functions, classes, variable bindings) into the + evaluation context of the template. Common indentation is + stripped, so you can add as much indentation to the beginning + of this code as you like + + - Lines beginning with optional whitespace followed by a single + '%' and Python code. %-lines allow you to nest other + constructs inside them. To close a level of nesting, use the + "%end" construct. + + - Lines beginning with optional whitespace and followed by a + single '%' and the token "end", which close open constructs in + %-lines. + + Example template: + + - Hello - + %{ + x = 42 + def succ(a): + return a+1 + }% + + I can assure you that ${x} < ${succ(x)} + + % if int(y) > 7: + % for i in range(3): + y is greater than seven! + % end + % else: + y is less than or equal to seven + % end + + - The End. - + + When run with "gyb -Dy=9", the output is + + - Hello - + + I can assure you that 42 < 43 + + y is greater than seven! + y is greater than seven! + y is greater than seven! + + - The End. - +''' + ) + parser.add_argument( + '-D', action='append', dest='defines', metavar='NAME=VALUE', + default=[], + help='''Bindings to be set in the template's execution context''') + + parser.add_argument( + 'file', type=str, + help='Path to GYB template file (defaults to stdin)', nargs='?', + default='-') + parser.add_argument( + '-o', dest='target', type=str, + help='Output file (defaults to stdout)', default='-') + parser.add_argument( + '--test', action='store_true', + default=False, help='Run a self-test') + parser.add_argument( + '--verbose-test', action='store_true', + default=False, help='Run a verbose self-test') + parser.add_argument( + '--dump', action='store_true', + default=False, help='Dump the parsed template to stdout') + parser.add_argument( + '--line-directive', + default=_default_line_directive, + help=''' + Line directive format string, which will be + provided 2 substitutions, `%%(line)d` and `%%(file)s`. + + Example: `#sourceLocation(file: "%%(file)s", line: %%(line)d)` + + The default works automatically with the `line-directive` tool, + which see for more information. + ''') + + args = parser.parse_args(sys.argv[1:]) + + if args.test or args.verbose_test: + import doctest + selfmod = sys.modules[__name__] + if doctest.testmod(selfmod, verbose=args.verbose_test or None).failed: + sys.exit(1) + + bindings = dict(x.split('=', 1) for x in args.defines) + if args.file == '-': + ast = parse_template('stdin', sys.stdin.read()) + else: + with io.open(os.path.normpath(args.file), 'r', encoding='utf-8') as f: + ast = parse_template(args.file, f.read()) + if args.dump: + print(ast) + + # Allow the template to open files and import .py files relative to its own + # directory + saved_cwd = os.getcwd() + os.chdir(os.path.dirname(os.path.abspath(args.file))) + sys.path = ['.'] + sys.path + result_text = execute_template(ast, args.line_directive, **bindings) + + if args.target == '-': + sys.stdout.write(result_text) + else: + os.chdir(saved_cwd) + with io.open(args.target, 'w', encoding='utf-8', newline='\n') as f: + f.write(result_text) + + +if __name__ == '__main__': + main() diff --git a/Sources/RealityDump/Animation+CustomDump.swift b/Sources/RealityDump/Animation+CustomDump.swift new file mode 100644 index 0000000..afdb782 --- /dev/null +++ b/Sources/RealityDump/Animation+CustomDump.swift @@ -0,0 +1,41 @@ +import RealityKit + +extension RealityKit.AnimationResource: CustomDumpReflectable { + public var customDumpMirror: Mirror { + .init( + self, + children: [ + "name": self.name, + "definition": self.definition, + ] + ) + } +} + +//TODO: describe the conforming types of AnimationDefinition +//https://developer.apple.com/documentation/realitykit/animationdefinition +//AnimationGroup +//AnimationView +//BlendTreeAnimation +//FromToByAnimation +//OrbitAnimation +//SampledAnimation +//extension RealityKit.AnimationDefinition: CustomDumpReflectable { +// public var customDumpMirror: Mirror { +// .init( +// self, +// children: [ +// "name": self.name, +// "bindTarget": self.bindTarget, +// "blendLayer": self.blendLayer, +// "speed": self.speed, +// "delay": self.delay, +// "duration": self.duration, +// "offset": self.offset, +// "trimDuration": self.trimDuration, +// "trimStart": self.trimStart, +// "trimEnd": self.trimEnd, +// ] +// ) +// } +//} diff --git a/Sources/RealityDump/CollisionComponent+CustomDump.swift b/Sources/RealityDump/CollisionComponent+CustomDump.swift new file mode 100644 index 0000000..9acf112 --- /dev/null +++ b/Sources/RealityDump/CollisionComponent+CustomDump.swift @@ -0,0 +1,9 @@ +import RealityKit +import CustomDump + +//extension CollisionComponent: CustomDumpStringConvertible { +// public var customDumpDescription: String { +// // TODO: find if is possible to access +// // interactionType: CollisionComponent.InteractionType(rawValue: 0) +// } +//} diff --git a/Sources/RealityDump/ComponentSet+CustomDump.swift b/Sources/RealityDump/ComponentSet+CustomDump.swift new file mode 100644 index 0000000..c6bbbed --- /dev/null +++ b/Sources/RealityDump/ComponentSet+CustomDump.swift @@ -0,0 +1,56 @@ +import CustomDump +import Models +import RealityKit + +#if os(iOS) + extension Entity.ComponentSet: CustomDumpReflectable { + var components: [any RealityKit.Component] { + var components: [any RealityKit.Component] = [] + for componentType in RealityPlatform.iOS.ComponentType.allCases.map(\.rawType) { + if self.has(componentType) { + components.append(self[componentType]!) + } + } + + return components + } + + public var customDumpMirror: Mirror { + .init(self, unlabeledChildren: components, displayStyle: .set) + } + } +#elseif os(macOS) + extension Entity.ComponentSet: CustomDumpReflectable { + var components: [any RealityKit.Component] { + var components: [any RealityKit.Component] = [] + for componentType in RealityPlatform.macOS.ComponentType.allCases.map(\.rawType) { + if self.has(componentType) { + components.append(self[componentType]!) + } + } + + return components + } + + public var customDumpMirror: Mirror { + .init(self, unlabeledChildren: components, displayStyle: .set) + } + } +#elseif os(visionOS) + extension Entity.ComponentSet: CustomDumpReflectable { + var components: [any RealityKit.Component] { + var components: [any RealityKit.Component] = [] + for componentType in RealityPlatform.visionOS.ComponentType.allCases.map(\.rawType) { + if self.has(componentType) { + components.append(self[componentType]!) + } + } + + return components + } + + public var customDumpMirror: Mirror { + .init(self, unlabeledChildren: components, displayStyle: .set) + } + } +#endif diff --git a/Sources/RealityDump/Entity+CustomDump.swift b/Sources/RealityDump/Entity+CustomDump.swift new file mode 100644 index 0000000..5633c6d --- /dev/null +++ b/Sources/RealityDump/Entity+CustomDump.swift @@ -0,0 +1,55 @@ +@_exported import CustomDump +import RealityKit + +//TODO: implement subclasses of Entity +extension RealityKit.Entity: CustomDumpReflectable { + public var customDumpMirror: Mirror { + .init( + self, + children: [ + /// Identity + "scene": self.scene?.name, + "name": self.name, + "id": self.id, + + /// State + "isEnabled": self.isEnabled, + "isEnabledInHierarchy": self.isEnabledInHierarchy, + "isActive": self.isActive, + "isAnchored": self.isAnchored, + + /// Hierarchy + "parentID": self.parent?.id, + "children": self.children.map({ $0 }), + + ///Components + "components": self.components, + + /// Synchronization + "synchronization": self.synchronization, + "isOwner": self.isOwner, + + ///Nearest Anchor + //TODO: "anchor": self.anchor, + + ///Animations + "availableAnimations": self.availableAnimations, + + ///Animating an Entity + //TODO: "defaultAnimationClock": self.defaultAnimationClock, + //TODO: "bindableValues": self.bindableValues, + //TODO: "parameters": self.parameters, + + ///Animating and Controlling Characters + //TODO: "characterController": self.characterController, + //TODO: "characterControllerState": self.characterControllerState, + + ///Accessibility + "isAccessibilityElement": self.isAccessibilityElement, + + //TODO: Instance Properties + ], + displayStyle: .struct + ) + } +} diff --git a/Sources/RealityDump/SIMD+CustomDump.swift b/Sources/RealityDump/SIMD+CustomDump.swift new file mode 100644 index 0000000..05ceddb --- /dev/null +++ b/Sources/RealityDump/SIMD+CustomDump.swift @@ -0,0 +1,29 @@ +import CustomDump +import simd + +extension SIMD3: CustomDumpReflectable { + public var customDumpMirror: Mirror { + .init( + self, + children: [ + "x": self.x, + "y": self.y, + "z": self.z, + ] + ) + } +} + +extension SIMD4: CustomDumpReflectable { + public var customDumpMirror: Mirror { + .init( + self, + children: [ + "x": self.x, + "y": self.y, + "z": self.z, + "w": self.w + ] + ) + } +} diff --git a/Sources/RealityDump/autogenerated/Component_iOS+Mirror.swift b/Sources/RealityDump/autogenerated/Component_iOS+Mirror.swift new file mode 100644 index 0000000..039c68e --- /dev/null +++ b/Sources/RealityDump/autogenerated/Component_iOS+Mirror.swift @@ -0,0 +1,74 @@ +// This file was automatically generated and should not be edited. + +import CustomDump +import RealityKit +#if os(iOS) +extension AccessibilityComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension AnchoringComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension BodyTrackingComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CharacterControllerComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CharacterControllerStateComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CollisionComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension DirectionalLightComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ModelComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ModelDebugOptionsComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PerspectiveCameraComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PhysicsBodyComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PhysicsMotionComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PointLightComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension SceneUnderstandingComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension SpotLightComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension SynchronizationComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension Transform: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +#endif \ No newline at end of file diff --git a/Sources/RealityDump/autogenerated/Component_macOS+Mirror.swift b/Sources/RealityDump/autogenerated/Component_macOS+Mirror.swift new file mode 100644 index 0000000..bb36ddf --- /dev/null +++ b/Sources/RealityDump/autogenerated/Component_macOS+Mirror.swift @@ -0,0 +1,67 @@ +// This file was automatically generated and should not be edited. + +import CustomDump +import RealityKit +#if os(macOS) +@available(macOS 14.0, *) +extension AccessibilityComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension AnchoringComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CharacterControllerComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CharacterControllerStateComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CollisionComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension DirectionalLightComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ModelComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ModelDebugOptionsComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PerspectiveCameraComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PhysicsBodyComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PhysicsMotionComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PointLightComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension SpotLightComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension SynchronizationComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension Transform: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +#endif diff --git a/Sources/RealityDump/autogenerated/Component_visionOS+Mirror.swift b/Sources/RealityDump/autogenerated/Component_visionOS+Mirror.swift new file mode 100644 index 0000000..99541a0 --- /dev/null +++ b/Sources/RealityDump/autogenerated/Component_visionOS+Mirror.swift @@ -0,0 +1,130 @@ +// This file was automatically generated and should not be edited. + +import CustomDump +import RealityKit +#if os(visionOS) +extension AccessibilityComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension AdaptiveResolutionComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension AmbientAudioComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension AnchoringComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension AudioMixGroupsComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ChannelAudioComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CharacterControllerComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CharacterControllerStateComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension CollisionComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension GroundingShadowComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension HoverEffectComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ImageBasedLightComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ImageBasedLightReceiverComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension InputTargetComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ModelComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ModelDebugOptionsComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ModelSortGroupComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension OpacityComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension ParticleEmitterComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PerspectiveCameraComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PhysicsBodyComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PhysicsMotionComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PhysicsSimulationComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension PortalComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension SceneUnderstandingComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension SpatialAudioComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension SynchronizationComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension TextComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension Transform: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension VideoPlayerComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +extension WorldComponent: CustomDumpReflectable { + public var customDumpMirror: Mirror {.init(reflecting: self) + } +} +#endif \ No newline at end of file diff --git a/Sources/RealityDumpClient/Client.swift b/Sources/RealityDumpClient/Client.swift deleted file mode 100644 index b737d64..0000000 --- a/Sources/RealityDumpClient/Client.swift +++ /dev/null @@ -1,32 +0,0 @@ -import Dependencies -import Models -import RealityKit - -public struct RealityDump { - public func raw( - _ loadedEntity: Entity, - printing: Bool = true, - detail: Int = 1, - org: Bool = true - ) async -> [String] { - await self.raw(loadedEntity, printing, detail, org) - } - - var raw: (Entity, Bool, Int, Bool) async -> [String] - - public func identify( - _ loadedEntity: Entity, - detail: Int = 1 - ) async -> IdentifiableEntity { - await self.identify(loadedEntity, detail) - } - - var identify: (Entity, Int) async -> IdentifiableEntity -} - -extension DependencyValues { - public var realityDump: RealityDump { - get { self[RealityDump.self] } - set { self[RealityDump.self] = newValue } - } -} diff --git a/Sources/RealityDumpClient/Live.swift b/Sources/RealityDumpClient/Live.swift deleted file mode 100644 index c215156..0000000 --- a/Sources/RealityDumpClient/Live.swift +++ /dev/null @@ -1,61 +0,0 @@ -import Dependencies -import Foundation -import Models -import RealityKit - -extension RealityDump: DependencyKey { - public static var liveValue: Self { - return Self( - raw: { (loadedEntity, printing, detail, org) in - dumpRealityEntity(loadedEntity, printing: printing) - }, - identify: { (loadedEntity, detail) in - Parser.identify(loadedEntity) - } - ) - } -} - -// MARK: - - -enum Parser { - static func identify(_ loadedEntity: Entity, detail: Int = 1) -> IdentifiableEntity { - identifyEntity(loadedEntity, detail: detail, nesting: 1) - } - - private static func identifyComponents( - _ components: Entity.ComponentSet - ) -> [IdentifiableComponent] { - var identifiableComponents: [IdentifiableComponent] = [] - for componentType in IdentifiableComponent.ComponentType.allCases { - if let component = components[componentType.rawValue] { - identifiableComponents.append(IdentifiableComponent(component)) - } - } - return identifiableComponents - } - - private static func identifyEntity( - _ loadedEntity: Entity, detail: Int, nesting: Int - ) -> IdentifiableEntity { - let state = IdentifiableEntity.State( - isEnabled: loadedEntity.isEnabled, - isEnabledInHierarchy: loadedEntity.isEnabledInHierarchy, - isActive: loadedEntity.isActive, - isAnchored: loadedEntity.isAnchored - ) - let hierarhy = IdentifiableEntity.Hierarhy( - children: loadedEntity.children.compactMap({ identify($0) }), - hasParent: !(loadedEntity.parent == nil) - ) - let components = IdentifiableEntity.Components( - components: identifyComponents(loadedEntity.components) - ) - return IdentifiableEntity( - loadedEntity, - state: state, - hierarhy: hierarhy, - components: components - ) - } -} diff --git a/Sources/RealityDumpClient/RealityDump.swift b/Sources/RealityDumpClient/RealityDump.swift deleted file mode 100644 index 9d876d7..0000000 --- a/Sources/RealityDumpClient/RealityDump.swift +++ /dev/null @@ -1,305 +0,0 @@ -// RealityDump.swift -// Created by Yasuhito NAGATOMO on 2022/02/18. -import Foundation -import RealityKit - -#if DEBUG - - private let keywords = [ // (string, indentLevel [1...]) - ("Entity", 1), - ("ModelEntity", 1), - ("AnchorEntity", 1), - ("Components", 2), - ("Unknown Component", 3), - ("Transform Component", 3), - ("Synchronization Component", 3), - ("Anchoring Component", 3), - ("Model Component", 3), - ("Collision Component", 3), - ("PhysicsBody Component", 3), - ("PhysicsMotion Component", 3), - ("CharacterController Component", 3), - ("CharacterControllerState Component", 3), - ] - - /// Dump the RealityKit Entity object - /// - Parameters: - /// - entity: Entity or ModelEntity or AnchorEntity - /// - printing: if true, strings are printed to the console. - /// - detail: 0 = simple, 1 = detailed - /// - org: true = Emacs org mode - /// - Returns: dumped strings of the entity - @discardableResult - public func dumpRealityEntity( - _ loadedEntity: Entity, printing: Bool = true, detail: Int = 1, org: Bool = true - ) -> [String] { - var strings = [String]() - if org { - strings.append("-*- mode:org -*-") - } - - strings += dumpEntity(loadedEntity, detail: detail, nesting: 0) - - let orgStrings: [String] - if org { - let maxLevel = (keywords.map { $0.1 }.max() ?? 0) + 1 - orgStrings = strings.map { string -> String in - var orgPrefix = "" - let hitKeywords = keywords.compactMap { keyword in - string.contains(keyword.0) ? keyword : nil - } - if let keyword = hitKeywords.first { - orgPrefix = - String(repeating: "*", count: keyword.1) - + String(repeating: " ", count: maxLevel - keyword.1) - } else { - orgPrefix = String(repeating: " ", count: maxLevel) - } - return orgPrefix + string - } - } else { - orgStrings = strings - } - if printing { - orgStrings.forEach { print($0) } - } - return orgStrings - } - - private func dumpEntity(_ loadedEntity: Entity, detail: Int, nesting: Int) -> [String] { - let indentCharacterNumber = 2 - let strings = entityToStrings(loadedEntity, detail: detail, nesting: nesting) - let nestedStrings = strings.map { string -> String in - String(repeating: " ", count: nesting * indentCharacterNumber) + string - } - return nestedStrings - } - - private func entityToStrings(_ loadedEntity: Entity, detail: Int, nesting: Int) -> [String] { - var strings = [String]() - let modelEntity = loadedEntity as? ModelEntity - let anchorEntity = loadedEntity as? AnchorEntity - - if anchorEntity != nil { - strings.append(" \(keywords[2].0)") // AnchorEntity - if let anchorId = anchorEntity?.anchorIdentifier { - strings.append(" +-- anchorIdentifier: \(anchorId)") - } - } else if modelEntity != nil { - strings.append(" \(keywords[1].0)") // ModelEntity - } else { - strings.append("<.> \(keywords[0].0)") // Entity - } - strings.append(" +-- name: \(loadedEntity.name)") - strings.append(" +-- id (Uint64): \(loadedEntity.id)") - strings.append(" +-- State") - strings.append(" | +-- isEnabled: \(loadedEntity.isEnabled)") - strings.append(" | +-- isEnabledInHierarchy: \(loadedEntity.isEnabledInHierarchy)") - strings.append(" | +-- isActive: \(loadedEntity.isActive)") - strings.append(" | +-- isAnchored: \(loadedEntity.isAnchored)") - strings.append(" +-- Animation") - strings.append( - " | +-- number of animations: \(loadedEntity.availableAnimations.count)") - loadedEntity.availableAnimations.forEach { animation in - strings.append(" | +-- name: \(animation.name ?? "(none)")") - } - - if let model = modelEntity { - strings.append(" +-- Joint") - strings.append(" | +-- number of jointNames: \(model.jointNames.count)") - model.jointNames.forEach { jointName in - strings.append(" | +-- jointName: \(jointName)") - } - strings.append(" | +-- number of jointTransforms: \(model.jointTransforms.count)") - model.jointTransforms.forEach { jointTransform in - strings.append(" | +-- jointTransform: \(jointTransform)") - } - } - - strings.append(" +-- Hierarhy") - strings.append(" | +-- has a parent: \(loadedEntity.parent == nil ? "No" : "Yes")") - strings.append(" | +-- number of children: \(loadedEntity.children.count)") - strings.append(" +-- \(keywords[3].0)") // "Components" - strings.append(" | +-- number of components: \(loadedEntity.components.count)") - if loadedEntity.components.count != 0 { - strings += componentsToStrings(loadedEntity.components, detail: detail) - } - // dumpStrings.append(" +-- Description: \(entity.debugDescription)") - strings.append(" +-------------------------------------------------") - - loadedEntity.children.forEach { child in - strings += dumpEntity(child, detail: detail, nesting: nesting + 1) - } - - return strings - } - - private func componentsToStrings(_ components: Entity.ComponentSet, detail: Int) -> [String] { - let componentTypes: [Component.Type] = [ - Transform.self, - SynchronizationComponent.self, - AnchoringComponent.self, - ModelComponent.self, - CollisionComponent.self, - PhysicsBodyComponent.self, - PhysicsMotionComponent.self, - CharacterControllerComponent.self, - CharacterControllerStateComponent.self, - ] - var strings = [String]() - - componentTypes.forEach { type in - if let component = components[type] { - if let theComponent = component as? Transform { - strings += transformComponentToStrings(theComponent, detail: detail) - } else if let theComponent = component as? SynchronizationComponent { - strings += syncComponentToStrings(theComponent, detail: detail) - } else if let theComponent = component as? AnchoringComponent { - strings += anchoringComponentToStrings(theComponent, detail: detail) - } else if let theComponent = component as? ModelComponent { - strings += modelComponentToStrings(theComponent, detail: detail) - } else if let theComponent = component as? CollisionComponent { - strings += collisionComponentToStrings(theComponent, detail: detail) - } else if let theComponent = component as? PhysicsBodyComponent { - strings += physicsBodyComponentToStrings(theComponent, detail: detail) - } else if let theComponent = component as? PhysicsMotionComponent { - strings += physicsMotionComponentToStrings(theComponent, detail: detail) - } else if let theComponent = component as? CharacterControllerComponent { - strings += characterControllerComponentToStrings(theComponent, detail: detail) - } else if let theComponent = component as? CharacterControllerStateComponent { - strings += characterControllerStateComponentToStrings( - theComponent, detail: detail) - } else { - strings.append(" | +-- \(component)") - } - } - } - if components.count > componentTypes.count { - strings.append(" | +-- \(keywords[4].0)") // "Unknown Component" - } - - return strings - } - - private func transformComponentToStrings(_ component: Transform, detail: Int) -> [String] { - var strings = [String]() - strings.append(" | +-- \(keywords[5].0)") // Transform Component - if detail > 0 { - strings.append(" | | +-- scale: \(component.scale)") - strings.append(" | | +-- rotation: \(component.rotation)") - strings.append(" | | +-- translation: \(component.translation)") - strings.append(" | | +-- matrix: \(component.matrix)") - } - return strings - } - - private func syncComponentToStrings(_ component: SynchronizationComponent, detail: Int) - -> [String] - { - var strings = [String]() - strings.append(" | +-- \(keywords[6].0)") // Synchronization Component - return strings - } - - private func anchoringComponentToStrings(_ component: AnchoringComponent, detail: Int) - -> [String] - { - var strings = [String]() - strings.append(" | +-- \(keywords[7].0)") // "Anchoring Component" - return strings - } - - private func modelComponentToStrings(_ component: ModelComponent, detail: Int) -> [String] { - var strings = [String]() - strings.append(" | +-- \(keywords[8].0)") // "Model Component" - if detail > 0 { - strings.append(" | | +-- bounding Box Margin: \(component.boundsMargin)") - strings.append(" | | +-- mesh") - strings.append( - " | | | +-- expected Material Count: \(component.mesh.expectedMaterialCount)" - ) - strings.append( - " | | | +-- bounding Box - center: \(component.mesh.bounds.center)") - strings.append( - " | | | +-- resource - instances - count : \(component.mesh.contents.instances.count)" - ) - strings.append( - " | | | +-- resource - models - count : \(component.mesh.contents.models.count)" - ) - strings.append(" | | +-- material") - strings.append( - " | | | +-- number of materials: \(component.materials.count)") - component.materials.forEach { material in - strings.append(" | | | +-- material: \(type(of: material))") - } - } - return strings - } - - private func collisionComponentToStrings(_ component: CollisionComponent, detail: Int) - -> [String] - { - var strings = [String]() - strings.append(" | +-- \(keywords[9].0)") // "Collision Component" - if detail > 0 { - strings.append( - " | | +-- number of collision shapes: \(component.shapes.count)") - } - return strings - } - - private func physicsBodyComponentToStrings(_ component: PhysicsBodyComponent, detail: Int) - -> [String] - { - var strings = [String]() - strings.append(" | +-- \(keywords[10].0)") // "PhysicsBody Component" - if detail > 0 { - strings.append( - " | | +-- isContinuousCollisionDetectionEnabled: \(component.isContinuousCollisionDetectionEnabled)" - ) - strings.append(" | | +-- isRotationLocked: \(component.isRotationLocked)") - strings.append(" | | +-- physics body mode: \(component.mode)") - strings.append(" | | +-- mass [kg]: \(component.massProperties.mass)") - strings.append(" | | +-- inertia [kg/m2]: \(component.massProperties.inertia)") - strings.append( - " | | +-- center of mass: \(component.massProperties.centerOfMass)") - } - return strings - } - - private func physicsMotionComponentToStrings(_ component: PhysicsMotionComponent, detail: Int) - -> [String] - { - var strings = [String]() - strings.append(" | +-- \(keywords[11].0)") // "PhysicsMotion Component" - if detail > 0 { - strings.append(" | | +-- anglar velocity: \(component.angularVelocity)") - strings.append(" | | +-- linear velocity: \(component.linearVelocity)") - } - return strings - } - - private func characterControllerComponentToStrings( - _ component: CharacterControllerComponent, detail: Int - ) -> [String] { - var strings = [String]() - strings.append(" | +-- \(keywords[12].0)") // "CharacterController Component" - if detail > 0 { - strings.append(" | | +-- (not be implemented.)") - } - return strings - } - private func characterControllerStateComponentToStrings( - _ component: CharacterControllerStateComponent, detail: Int - ) -> [String] { - var strings = [String]() - strings.append(" | +-- \(keywords[13].0)") // "CharacterControllerState Component" - if detail > 0 { - strings.append(" | | +-- (not be implemented.)") - } - return strings - } -#else - @discardableResult - public func dumpRealityEntity(_ entity: Entity, printing: Bool = true) -> [String] { [] } -#endif diff --git a/Sources/RealityDumpClient/Test.swift b/Sources/RealityDumpClient/Test.swift deleted file mode 100644 index 20217af..0000000 --- a/Sources/RealityDumpClient/Test.swift +++ /dev/null @@ -1,40 +0,0 @@ -import Dependencies -import Foundation -import Models - -/* -extension RealityDump { - public static var testValue: Self { - return Self( - raw: { (_, _, _, _) in - //TODO: return values for test that are more useful - ["..."] - }, - identify: { (_, _) in - // [.mock] - } - ) - } -} - -extension IdentifiableEntity { - //FIXME: restore mock - // public static var mock: Self = .init( - // id: 7_928_071_431_998_189_885, - // anchorIdentifier: UUID(uuidString: "DEADBEEF-DEAD-BEEF-DEAD-BEEFDEADBEEF"), - // name: "Le Mock Anchor", - // type: .anchor, - // state: .init( - // isEnabled: true, - // isEnabledInHierarchy: true, - // isActive: true, - // isAnchored: true - // ), - // hierarhy: .init( - // children: [], - // hasParent: false - // ), - // components: .init(components: []) - // ) -} -*/ diff --git a/Sources/RealitySymbols/Extracted/iOS/RealityFoundation.symbols.json b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation.symbols.json new file mode 100644 index 0000000..16c048d --- /dev/null +++ b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"ios","minimumVersion":{"major":17,"minor":2}}}},"symbols":[{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO6camerayA2EmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","camera"],"names":{"title":"AnchoringComponent.Target.camera","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","decode(type:decoder:)"],"names":{"title":"decode(type:decoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Decodes the output from the upstream using a specified decoder."},{"text":""},{"text":"Use ``Publisher/decode(type:decoder:)`` with a (or a for property lists) to decode data received from a or other data source using the protocol."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes a JSON string. The JSON decoder parses the string, converting its fields according to the protocol implemented by `Article`, and successfully populating a new `Article`. The ``Publishers/Decode`` publisher then publishes the `Article` to the downstream. If a decoding operation fails, which happens in the case of missing or malformed data in the source JSON string, the stream terminates and passes the error to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" cancellable = dataProvider"},{"text":" .decode(type: Article.self, decoder: JSONDecoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\")},"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" dataProvider.send(Data(\"{\\\"pubDate\\\":1574273638.575666, \\\"title\\\" : \\\"My First Article\\\", \\\"author\\\" : \\\"Gita Kumar\\\" }\".utf8))"},{"text":""},{"text":" // Prints: \".sink() data received Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: 2050-11-20 18:13:58 +0000)\""},{"text":""},{"text":"- Parameters:"},{"text":" - type: The encoded data to decode into a struct that conforms to the protocol."},{"text":" - decoder: A decoder that implements the ``TopLevelDecoder`` protocol."},{"text":"- Returns: A publisher that decodes a given type using a specified decoder and publishes the result."}]},"functionSignature":{"parameters":[{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type"}]},{"name":"decoder","declarationFragments":[{"kind":"identifier","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Item","index":0,"depth":1},{"name":"Coder","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Item","rhs":"Decodable","rhsPrecise":"s:Se"},{"kind":"conformance","lhs":"Coder","rhs":"TopLevelDecoder","rhsPrecise":"s:7Combine15TopLevelDecoderP"},{"kind":"sameType","lhs":"Self.Output","rhs":"Coder.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Decodable","preciseIdentifier":"s:Se"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelDecoder","preciseIdentifier":"s:7Combine15TopLevelDecoderP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Element"],"names":{"title":"Entity.ChildCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO10sequentialyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","sequential"],"names":{"title":"PhotogrammetrySession.Configuration.SampleOrdering.sequential","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequential"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Images are in sequential order."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequential"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all components from the collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Metallic.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8generate4fromACSayAA0C10DescriptorVG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generate(from:)"],"names":{"title":"generate(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from a list of mesh descriptors."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"descriptors","declarationFragments":[{"kind":"identifier","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV5countSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of components in this collection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO9unorderedyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","unordered"],"names":{"title":"PhotogrammetrySession.Configuration.SampleOrdering.unordered","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unordered"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Images aren’t in sequential order."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unordered"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation"],"names":{"title":"FromToByAnimation","navigator":[{"kind":"identifier","spelling":"FromToByAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FromToByAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that starts, stops, or increments by a specific value."},{"text":""},{"text":"To animate an entity or scene, this structure gradually changes a"},{"text":"parameter's value over time. You can specify a _from_ value, which"},{"text":"represents the animated property's initial value at the beginning of the"},{"text":"animation. You can also specify a _to_ value, which determines the value of"},{"text":"the property at the end of the animation. Alternatively, you can set a _by_"},{"text":"value. The framework adds the _by_ value to the property's initial state to"},{"text":"calculate the value at the end of the animation."},{"text":""},{"text":"To specify the property that this struct animates, define `bindTarget` in"},{"text":"the intializer,"},{"text":""},{"text":"``FromToByAnimation/init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)``."},{"text":""},{"text":"## Configure the Animation Inputs"},{"text":""},{"text":"This animation supports varying input combinations, which exhibit the"},{"text":"following behavior. When you specify:"},{"text":""},{"text":"- term A _from_ and _to_ value: The animation interpolates between _from_"},{"text":"and _to_, and ignores the _by_ value."},{"text":"- term A _from_ and _by_ value: The"},{"text":"animation interpolates between _from_ and the sum of _from_ and _by_."},{"text":"- term Only a _from_ value: The animation interpolates between _from_ and the"},{"text":"default source value."},{"text":"- term Only a _to_ value: The animation interpolates"},{"text":"between the default source value and _to_."},{"text":"- term A _to_ and _by_ value: The"},{"text":"animation starts at _by_ subtracted from _to _and completes at _to_."},{"text":"- term Only a _by_ value: The animation interpolates between the default source"},{"text":"value and the sum of default source value and _by_."},{"text":"- term No _from_, _to_, or _by_ value: The animation interpolates between"},{"text":"the default source value and the default target value."},{"text":""},{"text":"The default source value is the base value of the of animated property. If"},{"text":"multiple animations target the property, then the framework observes the"},{"text":"output of the previous animation as the subsequent animation's default"},{"text":"source value. The default target value is the base value of the animated"},{"text":"property."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FromToByAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the predicate closure."},{"text":""},{"text":"Use ``Publisher/contains(where:)`` to find the first element in an upstream that satisfies the closure you provide. This operator consumes elements produced from the upstream publisher until the upstream publisher produces a matching element."},{"text":""},{"text":"This operator is useful when the upstream publisher produces elements that don’t conform to `Equatable`."},{"text":""},{"text":"In the example below, the ``Publisher/contains(where:)`` operator tests elements against the supplied closure and emits `true` for the first elements that’s greater than `4`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains {$0 > 4}"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19requestProgressInfoyAeC7RequestO_AE0gH0VtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","requestProgressInfo(_:_:)"],"names":{"title":"PhotogrammetrySession.Output.requestProgressInfo(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestProgressInfo"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProgressInfo","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestProgressInfo"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProgressInfo","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO5worldyAESo13simd_float4x4a_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","world(transform:)"],"names":{"title":"AnchoringComponent.Target.world(transform:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"world"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A fixed position in the scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"world"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"relative to peer nodes."},{"text":""},{"text":"The value of this property relates to the node's peers in a"},{"text":"``BlendTreeBlendNode/sources`` array. The sum of all node weights in a"},{"text":"given ``BlendTreeBlendNode/sources`` array needs to equal `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC20loadBodyTrackedAsync10contentsOf8withNameAA11LoadRequestCyAA0efC0CG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadBodyTrackedAsync(contentsOf:withName:)"],"names":{"title":"loadBodyTrackedAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadBodyTrackedAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a body-tracked entity from a file URL asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as a ``BodyTrackedEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadBodyTrackedAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","message":"BodyTrackedEntity is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillRemoveEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV4rateAA0C7BuffersO4RateOvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","rate"],"names":{"title":"rate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Rate of the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV26textureCoordinateTransformAA0E14ParameterTypesV07TexturegH0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","textureCoordinateTransform"],"names":{"title":"textureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation to apply to the entity’s primary"},{"text":"texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates control how RealityKit materials map"},{"text":"image textures onto an entity. This property allows you to transform the"},{"text":"texture coordinates to change the way this material maps its textures."},{"text":"You might, for example, change the scale of a property to apply a tiled,"},{"text":"repeating pattern, or continuously rotate or translate the texture"},{"text":"coordinates to animate materials to create special effects, such as fire"},{"text":"or flowing liquids."},{"text":""},{"text":"The following example shows how to set a material’s UV transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees converted to radians."},{"text":"material.textureCoordinateTransform = .init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"Some entities imported from USDZ files have more than one set of UV"},{"text":"coordinates. This property affects the primary UV set (sometimes called"},{"text":"“UV1”). To transform the secondary UV coordinates (”UV2”), use"},{"text":"``PhysicallyBasedMaterial/secondaryTextureCoordinateTransform``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV6removeyyAA0D0_pXpF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the component of the specified type from the collection."}]},"functionSignature":{"parameters":[{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV12makeIteratorAE08IndexingG0Vy__AEGyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","physicsBody"],"names":{"title":"physicsBody","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that is used for physics simulations of the model entity in"},{"text":"accordance with the laws of Newtonian mechanics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semantic11mipmapsModeAeC8SemanticOSg_AC07MipmapsI0Otcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","init(semantic:mipmapsMode:)"],"names":{"title":"init(semantic:mipmapsMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new texture creation options structure."},{"text":""},{"text":"The `semantic` value you pass tells RealityKit how you plan to use the texture data from this resource. For example, passing"},{"text":" ``RealityKit/TextureResource/Semantic-swift.enum/color`` lets RealityKit know you're"},{"text":" using the texture to pass perceptual color information to the shaders, such as for providing a UV-mapped base color for physically"},{"text":" based rendering materials. Passing ``RealityKit/TextureResource/Semantic-swift.enum/raw`` tells RealityKit to pass the pixel"},{"text":" values with as little processing as possible."},{"text":""},{"text":"If semantic is `nil`, RealityKit tries to infer a semantic from the texture's source data. If it's unable to determine a semantic from the texture source"},{"text":" data, it will infer a semantic from the texture's usage. Providing a value for `semantic` ensures that RealityKit passes the texture resource exactly as you intend."},{"text":""},{"text":"- Note: RealityKit only takes embedded color space data into account when rendering a texture if you pass"},{"text":" ``RealityKit/TextureResource/Semantic-swift.enum/color`` for `semantic`."},{"text":""},{"text":"- Parameters:"},{"text":" - semantic: The intended use of the texture resource."},{"text":""},{"text":" - mipmapsMode: Whether to automatically allocate or generate mipmaps."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":" = .allocateAndGenerateAll)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual representation of this instance. (See `CustomStringConvertible`.)"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken"],"names":{"title":"NetworkCompatibilityToken","navigator":[{"kind":"identifier","spelling":"NetworkCompatibilityToken"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"NetworkCompatibilityToken"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque token used to check the networking compatibility between two peers"},{"text":"in a multipeer connection."},{"text":""},{"text":"``RealityKit`` apps running on incompatible versions of RealityKit can’t"},{"text":"connect and sync over the network. Use ``NetworkCompatibilityToken`` to"},{"text":"check if two peers can synchronize ``RealityKit`` scenes over the network."},{"text":"With this class, host applications can prevent incompatible clients from"},{"text":"joining."},{"text":""},{"text":"Client apps send a copy of their token to the host when attempting to"},{"text":"connect to a host app. The host deserializes that token and calls"},{"text":"``NetworkCompatibilityToken/compatibilityWith(_:)`` on"},{"text":"``NetworkCompatibilityToken``.``NetworkCompatibilityToken/local``. If"},{"text":"``NetworkCompatibilityToken/compatibilityWith(_:)`` returns"},{"text":"``NetworkCompatibilityToken/Compatibility/compatible``,"},{"text":"the client and host can sync and it’s safe to proceed with the connection."},{"text":"If ``NetworkCompatibilityToken/compatibilityWith(_:)`` returns any other"},{"text":"value, the client that’s attempting to connect is incompatible and should be"},{"text":"ignored."},{"text":""},{"text":"A client running a"},{"text":","},{"text":"for example, writes its own token into its"},{"text":""},{"text":"dictionary. When the host (running a"},{"text":")"},{"text":"discovers that client, it deserializes the client’s token from the"},{"text":"`discoverInfo` dictionary and uses it to check compatibility before inviting"},{"text":"the client to the"},{"text":"."},{"text":""},{"text":"- Note: Even if two peers are compatible, scene synchronization can fail for"},{"text":"other reasons, such as packet corruption or a poor network connection."}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"NetworkCompatibilityToken"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV9tweenModeAA05TweenF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","tweenMode"],"names":{"title":"tweenMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how animation frames transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV12orientToPathSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","orientToPath"],"names":{"title":"orientToPath","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the orbiting object updates its"},{"text":"orientation during the animation to orient itself along the rotation"},{"text":"path."},{"text":""},{"text":"The default value of this property is `false`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a metallic object from a custom material’s metallic"},{"text":"property."},{"text":""},{"text":"In PBR rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. This initializer creates a new object"},{"text":"from the ``CustomMaterial/metallic-swift.property`` property of a"},{"text":"``CustomMaterial``."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s metallic property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and invokes a closure upon receiving output from either publisher."},{"text":""},{"text":"Use `combineLatest(_:)` to combine the current and one additional publisher and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by the two publishers, it multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2) { (first, second) in"},{"text":" return first * second"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(9)"},{"text":" pub1.send(3)"},{"text":" pub2.send(12)"},{"text":" pub1.send(13)"},{"text":" //"},{"text":" // Prints:"},{"text":" //Result: 4. (pub1 latest = 2, pub2 latest = 2)"},{"text":" //Result: 18. (pub1 latest = 9, pub2 latest = 2)"},{"text":" //Result: 6. (pub1 latest = 3, pub2 latest = 2)"},{"text":" //Result: 36. (pub1 latest = 3, pub2 latest = 12)"},{"text":" //Result: 156. (pub1 latest = 13, pub2 latest = 12)"},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher to combine with this one."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. Use this initializer to"},{"text":"create an object to specify the amount of clearcoat for a material"},{"text":"using a single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The clearcoat value to use for the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGSayAA0C10DescriptorVG_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateAsync(from:)"],"names":{"title":"generateAsync(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from a list of mesh descriptors asynchronously."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"descriptors","declarationFragments":[{"kind":"identifier","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation14AnimatableDataP","interfaceLanguage":"swift"},"pathComponents":["AnimatableData"],"names":{"title":"AnimatableData","navigator":[{"kind":"identifier","spelling":"AnimatableData"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimatableData"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A functionality specification that animatable data types adopt."},{"text":""},{"text":"The templated animation objects, for example ``BlendTreeAnimation``"},{"text":"``, determine that the type you specify for `Value` adopts this"},{"text":"protocol. The types that the framework accepts are: ``JointTransforms``,"},{"text":"``Transform``, ,"},{"text":","},{"text":","},{"text":","},{"text":", and"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimatableData"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3hasySbAA0D0_pXpF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","has(_:)"],"names":{"title":"has(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean that indicates whether the set contains a"},{"text":"component of the given type."},{"text":""},{"text":"- Parameters:"},{"text":" - componentType: A component type, like `ModelComponent.Self`"},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the set contains a component"},{"text":"of the given type."}]},"functionSignature":{"parameters":[{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO20localizedDescriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Localized string containing any extra information about the message, such as the reason"},{"text":"why a sample is invalid."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness value for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19stitchingIncompleteyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","stitchingIncomplete"],"names":{"title":"PhotogrammetrySession.Output.stitchingIncomplete","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stitchingIncomplete"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session reconstruction could not fully stitch all images of the object."},{"text":""},{"text":"This may indicate that sections of the reconstructed model (such as the bottom after a flip) are incomplete."},{"text":"This may occur if a non-rigid object is flipped such that its shape subtly changes before and after the flip or if an object"},{"text":"is shiny and lighting causes highlight changes across a flip. It is recommended that users are reminded of proper"},{"text":"object and environment selection if this message is output, and that they check their model for potential issues."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stitchingIncomplete"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5usageSo15MTLTextureUsageVvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","usage"],"names":{"title":"usage","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how you can use each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15loadBodyTracked10contentsOf8withNameAA0efC0C0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadBodyTracked(contentsOf:withName:)"],"names":{"title":"loadBodyTracked(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadBodyTracked"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading a body-tracked entity from a file URL."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as a"},{"text":"``BodyTrackedEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadBodyTracked"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","message":"BodyTrackedEntity is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasSpotLight","shadow"],"names":{"title":"shadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shadow for the spotlight."},{"text":""},{"text":"Set this property to `nil` to remove shadows for the light. Set it to an"},{"text":"instance of ``SpotLightComponent/Shadow`` to create shadows."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillDeactivateEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12BindableDataP","interfaceLanguage":"swift"},"pathComponents":["BindableData"],"names":{"title":"BindableData","navigator":[{"kind":"identifier","spelling":"BindableData"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableData"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque base protocol for bindable data objects."},{"text":""},{"text":"The templated bindable-value object, ``BindableValue`` ``, determines"},{"text":"that the value you choose for type `T` adopts this protocol. The types that"},{"text":"the framework accepts are: ``Transform``,"},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":", and"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableData"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV19innerAngleInDegreesSfvp","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","innerAngleInDegrees"],"names":{"title":"innerAngleInDegrees","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"innerAngleInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The inner angle of the spotlight in degrees."},{"text":""},{"text":"A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines"},{"text":"relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and"},{"text":"`innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and"},{"text":"`outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"innerAngleInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","ranges(of:)"],"names":{"title":"ranges(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the ranges of the all occurrences of a given sequence"},{"text":"within the collection."},{"text":"- Parameter other: The sequence to search for."},{"text":"- Returns: A collection of ranges of all occurrences of `other`. Returns"},{"text":" an empty collection if `other` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect(_:options:)"],"names":{"title":"collect(_:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects elements by a given time-grouping strategy, and emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:options:)`` to emit arrays of elements on a schedule specified by a ``Scheduler`` and `Stride` that you provide. At the end of each scheduled interval, the publisher sends an array that contains the items it collected. If the upstream publisher finishes before filling the buffer, the publisher sends an array that contains items it received. This may be fewer than the number of elements specified in the requested `Stride`."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"The example above collects timestamps generated on a one-second in groups (`Stride`) of five."},{"text":""},{"text":" let sub = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .collect(.byTime(RunLoop.main, .seconds(5)))"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\\n\") }"},{"text":""},{"text":" // Prints: \"[2020-01-24 00:54:46 +0000, 2020-01-24 00:54:47 +0000,"},{"text":" // 2020-01-24 00:54:48 +0000, 2020-01-24 00:54:49 +0000,"},{"text":" // 2020-01-24 00:54:50 +0000]\""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - strategy: The timing group strategy used by the operator to collect and publish elements."},{"text":" - options: Scheduler options to use for the strategy."},{"text":"- Returns: A publisher that collects elements by a given strategy, and emits a single array of the collection."}]},"functionSignature":{"parameters":[{"name":"strategy","declarationFragments":[{"kind":"identifier","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6NormalV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Normal"],"names":{"title":"CustomMaterial.Normal","navigator":[{"kind":"identifier","spelling":"Normal"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that stores fine surface details for an entity in an image"},{"text":"texture."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures fine"},{"text":"surface details for a model by using a texture instead of by increasing"},{"text":"the number of polygons in the model. It works by storing _surface"},{"text":"normals_, which are vectors perpendicular to the surface of the model,"},{"text":"from a much higher-resolution version of the same 3D object. A normal"},{"text":"map stores each vector in the image by storing the vectors’ `X`, `Y`,"},{"text":"and `Z` values as the `R`, `G`, and `B` components of the corresponding"},{"text":"pixel in the UV-mapped image. This object defines a normal map for a"},{"text":"custom material."},{"text":""},{"text":"For more information on using normal map values in a custom material,"},{"text":"see ``CustomMaterial/normal-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","color"],"names":{"title":"color","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SimpleMaterial","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s color."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SimpleMaterial","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV4near3far20fieldOfViewInDegreesACSf_S2ftcfc","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","init(near:far:fieldOfViewInDegrees:)"],"names":{"title":"init(near:far:fieldOfViewInDegrees:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new perspective camera component with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":"- near: The minimum distance in meters from the camera that the camera"},{"text":"can see."},{"text":""},{"text":"- far: The maximum distance in meters from the camera that the camera"},{"text":"can see."},{"text":""},{"text":" - fieldOfViewInDegrees: The camera’s field of view, given in degrees."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.01, "},{"kind":"externalParam","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = .infinity, "},{"kind":"externalParam","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 60.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC","interfaceLanguage":"swift"},"pathComponents":["TextureResource"],"names":{"title":"TextureResource","navigator":[{"kind":"identifier","spelling":"TextureResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a texture."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryFilter(_:)"],"names":{"title":"tryFilter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryFilter(_:)`` to filter elements evaluated in an error-throwing closure. If the `isIncluded` closure throws an error, the publisher fails with that error."},{"text":""},{"text":"In the example below, ``Publisher/tryFilter(_:)`` checks to see if the element provided by the publisher is zero, and throws a `ZeroError` before terminating the publisher with the thrown error. Otherwise, it republishes the element only if it's even:"},{"text":""},{"text":" struct ZeroError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"2 4 failure(DivisionByZeroError())\"."},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value that indicated whether to republish the element or throws an error."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyImpulse(_:at:relativeTo:)"],"names":{"title":"applyImpulse(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":" - position: The position at which to apply the impulse."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `impulse` are defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5NeverO7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","receive(subscriber:)"],"names":{"title":"receive(subscriber:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Implementations of ``Publisher`` must implement this method."},{"text":""},{"text":"The provided implementation of ``Publisher/subscribe(_:)-4u8kn``calls this method."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this ``Publisher``, after which it can receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"},{"kind":"sameType","lhs":"E","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO5planeyA2E9AlignmentV_AE14ClassificationVs5SIMD2VySfGtcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","plane(_:classification:minimumBounds:)"],"names":{"title":"AnchoringComponent.Target.plane(_:classification:minimumBounds:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"plane"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"classification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"minimumBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"plane"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"classification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"minimumBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","SubSequence"],"names":{"title":"Entity.ChildCollection.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"A collection representing a contiguous subrange of this collection's"},{"text":"elements. The subsequence shares indices with the original collection."},{"text":""},{"text":"The default subsequence type for collections that don't define their own"},{"text":"is `Slice`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Indices"],"names":{"title":"Entity.ChildCollection.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents the indices that are valid for subscripting the"},{"text":"collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from five other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 2 50 100 -2 33 33\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV04baseD0xvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","baseValue"],"names":{"title":"baseValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A value that reflects the state of the animated property before or after"},{"text":"an animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","ArrayLiteralElement"],"names":{"title":"MeshPartCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO6anchoryAE0B04UUIDV_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","anchor(identifier:)"],"names":{"title":"AnchoringComponent.Target.anchor(identifier:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The AR anchor with a given identifier."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"Anchoring by identifier is not available on visionOS, please get the transform directly from ARKit.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of elements in the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","mapError(_:)"],"names":{"title":"mapError(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Converts any failure from the upstream publisher into a new error."},{"text":""},{"text":"Use the ``Publisher/mapError(_:)`` operator when you need to replace one error type with another, or where a downstream operator needs the error types of its inputs to match."},{"text":""},{"text":"The following example uses a ``Publisher/tryMap(_:)`` operator to divide `1` by each element produced by a sequence publisher. When the publisher produces a `0`, the ``Publisher/tryMap(_:)`` fails with a"},{"text":"`DivisionByZeroError`. The ``Publisher/mapError(_:)`` operator converts this into a `MyGenericError`."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" struct MyGenericError: Error { var wrappedError: Error }"},{"text":""},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" let divisors: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" divisors.publisher"},{"text":" .tryMap { try myDivide(1, $0) }"},{"text":" .mapError { MyGenericError(wrappedError: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") ,"},{"text":" receiveValue: { print (\"value: \\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0.2 0.25 0.3333333333333333 0.5 1.0 completion: failure(MyGenericError(wrappedError: DivisionByZeroError()))\""},{"text":""},{"text":"- Parameter transform: A closure that takes the upstream failure as a parameter and returns a new error for the publisher to terminate with."},{"text":"- Returns: A publisher that replaces any upstream failure with a new error produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC9isPlayingSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","isPlaying"],"names":{"title":"isPlaying","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether playback is currently active."},{"text":""},{"text":"You may experience a small delay between when you call the"},{"text":"``AudioPlaybackController/play()`` method and when the"},{"text":"``AudioPlaybackController/isPlaying`` property reports `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8semanticAC8SemanticOSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","semantic"],"names":{"title":"semantic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended usage of the texture resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value or a texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. Use this initializer to"},{"text":"create an object to specify the amount of clearcoat for a material"},{"text":"using a single value for the entire material, a UV-mapped image to"},{"text":"specify different values for different parts of the entity, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the clearcoat"},{"text":"intensity for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s clearcoat intensity value. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat value for the entire material."},{"text":""},{"text":"- texture: The clearcoat values as the texture of a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV5value0B023LocalizedStringResourceVSgvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that represents the current value of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","Element"],"names":{"title":"CharacterControllerComponent.CollisionFlags.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8reverseds18ReversedCollectionVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a view presenting the elements of the collection in reverse"},{"text":"order."},{"text":""},{"text":"You can reverse a collection without allocating new space for its"},{"text":"elements by calling this `reversed()` method. A `ReversedCollection`"},{"text":"instance wraps an underlying collection and provides access to its"},{"text":"elements in reverse order. This example prints the characters of a"},{"text":"string in reverse order:"},{"text":""},{"text":" let word = \"Backwards\""},{"text":" for char in word.reversed() {"},{"text":" print(char, terminator: \"\")"},{"text":" }"},{"text":" // Prints \"sdrawkcaB\""},{"text":""},{"text":"If you need a reversed collection of the same type, you may be able to"},{"text":"use the collection's sequence-based or collection-based initializer. For"},{"text":"example, to get the reversed version of a string, reverse its"},{"text":"characters and initialize a new `String` instance from the result."},{"text":""},{"text":" let reversedWord = String(word.reversed())"},{"text":" print(reversedWord)"},{"text":" // Prints \"sdrawkcaB\""},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two blend weights are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The blend weight on the left side of the operator."},{"text":""},{"text":" - rhs: The blend weight on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the blend weights are equal. Otherwise,"},{"text":"returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV5Indexa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Index"],"names":{"title":"Entity.ChildCollection.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a position in the collection."},{"text":""},{"text":"Valid indices consist of the position of every element and a"},{"text":"\"past the end\" position that's not valid for use as a subscript"},{"text":"argument."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE7replace4withyAcAE8ContentsV_tKF","interfaceLanguage":"swift"},"pathComponents":["MeshResource","replace(with:)"],"names":{"title":"replace(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replace the contents of this mesh resource."},{"text":""},{"text":"- Note: The contents of the modified mesh resource will not be synced between network clients."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0F4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["Entity","ParameterSet","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accessor for the parameters, returns a bindable value."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture’s height in pixels."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Texture"],"names":{"title":"PhysicallyBasedMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture type to use for materials of this class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV_08animatedD0ACyxGx_xSgtcfc","interfaceLanguage":"swift"},"pathComponents":["BindableValue","init(_:animatedValue:)"],"names":{"title":"init(_:animatedValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bindable value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: A value that reflects the state of the animated property before or after an animation."},{"text":""},{"text":" - animatedValue: A value that represents the state of the animated"},{"text":"property as an animation progresses."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation13TriggerVolumeC","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assign(to:on:)"],"names":{"title":"assign(to:on:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Root"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Assigns each element from a publisher to a property on an object."},{"text":""},{"text":"Use the ``Publisher/assign(to:on:)`` subscriber when you want to set a given property each time a publisher produces a value."},{"text":""},{"text":"In this example, the ``Publisher/assign(to:on:)`` sets the value of the `anInt` property on an instance of `MyClass`:"},{"text":""},{"text":" class MyClass {"},{"text":" var anInt: Int = 0 {"},{"text":" didSet {"},{"text":" print(\"anInt was set to: \\(anInt)\", terminator: \"; \")"},{"text":" }"},{"text":" }"},{"text":" }"},{"text":""},{"text":" var myObject = MyClass()"},{"text":" let myRange = (0...2)"},{"text":" cancellable = myRange.publisher"},{"text":" .assign(to: \\.anInt, on: myObject)"},{"text":""},{"text":" // Prints: \"anInt was set to: 0; anInt was set to: 1; anInt was set to: 2\""},{"text":""},{"text":" > Important: The ``Subscribers/Assign`` instance created by this operator maintains a strong reference to `object`, and sets it to `nil` when the upstream publisher completes (either normally or with an error)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath: A key path that indicates the property to assign. See [Key-Path Expression](https://developer.apple.com/library/archive/documentation/Swift/Conceptual/Swift_Programming_Language/Expressions.html#//apple_ref/doc/uid/TP40014097-CH32-ID563) in _The Swift Programming Language_ to learn how to use key paths to specify a property of an object."},{"text":" - object: The object that contains the property. The subscriber assigns the object’s property every time it receives a new value."},{"text":"- Returns: An ``AnyCancellable`` instance. Call ``Cancellable/cancel()`` on this instance when you no longer want the publisher to automatically assign the property. Deinitializing this instance will also cancel automatic assignment."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">"}]},{"name":"on","internalName":"object","declarationFragments":[{"kind":"identifier","spelling":"object"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"Root","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Root"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"object"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","buffer(size:prefetch:whenFull:)"],"names":{"title":"buffer(size:prefetch:whenFull:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Buffers elements received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/buffer(size:prefetch:whenFull:)`` to collect a specific number of elements from an upstream publisher before republishing them to the downstream subscriber according to the ``Publishers/BufferingStrategy`` and ``Publishers/PrefetchStrategy`` strategy you specify."},{"text":""},{"text":"If the publisher completes before reaching the `size` threshold, it buffers the elements and publishes them downstream prior to completion."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The maximum number of elements to store."},{"text":" - prefetch: The strategy to initially populate the buffer."},{"text":" - whenFull: The action to take when the buffer becomes full."},{"text":"- Returns: A publisher that buffers elements received from an upstream publisher."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"prefetch","declarationFragments":[{"kind":"identifier","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"}]},{"name":"whenFull","declarationFragments":[{"kind":"identifier","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3setyySayAA0D0_pGF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","set(_:)"],"names":{"title":"set(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds all the component in the input array to the set."},{"text":""},{"text":"If the input array contains more than one component of a given type,"},{"text":"only the element with the highest index goes into the set, because"},{"text":"the set can hold only one component of a given type."},{"text":""},{"text":"- Parameters:"},{"text":" - components: An array of components to add."}]},"functionSignature":{"parameters":[{"name":"components","declarationFragments":[{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"components"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO21automaticDownsamplingyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","automaticDownsampling"],"names":{"title":"PhotogrammetrySession.Output.automaticDownsampling","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"automaticDownsampling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session reduced the image size because of memory constraints."},{"text":""},{"text":"If ``PhotogrammetrySession`` encounters serious resource constraints during the"},{"text":"object-creation process, it attempts to reduce memory usage by creating scaled-down copies"},{"text":"of the sample images, and publishes this message."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"automaticDownsampling"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher"],"names":{"title":"Scene.Publisher","navigator":[{"kind":"identifier","spelling":"Publisher"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Publisher"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A publisher for the given event type in the scene."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/filter(_:)`` operator performs an operation similar to that of in the Swift Standard Library: it uses a closure to test each element to determine whether to republish the element to the downstream subscriber."},{"text":""},{"text":"The following example, uses a filter operation that receives an `Int` and only republishes a value if it’s even."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 4\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value indicating whether to republish the element."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4playyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","play()"],"names":{"title":"play()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"play"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays the audio resource."},{"text":""},{"text":"The controller plays from the beginning of the resource, or from the"},{"text":"point at which it was paused if you previously called the"},{"text":"``AudioPlaybackController/pause()`` method during playback."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"play"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8elementsSayxGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elements"],"names":{"title":"elements","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Access the buffer as an array. This may create a copy if the data are not already an array."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE12replaceAsync4withAA11LoadRequestCyACGAcAE8ContentsV_tF","interfaceLanguage":"swift"},"pathComponents":["MeshResource","replaceAsync(with:)"],"names":{"title":"replaceAsync(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replace the contents of this mesh resource asynchronously."},{"text":""},{"text":"- Note: The contents of the modified mesh resource will not be synced between network clients."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO6normalyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","normal"],"names":{"title":"PhotogrammetrySession.Configuration.FeatureSensitivity.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session uses the default algorithm to detect landmarks."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13skippedSampleyAESi_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","skippedSample(id:)"],"names":{"title":"PhotogrammetrySession.Output.skippedSample(id:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skippedSample"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of element used for Object Capture updates."},{"text":"The ``PhotogrammetrySample`` with the ``PhotogrammetrySample/id`` indicated was not able to be used for reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skippedSample"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``FromToByAnimation/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO5imageyAESS_SStcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","image(group:name:)"],"names":{"title":"AnchoringComponent.Target.image(group:name:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An image."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the first element in a nonempty collection. (See `Collection.startIndex`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10repeatModeAA0d6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``SampledAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``SampledAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position immediately after the given index. (See `Collection.index`.)"}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3setyyxAA0D0RzlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","set(_:)"],"names":{"title":"set(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"component","declarationFragments":[{"kind":"identifier","spelling":"component"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"component"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV11mipmapsModeAC07MipmapsH0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Whether the texture resource automatically generates mipmaps."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyAngularImpulse(_:relativeTo:)"],"names":{"title":"applyAngularImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an angular (torque) impulse to the physics body at its center of"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An angular impulse in kilogram square meters per second."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC14loadModelAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModelAsync(named:in:)"],"names":{"title":"loadModelAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a model entity from a file in a bundle asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as a ``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV13rotationCountSfvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","rotationCount"],"names":{"title":"rotationCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of times to rotate the target entity before stopping."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV35secondaryTextureCoordinateTransformAA0E14ParameterTypesV0ghI0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","secondaryTextureCoordinateTransform"],"names":{"title":"secondaryTextureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation to apply to the entity’s secondary"},{"text":"texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates define how RealityKit maps image"},{"text":"textures onto an entity. This property allows you to transform the"},{"text":"secondary texture coordinates to change the way this material maps"},{"text":"textures onto an entity. If an entity has multiple materials assigned to"},{"text":"it, the transformation doesn’t affect how the other materials map their"},{"text":"textures."},{"text":""},{"text":"You might, for example, change the scale of the UV coordinates to apply"},{"text":"a tiled, repeating pattern to the surface of your entity, or"},{"text":"continuously rotate or translate the texture coordinates to animate"},{"text":"materials to create special effects, such as fire or flowing liquids."},{"text":""},{"text":"The following example demonstrates how to set a material’s UV"},{"text":"transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees converted to radians."},{"text":"secondaryTextureCoordinateTransform =.init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"Some entities imported from USDZ files have more than one set of UV"},{"text":"coordinates. This property transforms the secondary set. To transform"},{"text":"the primary UV coordinates in a material, see"},{"text":"``PhysicallyBasedMaterial/textureCoordinateTransform-swift.property``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC11MipmapsModeO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC5pauseyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","pause()"],"names":{"title":"pause()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Pauses playback of the audio resource while maintaining the position in"},{"text":"the audio stream."},{"text":""},{"text":"Resume playback of a paused audio resource by calling the"},{"text":"``AudioPlaybackController/play()`` method."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyLinearImpulse(_:relativeTo:)"],"names":{"title":"applyLinearImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at its center of mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV9intensitySfvp","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","intensity"],"names":{"title":"intensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of the spotlight measured in lumen."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4stopyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","stop()"],"names":{"title":"stop()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops playback of the audio resource and discards the location in the"},{"text":"audio stream."},{"text":""},{"text":"If you call the ``AudioPlaybackController/stop()`` method, the next time"},{"text":"you call ``AudioPlaybackController/play()``, playback starts at the"},{"text":"beginning of the stream."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9subscribe2to2on_7Combine11Cancellable_pxm_AA11EventSource_pSgyxctAA0I0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","subscribe(to:on:_:)"],"names":{"title":"subscribe(to:on:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Receives events of the given type."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event, like `SceneEvents.Update.Self`."},{"text":""},{"text":"- sourceObject: The source of the event. Set to nil to listen for all"},{"text":"events of the given type within the scene."},{"text":""},{"text":" - handler: A closure to call with the event."},{"text":""},{"text":"- Returns: The subscription to the event stream."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition"],"names":{"title":"AnimationDefinition","navigator":[{"kind":"identifier","spelling":"AnimationDefinition"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationDefinition"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The configuration, including target object, timeframe, and visual semantics,"},{"text":"of an animation."},{"text":""},{"text":"The framework adopts this protocol for several concrete animation objects,"},{"text":"such as ``FromToByAnimation``, ``SampledAnimation``, ``OrbitAnimation``,"},{"text":"``BlendTreeAnimation``, ``AnimationView``, and ``AnimationGroup``."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationDefinition"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture’s width in pixels."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"TThe collection’s “past the end” position—that is, the position one greater than the"},{"text":"last valid subscript argument. (See `Collection.endIndex`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO4highyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","high"],"names":{"title":"PhotogrammetrySession.Configuration.FeatureSensitivity.high","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"high"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session uses a slower, more sensitive algorithm to detect landmarks."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"high"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The height of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8ResourceP","interfaceLanguage":"swift"},"pathComponents":["Resource"],"names":{"title":"Resource","navigator":[{"kind":"identifier","spelling":"Resource"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Resource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A shared resource you use to configure a component, like a material, mesh,"},{"text":"or texture."},{"text":""},{"text":"Resources can be costly to load or create. Share and reuse resources as much as possible."}]},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Resource"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO4faceyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","face"],"names":{"title":"AnchoringComponent.Target.face","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The user’s face."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"Face anchoring is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8generate4fromA2cAE8ContentsV_tKFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generate(from:)"],"names":{"title":"generate(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from contents."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadModel5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModel(named:in:)"],"names":{"title":"loadModel(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading a model entity from a file in a bundle."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as a"},{"text":"``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV20fieldOfViewInDegreesSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","fieldOfViewInDegrees"],"names":{"title":"fieldOfViewInDegrees","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The camera’s total vertical field of view in degrees."},{"text":""},{"text":"This property contains the entire vertifical field of view for the"},{"text":"camera in degrees. The system automatically calculates the horizontal"},{"text":"field of view from this value to fit the aspect ratio of the device’s"},{"text":"screen."},{"text":""},{"text":"This property defaults to `60` degrees."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","clearForcesAndTorques()"],"names":{"title":"clearForcesAndTorques()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Clears all forces previously added to the physics body."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProgressInfo"],"names":{"title":"PhotogrammetrySession.Output.ProgressInfo","navigator":[{"kind":"identifier","spelling":"ProgressInfo"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ProgressInfo"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"ProgressInfo includes the estimated remaining time and the progress stage during reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ProgressInfo"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO6objectyAESS_SStcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","object(group:name:)"],"names":{"title":"AnchoringComponent.Target.object(group:name:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"object"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A specific object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"object"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"Object anchoring is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16ambientOcclusionAC07AmbientF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ambientOcclusion"],"names":{"title":"ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ambient light exposure for a material."},{"text":""},{"text":"Ambient occlusion (AO) represents the entity’s exposure to ambient"},{"text":"light. Specify ambient occlusion using a UV-mapped image called an"},{"text":"_ambient occlusion map_. In an AO map, black pixels represent parts of"},{"text":"the model that receive no ambient light because of a crevice, dent, or"},{"text":"recessed area, or another part of the entity blocking ambient light from"},{"text":"reaching it. White pixels represent flat portions of the model that"},{"text":"receive full ambient light. You generate ambient occlusion maps using a"},{"text":"3D software package."},{"text":""},{"text":"The following code loads an ambient occlusion map and adds it to the"},{"text":"custom material:"},{"text":""},{"text":"```swift"},{"text":"if let aoResource = try? TextureResource.load(named:\"entity_ao\") {"},{"text":" let aoMap = MaterialParameters.Texture(aoResource)"},{"text":" material.emissiveColor = .init(texture: aoMap)"},{"text":"}"},{"text":" ```"},{"text":""},{"text":"In a custom material, RealityKit doesn’t automatically use the value you"},{"text":"set on this property to render your entity. The ambient occlusion"},{"text":"texture is available in the material’s shader functions, but RealityKit"},{"text":"only renders ambient occlusion if the material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its surface"},{"text":"shader calls `params.surface().set_ambient_occlusion()`."},{"text":""},{"text":"The following Metal code shows how to sample the ambient occlusion"},{"text":"texture to set the AO value in a surface shader function:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the ambient occlusion texture and use it to set the"},{"text":" // ambient occlusion value to use during rendering."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.ambient_occlusion().sample(textureSampler, uv).r;"},{"text":" params.surface().set_ambient_occlusion(metallic);"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:)"],"names":{"title":"merge(with:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from two other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:)-5crqg``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:)-8d7k7``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":""},{"text":" // Prints: \"1 40 90 2 50 100\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidActivateEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGAcAE8ContentsV_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateAsync(from:)"],"names":{"title":"generateAsync(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from contents asynchronously."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent"],"names":{"title":"PerspectiveCameraComponent","navigator":[{"kind":"identifier","spelling":"PerspectiveCameraComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCameraComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":""},{"text":"In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the"},{"text":"camera needs to be set by the app. (If no camera is provided by the app, the system will use"},{"text":"default camera.)"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCameraComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV5valuexvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The main accessor for the bind value."},{"text":""},{"text":"This property returns the animated value"},{"text":"(``BindableValue/animatedValue``) if an animation is active. Otherwise,"},{"text":"this property returns the base value (``BindableValue/baseValue``)."},{"text":""},{"text":"When you assign a value to this property, the setter always assigns the"},{"text":"value you provide to ``BindableValue/baseValue``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4gainSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","gain"],"names":{"title":"gain","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The gain in decibels of the audio playback controller output."},{"text":""},{"text":"Use the ``AudioPlaybackController/fade(to:duration:)`` method to change"},{"text":"the gain gradually and create smooth transitions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVyACSicip","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses the element at the specified position. (See `Collection.subscript`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the instances."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV5label0B023LocalizedStringResourceVSgvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","label"],"names":{"title":"label","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A succinct label that identifies the entity, in a localized string key."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new model to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"model","declarationFragments":[{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC14loadModelAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModelAsync(contentsOf:withName:)"],"names":{"title":"loadModelAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a model entity from a file URL asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as a ``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV8identityACvpZ","interfaceLanguage":"swift"},"pathComponents":["Transform","identity"],"names":{"title":"identity","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identity transform."},{"text":""},{"text":"The identity transform is defined as `scale = (1, 1, 1)`, `rotation ="},{"text":"(0, 0, 0, 1)`, and `translation = (0, 0, 0)`."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV2idAA0D7BuffersO10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor"],"names":{"title":"TextureResource.DrawableQueue.Descriptor","navigator":[{"kind":"identifier","spelling":"Descriptor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Descriptor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Describes the texture managed by the drawable queue"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Descriptor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The model component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness values as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","Decibel"],"names":{"title":"AudioPlaybackController.Decibel","navigator":[{"kind":"identifier","spelling":"Decibel"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Decibel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type for expressing gain in decibels."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Decibel"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackTerminated"],"names":{"title":"AnimationEvents.PlaybackTerminated","navigator":[{"kind":"identifier","spelling":"PlaybackTerminated"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackTerminated"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an event has been terminated, regardless of"},{"text":"whether it ran to completion."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackTerminated"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(of:)"],"names":{"title":"index(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5,"minor":0},"renamed":"firstIndex(of:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV13moveDirections5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","moveDirection"],"names":{"title":"moveDirection","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Move direction controller was moving (unit vector). In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasPerspectiveCamera","camera"],"names":{"title":"camera","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A camera component for the perspective camera entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``FromToByAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``FromToByAnimation/trimStart`` and ``FromToByAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``FromToByAnimation/duration`` causes the animation"},{"text":"to repeat, applying the characteristics defined by"},{"text":"``FromToByAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryAllSatisfy(_:)"],"names":{"title":"tryAllSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given error-throwing predicate."},{"text":""},{"text":"Use the ``Publisher/tryAllSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria in an error-throwing predicate you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes. If the predicate throws an error, the publisher fails and passes the error to its downstream subscriber."},{"text":""},{"text":"In the example below, an error-throwing predicate tests if each of an integer array publisher’s elements fall into the `targetRange`; the predicate throws an error if an element is zero and terminates the stream."},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 10, 5, 0]"},{"text":""},{"text":" numbers.publisher"},{"text":" .tryAllSatisfy { anInt in"},{"text":" guard anInt != 0 else { throw RangeError() }"},{"text":" return targetRange.contains(anInt)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(RangeError())\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete. The closure may throw an error, in which case the publisher cancels the upstream publisher and fails with the thrown error."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO5valueyACSfcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","value(_:)"],"names":{"title":"BlendWeight.value(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The numerical representation of the impact an animation has on an"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV19outerAngleInDegreesSfvp","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","outerAngleInDegrees"],"names":{"title":"outerAngleInDegrees","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outerAngleInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The outer angle of the spotlight in degrees."},{"text":""},{"text":"A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines"},{"text":"relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and"},{"text":"`innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and"},{"text":"`outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outerAngleInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV5countSivp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator","Element"],"names":{"title":"MeshInstanceCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","load(contentsOf:withName:)"],"names":{"title":"load(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL."},{"text":""},{"text":"This method loads the image specified by `URL` and creates a texture"},{"text":"resource from it. The method blocks until it has loaded the image and"},{"text":"created the texture resource. RealityKit uses the resource name to"},{"text":"distinguish resources locally, and to match texture resources between networked"},{"text":"peers. Specify a unique name for each texture resource you load or"},{"text":"generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The loaded resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat roughness specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","retry(_:)"],"names":{"title":"retry(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Attempts to recreate a failed subscription with the upstream publisher up to the number of times you specify."},{"text":""},{"text":"Use ``Publisher/retry(_:)`` to try a connecting to an upstream publisher after a failed connection attempt."},{"text":""},{"text":"In the example below, a attempts to connect to a remote URL. If the connection attempt succeeds, it publishes the remote service’s HTML to the downstream publisher and completes normally. Otherwise, the retry operator attempts to reestablish the connection. If after three attempts the publisher still can’t connect to the remote URL, the ``Publisher/catch(_:)`` operator replaces the error with a new publisher that publishes a “connection timed out” HTML page. After the downstream subscriber receives the timed out message, the stream completes normally."},{"text":""},{"text":" struct WebSiteData: Codable {"},{"text":" var rawHTML: String"},{"text":" }"},{"text":""},{"text":" let myURL = URL(string: \"https://www.example.com\")"},{"text":""},{"text":" cancellable = URLSession.shared.dataTaskPublisher(for: myURL!)"},{"text":" .retry(3)"},{"text":" .map({ (page) -> WebSiteData in"},{"text":" return WebSiteData(rawHTML: String(decoding: page.data, as: UTF8.self))"},{"text":" })"},{"text":" .catch { error in"},{"text":" return Just(WebSiteData(rawHTML: \"Unable to load page - timed out.\"))"},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: The HTML content from the remote URL upon a successful connection,"},{"text":" // or returns \"Unable to load page - timed out.\" if the number of retries exceeds the specified value."},{"text":""},{"text":"After exceeding the specified number of retries, the publisher passes the failure to the downstream receiver."},{"text":"- Parameter retries: The number of times to attempt to recreate the subscription."},{"text":"- Returns: A publisher that attempts to recreate its subscription to a failed upstream publisher."}]},"functionSignature":{"parameters":[{"name":"retries","declarationFragments":[{"kind":"identifier","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addTorque(_:relativeTo:)"],"names":{"title":"addTorque(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a torque to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added torque until the end of the"},{"text":"frame interval. To continue exerting the torque after that time, add the"},{"text":"torque again with another call to the method. Handle the"},{"text":"``SceneEvents/Update`` event to receive an indication of when the frame"},{"text":"interval ends. For an app that renders at 60 frames per second (fps),"},{"text":"this event occurs about once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - torque: A torque in newton meters per radian."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `torque` is defined."}]},"functionSignature":{"parameters":[{"name":"torque","declarationFragments":[{"kind":"identifier","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer"],"names":{"title":"AnyMeshBuffer","navigator":[{"kind":"identifier","spelling":"AnyMeshBuffer"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnyMeshBuffer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mesh buffer stored in the container."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnyMeshBuffer"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","BaseColor"],"names":{"title":"SimpleMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent base color."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:)"],"names":{"title":"merge(with:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from three other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 2 50 100 -2 \""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use `combineLatest(_:,_:)` to combine the current and two additional publishers and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by three publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3) { firstValue, secondValue, thirdValue in"},{"text":" return firstValue * secondValue * thirdValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(10)"},{"text":""},{"text":" pub.send(9)"},{"text":" pub3.send(4)"},{"text":" pub2.send(12)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 40. // pub = 2, pub2 = 2, pub3 = 10"},{"text":" // Result: 180. // pub = 9, pub2 = 2, pub3 = 10"},{"text":" // Result: 72. // pub = 9, pub2 = 2, pub3 = 4"},{"text":" // Result: 432. // pub = 9, pub2 = 12, pub3 = 4"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that changes the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s ``SampledAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents"],"names":{"title":"MeshResource.Contents","navigator":[{"kind":"identifier","spelling":"Contents"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Value of the contents of the resource."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO9parameteryACSS_SftcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","parameter(_:defaultWeight:)"],"names":{"title":"BlendWeight.parameter(_:defaultWeight:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of impact an animation has on a named parameter of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6targetAC6TargetOvp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","target"],"names":{"title":"target","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kind of real world object to which the anchor entity should anchor."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing model. The old model is returned."}]},"functionSignature":{"parameters":[{"name":"model","declarationFragments":[{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0cD7TextureVyAeA0E8ResourceCcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","CustomMaterialTexture","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom texture from a texture resource."},{"text":""},{"text":"- Parameters:"},{"text":" - resource: The texture resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadModel10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModel(contentsOf:withName:)"],"names":{"title":"loadModel(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading a model entity from a file URL."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as a"},{"text":"``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetVyAA0D0_pSgAaF_pXpcip","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets or sets the component of the specified type."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO20pointCloudGenerationyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","pointCloudGeneration"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.pointCloudGeneration","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloudGeneration"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloudGeneration"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off the specified number of elements"},{"text":" at the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14imageAlignmentyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","imageAlignment"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.imageAlignment","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"imageAlignment"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"imageAlignment"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove a model by name."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8contentsAcAE8ContentsVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","contents"],"names":{"title":"contents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Get the contents of the mesh asset."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC7presentyyF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","present()"],"names":{"title":"present()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Presents the updated texture to the renderer as soon as possible."},{"text":""},{"text":"Needs to be called after all commands in the command buffer have been executed (e.g."},{"text":"after `MTLCommandBuffer.waitUntilCompleted()`). When you call this method, the drawable"},{"text":"will make the new texture content available to the renderer."},{"text":""},{"text":"Alternatively, instead of waiting for completion you can call"},{"text":"`MTLCommandBuffer.present(_:)` to signal in the command buffer that the texture is ready"},{"text":"to use."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV9usingRateyACyxGAA0C7BuffersO0F0OF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","usingRate(_:)"],"names":{"title":"usingRate(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usingRate"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"New object with updated rate."}]},"functionSignature":{"parameters":[{"name":"rate","declarationFragments":[{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usingRate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO03preF0yA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","preProcessing"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.preProcessing","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preProcessing"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preProcessing"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8blendingAC8BlendingOvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","blending"],"names":{"title":"blending","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8BlendingO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparency of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The width of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV14startTransformAA0F0Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","startTransform"],"names":{"title":"startTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The pose of the orbiting object at the start of the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:)-5crqg`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:)-8d7k7`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In this example, three instances of ``PassthroughSubject`` emit values; as ``Publisher/combineLatest(_:_:)-5crqg`` receives input from any of the upstream publishers, it combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9)."},{"text":" // Result: (3, 2, 9)."},{"text":" // Result: (3, 12, 9)."},{"text":" // Result: (13, 12, 9)."},{"text":" // Result: (13, 12, 19)."},{"text":""},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerP","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer"],"names":{"title":"MeshBufferContainer","navigator":[{"kind":"identifier","spelling":"MeshBufferContainer"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferContainer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Conforming objects contain a table of mesh buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferContainer"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV12moveDistanceSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","moveDistance"],"names":{"title":"moveDistance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Move distance controller was attempting to move. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO10bindTargetyAcA04BindF0O_SftcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","bindTarget(_:defaultWeight:)"],"names":{"title":"BlendWeight.bindTarget(_:defaultWeight:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of impact an animation has on the bind target of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry"],"names":{"title":"PhotogrammetrySession.Request.Geometry","navigator":[{"kind":"identifier","spelling":"Geometry"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Geometry"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a bounding box and transformation data for a request."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Geometry"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV5scales5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Transform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scaling factor applied to the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC16mipmapLevelCountSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","mipmapLevelCount"],"names":{"title":"mipmapLevelCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapLevelCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of mipmaps contained in this texture."},{"text":""},{"text":"Mipmaps are additional copies of the same texture at different"},{"text":"resolutions. This property contains the number of different versions of"},{"text":"this texture, including the original-size version."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapLevelCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceNil(with:)"],"names":{"title":"replaceNil(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces nil elements in the stream with the provided element."},{"text":""},{"text":"The ``Publisher/replaceNil(with:)`` operator enables replacement of `nil` values in a stream with a substitute value. In the example below, a collection publisher contains a nil value. The ``Publisher/replaceNil(with:)`` operator replaces this with `0.0`."},{"text":""},{"text":" let numbers: [Double?] = [1.0, 2.0, nil, 3.0]"},{"text":" numbers.publisher"},{"text":" .replaceNil(with: 0.0)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"Optional(1.0) Optional(2.0) Optional(0.0) Optional(3.0)\""},{"text":""},{"text":"- Parameter output: The element to use when replacing `nil`."},{"text":"- Returns: A publisher that replaces `nil` elements from the upstream publisher with the provided element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"T?","rhsPrecise":"s:Sq"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO12optimizationyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","optimization"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.optimization","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"optimization"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"optimization"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture"],"names":{"title":"MaterialParameters.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10bindTargetAA04BindG0Ovp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackCompleted"],"names":{"title":"AnimationEvents.PlaybackCompleted","navigator":[{"kind":"identifier","spelling":"PlaybackCompleted"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an animation reaches the end of its duration."},{"text":""},{"text":"This event isn’t triggered if you call the"},{"text":"``AnimationPlaybackController/stop()`` method on a playback controller."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVAAE7Texturea","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","Texture"],"names":{"title":"SimpleMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent textures."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8IteratorV4nextxSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Always call this function instead of ``Publisher/receive(subscriber:)``."},{"text":"Adopters of ``Publisher`` must implement ``Publisher/receive(subscriber:)``. The implementation of ``Publisher/subscribe(_:)-4u8kn`` provided by ``Publisher`` calls through to ``Publisher/receive(subscriber:)``."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this publisher. After attaching, the subscriber can start to receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackLooped"],"names":{"title":"AnimationEvents.PlaybackLooped","navigator":[{"kind":"identifier","spelling":"PlaybackLooped"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackLooped"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an animation loops."},{"text":""},{"text":"You loop animation playback by creating an ``AnimationResource``"},{"text":"instance from an existing one with either the"},{"text":"``AnimationResource/repeat(count:)`` or the"},{"text":"``AnimationResource/repeat(duration:)`` method."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackLooped"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the models."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14textureMappingyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","textureMapping"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.textureMapping","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureMapping"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureMapping"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(on:options:)"],"names":{"title":"subscribe(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to perform subscribe, cancel, and request operations."},{"text":""},{"text":"In contrast with ``Publisher/receive(on:options:)``, which affects downstream messages, ``Publisher/subscribe(on:options:)`` changes the execution context of upstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `ioPerformingPublisher` to receive requests on `backgroundQueue`, while the ``Publisher/receive(on:options:)`` causes `uiUpdatingSubscriber` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let ioPerformingPublisher == // Some publisher."},{"text":" let uiUpdatingSubscriber == // Some subscriber that updates the UI."},{"text":""},{"text":" ioPerformingPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(uiUpdatingSubscriber)"},{"text":""},{"text":""},{"text":"Using ``Publisher/subscribe(on:options:)`` also causes the upstream publisher to perform ``Cancellable/cancel()`` using the specfied scheduler."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler used to send messages to upstream publishers."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher which performs upstream operations on the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhysicsMassPropertiesV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14meshGenerationyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","meshGeneration"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.meshGeneration","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"meshGeneration"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"meshGeneration"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV5sheenAC10SheenColorVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","sheen"],"names":{"title":"sheen","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sheen"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SheenColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of an entity’s sheen."},{"text":""},{"text":"For a ``PhysicallyBasedMaterial``, object, you can use `sheen` to add"},{"text":"soft specular highlights that simulate subtle reflections like the ones"},{"text":"that occur with some materials, primarily fabrics. You can specify"},{"text":"`sheen` using a single color, or you can provide a UV-mapped image."},{"text":""},{"text":"![An illustration showing two spheres. The one on the right has very"},{"text":"subtle, soft specular highlights and is labeled “With sheen”. The one on"},{"text":"the right has no specular highlights and is labeled “Without"},{"text":"sheen”.](PhysicallyBasedMaterial-sheen-1)"},{"text":""},{"text":"The following example specifies `sheen` using a single value for the"},{"text":"entire material:"},{"text":""},{"text":"```swift"},{"text":"let sheenColor = PhysicallyBasedMaterial.Color(deviceRed: 0.8,"},{"text":"green: 0.8, blue: 0.8, alpha: 1.0)"},{"text":"material.sheen = .init(tint:sheenColor)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify sheen using a UV-mapped image texture:"},{"text":""},{"text":"```swift"},{"text":"if let sheenResource = try? TextureResource.load(named:"},{"text":"\"entity_sheen\") {"},{"text":" let sheenMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.sheen = .init(texture: sheenMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sheen"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SheenColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addForce(_:at:relativeTo:)"],"names":{"title":"addForce(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at the specified position."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":" - position: The position at which to apply the force."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `force` are defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``SampledAnimation/trimStart`` instead and choose a"},{"text":"``SampledAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17PerspectiveCameraCACycfc","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a perspective camera entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVyA2C6TargetOcfc","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchoring component for a given target."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The kind of real world object to target."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation19CustomMaterialErrorO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Retrieve the localized description for this error."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV5childAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity","child"],"names":{"title":"child","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addForce(_:relativeTo:)"],"names":{"title":"addForce(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `force` is defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV15maximumDistance9depthBiasAESf_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","init(maximumDistance:depthBias:)"],"names":{"title":"init(maximumDistance:depthBias:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maximumDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depthBias"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a directional light shadow with a maximum distance and depth"},{"text":"bias."},{"text":""},{"text":"- Parameters:"},{"text":" - maximumDistance: The maximum distance for the shadow."},{"text":""},{"text":" - depthBias: The depth bias for the shadow."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maximumDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 5.0, "},{"kind":"externalParam","spelling":"depthBias"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV02isC7ElementSbvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","isAccessibilityElement"],"names":{"title":"isAccessibilityElement","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC8SemanticO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC7textureSo10MTLTexture_pvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Metal texture object that contains the drawable’s contents."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Clearcoat.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV22estimatedRemainingTimeSdSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProgressInfo","estimatedRemainingTime"],"names":{"title":"estimatedRemainingTime","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"estimatedRemainingTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"estimatedRemainingTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation5SceneC","interfaceLanguage":"swift"},"pathComponents":["Scene","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15PhysicsBodyModeO","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession"],"names":{"title":"PhotogrammetrySession","navigator":[{"kind":"identifier","spelling":"PhotogrammetrySession"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhotogrammetrySession"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Manages the creation of a 3D model from a set of images."},{"text":""},{"text":"For more information on using ``PhotogrammetrySession``, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhotogrammetrySession"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9modelFileyAE0B03URLV_AE6DetailOAE8GeometryVSgtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","modelFile(url:detail:geometry:)"],"names":{"title":"PhotogrammetrySession.Request.modelFile(url:detail:geometry:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelFile"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"detail"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Detail","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometry"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object-creation request saved to a USDZ file or a folder (for OBJ output)."},{"text":""},{"text":"- Parameters:"},{"text":"- url: A file URL that points to the output location for this request. If the URL denotes a .usdz file,"},{"text":" then a compressed USDZ file is produced."},{"text":" If a directory URL is provided, an OBJ object and all texture maps will be placed in the folder."},{"text":""},{"text":" - detail: The level of detail for the created model."},{"text":""},{"text":" - geometry: The bounding box or transforms for the generated object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelFile"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"detail"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Detail","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"text","spelling":" = .reduced, "},{"kind":"externalParam","spelling":"geometry"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowVAEycfc","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a directional light shadow using default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator","Element"],"names":{"title":"MeshModelCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV11elementTypeAA0D7BuffersO07ElementG0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","elementType"],"names":{"title":"elementType","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation21BodyTrackingComponentV","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object from a custom material’s clearcoat"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s clearcoat property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator"],"names":{"title":"MeshPartCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO7grantedyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","granted"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult.granted","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"granted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The request is accepted and ownership is transferred."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"granted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4fade2to8durationySd_SdtF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","fade(to:duration:)"],"names":{"title":"fade(to:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fade"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transitions the gain to the given value over a time interval using a"},{"text":"linear curve."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"gain","declarationFragments":[{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fade"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitNormals5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitNormal"],"names":{"title":"hitNormal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hit normal relative to physics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6normalAC6NormalVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV6NormalV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A texture map that stores fine surface details for the entity."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures fine"},{"text":"surface details for a model by using a texture instead of increasing the"},{"text":"number of polygons in the model. It works by storing _surface normals_,"},{"text":"which are vectors perpendicular to the surface of the model, from a much"},{"text":"higher-resolution version of the same 3D object. A normal map stores"},{"text":"each vector in the image by storing the vectors’ `X`, `Y`, and `Z`"},{"text":"values as the `R`, `G`, and `B` components of the corresponding pixel in"},{"text":"the UV-mapped image."},{"text":""},{"text":"For custom materials, ``CustomMaterial/normal-swift.property`` is only"},{"text":"used when ``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its surface"},{"text":"shader calls `params.surface().set_normal(). T`he normal map texture is"},{"text":"still available to your surface shader function when using"},{"text":"``CustomMaterial/LightingModel-swift.enum/unlit``."},{"text":""},{"text":"The following code loads a normal map texture and uses it to set this"},{"text":"property:"},{"text":""},{"text":"```swift"},{"text":"if let normalResource = try? TextureResource.load(named:\"entity_normals\") {"},{"text":" let normalMap = MaterialParameters.Texture(normalResource)"},{"text":" material.normal = .init(texture:normalMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"The following Metal code shows how to sample the normal map texture in a"},{"text":"surface shader and use it to set the fragment’s surface normal:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the normal map to get the surface normal for this fragment."},{"text":" auto tex = params.textures();"},{"text":" float3 color = (float3)tex.normal().sample(textureSampler, uv).rgb;"},{"text":""},{"text":" // Set the fragment's surface normal using the sampled value."},{"text":" params.surface().set_normal(color);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset."},{"text":""},{"text":"If you set a value for this property, the animation plays immediately,"},{"text":"beginning at the specified time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO11modelEntityyA2E6DetailO_AE8GeometryVSgtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","modelEntity(detail:geometry:)"],"names":{"title":"PhotogrammetrySession.Request.modelEntity(detail:geometry:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"detail"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Detail","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometry"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object-creation request stored in-memory for immediate display."},{"text":""},{"text":"- Parameters:"},{"text":" - detail: The level of detail for the created model."},{"text":""},{"text":"- geometry: The bounding box or transforms for the generated object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"detail"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Detail","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"text","spelling":" = .reduced, "},{"kind":"externalParam","spelling":"geometry"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO8timedOutyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","timedOut"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult.timedOut","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timedOut"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ownership transfer request timed out."},{"text":""},{"text":"A timeout doesn’t necessarily mean that the request is denied. It"},{"text":"might succeed after the timeout."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timedOut"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","AmbientOcclusion"],"names":{"title":"CustomMaterial.AmbientOcclusion","navigator":[{"kind":"identifier","spelling":"AmbientOcclusion"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s exposure to ambient light."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV14previousParentAA0G0CSgvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity","previousParent"],"names":{"title":"previousParent","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousParent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousParent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryRemoveDuplicates(by:)"],"names":{"title":"tryRemoveDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryRemoveDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of elements using an error-throwing closure you provide. If your closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, the closure provided to ``Publisher/tryRemoveDuplicates(by:)`` returns `true` when two consecutive elements are equal, thereby filtering out `0`,"},{"text":"`1`, `2`, and `3`. However, the closure throws an error when it encounters `4`. The publisher then terminates with this error."},{"text":""},{"text":" struct BadValuesError: Error {}"},{"text":" let numbers = [0, 0, 0, 0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryRemoveDuplicates { first, second -> Bool in"},{"text":" if (first == 4 && second == 4) {"},{"text":" throw BadValuesError()"},{"text":" }"},{"text":" return first == second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 failure(BadValuesError()\""},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first. If this closure throws an error, the publisher terminates with the thrown error."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new instance to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"instance","declarationFragments":[{"kind":"identifier","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","sink(receiveCompletion:receiveValue:)"],"names":{"title":"sink(receiveCompletion:receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior."},{"text":""},{"text":"Use ``Publisher/sink(receiveCompletion:receiveValue:)`` to observe values received by the publisher and process them using a closure you specify."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveValue` closure that prints them to the console. Upon completion the ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveCompletion` closure indicates the successful termination of the stream."},{"text":""},{"text":" let myRange = (0...3)"},{"text":" cancellable = myRange.publisher"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" // Prints:"},{"text":" // value: 0"},{"text":" // value: 1"},{"text":" // value: 2"},{"text":" // value: 3"},{"text":" // completion: finished"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveComplete: The closure to execute on completion."},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a color or texture."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light it reflects. A material with a high roughness"},{"text":"has a matte appearance, while one with a low roughness has a shiny"},{"text":"appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-Roughness-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"Use this initializer to create a new object from a single roughness"},{"text":"value, from an image texture, or from both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `roughness` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, then RealityKit uses `scale` as the entire entity’s"},{"text":"roughness. If you provide a color image for `texture` rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s"},{"text":"red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The roughness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryContains(where:)"],"names":{"title":"tryContains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the throwing predicate closure."},{"text":""},{"text":"Use ``Publisher/tryContains(where:)`` to find the first element in an upstream that satisfies the error-throwing closure you provide."},{"text":""},{"text":"This operator consumes elements produced from the upstream publisher until the upstream publisher either:"},{"text":""},{"text":"- Produces a matching element, after which it emits `true` and the publisher finishes normally."},{"text":"- Emits `false` if no matching element is found and the publisher finishes normally."},{"text":""},{"text":"If the predicate throws an error, the publisher fails, passing the error to its downstream."},{"text":""},{"text":"In the example below, the ``Publisher/tryContains(where:)`` operator tests values to find an element less than `10`; when the closure finds an odd number, like `3`, the publisher terminates with an `IllegalValueError`."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers = [3, 2, 10, 5, 0, 9]"},{"text":" numbers.publisher"},{"text":" .tryContains {"},{"text":" if ($0 % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return $0 < 10"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox"],"names":{"title":"OrientedBoundingBox","navigator":[{"kind":"identifier","spelling":"OrientedBoundingBox"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrientedBoundingBox"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Representation for an oriented bounding box."},{"text":"Uses a combination of an axis-aligned bounding box and a rotation vector around"},{"text":"the centroid of the said axis-aligned bounding box to represent an oriented bounding box."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrientedBoundingBox"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part"],"names":{"title":"MeshResource.Part","navigator":[{"kind":"identifier","spelling":"Part"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A part of a model consisting of a single material."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers"],"names":{"title":"MeshBuffers","navigator":[{"kind":"identifier","spelling":"MeshBuffers"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffers"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds the data for an model entity's mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffers"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0cD7TextureV8resourceAA0E8ResourceCvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","CustomMaterialTexture","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture resource you use to create a custom texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing instance. The old instance is returned."}]},"functionSignature":{"parameters":[{"name":"instance","declarationFragments":[{"kind":"identifier","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstRange(of:)"],"names":{"title":"firstRange(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the range of the first occurrence of a given collection"},{"text":"within this collection."},{"text":""},{"text":"- Parameter other: The collection to search for."},{"text":"- Returns: A range in the collection of the first occurrence of `sequence`."},{"text":"Returns nil if `sequence` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV13spinClockwiseSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","spinClockwise"],"names":{"title":"spinClockwise","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the object orbits the center"},{"text":"point in the clockwise direction."},{"text":""},{"text":"The default value is `true`, which indicates that the rotation occurs in"},{"text":"the clockwise direction. Set the value to `false` to cause the object to"},{"text":"orbit the center point counterclockwise."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV15processingStageAE010ProcessingI0OSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProgressInfo","processingStage"],"names":{"title":"processingStage","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingStage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingStage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasSpotLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A spotlight component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormatSo08MTLPixelI0Vvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","pixelFormat"],"names":{"title":"pixelFormat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The size and bit layout of all pixels in each drawable's texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC15reverbSendLevelSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","reverbSendLevel"],"names":{"title":"reverbSendLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbSendLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The send level in decibels from the playback controller to the reverb"},{"text":"system."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbSendLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Element"],"names":{"title":"MeshPartCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV8rotationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["Transform","rotation"],"names":{"title":"rotation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity specified as a unit quaternion."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","removeDuplicates(by:)"],"names":{"title":"removeDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided closure."},{"text":""},{"text":"Use ``Publisher/removeDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of the current and previously published elements using a closure you provide."},{"text":""},{"text":"Use the ``Publisher/removeDuplicates(by:)`` operator when comparing types that don’t themselves implement `Equatable`, or if you need to compare values differently than the type’s `Equatable` implementation."},{"text":""},{"text":"In the example below, the ``Publisher/removeDuplicates(by:)`` functionality triggers when the `x` property of the current and previous elements are equal, otherwise the operator publishes the current `Point` to the downstream subscriber:"},{"text":""},{"text":" struct Point {"},{"text":" let x: Int"},{"text":" let y: Int"},{"text":" }"},{"text":""},{"text":" let points = [Point(x: 0, y: 0), Point(x: 0, y: 1),"},{"text":" Point(x: 1, y: 1), Point(x: 2, y: 1)]"},{"text":" cancellable = points.publisher"},{"text":" .removeDuplicates { prev, current in"},{"text":" // Considers points to be duplicate if the x coordinate"},{"text":" // is equal, and ignores the y coordinate"},{"text":" prev.x == current.x"},{"text":" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: Point(x: 0, y: 0) Point(x: 1, y: 1) Point(x: 2, y: 1)"},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","FloatLiteralType"],"names":{"title":"CustomMaterial.Roughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV4rateAA0D7BuffersO4RateOvp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","rate"],"names":{"title":"rate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a physically based material’s"},{"text":"roughness property."},{"text":""},{"text":"This initializer creates a roughness object by copying the scale and"},{"text":"texture values from an existing"},{"text":"``PhysicallyBasedMaterial/Roughness-swift.struct`` object."},{"text":""},{"text":"With custom materials, the `texture` and `scale` properties of the"},{"text":"``CustomMaterial/Roughness-swift.struct`` object are available in"},{"text":"your surface shader function, but RealityKit doesn’t automatically"},{"text":"use them when rendering your entity. To render an entity with"},{"text":"roughness, ``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_roughness()`."},{"text":""},{"text":"To achieve the same roughness behavior as"},{"text":"``PhysicallyBasedMaterial``, the surface shader function multiplies"},{"text":"roughness scale by the sampled value from the texture, as the"},{"text":"following Metal code demonstrates:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the roughness scale from the CustomMaterial."},{"text":" float roughnessScale = params.material_constants().roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the texture based on the resulting UVs."},{"text":" auto tex = params.textures();"},{"text":" half roughness = tex.roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and the sampled value from the texture, and assign"},{"text":" // the result to the shader's base color property."},{"text":" roughness *= roughnessScale;"},{"text":""},{"text":" // Set the roughness value to be used by the custom material shader."},{"text":" params.surface().set_roughness(roughness);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The physically based material’s roughness property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV8fillModeAA0e4FillG0Vvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove an instance by name."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC13drawableQueueAC0eG0Cvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","drawableQueue"],"names":{"title":"drawableQueue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The DrawableQueue that this Drawable is owned by"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6boundsyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","bounds"],"names":{"title":"PhotogrammetrySession.Request.bounds","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object-creation request that returns a box the same size as the"},{"text":"created model."},{"text":""},{"text":"Use a `bounds` request to quickly retrieve a box the same size as"},{"text":"the final created object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","loadAsync(contentsOf:withName:)"],"names":{"title":"loadAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL asynchronously."},{"text":""},{"text":"RealityKit uses the resource name to distinguish resources locally, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":"- Returns: A load operation that publishes the resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","ArrayLiteralElement"],"names":{"title":"MeshModelCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light it reflects. A material with a high roughness"},{"text":"has a matte appearance, while one with a low roughness has a shiny"},{"text":"appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-Roughness-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"Use this initializer to create an object to specify the amount of"},{"text":"roughness using a single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The roughness value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV5sceneAA0C0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The updated scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/map(_:)-99evh`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/map(_:)-99evh`` to transform from one kind of element to another."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/map(_:)-99evh`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/map(_:)-99evh``’s closure fails to look up a Roman numeral, it returns the string `(unknown)`."},{"text":""},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" cancellable = numbers.publisher"},{"text":" .map { romanNumeralDict[$0] ?? \"(unknown)\" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"V IV III II I (unknown)\""},{"text":""},{"text":"If your closure can throw an error, use Combine’s ``Publisher/tryMap(_:)`` operator instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic"],"names":{"title":"MeshBufferSemantic","navigator":[{"kind":"identifier","spelling":"MeshBufferSemantic"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferSemantic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A protocol that holds an identifier value for mesh buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferSemantic"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Identifiable","preciseIdentifier":"s:s12IdentifiableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasDirectionalLight","shadow"],"names":{"title":"shadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shadow settings for a directional light."},{"text":""},{"text":"Set this value to `nil` to remove shadows."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO10pointCloudyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","pointCloud"],"names":{"title":"PhotogrammetrySession.Request.pointCloud","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloud"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The raw detected points from the pictures with no polygons connecting them."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloud"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample"],"names":{"title":"PhotogrammetrySample","navigator":[{"kind":"identifier","spelling":"PhotogrammetrySample"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhotogrammetrySample"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that represents one image and its corresponding metadata."},{"text":""},{"text":"This object holds a single input image for constructing 3D objects from a"},{"text":"series of photographs, along with the image’s metadata, such as EXIF data or"},{"text":"information about a depth buffer, an object mask, or gravity vector."},{"text":""},{"text":"Use a unique ``RealityKit/PhotogrammetrySample/id-swift.property-8ew3n`` for each ``PhotogrammetrySession`` so RealityKit can distinguish different ``PhotogrammetrySample``"},{"text":"instances in status updates, error messages, and other contexts."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhotogrammetrySample"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV9roughnessAA0D15ScalarParameterOvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness of the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","physicsMotion"],"names":{"title":"physicsMotion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics motion component used by physics simulations of the model"},{"text":"entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19PointLightComponentV","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:)"],"names":{"title":"merge(with:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from four other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 33 2 50 100 -2 33\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyLevelAC010AnisotropyG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","anisotropyLevel"],"names":{"title":"anisotropyLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyLevel","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The degree to which an entity reflects light to create stretched or"},{"text":"oblong highlights."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity that"},{"text":"uses ``PhysicallyBasedMaterial`` reflects light uniformly in all"},{"text":"directions, mimicking the behavior of most real-world objects. Some"},{"text":"objects, including those with many small parallel striations such as"},{"text":"vinyl records, CDs, or straight hair, reflect light more in some"},{"text":"directions than others, resulting in stretched or oblong specular"},{"text":"highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row. The"},{"text":"left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-anisotropyLevel-swift-property-1)"},{"text":""},{"text":"This property controls the amount of anisotropy. It works together with"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property``, which"},{"text":"defines the angle of elongation for the specular highlights."},{"text":""},{"text":"The following example specifies `anisotropyLevel` using single values"},{"text":"for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.anisotropyLevel = .AnisotropyLevel(floatLiteral: 0.5)"},{"text":"```"},{"text":""},{"text":"This example specifies `anisotropyLevel` using a UV-mapped image"},{"text":"texture."},{"text":""},{"text":"```swift"},{"text":"if let anisoLevelResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_level\") {"},{"text":" let anisoLevelMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.anisotropyLevel = .init(texture: anisoLevelMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyLevel","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation"],"names":{"title":"SampledAnimation","navigator":[{"kind":"identifier","spelling":"SampledAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampledAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that cycles through a series of frames at a constant interval."},{"text":""},{"text":"To specify the data that the animation samples, set one of the `frames`"},{"text":"properties that matches the animated property's type. For example, set the"},{"text":"``SampledAnimation/frames-2j4nj`` property to interpolate"},{"text":" values."},{"text":""},{"text":"The following code designates a ``SampledAnimation`` to animate a propery of"},{"text":"type by specifying"},{"text":"the generic typed syntax. The code queues an array of values: `1.0`, `2.0`,"},{"text":"and `3.0`."},{"text":""},{"text":"```swift"},{"text":"// Define the animation type."},{"text":"typealias SampledAnimationType = SampledAnimation"},{"text":""},{"text":"// Define the animated property values."},{"text":"let frameArray: [Float] = [1.0, 2.0, 3.0]"},{"text":"```"},{"text":""},{"text":"To determine how fast the animation progresses from frame to frame, define"},{"text":"this structure's ``SampledAnimation/frameInterval`` property. The following"},{"text":"code specifies a one-second delay between value changes before initializing"},{"text":"the animation object."},{"text":""},{"text":"```swift"},{"text":"// Define a one-second frame interval."},{"text":"let interval = TimeInterval(1.0)"},{"text":""},{"text":"// Create the animation. let sampleAnim = SampledAnimationType.init("},{"text":" frames: frameArray,"},{"text":" name: \"sampledAnim1\","},{"text":" frameInterval: interal"},{"text":" isAdditive: true,"},{"text":" bindTarget: .transform,"},{"text":" blendLayer: 100,"},{"text":" repeatMode: .autoReverse,"},{"text":" fillMode: .backwards,"},{"text":" trimStart: 1.0,"},{"text":" trimEnd: 10.0,"},{"text":" trimDuration: 9.0,"},{"text":" offset: 2.0,"},{"text":" delay: 1.0,"},{"text":" speed: 2.0)"},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampledAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9playAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAudio(_:)"],"names":{"title":"playAudio(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAudio"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays sound from an audio resource on this entity."},{"text":""},{"text":"This method first prepares the audio by calling"},{"text":"``Entity/prepareAudio(_:)``, and then immediately calls the"},{"text":"``AudioPlaybackController/play()`` method on the returned controller."},{"text":""},{"text":"- Parameters:"},{"text":"- resource: The audio resource to play. You typically use the"},{"text":"`loadAsync(named:in:inputMode:loadingStrategy:loops:)` method to get a"},{"text":"resource from a file on disk, or the"},{"text":"`loadAsync(contentsOf:withName:inputMode:loadingStrategy:loops:)` method"},{"text":"to retrieve a resource from a URL."},{"text":""},{"text":"- Returns: An ``AudioPlaybackController`` instance that you use to"},{"text":"manage audio playback. Use the controller to set playback"},{"text":"characteristics like volume and reverb, and then start or stop playback."}]},"functionSignature":{"parameters":[{"name":"resource","declarationFragments":[{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAudio"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility"],"names":{"title":"NetworkCompatibilityToken.Compatibility","navigator":[{"kind":"identifier","spelling":"Compatibility"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Compatibility"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two devices running RealityKit are compatible and able"},{"text":"to connect and sync scenes."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Compatibility"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC6anchorAA12HasAnchoring_pSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","anchor"],"names":{"title":"anchor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The nearest ancestor entity that can act as an anchor."},{"text":""},{"text":"This property returns `nil` if no ancestor can act as an anchor. An"},{"text":"entity can act as an anchor if it adopts the ``HasAnchoring`` protocol."},{"text":"Just because an ancestor can be anchored doesn’t mean that it is."},{"text":"Inspect the ``Entity/isAnchored`` property to see if an entity (or one"},{"text":"of its ancestors) is anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","removeDuplicates()"],"names":{"title":"removeDuplicates()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element."},{"text":""},{"text":"Use ``Publisher/removeDuplicates()`` to remove repeating elements from an upstream publisher. This operator has a two-element memory: the operator uses the current and previously published elements as the basis for its comparison."},{"text":""},{"text":"In the example below, ``Publisher/removeDuplicates()`` triggers on the doubled, tripled, and quadrupled occurrences of `1`, `3`, and `4` respectively. Because the two-element memory considers only the current element and the previous element, the operator prints the final `0` in the example data since its immediate predecessor is `4`."},{"text":""},{"text":" let numbers = [0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .removeDuplicates()"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 0\""},{"text":""},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10repeatModeAA0d6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``OrbitAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``OrbitAnimation/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to find the minimum value in a stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/min(by:)`` operator emits a value when the publisher finishes, that value is the minimum of the values received from upstream, which is `-1`."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .min()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"-1\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV11hitPositions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitPosition"],"names":{"title":"hitPosition","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hit position relative to physics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV11translations5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Transform","translation"],"names":{"title":"translation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity along the x, y, and z axes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","last()"],"names":{"title":"last()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/last()`` when you need to emit only the last element from an upstream publisher."},{"text":""},{"text":"In the example below, the range publisher only emits the last element from the sequence publisher, `10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the last element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withName7optionsAC0B03URLV_SSSgAC13CreateOptionsVtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","load(contentsOf:withName:options:)"],"names":{"title":"load(contentsOf:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL with options."},{"text":""},{"text":"This method loads the image specified by the `URL` and creates a texture"},{"text":"resource from it. This method blocks until it has loaded the image and"},{"text":"created the texture resource."},{"text":""},{"text":"RealityKit uses the resource name to identify resources, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The URL of the resource."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: The loaded resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Roughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged"],"names":{"title":"SceneEvents.AnchoredStateChanged","navigator":[{"kind":"identifier","spelling":"AnchoredStateChanged"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoredStateChanged"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event triggered when the anchored state of an anchoring entity"},{"text":"changes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoredStateChanged"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","measureInterval(using:options:)"],"names":{"title":"measureInterval(using:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Measures and emits the time interval between events received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/measureInterval(using:options:)`` to measure the time between events delivered from an upstream publisher."},{"text":""},{"text":"In the example below, a 1-second is used as the data source for an event publisher; the ``Publisher/measureInterval(using:options:)`` operator reports the elapsed time between the reception of events on the main run loop:"},{"text":""},{"text":" cancellable = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .measureInterval(using: RunLoop.main)"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Stride(magnitude: 1.0013610124588013)"},{"text":" // Stride(magnitude: 0.9992760419845581)"},{"text":""},{"text":"The output type of the returned publisher is the time interval of the provided scheduler."},{"text":""},{"text":"This operator uses the provided scheduler’s ``Scheduler/now`` property to measure intervals between events."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: A scheduler to use for tracking the timing of events."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher that emits elements representing the time interval between the elements it receives."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12prepareAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","interfaceLanguage":"swift"},"pathComponents":["Entity","prepareAudio(_:)"],"names":{"title":"prepareAudio(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepareAudio"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Prepares an audio resource for playback."},{"text":""},{"text":"If you want to start playback right away, use the"},{"text":"``Entity/playAudio(_:)`` method instead."},{"text":""},{"text":"- Parameters:"},{"text":"- resource: The audio resource to prepare. You typically use the"},{"text":"`loadAsync(named:in:inputMode:loadingStrategy:loops:)` method to get a"},{"text":"resource from a file on disk, or the"},{"text":"`loadAsync(contentsOf:withName:inputMode:loadingStrategy:loops:)` method"},{"text":"to retrieve a resource from a URL."},{"text":""},{"text":"- Returns: An ``AudioPlaybackController`` instance that you use to"},{"text":"manage audio playback. Use the controller to set playback"},{"text":"characteristics like volume and reverb, and then start or stop playback."}]},"functionSignature":{"parameters":[{"name":"resource","declarationFragments":[{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepareAudio"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9modelFileAE0B03URLV_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","init(modelFile:)"],"names":{"title":"init(modelFile:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"modelFile"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an instance based on the contents of a USDZ file."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"modelFile"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:_:)"],"names":{"title":"map(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of two key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:)`` operator uses the Swift key path syntax to access the `die1` and `die2` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these two values (as an `(Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1) (total: \\(values.0 + values.1))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 6, 4 (total: 10)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of another property on `Output`."},{"text":"- Returns: A publisher that publishes the values of two key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC010allowsNextE7TimeoutSbvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","allowsNextDrawableTimeout"],"names":{"title":"allowsNextDrawableTimeout","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allowsNextDrawableTimeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that determines whether requests for a new drawable expire if the system can’t satisfy them."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allowsNextDrawableTimeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The specular value for the entire entity or a multiplier for values"},{"text":"sampled from the material’s texture."},{"text":""},{"text":"If ``CustomMaterial/Specular-swift.struct/texture`` is `nil`,"},{"text":"RealityKit uses this value for the opacity of the entire material."},{"text":"If ``CustomMaterial/Specular-swift.struct/texture`` isn’t `nil`,"},{"text":"RealityKit multiplies the value sampled from"},{"text":"``CustomMaterial/Specular-swift.struct/texture`` by this property to"},{"text":"calculate the final opacity values."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instances"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC04findC05namedACSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","findEntity(named:)"],"names":{"title":"findEntity(named:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Recursively searches all descendant entities for one with the given"},{"text":"name."},{"text":""},{"text":"The ``Entity/findEntity(named:)`` method conducts a depth-first,"},{"text":"recursive search over all of the entity’s descendants for one whose"},{"text":"``Entity/name`` property matches the given name. The method returns the"},{"text":"first match. Entity names need not be unique."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The entity name for which to search."},{"text":""},{"text":"- Returns: An entity with the given name, or `nil` if no entity is"},{"text":"found."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO5posesyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","poses"],"names":{"title":"PhotogrammetrySession.Request.poses","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"poses"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests the estimated pose of the camera in each shot (relative to the common estimated coordinate"},{"text":"system shared with the `.bounds` request)."},{"text":""},{"text":"Once initial photogrammetric calculations are complete, a ``PhotogrammetrySession/Poses`` object"},{"text":"will be returned with the estimated camera pose for each sample that was used in the reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"poses"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC04nextE0AC0E0CyKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","nextDrawable()"],"names":{"title":"nextDrawable()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nextDrawable"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Waits until a drawable is available and then returns it. This call can block the calling thread while waiting."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nextDrawable"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read an instance given its name."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12stopAllAudioyyF","interfaceLanguage":"swift"},"pathComponents":["Entity","stopAllAudio()"],"names":{"title":"stopAllAudio()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAudio"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops audio playback."},{"text":""},{"text":"You can stop a specific ``AudioPlaybackController`` instance from"},{"text":"playing a particular resource by calling the controller’s"},{"text":"``AudioPlaybackController/stop()`` method. To stop all controllers"},{"text":"associated with a particular ``Entity`` instance with a single call, use"},{"text":"the ``Entity/stopAllAudio()`` method instead."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAudio"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a custom material’s roughness"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s roughness property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Iterator","rhs":"IndexingIterator","rhsPrecise":"s:s16IndexingIteratorV"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Iterator","rhs":"IndexingIterator","rhsPrecise":"s:s16IndexingIteratorV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:)-48buc`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:_:)-16rcy`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, ``Publisher/combineLatest(_:_:_:)-48buc`` receives input from any of the publishers, combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":" //"},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9, 1)."},{"text":" // Result: (3, 2, 9, 1)."},{"text":" // Result: (3, 12, 9, 1)."},{"text":" // Result: (13, 12, 9, 1)."},{"text":" // Result: (13, 12, 19, 1)."},{"text":""},{"text":"If any individual publisher of the combined set terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy"],"names":{"title":"AudioFileResource.LoadingStrategy","navigator":[{"kind":"identifier","spelling":"LoadingStrategy"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadingStrategy"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Strategies that the playback controller can use to access a resource’s"},{"text":"data during playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadingStrategy"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC8didClone4fromyAC_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","didClone(from:)"],"names":{"title":"didClone(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"didClone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells a newly cloned entity that cloning is complete."},{"text":""},{"text":"This method clones all component data automatically. When you clone an"},{"text":"entity that stores custom data that’s not part of a component, override"},{"text":"the ``Entity/didClone(from:)`` method to copy that data manually after"},{"text":"the clone finishes."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The entity from which the cloned entity was copied."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"source","declarationFragments":[{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"didClone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE6swapAtyy5IndexQz_ACtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","swapAt(_:_:)"],"names":{"title":"swapAt(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"swapAt"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Exchanges the values at the specified indices of the collection."},{"text":""},{"text":"Both parameters must be valid indices of the collection that are not"},{"text":"equal to `endIndex`. Calling `swapAt(_:_:)` with the same index as both"},{"text":"`i` and `j` has no effect."},{"text":""},{"text":"- Parameters:"},{"text":" - i: The index of the first value to swap."},{"text":" - j: The index of the second value to swap."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"j","declarationFragments":[{"kind":"identifier","spelling":"j"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"swapAt"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"j"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assign(to:)"],"names":{"title":"assign(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements received from a publisher, by assigning them to a property marked as a publisher."},{"text":""},{"text":"Use this operator when you want to receive elements from a publisher and republish them through a property marked with the `@Published` attribute. The `assign(to:)` operator manages the life cycle of the subscription, canceling the subscription automatically when the ``Published`` instance deinitializes. Because of this, the `assign(to:)` operator doesn't return an ``AnyCancellable`` that you're responsible for like ``assign(to:on:)`` does."},{"text":""},{"text":"The example below shows a model class that receives elements from an internal , and assigns them to a `@Published` property called `lastUpdated`. Because the `to` parameter has the `inout` keyword, you need to use the `&` operator when calling this method."},{"text":""},{"text":" class MyModel: ObservableObject {"},{"text":" @Published var lastUpdated: Date = Date()"},{"text":" init() {"},{"text":" Timer.publish(every: 1.0, on: .main, in: .common)"},{"text":" .autoconnect()"},{"text":" .assign(to: &$lastUpdated)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"If you instead implemented `MyModel` with `assign(to: lastUpdated, on: self)`, storing the returned ``AnyCancellable`` instance could cause a reference cycle, because the ``Subscribers/Assign`` subscriber would hold a strong reference to `self`. Using `assign(to:)` solves this problem."},{"text":""},{"text":"While the `to` parameter uses the `inout` keyword, this method doesn't replace a reference type passed to it. Instead, this notation indicates that the operator may modify members of the assigned object, as seen in the following example:"},{"text":""},{"text":" class MyModel2: ObservableObject {"},{"text":" @Published var id: Int = 0"},{"text":" }"},{"text":" let model2 = MyModel2()"},{"text":" Just(100).assign(to: &model2.$id)"},{"text":""},{"text":"- Parameter published: A property marked with the `@Published` attribute, which receives and republishes all elements received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"published","declarationFragments":[{"kind":"identifier","spelling":"published"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"published"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given predicate."},{"text":""},{"text":"Use the ``Publisher/allSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/allSatisfy(_:)`` operator tests if each an integer array publisher’s elements fall into the `targetRange`:"},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .allSatisfy { targetRange.contains($0) }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation10PointLightC","interfaceLanguage":"swift"},"pathComponents":["PointLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A point light component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0cD7TextureVyAeA0D10ParametersV0E0Vcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","CustomMaterialTexture","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom texture by copying values from a material"},{"text":"parameters texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The material parameters texture object."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"This property is `nil` by default, which indicates that the animation"},{"text":"stops after one play that spans ``SampledAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``SampledAnimation/trimStart`` and ``SampledAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``SampledAnimation/duration`` causes the animation"},{"text":"to repeat, applying the characteristics defined by"},{"text":"``SampledAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC5speedSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rate of playback of the audio resource, with a range from half speed"},{"text":"to double speed."},{"text":""},{"text":"Use a value of `1` for normal playback. You can set the value from as"},{"text":"low as `0.5` for half speed, to as high as `2` for double speed."},{"text":""},{"text":"Depending on the underlying resource, the playback controller might"},{"text":"ignore the speed value in some cases."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two synchronization components are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first synchronization component to compare."},{"text":""},{"text":" - rhs: The second synchronization component to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two synchronization"},{"text":"components are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMap(_:)"],"names":{"title":"tryMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided error-throwing closure."},{"text":""},{"text":"Combine’s ``Publisher/tryMap(_:)`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/tryMap(_:)`` to transform from one kind of element to another, and to terminate publishing when the map’s closure throws an error."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/tryMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/tryMap(_:)``’s closure fails to look up a Roman numeral, it throws an error. The ``Publisher/tryMap(_:)`` operator catches this error and terminates publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from:Int) throws -> String {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" guard let numeral = romanNumeralDict[from] else {"},{"text":" throw ParseError()"},{"text":" }"},{"text":" return numeral"},{"text":" }"},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"V IV III II I completion: failure(ParseError())\""},{"text":""},{"text":"If your closure doesn’t throw, use ``Publisher/map(_:)-99evh`` instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element. If the closure throws an error, the publisher fails with the thrown error."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat roughness specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueCyA2E10DescriptorVKcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a new drawable queue."},{"text":""},{"text":"- Parameter descriptor: A descriptor object that describes the texture to be created."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillRemoveEntity"],"names":{"title":"SceneEvents.WillRemoveEntity","navigator":[{"kind":"identifier","spelling":"WillRemoveEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemoveEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised before an entity is removed from the scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemoveEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO7triggeryA2EmF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","trigger"],"names":{"title":"CollisionComponent.Mode.trigger","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trigger"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A trigger collision object."},{"text":""},{"text":"When a collision object of this type collides with any other object,"},{"text":"RealityKit records that contact was made, but discards other"},{"text":"details, like contact points, normal vectors, and so on. This makes"},{"text":"a trigger object more performant when all you need is a Boolean"},{"text":"indicator that contact occurred."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trigger"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"models"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer"],"names":{"title":"MeshBuffer","navigator":[{"kind":"identifier","spelling":"MeshBuffer"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mesh buffer containing elements of any type."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffer"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5unionyACs5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box containing the current bounds and the specified"},{"text":"point."},{"text":""},{"text":"- Parameters:"},{"text":" - point: A point in space."},{"text":""},{"text":"- Returns: The new bounding box."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","share()"],"names":{"title":"share()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Shares the output of an upstream publisher with multiple subscribers."},{"text":""},{"text":"The publisher returned by this operator supports multiple subscribers, all of whom receive unchanged elements and completion states from the upstream publisher."},{"text":""},{"text":" - Tip: ``Publishers/Share`` is effectively a combination of the ``Publishers/Multicast`` and ``PassthroughSubject`` publishers, with an implicit ``ConnectablePublisher/autoconnect()``."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator. It uses a ``Publisher/share()`` operator to share the same random number to each of two subscribers. This example uses a ``Publisher/delay(for:tolerance:scheduler:options:)`` operator only to prevent the first subscriber from exhausting the sequence publisher immediately; an asynchronous publisher wouldn’t need this."},{"text":""},{"text":" let pub = (1...3).publisher"},{"text":" .delay(for: 1, scheduler: DispatchQueue.main)"},{"text":" .map( { _ in return Int.random(in: 0...100) } )"},{"text":" .print(\"Random\")"},{"text":" .share()"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: (20)"},{"text":" // Stream 1 received: 20"},{"text":" // Stream 2 received: 20"},{"text":" // Random: receive value: (85)"},{"text":" // Stream 1 received: 85"},{"text":" // Stream 2 received: 85"},{"text":" // Random: receive value: (98)"},{"text":" // Stream 1 received: 98"},{"text":" // Stream 2 received: 98"},{"text":""},{"text":""},{"text":"Without the ``Publisher/share()`` operator, stream 1 receives three random values, followed by stream 2 receiving three different random values."},{"text":""},{"text":"Also note that ``Publishers/Share`` is a class rather than a structure like most other publishers. This means you can use this operator to create a publisher instance that uses reference semantics."},{"text":"- Returns: A class instance that shares elements received from its upstream to multiple subscribers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update"],"names":{"title":"SceneEvents.Update","navigator":[{"kind":"identifier","spelling":"Update"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Update"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event triggered once per frame interval that you can use to execute"},{"text":"custom logic for each frame."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Update"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource"],"names":{"title":"AudioBufferResource","navigator":[{"kind":"identifier","spelling":"AudioBufferResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioBufferResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A resource that contains audio data in memory."},{"text":""},{"text":"This class contains in-memory audio data that the framework plays for the"},{"text":"app. When your app dictates using text-to-speech, the system provides an"},{"text":"audio buffer that the framework plays using this class. You can also load"},{"text":"and play arbitrary audio data from disk."},{"text":""},{"text":"The following code creates an instance of this class and passes in an audio"},{"text":"buffer from disk."},{"text":""},{"text":"```swift"},{"text":"// Create a URL for a file name."},{"text":"let audioFileUrl = URL(fileURLWithPath: \"testFile.aif\")"},{"text":""},{"text":"// Enable spatial playback. var options ="},{"text":"AudioBufferResource.CreateOptions() options.spatialMode = .spatial"},{"text":"options.mixGroupName = \"MySpatialMixGroup1\""},{"text":""},{"text":"// Create an audio buffer and load in the file."},{"text":"let audioFileRead = try AVAudioFile(forReading: audioFileUrl)"},{"text":"let audioFormat = audioFileRead.processingFormat"},{"text":"let audioFrameCount = UInt32(audioFileRead.length)"},{"text":"let audioFileBuffer = AVAudioPCMBuffer(pcmFormat: audioFormat,"},{"text":" frameCapacity: audioFrameCount)"},{"text":""},{"text":"try audioFileRead.read(into: audioFileBuffer!)"},{"text":""},{"text":"// Create an instance of this class from the audio buffer."},{"text":"let createdAudioBuffer = try AudioBufferResource(buffer: audioFileBuffer!,"},{"text":" options: options)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioBufferResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO7defaultyA2EmF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","default"],"names":{"title":"CollisionComponent.Mode.default","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default collision object."},{"text":""},{"text":"When two objects of this type collide, RealityKit computes the full"},{"text":"contact details (contact points, normal vectors, penetration depths,"},{"text":"and so on) and stores them in the contact set."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms"],"names":{"title":"JointTransforms","navigator":[{"kind":"identifier","spelling":"JointTransforms"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of animatable transform values for joints that collectively represent"},{"text":"a single skeletal pose."},{"text":""},{"text":"This structure provides a template that informs an animation on how to animate a"},{"text":"character. The resulting movement bases on"},{"text":"the _from_ (``FromToByAnimation/fromValue-6msd``)"},{"text":", _to_ (``FromToByAnimation/toValue-813jk``)"},{"text":", or _by_ values (``FromToByAnimation/byValue-3bp3q``) you"},{"text":"supply for a ``FromToByAnimation``. The animation determines which joints take"},{"text":"on the movement through its ``FromToByAnimation/jointNames`` property."},{"text":""},{"text":"## Animate an Entity's Skeleton"},{"text":""},{"text":"The following code moves the joints of a 3D asset by specifying the joint,"},{"text":"`joint1`, beginning, and ending values."},{"text":""},{"text":"```swift"},{"text":"// Define the joint's pose at the start of the animation."},{"text":"let fromTransforms: [Transform] = [Transform(scale: SIMD3(1, 2, 3), rotation: simd_quatf(ix: 5.0, iy: 6.0, iz: 7.0, r: 8.0), translation: SIMD3(10, 20, 30))]"},{"text":"let fromPose = JointTransforms(fromTransforms)"},{"text":""},{"text":"// Define the joint's pose at the end of the animation."},{"text":"let toTransforms: [Transform] = [Transform(scale: SIMD3(10, 20, 30), rotation:"},{"text":"simd_quatf(ix: 50.0, iy: 60.0, iz: 70.0, r: 80.0), translation:"},{"text":"SIMD3(100, 200, 300)) ]"},{"text":"let toPose = JointTransforms(toTransforms)"},{"text":""},{"text":"// Indicate that the animation applies to the joint named 'joint1'."},{"text":"let jointNames = [\"joint1\"]"},{"text":""},{"text":"// Configure the animation specifics."},{"text":"var fromToBy = FromToByAnimation()"},{"text":"fromToBy.name = \"anim\""},{"text":"fromToBy.blendLayer = 100"},{"text":"fromToBy.duration = 10.0"},{"text":"fromToBy.fillMode = .forwards"},{"text":"fromToBy.jointNames = jointNames"},{"text":"fromToBy.fromValue = fromPose"},{"text":"fromToBy.toValue = toPose"},{"text":"fromToBy.bindTarget = .transform"},{"text":""},{"text":"// Generate a resource from the animation."},{"text":"let animationResource = fromToBy.create()"},{"text":"```"},{"text":""},{"text":"To run the animation on an entity and animate the joints, call"},{"text":"`playAnimation(_:transitionDuration:startsPaused:)`. Optionally, you can"},{"text":"control the animation's playback by storing the returned controller object."},{"text":""},{"text":"```swift"},{"text":"// Play the animation on an entity."},{"text":"let entity = AnchorEntity(...)"},{"text":"let controller = entity.playAnimation(animationResource)"},{"text":""},{"text":"// Optionally control playback using the returned controller."},{"text":"controller.pause()"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity"],"names":{"title":"SceneEvents.DidReparentEntity","navigator":[{"kind":"identifier","spelling":"DidReparentEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidReparentEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity has been reparented within the same scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidReparentEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The elapsed time for one complete rotation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``OrbitAnimation/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``OrbitAnimation/trimStart``, ``OrbitAnimation/trimEnd``, or"},{"text":"``OrbitAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21BodyTrackingComponentV6TargetO","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","Target","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitEntityAA0H0Cvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitEntity"],"names":{"title":"hitEntity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity that was hit by the character controller."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4axiss5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","axis"],"names":{"title":"axis","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A 3D vector that points in the direction of the axis around which to"},{"text":"rotate."},{"text":""},{"text":"You can rotate an object around any axis. For example, if you set a `1`"},{"text":"in the vector's x-coordinate, rotation occurs around the x-axis, as in"},{"text":"the following code."},{"text":""},{"text":"```swift"},{"text":"orbitAnimation.axis = SIMD3(x: 1.0, y: 0.0, z: 0.0)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11mipmapsModeAC07MipmapsH0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how mipmaps are handled for each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidActivateEntity"],"names":{"title":"SceneEvents.DidActivateEntity","navigator":[{"kind":"identifier","spelling":"DidActivateEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivateEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity becomes active."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivateEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16DirectionalLightCACycfc","interfaceLanguage":"swift"},"pathComponents":["DirectionalLight","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read a model given its name."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyAngleAC010AnisotropyG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","anisotropyAngle"],"names":{"title":"anisotropyAngle","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyAngle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyAngle","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy angle."},{"text":""},{"text":"This property controls the scattering angle for anisotropic objects. If"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` is `0.0`,"},{"text":"this property has no effect. This property takes a value between `0.0"},{"text":"`and `1.0` or a UV-mapped grayscale image specifying angles for"},{"text":"different parts of the entity.` A` value of black (`0.0)` means a"},{"text":"rotation of 0° and a value of white (`1.0)` indicates a rotation of"},{"text":"360°. To determine the"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property`` value from an"},{"text":"angle, divide the desired angle in degrees by `360.0` or the desired"},{"text":"angle in radians by pi times 2."},{"text":""},{"text":"```swift"},{"text":"let angleDegrees = Float(125.0)"},{"text":"let anisotropyAngleFromDegrees = angleDegrees / 360.0"},{"text":""},{"text":"let angleRadians = Float(2.181662) let anisotropyAngleFromRadians ="},{"text":"angleRadians / (Float.pi * Float(2.0))"},{"text":"```"},{"text":""},{"text":"The following example shows how to specify `anisotropyAngle` using"},{"text":"single values for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.anisotropyAngle = .AnisotropyAngle(floatLiteral: 0.25)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify anisotropy using a UV-mapped image"},{"text":"texture for ``PhysicallyBasedMaterial/anisotropyLevel-swift.property``"},{"text":"and a separate image for"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property``:"},{"text":""},{"text":"```swift"},{"text":"if let anisoLevelResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_level\") {"},{"text":" let anisoLevelMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.anisotropyLevel = .init(texture: anisoLevelMap)"},{"text":"}"},{"text":"if let anisoAngleResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_angle\") {"},{"text":" let anisoAngleMap = MaterialParameters.Texture(anisoAngleResource)"},{"text":" material.anisotropyAngle = .init(texture: anisoAngleMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyAngle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyAngle","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidAddEntity"],"names":{"title":"SceneEvents.DidAddEntity","navigator":[{"kind":"identifier","spelling":"DidAddEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAddEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity is added to the scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAddEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV26textureCoordinateTransformAA0D14ParameterTypesV07TexturefG0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","textureCoordinateTransform"],"names":{"title":"textureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation RealityKit applies to the entity’s"},{"text":"primary texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates control how RealityKit materials map"},{"text":"image textures onto an entity. Use this property to transform the"},{"text":"texture coordinates and change the way this material maps its textures."},{"text":"For example, you might change the scale of the UV coordinates to apply a"},{"text":"tiled, repeating pattern to the surface of your entity, or continuously"},{"text":"rotate or translate the texture coordinates to animate materials and"},{"text":"create special effects, such as fire or flowing liquids."},{"text":""},{"text":"The following example shows how to set a material’s UV transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees"},{"text":"converted to radians. material.textureCoordinateTransform ="},{"text":".init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"The material’s shader function doesn’t have to do anything to apply the"},{"text":"transformation. When the shader calls `params.geometry().uv1()`,"},{"text":"RealityKit already transforms the returned coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the value of a key path."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:)-6sm0a`` operator uses the Swift key path syntax to access the `die` member of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only the value of this `Int`, not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die:Int.random(in:1...6)))"},{"text":" .map(\\.die)"},{"text":" .sink {"},{"text":" print (\"Rolled: \\($0)\")"},{"text":" }"},{"text":" // Prints \"Rolled: 3\" (or some other random value)."},{"text":""},{"text":"- Parameter keyPath: The key path of a property on `Output`."},{"text":"- Returns: A publisher that publishes the value of the key path."}]},"functionSignature":{"parameters":[{"name":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","ArrayLiteralElement"],"names":{"title":"MeshInstanceCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the source animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Indices"],"names":{"title":"Scene.AnchorCollection.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents the indices that are valid for subscripting"},{"text":"the collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:_:)"],"names":{"title":"combineLatest(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:_:)`` when you need to combine the current and 3 additional publishers and transform the values using a closure in which you specify the published elements, to publish a new element."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, as ``Publisher/combineLatest(_:_:_:_:)`` receives the most-recent values published by four publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4) { firstValue, secondValue, thirdValue, fourthValue in"},{"text":" return firstValue * secondValue * thirdValue * fourthValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 36. // pub = 2, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 54. // pub = 3, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 324. // pub = 3, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 1404. // pub = 13, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 2964. // pub = 13, pub2 = 12, pub3 = 19, pub4 = 1"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO6manualyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","manual"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode.manual","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"manual"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Require explicit ownership request confirmation."},{"text":""},{"text":"Handle the ``SynchronizationEvents/OwnershipRequest`` event to find"},{"text":"out when a peer requests ownership of an entity, and call the method"},{"text":"stored in the requests’s"},{"text":"``SynchronizationEvents/OwnershipRequest/accept`` property to"},{"text":"confirm the transfer of ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"manual"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillDeactivateEntity"],"names":{"title":"SceneEvents.WillDeactivateEntity","navigator":[{"kind":"identifier","spelling":"WillDeactivateEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivateEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised before an entity becomes inactive."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivateEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent"],"names":{"title":"ModelDebugOptionsComponent","navigator":[{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that changes how RealityKit renders its entity to help with"},{"text":"debugging."},{"text":""},{"text":"Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells"},{"text":"RealityKit to change the way it renders that entity based on a specified"},{"text":"``ModelDebugOptionsComponent/visualizationMode-swift.property``. This"},{"text":"component isolates individual parts of the rendering process, such as the"},{"text":"entity’s transparency or roughness, and displays surface color to help"},{"text":"identify visual anomalies."},{"text":""},{"text":"To use this component, create a `ModelDebugOptionsComponent` and set its"},{"text":"``ModelDebugOptionsComponent/visualizationMode-swift.property`` to the"},{"text":"desired value. Then, set the component as the entity’s"},{"text":"``ModelEntity/modelDebugOptions`` property:"},{"text":""},{"text":"```swift"},{"text":"if let robot = anchor.findEntity(named: \"Robot\") as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .normal)"},{"text":" robot.modelDebugOptions = component"},{"text":"}"},{"text":"```"},{"text":""},{"text":"For more information on the visualization modes supported by"},{"text":"`ModelDebugOptionsComponent`, see"},{"text":"``ModelDebugOptionsComponent/VisualizationMode-swift.enum``."},{"text":""},{"text":"## Attach a Debug Component to an Entity"},{"text":""},{"text":"To attach a debug component to a particular entity, traverse the entity tree"},{"text":"while passing the component to each child:"},{"text":""},{"text":"```swift"},{"text":"// Traverse the entity tree to attach a certain debug mode through components."},{"text":"func attachDebug(entity: Entity, debug:"},{"text":"ModelDebugOptionsComponent) {"},{"text":" entity.components.set(debug)"},{"text":" for child in entity.children {"},{"text":" attachDebug(entity: child, debug: debug)"},{"text":" }"},{"text":"}"},{"text":"// Respond to a button or UI element. func"},{"text":"debugLightingDiffuseButtonCallback() {"},{"text":" let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" attachDebug(entity: model, debug: debugComponent)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"## Attach a Debug Component to a Trait"},{"text":""},{"text":"To attach a debug component based on a trait, traverse the entity tree while"},{"text":"checking for ``HasModel`` adoption:"},{"text":""},{"text":"```swift"},{"text":"func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent)"},{"text":"{"},{"text":" if let model = entity as? ModelEntity {"},{"text":" model.visualizationMode = debug"},{"text":" }"},{"text":" for child in entity.children {"},{"text":" attachDebug(entity: child, debug: debug)"},{"text":" }"},{"text":"}"},{"text":"// Respond to a button or UI element. func"},{"text":"debugLightingDiffuseButtonCallback() {"},{"text":" let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" attachDebug(entity: model, debug: debugComponent)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5usageSo15MTLTextureUsageVvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","usage"],"names":{"title":"usage","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how you can use each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO10autoAcceptyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","autoAccept"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode.autoAccept","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoAccept"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Grant ownership requests automatically."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoAccept"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","modelDebugOptions"],"names":{"title":"modelDebugOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configures the debug visualization of this model."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO","interfaceLanguage":"swift"},"pathComponents":["TweenMode"],"names":{"title":"TweenMode","navigator":[{"kind":"identifier","spelling":"TweenMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TweenMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine whether an animation switches between frames"},{"text":"gradually or abruptly."},{"text":""},{"text":"This enumeration declares the options for a sampled animation's"},{"text":"``SampledAnimation/tweenMode``. The gradual or abrupt change, or"},{"text":"_interpolation_, refers to the visual behavior that occurs between adjacent"},{"text":"values in a sampled animation's ``SampledAnimation/frames-2hobp``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TweenMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a synchronization component."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until the"},{"text":"``SampledAnimation/end`` frame interval. If you set a value, the"},{"text":"animation subtracts an additional seconds duration from the animation"},{"text":"data that the ``SampledAnimation/end`` frame interval references."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The relative joint transforms of the model entity."},{"text":""},{"text":"Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints."},{"text":""},{"text":"- Note: Active animations may override the joint transforms set using this property.."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over pairs of elements."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","EmissiveColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional image texture that defines the color of light emission."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController"],"names":{"title":"AnimationPlaybackController","navigator":[{"kind":"identifier","spelling":"AnimationPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A controller that manages animation playback."},{"text":""},{"text":"This class controls the playback of an entity animation by providing its pause, resume, or stop functions."},{"text":""},{"text":"The animation starts immediately after you call ``Entity/playAnimation(_:transitionDuration:startsPaused:)``, or ``Entity/move(to:relativeTo:duration:timingFunction:)-905k``, which both return an instance of this class."},{"text":""},{"text":"A controller invalidates after its associated animation completes or stops. To play another animation, perform an action that generates another controller."},{"text":""},{"text":"While an animation plays, you can receive notification of particular playback states by subscribing to an event. For more information, see ``AnimationEvents``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO","interfaceLanguage":"swift"},"pathComponents":["BindTarget"],"names":{"title":"BindTarget","navigator":[{"kind":"identifier","spelling":"BindTarget"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindTarget"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to a particular scene, entity, or property that animates."},{"text":""},{"text":"This structure describes a reference to an animated property. The property"},{"text":"may be a transform, collection of joint transforms, an arbitrary named"},{"text":"property of an entity, or the property of a nested entity."},{"text":""},{"text":"For nested entities, the ``BindTarget/path(_:)`` case returns a ``BindPath``"},{"text":"instance that contains an array of _parts_ (``BindPath/Part``). Each part"},{"text":"identifies one or more nested, named entities or scenes, followed by the"},{"text":"property to animate."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindTarget"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9SpotLightCACycfc","interfaceLanguage":"swift"},"pathComponents":["SpotLight","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","receive(on:options:)"],"names":{"title":"receive(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to receive elements from the publisher."},{"text":""},{"text":"You use the ``Publisher/receive(on:options:)`` operator to receive results and completion on a specific scheduler, such as performing UI work on the main run loop. In contrast with ``Publisher/subscribe(on:options:)``, which affects upstream messages, ``Publisher/receive(on:options:)`` changes the execution context of downstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `jsonPublisher` to receive requests on `backgroundQueue`, while the"},{"text":"``Publisher/receive(on:options:)`` causes `labelUpdater` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let jsonPublisher = MyJSONLoaderPublisher() // Some publisher."},{"text":" let labelUpdater = MyLabelUpdateSubscriber() // Some subscriber that updates the UI."},{"text":""},{"text":" jsonPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(labelUpdater)"},{"text":""},{"text":""},{"text":"Prefer ``Publisher/receive(on:options:)`` over explicit use of dispatch queues when performing work in subscribers. For example, instead of the following pattern:"},{"text":""},{"text":" pub.sink {"},{"text":" DispatchQueue.main.async {"},{"text":" // Do something."},{"text":" }"},{"text":" }"},{"text":""},{"text":"Use this pattern instead:"},{"text":""},{"text":" pub.receive(on: DispatchQueue.main).sink {"},{"text":" // Do something."},{"text":" }"},{"text":""},{"text":" > Note: ``Publisher/receive(on:options:)`` doesn’t affect the scheduler used to call the subscriber’s ``Subscriber/receive(subscription:)`` method."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler the publisher uses for element delivery."},{"text":" - options: Scheduler options used to customize element delivery."},{"text":"- Returns: A publisher that delivers elements using the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource"],"names":{"title":"EnvironmentResource","navigator":[{"kind":"identifier","spelling":"EnvironmentResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EnvironmentResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a environment resource for use in the `ARView.Environment`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EnvironmentResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect(_:)"],"names":{"title":"collect(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects up to the specified number of elements, and then emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:)`` to emit arrays of at most `count` elements from an upstream publisher. If the upstream publisher finishes before collecting the specified number of elements, the publisher sends an array of only the items it received. This may be fewer than `count` elements."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"In the example below, the ``Publisher/collect(_:)`` operator emits one partial and two full arrays based on the requested collection size of `5`:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect(5)"},{"text":" .sink { print(\"\\($0), terminator: \" \"\") }"},{"text":""},{"text":" // Prints \"[0, 1, 2, 3, 4] [5, 6, 7, 8, 9] [10] \""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameter count: The maximum number of received elements to buffer before publishing."},{"text":"- Returns: A publisher that collects up to the specified number of elements, and then publishes them as an array."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","init(mesh:materials:)"],"names":{"title":"init(mesh:materials:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model component from a mesh and a collection of materials."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: The mesh that describes the shape of the model."},{"text":""},{"text":" - materials: Materials used to give the mesh a certain visual appearance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over three elements per step."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO10IdentifierV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioResource"],"names":{"title":"AudioResource","navigator":[{"kind":"identifier","spelling":"AudioResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An audio resource that can be played by an entity."},{"text":""},{"text":"The ``AudioResource`` class stores audio that you can play from any entity"},{"text":"in your scene. Typically, you use an instance of the ``AudioFileResource``"},{"text":"subclass, however, which adds the ability to load the audio data from a file"},{"text":"(for example, from an `.aiff` file stored in your app’s bundle) or from a"},{"text":"URL."}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8RawValuea","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","RawValue"],"names":{"title":"PhotogrammetrySession.Request.Detail.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Element"],"names":{"title":"MeshInstanceCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9clearcoatAC9ClearcoatVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","clearcoat"],"names":{"title":"clearcoat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparent highlights that simulate a clear, shiny coating on an"},{"text":"entity."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"coating, like on a car or the surface of lacquered objects."},{"text":""},{"text":"This property allows you to specify"},{"text":"``PhysicallyBasedMaterial/clearcoat-swift.property`` using a single"},{"text":"`Float` that applies to the entire material, or a UV-mapped grayscale"},{"text":"image to provide different values for different parts of an entity."},{"text":""},{"text":"The following example specifies `clearcoat` using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoat = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify `clearcoat` using a UV-mapped image"},{"text":"texture:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatResource = try? TextureResource.load(named:"},{"text":"\"entity_clearcoat\") {"},{"text":" let clearcoatMap = MaterialParameters.Texture(clearcoatResource)"},{"text":" material.clearcoat = .init(texture: clearcoatMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, RealityKit doesn’t automatically use the values"},{"text":"you set for this property to render your entity. The values from this"},{"text":"property are available to the custom material’s surface shader, but it"},{"text":"doesn’t render a clearcoat unless the custom material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the surface"},{"text":"shader calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the scale and"},{"text":"texture from this property, and use them to enable clearcoat rendering."},{"text":""},{"text":"```other"},{"text":" // Retrieve the clearcoat scale from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or .reality files use texture coordinates with a"},{"text":" // flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the clearcoat texture using the texture coordinates."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and sampled value from the texture, and assign"},{"text":" // the result."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8rawValueAGSgSi_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6filterAA0C6FilterVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","filter"],"names":{"title":"filter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision filter used to segregate entities into different collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance"],"names":{"title":"MeshResource.Instance","navigator":[{"kind":"identifier","spelling":"Instance"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Instance"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that transforms a model to a location."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Instance"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV6matrixSo13simd_float4x4avp","interfaceLanguage":"swift"},"pathComponents":["Transform","matrix"],"names":{"title":"matrix","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform represented as a 4x4 matrix."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Using a 4x4 matrix to set the"},{"text":"transform is therefore a lossy event that might result in certain"},{"text":"transformations, like shear, being dropped."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial"],"names":{"title":"CustomMaterial","navigator":[{"kind":"identifier","spelling":"CustomMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A material that works with custom Metal shader functions."},{"text":""},{"text":"Custom, or programmable, materials allow you to leverage RealityKit’s"},{"text":"existing shader pipeline to render physically based or unlit materials that"},{"text":"support custom Metal shader functions. These functions modify how RealityKit"},{"text":"renders an entity. Custom materials support two different types of custom"},{"text":"Metal shader functions: geometry modifiers and surface shaders."},{"text":""},{"text":"Use a _surface shader _to calculate or specify all the material attributes"},{"text":"that RealityKit uses to render your entity, such as"},{"text":"``CustomMaterial/baseColor-swift.property``,"},{"text":"``CustomMaterial/normal-swift.property``, and"},{"text":"``CustomMaterial/roughness-swift.property``. A _geometry modifier_ can"},{"text":"offset the position of an entity’s vertices to change the size and shape of"},{"text":"an entity. It can also change other per-vertex data, such as vertex color"},{"text":"and UV texture coordinates, which define how RealityKit maps textures on to"},{"text":"the model."},{"text":""},{"text":"- Important: For the Metal API documentation for custom material shader"},{"text":"functions, see the Metal RealityKit APIs"},{"text":"PDF."},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see ."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8rawValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``OrbitAnimation/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidAddEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CustomMaterialV13LightingModelO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","throttle(for:scheduler:latest:)"],"names":{"title":"throttle(for:scheduler:latest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes either the most-recent or first element published by the upstream publisher in the specified time interval."},{"text":""},{"text":"Use ``Publisher/throttle(for:scheduler:latest:)`` to selectively republish elements from an upstream publisher during an interval you specify. Other elements received from the upstream in the throttling interval aren’t republished."},{"text":""},{"text":"In the example below, a produces elements on one-second intervals; the ``Publisher/throttle(for:scheduler:latest:)`` operator delivers the first event, then republishes only the latest event in the following ten second intervals:"},{"text":""},{"text":" cancellable = Timer.publish(every: 3.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .print(\"\\(Date().description)\")"},{"text":" .throttle(for: 10.0, scheduler: RunLoop.main, latest: true)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print(\"Received Timestamp \\($0).\") }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:26:57 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:26:57 +0000."},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:00 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:03 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:06 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:09 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:27:09 +0000."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The interval at which to find and emit either the most recent or the first element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to publish elements."},{"text":" - latest: A Boolean value that indicates whether to publish the most recent element. If `false`, the publisher emits the first element received during the interval."},{"text":"- Returns: A publisher that emits either the most-recent or first element received during the specified interval."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"latest","declarationFragments":[{"kind":"identifier","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator"],"names":{"title":"MeshModelCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV6anchorAA12HasAnchoring_pvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged","anchor"],"names":{"title":"anchor","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity whose anchoring state changed."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19CustomMaterialErrorO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE5first5where7ElementQzSgSbAEYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `first(where:)` method returns the first"},{"text":"member of the sequence that's evenly divisible by both `2` and `3`."},{"text":""},{"text":" let divisibleBy2And3 = await Counter(howHigh: 10)"},{"text":" .first { $0 % 2 == 0 && $0 % 3 == 0 }"},{"text":" print(divisibleBy2And3 ?? \"none\")"},{"text":" // Prints \"6\""},{"text":""},{"text":"The predicate executes each time the asynchronous sequence produces an"},{"text":"element, until either the predicate finds a match or the sequence ends."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the asynchronous"},{"text":" sequence as its argument and returns a Boolean value that indicates"},{"text":" whether the element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16InternalBindPathV","interfaceLanguage":"swift"},"pathComponents":["InternalBindPath"],"names":{"title":"InternalBindPath","navigator":[{"kind":"identifier","spelling":"InternalBindPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InternalBindPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for framework-provided properties."},{"text":""},{"text":"This structure defines a bind path for the ``BindTarget/internal(_:)`` case."},{"text":"As a reference to framework properties, this bind target hides its path. You"},{"text":"can, however, store and assign instances of this structure."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InternalBindPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC13playAnimation5named18transitionDuration12startsPaused9recursiveAA0E18PlaybackControllerCSS_SdS2btF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(named:transitionDuration:startsPaused:recursive:)"],"names":{"title":"playAnimation(named:transitionDuration:startsPaused:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays all the animations with the given name on the entity."},{"text":""},{"text":"The method plays all the animations in the"},{"text":"``Entity/availableAnimations`` property with a matching name. If there"},{"text":"are none, the method returns a controller showing a stopped animation."},{"text":""},{"text":"- Parameters:"},{"text":" - animationName: The name of the animation."},{"text":""},{"text":"- transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":"- startsPaused: A Boolean that you set to `true` to return from the call"},{"text":"with the animations paused. Set to `false` to start the animations right"},{"text":"away."},{"text":""},{"text":"- recursive: Indicates whether to also play animations on all"},{"text":"descendants of the entity."},{"text":""},{"text":"- Returns: An animation playback controller that you can use to start"},{"text":"and stop the animations."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"animationName","declarationFragments":[{"kind":"identifier","spelling":"animationName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animationName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use playAnimation functions that utilize an AnimationResource instead of a name.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect()"],"names":{"title":"collect()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects all received elements, and emits a single array of the collection when the upstream publisher finishes."},{"text":""},{"text":"Use ``Publisher/collect()`` to gather elements into an array that the operator emits after the upstream publisher finishes."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"This publisher requests an unlimited number of elements from the upstream publisher and uses an unbounded amount of memory to store the received values. The publisher may exert memory pressure on the system for very large sets of elements."},{"text":""},{"text":"The ``Publisher/collect()`` operator only sends the collected array to its downstream receiver after a request whose demand is greater than 0 items. Otherwise, ``Publisher/collect()`` waits until it receives a non-zero request."},{"text":""},{"text":"In the example below, an Integer range is a publisher that emits an array of integers:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\""},{"text":""},{"text":"- Returns: A publisher that collects all received items and returns them as an array upon completion."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s normal map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``BlendTreeAnimation/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource"],"names":{"title":"AudioFileResource","navigator":[{"kind":"identifier","spelling":"AudioFileResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioFileResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An audio resource that you load from a file or from a URL."},{"text":""},{"text":"Load an audio file resource, like an audio file stored in `.aiff` format, by"},{"text":"calling one of the `load` functions. Use the resource to create an"},{"text":"``AudioPlaybackController`` instance by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` function. The controller plays the audio from"},{"text":"the location in space of the entity that created the controller. If you use"},{"text":"the spatial input mode (``AudioResource/InputMode-swift.enum/spatial``) the"},{"text":"sound grows louder as the user moves toward the entity in an AR experience."}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioFileResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryDrop(while:)"],"names":{"title":"tryDrop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until an error-throwing closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/tryDrop(while:)`` to omit elements from an upstream until an error-throwing closure you provide returns false, after which the remaining items in the stream are published. If the closure throws, no elements are emitted and the publisher fails with an error."},{"text":""},{"text":"In the example below, elements are ignored until `-1` is encountered in the stream and the closure returns `false`. The publisher then republishes the remaining elements and finishes normally. Conversely, if the `guard` value in the closure had been encountered, the closure would throw and the publisher would fail with an error."},{"text":""},{"text":" struct RangeError: Error {}"},{"text":" var numbers = [1, 2, 3, 4, 5, 6, -1, 7, 8, 9, 10]"},{"text":" let range: CountableClosedRange = (1...100)"},{"text":" cancellable = numbers.publisher"},{"text":" .tryDrop {"},{"text":" guard $0 != 0 else { throw RangeError() }"},{"text":" return range.contains($0)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 7 8 9 10 completion: finished\""},{"text":" // If instead numbers was [1, 2, 3, 4, 5, 6, 0, -1, 7, 8, 9, 10], tryDrop(while:) would fail with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`, and then republishes all remaining elements. If the predicate closure throws, the publisher fails with an error."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional image texture that defines the color of light emission."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","difference(from:)"],"names":{"title":"difference(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference needed to produce this collection's ordered"},{"text":"elements from the given collection."},{"text":""},{"text":"This function does not infer element moves. If you need to infer moves,"},{"text":"call the `inferringMoves()` method on the resulting difference."},{"text":""},{"text":"- Parameters:"},{"text":" - other: The base state."},{"text":""},{"text":"- Returns: The difference needed to produce this collection's ordered"},{"text":" elements from the given collection."},{"text":""},{"text":"- Complexity: Worst case performance is O(*n* * *m*), where *n* is the"},{"text":" count of this collection and *m* is `other.count`. You can expect"},{"text":" faster execution when the collections share many common elements, or"},{"text":" if `Element` conforms to `Hashable`."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BidirectionalCollection","preciseIdentifier":"s:SK"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","switchToLatest()"],"names":{"title":"switchToLatest()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"switchToLatest"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements sent by the most recently received publisher."},{"text":""},{"text":"This operator works with an upstream publisher of publishers, flattening the stream of elements to appear as if they were coming from a single stream of elements. It switches the inner publisher as new ones arrive but keeps the outer publisher constant for downstream subscribers."},{"text":""},{"text":"When this operator receives a new publisher from the upstream publisher, it cancels its previous subscription. Use this feature to prevent earlier publishers from performing unnecessary work, such as creating network request publishers from frequently updating user interface publishers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"switchToLatest"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8MaterialP","interfaceLanguage":"swift"},"pathComponents":["Material"],"names":{"title":"Material","navigator":[{"kind":"identifier","spelling":"Material"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Material"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that describes the material aspects of a mesh, like color and"},{"text":"texture."},{"text":""},{"text":"In RealityKit, a _material_ defines the surface properties of a 3D model. It"},{"text":"specifies how RealityKit renders the entity, including its color and whether"},{"text":"it’s shiny or reflective. A ``ModelEntity`` may have one material that"},{"text":"defines the way RealityKit renders the entire entity, or it may have several"},{"text":"that define the look of different parts of the model."},{"text":""},{"text":"RealityKit provides several different material structures for different"},{"text":"types of rendering, including ``PhysicallyBasedMaterial``, which is a"},{"text":"versatile material capable of simulating real-world objects in a highly"},{"text":"realistic manner, and ``UnlitMaterial``, which RealityKit draws with no"},{"text":"lighting effects or shadows."},{"text":""},{"text":"If you import a model from a USDZ file, RealityKit automatically creates one"},{"text":"or more ``PhysicallyBasedMaterial`` instances from the material properties"},{"text":"contained in the file."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Material"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation from the"},{"text":"starting frame defined by ``SampledAnimation/start``."},{"text":""},{"text":"If you set a value for this property, the animation visually begins from"},{"text":"an additional seconds offset from the starting frame and decreases the"},{"text":"duration by that amount."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``SampledAnimation/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV02isE0Sbvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged","isAnchored"],"names":{"title":"isAnchored","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The current anchoring state of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21ownershipTransferModeAC09OwnershipfG0Ovp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","ownershipTransferMode"],"names":{"title":"ownershipTransferMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ownershipTransferMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s transfer ownership mode."},{"text":""},{"text":"By default, the transfer mode is"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``."},{"text":"You can set it to"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual`` to"},{"text":"require explicit confirmation of the request by your app."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ownershipTransferMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV5scale8rotation11translationACs5SIMD3VySfG_So10simd_quatfaAItcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(scale:rotation:translation:)"],"names":{"title":"init(scale:rotation:translation:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transformation using the given values."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A scale factor."},{"text":""},{"text":" - rotation: The rotation given as a unit quaternion."},{"text":""},{"text":"- translation: The translation, or position along the x, y, and z axes."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 1, y: 1, z: 1), "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" = simd_quaternion(0, 0, 0, 1), "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 0, y: 0, z: 0))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until a given closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/drop(while:)`` to omit elements from an upstream publisher until the element received meets a condition you specify."},{"text":""},{"text":"In the example below, the operator omits all elements in the stream until the first element arrives that’s a positive integer, after which the operator publishes all remaining elements:"},{"text":""},{"text":" let numbers = [-62, -1, 0, 10, 0, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .drop { $0 <= 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10 0, 22 41 -1 5\""},{"text":""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Element"],"names":{"title":"MeshModelCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasDirectionalLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A directional light component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:_:_:)"],"names":{"title":"map(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of three key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:_:)`` operator uses the Swift key path syntax to access the `die1`, `die2`, and `die3` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these three values (as an `(Int, Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" let die3: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6),"},{"text":" die3: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2, \\.die3)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1), \\(values.2) (total \\(values.0 + values.1 + values.2))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 5, 4, 2 (total 11)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of a second property on `Output`."},{"text":" - keyPath2: The key path of a third property on `Output`."},{"text":"- Returns: A publisher that publishes the values of three key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},{"name":"keyPath2","declarationFragments":[{"kind":"identifier","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1},{"name":"T2","index":2,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model"],"names":{"title":"MeshResource.Model","navigator":[{"kind":"identifier","spelling":"Model"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Model"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A model consists of a list of parts."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Model"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off the specified number of elements"},{"text":" at the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat roughness object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. When you enable clearcoat"},{"text":"rendering for a material, RealityKit renders the clearcoat as a"},{"text":"separate layer just above the surface of the entity. You can specify"},{"text":"a clearcoat roughness value for the clearcoat to indicate how much"},{"text":"the clearcoat scatters light that bounces off of it, which softens"},{"text":"and spreads out the highlights."},{"text":""},{"text":"This initializer creates an object that specifies the clearcoat"},{"text":"roughness for a material using a single value for the entire"},{"text":"material."},{"text":""},{"text":"- Parameters:"},{"text":"- value: The clearcoat roughness value to use for the entire"},{"text":"material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16ambientOcclusionAC07AmbientG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ambientOcclusion"],"names":{"title":"ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ambient occlusion values for a material."},{"text":""},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":""},{"text":"Specify ambient occlusion using a UV-mapped image called an _ambient"},{"text":"occlusion map_. A value of black (`0.0`) represents parts of the model"},{"text":"that receive less ambient light because that part of the model is a"},{"text":"crevice, dent, or recessed area, or because another part of the same"},{"text":"entity is preventing ambient light from reaching it. Ambient occlusion"},{"text":"values of white (`1.0`) represent flat portions of the model that"},{"text":"receive full ambient light. You generate ambient occlusion maps using a"},{"text":"3D software package."},{"text":""},{"text":"The following code loads an ambient occlusion map:"},{"text":""},{"text":"```swift if let aoResource = try? TextureResource.load(named:"},{"text":"\"entity_ao\") {"},{"text":" let aoMap = MaterialParameters.Texture(aoResource)"},{"text":" material.emissiveColor = .init(texture: aoMap)"},{"text":"} ```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18clearcoatRoughnessAC09ClearcoatF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","clearcoatRoughness"],"names":{"title":"clearcoatRoughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The degree to which an entity’s clear, shiny coating scatters light to"},{"text":"create soft highlights."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"coating, like on a car or the surface of lacquered objects. This"},{"text":"property allows you to specify a clearcoat roughness value to indicate"},{"text":"how much the clearcoat scatters light that bounces off of it, which"},{"text":"softens and disperses the highlights."},{"text":""},{"text":"You can specify a single value that applies to the entire material, or"},{"text":"you can supply a UV-mapped image texture containing different roughness"},{"text":"values for different parts of the entity. This value is available in"},{"text":"your surface shader. RealityKit won’t render a clearcoat with roughness"},{"text":"unless your surface shader calls both"},{"text":"`params.surface().set_clearcoat_roughness()` and"},{"text":"`params.surface().set_clearcoat()` with a value greater than `0.0`."},{"text":""},{"text":"The following Swift code demonstrates setting the `clearcoatRoughness`"},{"text":"using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoatRoughness = .init(floatLiteral: 0.5)"},{"text":"```"},{"text":""},{"text":"This example shows how to set the `clearcoatRoughness` using a UV-mapped"},{"text":"image:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatRoughnessResource = try?"},{"text":"TextureResource.load(named: \"entity_cc_roughness\") {"},{"text":" let ccRoughnessMap = MaterialParameters.Texture(clearcoatRoughnessResource)"},{"text":" material.clearcoat = .init(texture: ccRoughnessMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, RealityKit only renders a clearcoat if"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the material’s"},{"text":"surface shader function calls `params.surface().set_clearcoat()`. To"},{"text":"specify ``CustomMaterial/clearcoatRoughness-swift.property``, your"},{"text":"surface shader function must also call"},{"text":"`params.surface().set_clearcoat_roughness()`."},{"text":""},{"text":"The following Metal code demonstrates using"},{"text":"``CustomMaterial/clearcoat-swift.property`` and"},{"text":"``CustomMaterial/clearcoatRoughness-swift.property`` in a surface"},{"text":"shader, replicating the behavior of the ``PhysicallyBasedMaterial``"},{"text":"shader:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the clearcoat scale and roughness from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":" float clearcoatRoughnessScale = params.material_constants().clearcoat_roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample a value from the clearcoat and clearcoat roughness textures."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":" half clearcoatRoughess = tex.clearcoat_roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat and"},{"text":" // assign the result."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat roughness"},{"text":" // and assign the result."},{"text":" clearcoatRoughess *= clearcoatRoughnessScale;"},{"text":" params.surface().set_clearcoat_roughness(clearcoatRoughess);"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat roughness object using a single value or a"},{"text":"texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. When you enable clearcoat"},{"text":"rendering for a material, RealityKit renders the clearcoat as a"},{"text":"separate layer just above the surface of the entity. You can specify"},{"text":"a clearcoat roughness value for the clearcoat to indicate how much"},{"text":"the clearcoat scatters light that bounces off of it, which softens"},{"text":"and spreads out the highlights."},{"text":""},{"text":"This initializer creates an object that specifies the clearcoat"},{"text":"roughness for a material using a single value for the entire"},{"text":"material, a UV-mapped image, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the clearcoat"},{"text":"roughness for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify a `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s clearcoat roughness. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat roughness value for the entire material."},{"text":""},{"text":" - texture: The clearcoat roughness values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation8BindPathV","interfaceLanguage":"swift"},"pathComponents":["BindPath"],"names":{"title":"BindPath","navigator":[{"kind":"identifier","spelling":"BindPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The components of a target's path that refer to the animation properties of"},{"text":"a nested scene or entity."},{"text":""},{"text":"The following code demonstrates bind target paths with varying numbers of"},{"text":"elements. For a multicomponent target, call the ``BindPath/Part``"},{"text":"enumeration for each component. The individual elements form the path's"},{"text":"resulting ``BindPath/parts`` array."},{"text":""},{"text":"```swift"},{"text":"// Single-component paths:"},{"text":"let target0: BindTarget = .transform"},{"text":"let target1: BindTarget = .jointTransforms"},{"text":"let target2: BindTarget = .parameter(\"myInt\")"},{"text":""},{"text":"// Relative entity path:"},{"text":"let target3: BindTarget = .entity(\"entityA\").entity(\"entityB\").parameter(\"myInt\")"},{"text":""},{"text":"// Root entity path:"},{"text":"let target4: BindTarget = .anchorEntity(\"entityA\").entity(\"entityB\").transform"},{"text":""},{"text":"// Scene path:"},{"text":"let target5: BindTarget = .scene(\"sceneA\").anchorEntity(\"entityA\").entity(\"entityB\").jointTransforms"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE3min2by7ElementQzSgSbAE_AEtYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the minimum element in the asynchronous sequence, using the given"},{"text":"predicate as the comparison between elements."},{"text":""},{"text":"Use this method when the asynchronous sequence's values don't conform"},{"text":"to `Comparable`, or when you want to apply a custom ordering to the"},{"text":"sequence."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That is,"},{"text":"for any elements `a`, `b`, and `c`, the following conditions must hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The following example uses an enumeration of playing cards ranks, `Rank`,"},{"text":"which ranges from `ace` (low) to `king` (high). An asynchronous sequence"},{"text":"called `RankCounter` produces all elements of the array. The predicate"},{"text":"provided to the `min(by:)` method sorts ranks based on their `rawValue`:"},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let min = await RankCounter()"},{"text":" .min { $0.rawValue < $1.rawValue }"},{"text":" print(min ?? \"none\")"},{"text":" // Prints \"ace\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: The sequence’s minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns `nil`."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","partition(by:)"],"names":{"title":"partition(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Reorders the elements of the collection such that all the elements"},{"text":"that match the given predicate are after all the elements that don't"},{"text":"match."},{"text":""},{"text":"After partitioning a collection, there is a pivot index `p` where"},{"text":"no element before `p` satisfies the `belongsInSecondPartition`"},{"text":"predicate and every element at or after `p` satisfies"},{"text":"`belongsInSecondPartition`. This operation isn't guaranteed to be"},{"text":"stable, so the relative ordering of elements within the partitions might"},{"text":"change."},{"text":""},{"text":"In the following example, an array of numbers is partitioned by a"},{"text":"predicate that matches elements greater than 30."},{"text":""},{"text":" var numbers = [30, 40, 20, 30, 30, 60, 10]"},{"text":" let p = numbers.partition(by: { $0 > 30 })"},{"text":" // p == 5"},{"text":" // numbers == [30, 10, 20, 30, 30, 60, 40]"},{"text":""},{"text":"The `numbers` array is now arranged in two partitions. The first"},{"text":"partition, `numbers[.. "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"belongsInSecondPartition"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC17stopAllAnimations9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","stopAllAnimations(recursive:)"],"names":{"title":"stopAllAnimations(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAnimations"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops all playing of animations on this entity."},{"text":""},{"text":"- Parameters:"},{"text":"- recursive: Indicates whether to also stop animations on all"},{"text":"descendants of the entity."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAnimations"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6shapes4mode6filterACSayAA13ShapeResourceCG_AC4ModeOAA0C6FilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","init(shapes:mode:filter:)"],"names":{"title":"init(shapes:mode:filter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision component with the given collision shape, mode, and"},{"text":"filter parameters."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The collection of shapes that collectively define the outer"},{"text":"dimensions of the associated entity for the purposes of collision"},{"text":"detection."},{"text":""},{"text":" - mode: The mode of the collision component."},{"text":""},{"text":"- filter: A filter that limits the other entities with which the entity"},{"text":"can collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":" = .default, "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .default)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9BaseColorV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","BaseColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The base color as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","difference(from:by:)"],"names":{"title":"difference(from:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference needed to produce this collection's ordered"},{"text":"elements from the given collection, using the given predicate as an"},{"text":"equivalence test."},{"text":""},{"text":"This function does not infer element moves. If you need to infer moves,"},{"text":"call the `inferringMoves()` method on the resulting difference."},{"text":""},{"text":"- Parameters:"},{"text":" - other: The base state."},{"text":" - areEquivalent: A closure that returns a Boolean value indicating"},{"text":" whether two elements are equivalent."},{"text":""},{"text":"- Returns: The difference needed to produce the receiver's state from"},{"text":" the parameter's state."},{"text":""},{"text":"- Complexity: Worst case performance is O(*n* * *m*), where *n* is the"},{"text":" count of this collection and *m* is `other.count`. You can expect"},{"text":" faster execution when the collections share many common elements."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BidirectionalCollection","preciseIdentifier":"s:SK"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformVACycfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a transform with the values of the identity transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that changes the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","makeConnectable()"],"names":{"title":"makeConnectable()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeConnectable"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Creates a connectable wrapper around the publisher."},{"text":""},{"text":"In the following example, ``Publisher/makeConnectable()`` wraps its upstream publisher (an instance of ``Publishers/Share``) with a ``ConnectablePublisher``. Without this, the first sink subscriber would receive all the elements from the sequence publisher and cause it to complete before the second subscriber attaches. By making the publisher connectable, the publisher doesn’t produce any elements until after the ``ConnectablePublisher/connect()`` call."},{"text":""},{"text":" let subject = Just(\"Sent\")"},{"text":" let pub = subject"},{"text":" .share()"},{"text":" .makeConnectable()"},{"text":" cancellable1 = pub.sink { print (\"Stream 1 received: \\($0)\") }"},{"text":""},{"text":" // For example purposes, use DispatchQueue to add a second subscriber"},{"text":" // a second later, and then connect to the publisher a second after that."},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + 1) {"},{"text":" self.cancellable2 = pub.sink { print (\"Stream 2 received: \\($0)\") }"},{"text":" }"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + 2) {"},{"text":" self.connectable = pub.connect()"},{"text":" }"},{"text":" // Prints:"},{"text":" // Stream 2 received: Sent"},{"text":" // Stream 1 received: Sent"},{"text":""},{"text":" > Note: The ``ConnectablePublisher/connect()`` operator returns a ``Cancellable`` instance that you must retain. You can also use this instance to cancel publishing."},{"text":""},{"text":"- Returns: A ``ConnectablePublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeConnectable"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","multicast(subject:)"],"names":{"title":"multicast(subject:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Provides a subject to deliver elements to multiple subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(_:)``, this method produces a publisher that shares the provided ``Subject`` among all the downstream subscribers."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(subject:)`` operator with a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast(subject: PassthroughSubject<(String, Int), Never>())"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 78))"},{"text":" // Stream 2 received: (\"First\", 78)"},{"text":" // Stream 1 received: (\"First\", 78)"},{"text":" // Random: receive value: ((\"Second\", 98))"},{"text":" // Stream 2 received: (\"Second\", 98)"},{"text":" // Stream 1 received: (\"Second\", 98)"},{"text":" // Random: receive value: ((\"Third\", 61))"},{"text":" // Stream 2 received: (\"Third\", 61)"},{"text":" // Stream 1 received: (\"Third\", 61)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter subject: A subject to deliver elements to downstream subscribers."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE3max2by7ElementQzSgSbAE_AEtYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the maximum element in the asynchronous sequence, using the given"},{"text":"predicate as the comparison between elements."},{"text":""},{"text":"Use this method when the asynchronous sequence's values don't conform"},{"text":"to `Comparable`, or when you want to apply a custom ordering to the"},{"text":"sequence."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That is,"},{"text":"for any elements `a`, `b`, and `c`, the following conditions must hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The following example uses an enumeration of playing cards ranks, `Rank`,"},{"text":"which ranges from `ace` (low) to `king` (high). An asynchronous sequence"},{"text":"called `RankCounter` produces all elements of the array. The predicate"},{"text":"provided to the `max(by:)` method sorts ranks based on their `rawValue`:"},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let max = await RankCounter()"},{"text":" .max { $0.rawValue < $1.rawValue }"},{"text":" print(max ?? \"none\")"},{"text":" // Prints \"king\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: The sequence’s minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns `nil`."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.associatedtype","displayName":"Associated Type"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP7ElementQa","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic","Element"],"names":{"title":"Element","subHeading":[{"kind":"keyword","spelling":"associatedtype"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"associatedtype"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``BlendTreeAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``BlendTreeAnimation/trimStart`` and ``BlendTreeAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``BlendTreeAnimation/duration`` causes the"},{"text":"animation to repeat, applying the characteristics defined by"},{"text":"``BlendTreeAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of all the joints in the model entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.ClearcoatRoughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","timeout(_:scheduler:options:customError:)"],"names":{"title":"timeout(_:scheduler:options:customError:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Terminates publishing if the upstream publisher exceeds the specified time interval without producing an element."},{"text":""},{"text":"Use ``Publisher/timeout(_:scheduler:options:customError:)`` to terminate a publisher if an element isn’t delivered within a timeout interval you specify."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes elements and is configured to time out if no new elements are received within its `TIME_OUT` window of 5 seconds. A single value is published after the specified 2-second `WAIT_TIME`, after which no more elements are available; the publisher then times out and completes normally."},{"text":""},{"text":" var WAIT_TIME : Int = 2"},{"text":" var TIMEOUT_TIME : Int = 5"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" let cancellable = subject"},{"text":" .timeout(.seconds(TIMEOUT_TIME), scheduler: DispatchQueue.main, options: nil, customError:nil)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0) at \\(Date())\") },"},{"text":" receiveValue: { print (\"value: \\($0) at \\(Date())\") }"},{"text":" )"},{"text":""},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(WAIT_TIME),"},{"text":" execute: { subject.send(\"Some data - sent after a delay of \\(WAIT_TIME) seconds\") } )"},{"text":""},{"text":" // Prints: value: Some data - sent after a delay of 2 seconds at 2020-03-10 23:47:59 +0000"},{"text":" // completion: finished at 2020-03-10 23:48:04 +0000"},{"text":""},{"text":""},{"text":"If `customError` is `nil`, the publisher completes normally; if you provide a closure for the `customError` argument, the upstream publisher is instead terminated upon timeout, and the error is delivered to the downstream."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The maximum time interval the publisher can go without emitting an element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to deliver events."},{"text":" - options: Scheduler options that customize the delivery of elements."},{"text":" - customError: A closure that executes if the publisher times out. The publisher sends the failure returned by this closure to the subscriber as the reason for termination."},{"text":"- Returns: A publisher that terminates if the specified interval elapses with no events received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]},{"name":"customError","declarationFragments":[{"kind":"identifier","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements up to the specified maximum count."},{"text":""},{"text":"Use ``Publisher/prefix(_:)`` to limit the number of elements republished to the downstream subscriber."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(_:)`` operator limits its output to the first two elements before finishing normally:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .prefix(2)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to republish."},{"text":"- Returns: A publisher that publishes up to the specified number of elements."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor"],"names":{"title":"PhysicallyBasedMaterial.EmissiveColor","navigator":[{"kind":"identifier","spelling":"EmissiveColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the color of the light an entity emits."},{"text":""},{"text":"With physically based rendering (PBR), you can give entities in"},{"text":"RealityKit the appearance of emitting light. Define the color of the"},{"text":"light the entity emits by using this object."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV9deltaTimeSdvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update","deltaTime"],"names":{"title":"deltaTime","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The elapsed time since the last update."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV5pitch3yaw4rollACSf_S2ftcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(pitch:yaw:roll:)"],"names":{"title":"init(pitch:yaw:roll:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pitch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"yaw"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"roll"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transform from the specified Euler angles."},{"text":""},{"text":"The rotation order using intrinsic rotation order is defined as:"},{"text":""},{"text":"1. Rotate around y-axis (yaw). 2. Rotate around the body-fixed x-axis"},{"text":"(pitch). 3. Rotate around the body-fixed z-axis (roll)."},{"text":""},{"text":"The rotation order using extrinsic rotation order is defined as:"},{"text":""},{"text":"1. Rotate around the z-axis (roll). 2. Rotate around the world space"},{"text":"x-axis (pitch). 3. Rotate around the world space y-axis (yaw)."},{"text":""},{"text":"- Parameters:"},{"text":" - x: The rotation around the x-axis in radians."},{"text":""},{"text":" - y: The rotation around the y-axis in radians."},{"text":""},{"text":" - z: The rotation around the z-axis in radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pitch"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"yaw"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"roll"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator","Element"],"names":{"title":"MeshPartCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC13playAnimation_18transitionDuration12startsPausedAA0E18PlaybackControllerCAA0E8ResourceC_SdSbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(_:transitionDuration:startsPaused:)"],"names":{"title":"playAnimation(_:transitionDuration:startsPaused:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays the given animation on the entity."},{"text":""},{"text":"- Parameters:"},{"text":" - animation: The animation to play."},{"text":""},{"text":"- transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":"- startsPaused: A Boolean that you set to `true` to return from the call"},{"text":"with the animation paused. Set to `false` to start the animation right"},{"text":"away."},{"text":""},{"text":"- Returns: An animation playback controller that you can use to start"},{"text":"and stop the animation."}]},"functionSignature":{"parameters":[{"name":"animation","declarationFragments":[{"kind":"identifier","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE9fromValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator"],"names":{"title":"MeshInstanceCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13EmissiveColorVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","EmissiveColor","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a color of emitted light based on the emissive color"},{"text":"property from a physically based material."},{"text":""},{"text":"- Parameters:"},{"text":"- value: The"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` property"},{"text":"from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from six other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers; it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubE, pubG)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 2 50 100 -2 33 33 54\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat roughness object from a custom material’s"},{"text":"clearcoat roughness property."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. When you enable clearcoat"},{"text":"rendering for a material, RealityKit renders the clearcoat as a"},{"text":"separate layer just above the surface of the entity. You can specify"},{"text":"a clearcoat roughness value for the clearcoat to indicate how much"},{"text":"the clearcoat scatters light that bounces off of it, which softens"},{"text":"and spreads out the highlights."},{"text":""},{"text":"This initializer creates an object that specifies the clearcoat"},{"text":"roughness for a material using the"},{"text":"``CustomMaterial/clearcoatRoughness-swift.property`` property from a"},{"text":"``CustomMaterial`` object."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s clearcoat roughness property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxxtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over four elements per step."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","Element"],"names":{"title":"AnimationFillMode.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","multicast(_:)"],"names":{"title":"multicast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">(() -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure to create a subject that delivers elements to subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(subject:)``, this method produces a publisher that creates a separate ``Subject`` for each subscriber."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(_:)`` operator whose closure creates a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast { PassthroughSubject<(String, Int), Never>() }"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 9))"},{"text":" // Stream 2 received: (\"First\", 9)"},{"text":" // Stream 1 received: (\"First\", 9)"},{"text":" // Random: receive value: ((\"Second\", 46))"},{"text":" // Stream 2 received: (\"Second\", 46)"},{"text":" // Stream 1 received: (\"Second\", 46)"},{"text":" // Random: receive value: ((\"Third\", 26))"},{"text":" // Stream 2 received: (\"Third\", 26)"},{"text":" // Stream 1 received: (\"Third\", 26)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter createSubject: A closure to create a new ``Subject`` each time a subscriber attaches to the multicast publisher."}]},"functionSignature":{"parameters":[{"name":"createSubject","declarationFragments":[{"kind":"identifier","spelling":"createSubject"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"createSubject"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" () -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular"],"names":{"title":"PhysicallyBasedMaterial.Specular","navigator":[{"kind":"identifier","spelling":"Specular"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the specular highlights of an entity."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials,"},{"text":"using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular highlights"},{"text":"are bright spots of reflected light that appear on shiny objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners. Both"},{"text":"have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-1)"},{"text":""},{"text":"Although many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by augmenting"},{"text":"the specular highlights."},{"text":""},{"text":"Use this object to specify the amount of"},{"text":"``PhysicallyBasedMaterial/specular-swift.property`` for a"},{"text":"``PhysicallyBasedMaterial``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6shapesSayAA13ShapeResourceCGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","shapes"],"names":{"title":"shapes","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of shape resources that collectively represent the outer"},{"text":"dimensions of an entity for the purposes of collision detection."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``OrbitAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``OrbitAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``OrbitAnimation/trimStart`` and ``OrbitAnimation/trimEnd`` are `nil`,"},{"text":"the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``OrbitAnimation/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``OrbitAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a simple material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits the specified number of elements before republishing subsequent elements."},{"text":""},{"text":"Use ``Publisher/dropFirst(_:)`` when you want to drop the first `n` elements from the upstream publisher, and republish the remaining elements."},{"text":""},{"text":"The example below drops the first five elements from the stream:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" cancellable = numbers.publisher"},{"text":" .dropFirst(5)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"6 7 8 9 10 \""},{"text":""},{"text":"- Parameter count: The number of elements to omit. The default is `1`."},{"text":"- Returns: A publisher that doesn’t republish the first `count` elements."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began"],"names":{"title":"CollisionEvents.Began","navigator":[{"kind":"identifier","spelling":"Began"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Began"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised when two objects collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Began"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxVACycfc","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an empty bounding box."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Specular.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10entityTypeA2C06EntityG0OSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","init(entityType:)"],"names":{"title":"init(entityType:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"entityType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a component for the given entity type that makes an entity aware"},{"text":"of certain aspects of the physical environment."},{"text":""},{"text":"- Parameters:"},{"text":" - entityType: The entity type to make the component for."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"entityType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE9dropFirstyAA09AsyncDropC8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncDropFirstSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Omits a specified number of elements from the base asynchronous sequence,"},{"text":"then passes through all remaining elements."},{"text":""},{"text":"Use `dropFirst(_:)` when you want to drop the first *n* elements from the"},{"text":"base sequence and pass through the remaining elements."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `dropFirst(_:)` method causes the modified"},{"text":"sequence to ignore the values `1` through `3`, and instead emit `4` through `10`:"},{"text":""},{"text":" for await number in Counter(howHigh: 10).dropFirst(3) {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"4 5 6 7 8 9 10 \""},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"sequence, the result is an empty sequence."},{"text":""},{"text":"- Parameter count: The number of elements to drop from the beginning of"},{"text":" the sequence. `count` must be greater than or equal to zero."},{"text":"- Returns: An asynchronous sequence that drops the first `count`"},{"text":" elements from the base sequence."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncDropFirstSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"AsyncDropFirstSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending","transparent(opacity:)"],"names":{"title":"PhysicallyBasedMaterial.Blending.transparent(opacity:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A surface that’s transparent."},{"text":""},{"text":"This enumeration case indicates that the material supports"},{"text":"transparency."},{"text":""},{"text":"- Parameters:"},{"text":" - opacity: The opacity of the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","delay(for:tolerance:scheduler:options:)"],"names":{"title":"delay(for:tolerance:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Delays delivery of all output to the downstream receiver by a specified amount of time on a particular scheduler."},{"text":""},{"text":"Use ``Publisher/delay(for:tolerance:scheduler:options:)`` when you need to delay the delivery of elements to a downstream by a specified amount of time."},{"text":""},{"text":"In this example, a publishes an event every second. The ``Publisher/delay(for:tolerance:scheduler:options:)`` operator holds the delivery of the initial element for 3 seconds (±0.5 seconds), after which each element is delivered to the downstream on the main run loop after the specified delay:"},{"text":""},{"text":" let df = DateFormatter()"},{"text":" df.dateStyle = .none"},{"text":" df.timeStyle = .long"},{"text":" cancellable = Timer.publish(every: 1.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .handleEvents(receiveOutput: { date in"},{"text":" print (\"Sending Timestamp \\'\\(df.string(from: date))\\' to delay()\")"},{"text":" })"},{"text":" .delay(for: .seconds(3), scheduler: RunLoop.main, options: .none)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \"\\n\") },"},{"text":" receiveValue: { value in"},{"text":" let now = Date()"},{"text":" print (\"At \\(df.string(from: now)) received Timestamp \\'\\(df.string(from: value))\\' sent: \\(String(format: \"%.2f\", now.timeIntervalSince(value))) secs ago\", terminator: \"\\n\")"},{"text":" }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Sending Timestamp '5:02:33 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:34 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:35 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:36 PM PDT' to delay()"},{"text":" // At 5:02:36 PM PDT received Timestamp '5:02:33 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:37 PM PDT' to delay()"},{"text":" // At 5:02:37 PM PDT received Timestamp '5:02:34 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:38 PM PDT' to delay()"},{"text":" // At 5:02:38 PM PDT received Timestamp '5:02:35 PM PDT' sent: 3.00 secs ago"},{"text":""},{"text":"The delay affects the delivery of elements and completion, but not of the original subscription."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The amount of time to delay."},{"text":" - tolerance: The allowed tolerance in delivering delayed events. The `Delay` publisher may deliver elements this much sooner or later than the interval specifies."},{"text":" - scheduler: The scheduler to deliver the delayed events."},{"text":" - options: Options relevant to the scheduler’s behavior."},{"text":"- Returns: A publisher that delays delivery of elements and completion to the downstream receiver."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"tolerance","declarationFragments":[{"kind":"identifier","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","output(in:)"],"names":{"title":"output(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements specified by their range in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(in:)`` to republish a range indices you specify in the published stream. After publishing all elements, the publisher finishes normally. If the publisher completes normally or with an error before producing all the elements in the range, it doesn’t publish the remaining elements."},{"text":""},{"text":"In the example below, an array publisher emits the subset of elements at the indices in the specified range:"},{"text":""},{"text":" let numbers = [1, 1, 2, 2, 2, 3, 4, 5, 6]"},{"text":" numbers.publisher"},{"text":" .output(in: (3...5))"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 2 3\""},{"text":""},{"text":"- Parameter range: A range that indicates which elements to publish."},{"text":"- Returns: A publisher that publishes elements specified by a range."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"R","rhs":"RangeExpression","rhsPrecise":"s:SX"},{"kind":"sameType","lhs":"R.Bound","rhs":"Int","rhsPrecise":"s:Si"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RangeExpression","preciseIdentifier":"s:SX"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Bound"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7toValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4load5named2inACSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","load(named:in:)"],"names":{"title":"load(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an entity from a file in a bundle."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","print(_:to:)"],"names":{"title":"print(_:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prints log messages for all publishing events."},{"text":""},{"text":"Use ``Publisher/print(_:to:)`` to log messages the console."},{"text":""},{"text":"In the example below, log messages are printed on the console:"},{"text":""},{"text":" let integers = (1...2)"},{"text":" cancellable = integers.publisher"},{"text":" .print(\"Logged a message\", to: nil)"},{"text":" .sink { _ in }"},{"text":""},{"text":" // Prints:"},{"text":" // Logged a message: receive subscription: (1..<2)"},{"text":" // Logged a message: request unlimited"},{"text":" // Logged a message: receive value: (1)"},{"text":" // Logged a message: receive finished"},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string —- which defaults to empty -— with which to prefix all log messages."},{"text":" - stream: A stream for text output that receives messages, and which directs output to the console by default. A custom stream can be used to log messages to other destinations."},{"text":"- Returns: A publisher that prints log messages for all publishing events."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"to","internalName":"stream","declarationFragments":[{"kind":"identifier","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV15angularVelocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","angularVelocity"],"names":{"title":"angularVelocity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The angular velocity of the body around the center of mass."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO6opaqueyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending","opaque"],"names":{"title":"PhysicallyBasedMaterial.Blending.opaque","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness value for the entire entity or a multiplier for"},{"text":"the metallic texture."},{"text":""},{"text":"This property is an input to your material’s surface shader."},{"text":"Although you can choose how to use the `scale` value in your shader,"},{"text":"RealityKit provides this property to control the reflectiveness of"},{"text":"the entire entity when there’s no texture, or to function as a"},{"text":"multiplier to the values you sample from the texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation9ComponentP","interfaceLanguage":"swift"},"pathComponents":["Component"],"names":{"title":"Component","navigator":[{"kind":"identifier","spelling":"Component"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Component"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a geometry or a behavior that you apply to an entity."},{"text":""},{"text":"You assemble a particular combination of behavior and appearance for an"},{"text":"entity by adding components to the ``Entity/components`` set of an"},{"text":"``Entity`` instance. Each component, represented by a type that conforms to"},{"text":"the ``Component`` protocol, defines a single aspect of the entity. For"},{"text":"example, one might define a position in space, while another provides a"},{"text":"visual appearance. You can add at most one component of a given type to an"},{"text":"entity."},{"text":""},{"text":"![Diagram showing the components present in different kinds of"},{"text":"entities.](Component-1)"},{"text":""},{"text":"RealityKit has a variety of predefined component types that you can use to"},{"text":"add commonly needed characteristics. For example, the ``ModelComponent``"},{"text":"specifies visual appearance with a mesh and materials. The"},{"text":"``CollisionComponent`` contains a shape and other information used to decide"},{"text":"if one entity collides with another."},{"text":""},{"text":"You can also define custom component types. When you do, register that type"},{"text":"with the system by calling the new component’s"},{"text":"``Component/registerComponent()`` method—a default implementation of which"},{"text":"is provided by the ``Component`` protocol. Call this method once before"},{"text":"using the component type. You don’t need to make this call for component"},{"text":"types that RealityKit provides."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Component"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13emissiveColorAC08EmissiveF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","emissiveColor"],"names":{"title":"emissiveColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of light this material emits."},{"text":""},{"text":"With physically based rendering (PBR), you can give entities in"},{"text":"RealityKit the appearance of emitting light. Use this property to"},{"text":"simulate real-world objects that glow, such as objects with LEDs or"},{"text":"computer screens. To enable light emission from a material, set"},{"text":"``PhysicallyBasedMaterial/emissiveIntensity`` to a value greater than"},{"text":"zero, then specify a color (other than black) using this property. You"},{"text":"can specify a single emissive color for the entire material, or use a"},{"text":"UV-mapped image texture to use different colors for different parts of"},{"text":"the entity."},{"text":""},{"text":"With custom materials, RealityKit doesn’t use"},{"text":"``CustomMaterial/emissiveColor-swift.property`` automatically to render"},{"text":"your entity. Your surface shader must call"},{"text":"`params.surface().set_emissive_color()`, otherwise RealityKit renders no"},{"text":"light emission."},{"text":""},{"text":"The following example assigns a tint color to the"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` property,"},{"text":"without a texture:"},{"text":""},{"text":"```swift"},{"text":"self.emissiveColor = PhysicallyBasedMaterial.EmissiveColor(color: .red)"},{"text":"```"},{"text":""},{"text":"This next example uses a texture to specify the"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` property:"},{"text":""},{"text":"```swift"},{"text":"if let emissiveResource = try? TextureResource.load(named: \"entity_emissive\") {"},{"text":" let emissiveMap = MaterialParameters.Texture(emissiveResource)"},{"text":" material.emissiveColor = .init(texture: emissiveMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"This Metal code shows how to access the emissive color tint in your"},{"text":"shader functions:"},{"text":""},{"text":"```other"},{"text":"half3 emissiveTint = (half3)params.material_constants().emissive_color();"},{"text":"```"},{"text":""},{"text":"The following Metal code demonstrates how to sample the emissive color"},{"text":"texture for the current fragment:"},{"text":""},{"text":"```other"},{"text":"// Get the entity's primary texture coordinates."},{"text":"float2 uv ="},{"text":"params.geometry().uv0();"},{"text":""},{"text":"// Flip the y-axis. You only need to do this for entities you load from"},{"text":"// USDZ or .reality files. uv.y = 1.0 - uv.y;"},{"text":""},{"text":"// Sample the emissive color texture to get the value for this fragment."},{"text":"auto tex = params.textures(); half3 emissiveColor ="},{"text":"(half3)tex.emissive_color().sample(textureSampler, uv).rgb;"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent"],"names":{"title":"DirectionalLightComponent","navigator":[{"kind":"identifier","spelling":"DirectionalLightComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DirectionalLightComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines a directional light source."},{"text":""},{"text":"A directional light shines in the entithy's forward direction (0, 0, -1). To orient a directional light, use"},{"text":"`HasTransform.look(at:from:upVector:)`."},{"text":""},{"text":"A directional light source can cast shadows. To enable shadows, create a ``RealityKit/DirectionalLightComponent/Shadow``"},{"text":"and assign it to `HasDirectionalLight.shadow`. To disable shadows set"},{"text":"`HasDirectionalLight.shadow` to `nil`."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DirectionalLightComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO8blendingAeA06CustomE0VADO_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending","init(blending:)"],"names":{"title":"init(blending:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a custom material’s blending property."},{"text":""},{"text":"This initializer creates a `PhysicallyBasedMaterial.Blending`"},{"text":"instance using the values from an existing"},{"text":"``CustomMaterial/Blending-swift.enum`` object."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s blending property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blending"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation23BindableValuesReferenceVyAA0C5ValueVyxGSgAA10BindTargetO_xmtcAA0C4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["BindableValuesReference","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the bindable value at the subscripted index."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6accessyxxSo20MTLSamplerDescriptorCKXEKlF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","access(_:)"],"names":{"title":"access(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"access"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]},"functionSignature":{"parameters":[{"name":"closure","declarationFragments":[{"kind":"identifier","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"access"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result"],"names":{"title":"PhotogrammetrySession.Result","navigator":[{"kind":"identifier","spelling":"Result"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Result"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds the created 3D object."},{"text":""},{"text":"When ``RealityKit/PhotogrammetrySession`` completes a ``RealityKit/PhotogrammetrySession/Request``,"},{"text":"it publishes a ``RealityKit/PhotogrammetrySession/Output/requestComplete(_:_:)``"},{"text":"message to output, and includes the created object as the associated value of the"},{"text":"result parameter. The result type corresponds to the request type. For example, a"},{"text":"``RealityKit/PhotogrammetrySession/Request/modelFile(url:detail:geometry:)`` request"},{"text":"results in the session publishing a ``RealityKit/PhotogrammetrySession/Result/modelFile(_:)``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Result"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeAC013VisualizationH0Ovp","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","visualizationMode"],"names":{"title":"visualizationMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The part of the rendering process to display as the entity’s surface"},{"text":"texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two bounding boxes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first box to compare."},{"text":""},{"text":" - rhs: The second box to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two boxes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target"],"names":{"title":"AnchoringComponent.Target","navigator":[{"kind":"identifier","spelling":"Target"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Target"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kinds of real world objects to which an anchor entity can be"},{"text":"tethered."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Target"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id11descriptorsAESS_SayAA0C10DescriptorVGtKcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","init(id:descriptors:)"],"names":{"title":"init(id:descriptors:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"modelID"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVyAGSo20MTLSamplerDescriptorCcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"v"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","FloatLiteralType"],"names":{"title":"CustomMaterial.Specular.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``BlendTreeAnimation/fillMode`` other than ``AnimationFillMode/none``,"},{"text":"the animation fills the vacant area created by the offset according to"},{"text":"the characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a component that makes an entity aware of certain aspects of the"},{"text":"physical environment."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(untilOutputFrom:)"],"names":{"title":"prefix(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements until another publisher emits an element."},{"text":""},{"text":"After the second publisher publishes an element, the publisher returned by this method finishes."},{"text":""},{"text":"- Parameter publisher: A second publisher."},{"text":"- Returns: A publisher that republishes elements until the second publisher publishes an element."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeA2C013VisualizationH0O_tcfc","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","init(visualizationMode:)"],"names":{"title":"init(visualizationMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a component that isolates a portion of the rendering process and"},{"text":"displays it as the entity’s surface texture."},{"text":""},{"text":"- Parameters:"},{"text":"- visualizationMode: The portion of the rendering process to use as the"},{"text":"entity’s surface texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":" = .none)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6modifyyxxSo20MTLSamplerDescriptorCKXEKlF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","modify(_:)"],"names":{"title":"modify(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modify"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]},"functionSignature":{"parameters":[{"name":"closure","declarationFragments":[{"kind":"identifier","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modify"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3min3maxACs5SIMD3VySfG_AHtcfc","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","init(min:max:)"],"names":{"title":"init(min:max:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":" - min: The position of the minimum corner of the box."},{"text":""},{"text":" - max: The position of the maximum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","output(at:)"],"names":{"title":"output(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a specific element, indicated by its index in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(at:)`` when you need to republish a specific element specified by its position in the stream. If the publisher completes normally or with an error before publishing the specified element, then the publisher doesn’t produce any elements."},{"text":""},{"text":"In the example below, the array publisher emits the fifth element in the sequence of published elements:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" numbers.publisher"},{"text":" .output(at: 5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"6\""},{"text":""},{"text":"- Parameter index: The index that indicates the element to publish."},{"text":"- Returns: A publisher that publishes a specific indexed element."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","drop(untilOutputFrom:)"],"names":{"title":"drop(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores elements from the upstream publisher until it receives an element from a second publisher."},{"text":""},{"text":"Use ``Publisher/drop(untilOutputFrom:)`` to ignore elements from the upstream publisher until another, second, publisher delivers its first element."},{"text":"This publisher requests a single value from the second publisher, and it ignores (drops) all elements from the upstream publisher until the second publisher produces a value. After the second publisher produces an element, ``Publisher/drop(untilOutputFrom:)`` cancels its subscription to the second publisher, and allows events from the upstream publisher to pass through."},{"text":""},{"text":"After this publisher receives a subscription from the upstream publisher, it passes through backpressure requests from downstream to the upstream publisher. If the upstream publisher acts on those requests before the other publisher produces an item, this publisher drops the elements it receives from the upstream publisher."},{"text":""},{"text":"In the example below, the `pub1` publisher defers publishing its elements until the `pub2` publisher delivers its first element:"},{"text":""},{"text":" let upstream = PassthroughSubject()"},{"text":" let second = PassthroughSubject()"},{"text":" cancellable = upstream"},{"text":" .drop(untilOutputFrom: second)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" upstream.send(1)"},{"text":" upstream.send(2)"},{"text":" second.send(\"A\")"},{"text":" upstream.send(3)"},{"text":" upstream.send(4)"},{"text":" // Prints \"3 4\""},{"text":""},{"text":"- Parameter publisher: A publisher to monitor for its first emitted element."},{"text":"- Returns: A publisher that drops elements from the upstream publisher until the `other` publisher produces a value."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a physically based material’s specular"},{"text":"property."},{"text":""},{"text":"This initializer creates an object by copying the values from an"},{"text":"existing ``PhysicallyBasedMaterial/Specular-swift.struct`` object."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](CustomMaterial-Specular-swift-struct-init(_:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by"},{"text":"augmenting the specular highlights."},{"text":""},{"text":"The specular ``CustomMaterial/Specular-swift.struct/scale`` and"},{"text":"``CustomMaterial/Specular-swift.struct/texture`` values are"},{"text":"available to the material’s surface shader, but RealityKit doesn’t"},{"text":"add specular highlights unless the surface shader function calls"},{"text":"`params.surface().set_specular()`."},{"text":""},{"text":"The following Metal code demonstrates using the specular `scale` and"},{"text":"`texture` values in a surface shader function to calculate"},{"text":"additional specular highlights, emulating the behavior of"},{"text":"``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the opacity scale from the CustomMaterial."},{"text":" float specularScale = params.material_constants().specular_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the specular texture."},{"text":" auto tex = params.textures();"},{"text":" half specular = tex.specular().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture, and"},{"text":" // assign the result."},{"text":" specular *= specularScale;"},{"text":" params.surface().set_specular(specular);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The ``PhysicallyBasedMaterial/specular-swift.property``"},{"text":"property from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV7Elementa","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","Element"],"names":{"title":"CollisionGroup.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","reanchor(_:preservingWorldTransform:)"],"names":{"title":"reanchor(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Changes the entity’s anchoring, preserving either the world transform or"},{"text":"the local transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: Describes how the entity should be anchored in AR."},{"text":""},{"text":"- preservingWorldTransform: A Boolean you set to `true` to preserve the"},{"text":"current world space position, or `false` to use the position relative to"},{"text":"the previous anchor for the new anchor."}]},"functionSignature":{"parameters":[{"name":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id5partsAESS_SayAcAE4PartVGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","init(id:parts:)"],"names":{"title":"init(id:parts:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV8fillModeAA0f4FillH0Vvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC10convexCast0D5Shape12fromPosition0G11Orientation02toH00jI05query4mask10relativeToSayAA09CollisionE3HitVGAA0F8ResourceC_s5SIMD3VySfGSo10simd_quatfaAtvA0oE9QueryTypeOAA0O5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)"],"names":{"title":"convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convexCast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex shape cast against all the geometry in the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - convexShape: The convex shape to cast."},{"text":""},{"text":"- fromPosition: The starting position of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- fromOrientation: The starting orientation of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- toPosition: The ending position of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- toOrientation: The ending orientation of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":" - query: The query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the convex shape, starting at a given point and traveling in a"},{"text":"given direction, collides with entities in the scene. To retrieve the"},{"text":"hit entity from a returned ``CollisionCastHit``, use the"},{"text":"``CollisionCastHit/entity`` property."},{"text":""},{"text":"For objects that intersect the convex shape at its starting position and"},{"text":"orientation, the returned collision cast hit result’s"},{"text":"``CollisionCastHit/position`` is `(0, 0, 0)` and the"},{"text":"``CollisionCastHit/normal`` points in the opposite direction of the"},{"text":"sweep."}]},"functionSignature":{"parameters":[{"name":"convexShape","declarationFragments":[{"kind":"identifier","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},{"name":"fromPosition","declarationFragments":[{"kind":"identifier","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"fromOrientation","declarationFragments":[{"kind":"identifier","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"toPosition","declarationFragments":[{"kind":"identifier","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"toOrientation","declarationFragments":[{"kind":"identifier","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convexCast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position in the sequence of the joint that follows the given"},{"text":"position."},{"text":""},{"text":"For more on calculating indices, see"},{"text":"."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode","navigator":[{"kind":"identifier","spelling":"VisualizationMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VisualizationMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that specifies the portion of the rendering process to isolate"},{"text":"and display for debugging."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VisualizationMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual representation of this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3maxs5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the maximum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4modeAC4ModeOvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","mode"],"names":{"title":"mode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9BaseColorVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","BaseColor","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom base color object from an existing physically based"},{"text":"material’s base color object."},{"text":""},{"text":"Use this initializer to create a"},{"text":"``CustomMaterial/BaseColor-swift.struct`` that contains the same"},{"text":"tint and texture values as an existing"},{"text":"``PhysicallyBasedMaterial/BaseColor-swift.struct`` object."},{"text":""},{"text":"Both `tint` and `texture` from the"},{"text":"``PhysicallyBasedMaterial/BaseColor-swift.struct`` object are"},{"text":"available in your surface shader, but RealityKit doesn’t"},{"text":"automatically use those values to render the entity. Your surface"},{"text":"shader must calculate the final base color value for each pixel and"},{"text":"assign it by calling `params.surface().set_base_color()`."},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The base color object from a physically based material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","ranges(of:)"],"names":{"title":"ranges(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the ranges of the all occurrences of a given sequence"},{"text":"within the collection."},{"text":"- Parameter other: The sequence to search for."},{"text":"- Returns: A collection of ranges of all occurrences of `other`. Returns"},{"text":" an empty collection if `other` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``OrbitAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AudioEvents","PlaybackCompleted","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The audio playback controller that triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent"],"names":{"title":"BodyTrackingComponent","navigator":[{"kind":"identifier","spelling":"BodyTrackingComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BodyTrackingComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component for tracking people in an AR session."},{"text":""},{"text":"Body tracking requires a compatible rigged model. For more information on creating a"},{"text":"compatible model, see ."},{"text":""},{"text":"For a sample app that uses body tracking, see "}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BodyTrackingComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","ID"],"names":{"title":"MeshResource.Model.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","ArrayLiteralElement"],"names":{"title":"CollisionGroup.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position immediately after the given index."},{"text":""},{"text":"- Parameters:"},{"text":"- i: A valid index of the collection. i must be less than endIndex."},{"text":""},{"text":"- Returns: The index value immediately after i."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Blending","transparent(opacity:)"],"names":{"title":"CustomMaterial.Blending.transparent(opacity:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A transparent or translucent surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23BindableValuesReferenceV","interfaceLanguage":"swift"},"pathComponents":["BindableValuesReference"],"names":{"title":"BindableValuesReference","navigator":[{"kind":"identifier","spelling":"BindableValuesReference"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValuesReference"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to a bindable value of an animation."},{"text":""},{"text":"As the name indicates, this structure doesn't exhibit copy-on-write behavior"},{"text":"because it's a reference. This is in contrast to the ``BindableValue``"},{"text":"structure."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValuesReference"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10entityTypeAC06EntityG0OSgvp","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","entityType"],"names":{"title":"entityType","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of real-world object that the component models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value or a texture."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core PBR properties, you can create"},{"text":"additional realistic effects by augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from a"},{"text":"single value, an image texture, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `specular` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, RealityKit uses `scale` as the entire entity’s specular."},{"text":"If you provide a color image for `texture` rather than a grayscale"},{"text":"image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"- Parameters:"},{"text":"- scale: A value from 0.0 to 1.0 to use as the specular value for"},{"text":"the material."},{"text":""},{"text":" - texture: An optional UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8fillModeAA0d4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6limitsAC6LimitsVvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","limits"],"names":{"title":"limits","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"limits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Limits","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Observer for the device-specific constant hardware limits for reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"limits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Limits","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7byValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor"],"names":{"title":"PhysicallyBasedMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s base color."},{"text":""},{"text":"Use this struct to specify an entity’s base color, which defines the"},{"text":"entity’s appearance before RealityKit calculates the effect of lighting"},{"text":"or material properties such as"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` or"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. For more"},{"text":"information, see ``PhysicallyBasedMaterial/baseColor-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","scan(_:_:)"],"names":{"title":"scan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current"},{"text":"element to a closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/scan(_:_:)`` to accumulate all previously-published values into a single"},{"text":"value, which you then combine with each newly-published value."},{"text":""},{"text":"The following example logs a running total of all values received"},{"text":"from the sequence publisher."},{"text":""},{"text":" let range = (0...5)"},{"text":" cancellable = range.publisher"},{"text":" .scan(0) { return $0 + $1 }"},{"text":" .sink { print (\"\\($0)\", terminator: \" \") }"},{"text":" // Prints: \"0 1 3 6 10 15 \"."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: A closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection"],"names":{"title":"Scene.AnchorCollection","navigator":[{"kind":"identifier","spelling":"AnchorCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of anchor entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics motion component at rest."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC10shouldLoopSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","shouldLoop"],"names":{"title":"shouldLoop","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the audio restarts from the"},{"text":"beginning after it finishes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8BlendingO6opaqueyA2EmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Blending","opaque"],"names":{"title":"CustomMaterial.Blending.opaque","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAsync(named:in:)"],"names":{"title":"loadAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an entity from a file in a bundle asynchronously."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","RawValue"],"names":{"title":"CollisionGroup.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocity07angularG0ACs5SIMD3VySfG_AHtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","init(linearVelocity:angularVelocity:)"],"names":{"title":"init(linearVelocity:angularVelocity:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics motion component with the given velocities."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .zero, "},{"kind":"externalParam","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .zero)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation6EntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["Entity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8rawValues6UInt32Vvp","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8BlendingO8blendingAeA015PhysicallyBasedD0VADO_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Blending","init(blending:)"],"names":{"title":"init(blending:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom blending object from an existing physically based"},{"text":"material’s blending object."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The blending property from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blending"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:)"],"names":{"title":"combineLatest(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and publishes a tuple upon receiving output from either publisher."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:)`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To pair elements from multiple publishers, use ``Publisher/zip(_:)`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:)-7qt71``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In this example, ``PassthroughSubject`` `pub1` and also `pub2` emit values; as ``Publisher/combineLatest(_:)`` receives input from either upstream publisher, it combines the latest value from each publisher into a tuple and publishes it."},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(3)"},{"text":" pub1.send(45)"},{"text":" pub2.send(22)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2). // pub1 latest = 2, pub2 latest = 2"},{"text":" // Result: (3, 2). // pub1 latest = 3, pub2 latest = 2"},{"text":" // Result: (45, 2). // pub1 latest = 45, pub2 latest = 2"},{"text":" // Result: (45, 22). // pub1 latest = 45, pub2 latest = 22"},{"text":""},{"text":"When all upstream publishers finish, this publisher finishes. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"- Parameter other: Another publisher to combine with this one."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subject to this publisher."},{"text":""},{"text":"- Parameter subject: The subject to attach to this publisher."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV08animatedD0xSgvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","animatedValue"],"names":{"title":"animatedValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A value that represents the state of the animated property as an"},{"text":"animation progresses."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureVyAeA0E8ResourceCcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from single value."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core PBR properties, you can create"},{"text":"additional realistic effects by augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from a"},{"text":"single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":"- value: A value from 0.0 to 1.0 to use as the specular value for"},{"text":"the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error"],"names":{"title":"PhotogrammetrySession.Error","navigator":[{"kind":"identifier","spelling":"Error"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Error"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An error type thrown from various functions if problems in reconstruction are encountered."},{"text":""},{"text":"These should be localized by the app."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Error"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off `k` elements from the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","interfaceLanguage":"swift"},"pathComponents":["AudioEvents","PlaybackCompleted"],"names":{"title":"AudioEvents.PlaybackCompleted","navigator":[{"kind":"identifier","spelling":"PlaybackCompleted"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Audio playback completed."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12ParameterSetV","interfaceLanguage":"swift"},"pathComponents":["ParameterSet"],"names":{"title":"ParameterSet","navigator":[{"kind":"identifier","spelling":"ParameterSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to general-purpose entity parameters for animations."},{"text":""},{"text":"Subscript this structure to access a particular property by name. The return"},{"text":"value is ``BindableValue`` ``, where `T` is one of the adopting"},{"text":"``BindableData`` types."},{"text":""},{"text":"As a reference, this structure doesn’t exhibit copy-on-write behavior."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``BlendTreeAnimation/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a custom material’s specular property."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-init(_:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core PBR properties, you can create"},{"text":"additional realistic effects by augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from the"},{"text":"specular property of a ``CustomMaterial``."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s specular property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVAGycfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC7raycast4from2to5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_AoA0kL9QueryTypeOAA0K5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","raycast(from:to:query:mask:relativeTo:)"],"names":{"title":"raycast(from:to:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex ray cast against all the geometry in the scene for a"},{"text":"ray between two end points."},{"text":""},{"text":"The method ignores entities that lack a ``CollisionComponent``."},{"text":""},{"text":"- Parameters:"},{"text":"- startPosition: The start position of the ray relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- endPosition: The end position of the ray relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- query: A query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the ray, starting at `startPosition` and ending at `endPosition`,"},{"text":"hit a particular entity in the scene."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"startPosition","declarationFragments":[{"kind":"identifier","spelling":"startPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"endPosition","declarationFragments":[{"kind":"identifier","spelling":"endPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"startPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"endPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation6SystemP","interfaceLanguage":"swift"},"pathComponents":["System"],"names":{"title":"System","navigator":[{"kind":"identifier","spelling":"System"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"System"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that affects multiple entities in every frame of a RealityKit"},{"text":"scene."},{"text":""},{"text":"In RealityKit’s Entity Component System (ECS), a _system_ represents"},{"text":"continuous behavior that affects multiple entities in the scene. Use systems"},{"text":"to implement any behavior or logic that updates entities every frame, such"},{"text":"as different types of objects or characters. For example, a physics"},{"text":"simulation system calculates and applies the affect of gravity, forces, and"},{"text":"collisions for all entities."},{"text":""},{"text":"Systems often work with components. You might, for example, create a system"},{"text":"that calculates the hunger levels for entities in a game capable of feeling"},{"text":"hunger. To identify which entities experience hunger, use a component that"},{"text":"stores hunger-related state data and add it to the selected entities. The"},{"text":"hunger system then iterates through all entities in every frame that contain"},{"text":"a hunger component and updates their state based on relevant factors, such"},{"text":"as when the entity ate last or how much energy it expends."},{"text":""},{"text":"A complex game or experience may consist of many systems which need to be executed"},{"text":"in a specific order. The ``dependencies-2s31o`` property defines when the `update` method for each"},{"text":"system is called each frame. Update order is defined between system types and"},{"text":"not between individual system instances."},{"text":""},{"text":"Systems and their dependencies form a directed acyclic graph (DAG). Custom systems are executed in"},{"text":"dependency order. Systems without dependencies are updated in the order they were registered. If there"},{"text":"are conflicting dependencies or cycles, then RealityKit ignores some conflicting dependencies and"},{"text":"logs a warning. Each system instance is only run once per simulation step."},{"text":""},{"text":"Properties of a system are never serialized to a file or synced over the network. Therefore, data should"},{"text":"usually be stored on entities using components, rather than as part of the system."},{"text":""},{"text":"For more information, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"System"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackTerminated","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending"],"names":{"title":"PhysicallyBasedMaterial.Blending","navigator":[{"kind":"identifier","spelling":"Blending"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that defines the transparency of an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new anchor entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC6buffer9inputMode10shouldLoopACSo07AVAudioD0C_AA0cE0C05InputH0OSbtKcfc","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","init(buffer:inputMode:shouldLoop:)"],"names":{"title":"init(buffer:inputMode:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"buffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVAudioBuffer","preciseIdentifier":"c:objc(cs)AVAudioBuffer"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an audio resource from the given buffer that optionally plays"},{"text":"with a 3D effect or restarts from the beginning after it finishes."},{"text":""},{"text":"- Parameters:"},{"text":" - buffer: The audio data."},{"text":""},{"text":"- inputMode: An option that determines whether the audio plays with a 3D"},{"text":"effect."},{"text":""},{"text":"- shouldLoop: A Boolean value that indicates whether the audio restarts"},{"text":"from the beginning after it finishes."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"buffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVAudioBuffer","preciseIdentifier":"c:objc(cs)AVAudioBuffer"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The base color as a UV Image map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8rawValueACs6UInt32V_tcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision group from a raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set."},{"text":"Usually, you will want to create each collision groups setting a"},{"text":"different bit flag for each value, so that multiple individual groups"},{"text":"can be combined using"},{"text":" methods."},{"text":""},{"text":"Here is an example of creating four collision groups using different"},{"text":"bitflag values for each one."},{"text":""},{"text":"```swift"},{"text":" let redGroup = CollisionGroup(rawValue: 1 << 0)"},{"text":" let blueGroup = CollisionGroup(rawValue: 1 << 1)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 2)"},{"text":" let orangeGroup = CollisionGroup(rawValue: 1 << 3)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- rawValue: The raw value of the option set to create. Each bit of"},{"text":"rawValue potentially represents an element of the option set, though raw"},{"text":"values may include bits that are not defined as distinct values of the"},{"text":"OptionSet type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE10compactMapyAA020AsyncThrowingCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaKclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingCompactMapSequence","preciseIdentifier":"s:12_Concurrency31AsyncThrowingCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that maps an error-throwing closure over"},{"text":"the base sequence’s elements, omitting results that don't return a value."},{"text":""},{"text":"Use the `compactMap(_:)` method to transform every element received from"},{"text":"a base asynchronous sequence, while also discarding any `nil` results"},{"text":"from the closure. Typically, you use this to transform from one type of"},{"text":"element to another."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The closure provided to the `compactMap(_:)`"},{"text":"method takes each `Int` and looks up a corresponding `String` from a"},{"text":"`romanNumeralDict` dictionary. Since there is no key for `4`, the closure"},{"text":"returns `nil` in this case, which `compactMap(_:)` omits from the"},{"text":"transformed asynchronous sequence. When the value is `5`, the closure"},{"text":"throws `MyError`, terminating the sequence."},{"text":""},{"text":" let romanNumeralDict: [Int: String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" do {"},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .compactMap { (value) throws -> String? in"},{"text":" if value == 5 {"},{"text":" throw MyError()"},{"text":" }"},{"text":" return romanNumeralDict[value]"},{"text":" }"},{"text":" for try await numeral in stream {"},{"text":" print(numeral, terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print(\"Error: \\(error)\")"},{"text":" }"},{"text":" // Prints \"I II III Error: MyError() \""},{"text":""},{"text":"- Parameter transform: An error-throwing mapping closure. `transform`"},{"text":" accepts an element of this sequence as its parameter and returns a"},{"text":" transformed value of the same or of a different type. If `transform`"},{"text":" throws an error, the sequence ends."},{"text":"- Returns: An asynchronous sequence that contains, in order, the"},{"text":" non-`nil` elements produced by the `transform` closure. The sequence"},{"text":" ends either when the base sequence ends or when `transform` throws an"},{"text":" error."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncThrowingCompactMapSequence","preciseIdentifier":"s:12_Concurrency31AsyncThrowingCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingCompactMapSequence","preciseIdentifier":"s:12_Concurrency31AsyncThrowingCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation blends additively"},{"text":"with concurrent animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV5partsAA0C14PartCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","parts"],"names":{"title":"parts","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of parts composing this mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7impulseSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","impulse"],"names":{"title":"impulse","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The estimated strength of the impact."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext"],"names":{"title":"SceneUpdateContext","navigator":[{"kind":"identifier","spelling":"SceneUpdateContext"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUpdateContext"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that contains information about the scene to update."},{"text":""},{"text":"RealityKit uses a ``SceneUpdateContext`` to pass information to a ``System``"},{"text":"about the scene it’s currently updating."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUpdateContext"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8RawValuea","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","RawValue"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasTransformP","interfaceLanguage":"swift"},"pathComponents":["HasTransform"],"names":{"title":"HasTransform","navigator":[{"kind":"identifier","spelling":"HasTransform"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables manipulating the scale, rotation, and translation"},{"text":"of an entity."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a ``Transform`` component, and"},{"text":"a collection of methods for manipulating the component, that you use to"},{"text":"position the entity in space."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasTransform"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE9formIndex6beforey0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(before:)"],"names":{"title":"formIndex(before:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its predecessor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be greater than"},{"text":" `startIndex`."}]},"functionSignature":{"parameters":[{"name":"before","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/reduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on a closure you provide."},{"text":""},{"text":"In the following example, the ``Publisher/reduce(_:_:)`` operator collects all the integer values it receives from its upstream publisher:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .reduce(0, { accum, next in accum + next })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"55\""},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: A closure that produces a new value by taking the previously-accumulated value and the next element it receives from the upstream publisher."},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes. If ``Publisher/reduce(_:_:)`` receives an error from the upstream publisher, the operator delivers it to the downstream subscriber, the publisher terminates and publishes no value."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the first element in a nonempty collection."},{"text":""},{"text":"If the collection is empty, `startIndex` is equal to `endIndex`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstRange(of:)"],"names":{"title":"firstRange(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the range of the first occurrence of a given collection"},{"text":"within this collection."},{"text":""},{"text":"- Parameter other: The collection to search for."},{"text":"- Returns: A range in the collection of the first occurrence of `sequence`."},{"text":"Returns nil if `sequence` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","debounce(for:scheduler:options:)"],"names":{"title":"debounce(for:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements only after a specified time interval elapses between events."},{"text":""},{"text":"Use the ``Publisher/debounce(for:scheduler:options:)`` operator to control the number of values and time between delivery of values from the upstream publisher. This operator is useful to process bursty or high-volume event streams where you need to reduce the number of values delivered to the downstream to a rate you specify."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes elements on a schedule defined by the `bounces` array. The array is composed of tuples representing a value sent by the ``PassthroughSubject``, and a ranging from one-quarter second up to 2 seconds that drives a delivery timer. As the queue builds, elements arriving faster than one-half second `debounceInterval` are discarded, while elements arriving at a rate slower than `debounceInterval` are passed through to the ``Publisher/sink(receiveValue:)`` operator."},{"text":""},{"text":" let bounces:[(Int,TimeInterval)] = ["},{"text":" (0, 0),"},{"text":" (1, 0.25), // 0.25s interval since last index"},{"text":" (2, 1), // 0.75s interval since last index"},{"text":" (3, 1.25), // 0.25s interval since last index"},{"text":" (4, 1.5), // 0.25s interval since last index"},{"text":" (5, 2) // 0.5s interval since last index"},{"text":" ]"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" cancellable = subject"},{"text":" .debounce(for: .seconds(0.5), scheduler: RunLoop.main)"},{"text":" .sink { index in"},{"text":" print (\"Received index \\(index)\")"},{"text":" }"},{"text":""},{"text":" for bounce in bounces {"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + bounce.1) {"},{"text":" subject.send(bounce.0)"},{"text":" }"},{"text":" }"},{"text":""},{"text":" // Prints:"},{"text":" // Received index 1"},{"text":" // Received index 4"},{"text":" // Received index 5"},{"text":""},{"text":" // Here is the event flow shown from the perspective of time, showing value delivery through the `debounce()` operator:"},{"text":""},{"text":" // Time 0: Send index 0."},{"text":" // Time 0.25: Send index 1. Index 0 was waiting and is discarded."},{"text":" // Time 0.75: Debounce period ends, publish index 1."},{"text":" // Time 1: Send index 2."},{"text":" // Time 1.25: Send index 3. Index 2 was waiting and is discarded."},{"text":" // Time 1.5: Send index 4. Index 3 was waiting and is discarded."},{"text":" // Time 2: Debounce period ends, publish index 4. Also, send index 5."},{"text":" // Time 2.5: Debounce period ends, publish index 5."},{"text":""},{"text":"- Parameters:"},{"text":" - dueTime: The time the publisher should wait before publishing an element."},{"text":" - scheduler: The scheduler on which this publisher delivers elements"},{"text":" - options: Scheduler options that customize this publisher’s delivery of elements."},{"text":"- Returns: A publisher that publishes events only after a specified time elapses."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"dueTime","declarationFragments":[{"kind":"identifier","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The specular value as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position representing the estimated point of contact."},{"text":""},{"text":"The point is an average calculated from the intersecting shapes."},{"text":"It’s specified in the coordinate space of the physics simulation,"},{"text":"which means it’s relative to ``ARView/physicsOrigin``. If the"},{"text":"physics origin is `nil`, the point is given in world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator"],"names":{"title":"Entity.ChildCollection.IndexingIterator","navigator":[{"kind":"identifier","spelling":"IndexingIterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IndexingIterator"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IndexingIterator"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Elements"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5input13configurationACx_AC13ConfigurationVtKcSTRzAA0C6SampleV7ElementRtzlufc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","init(input:configuration:)"],"names":{"title":"init(input:configuration:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"input"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a session from a sequence of samples."},{"text":""},{"text":"Creates a new session instance from a custom sequence of ``PhotogrammetrySample`` objects by iterating"},{"text":"over the provided object."},{"text":""},{"text":"The constructor will only use `makeIterator()` on `input` and will then iterate through the sequence"},{"text":"only once. A provided iterator should be lazy, or a lazy and map used."},{"text":""},{"text":"- Parameter input: the input `Sequence` that will be iterated once to yield all input data."},{"text":"- Parameter configuration: the session-wide configuration to use for this session."},{"text":""},{"text":"- Note: To minimize memory usage, use lazy sequences that only create a ``PhotogrammetrySample`` as it iterates by making calls to `next()` on its associated"},{"text":" ."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"PhotogrammetrySample","rhsPrecise":"s:17RealityFoundation20PhotogrammetrySampleV"}]},"declarationFragments":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"input"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":" = Configuration()) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySample","preciseIdentifier":"s:17RealityFoundation20PhotogrammetrySampleV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV5Indexa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Index"],"names":{"title":"Scene.AnchorCollection.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a position in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryPrefix(while:)"],"names":{"title":"tryPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while an error-throwing predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/tryPrefix(while:)`` to emit values from the upstream publisher that meet a condition you specify in an error-throwing closure."},{"text":"The publisher finishes when the closure returns `false`. If the closure throws an error, the publisher fails with that error."},{"text":""},{"text":" struct OutOfRangeError: Error {}"},{"text":""},{"text":" let numbers = (0...10).reversed()"},{"text":" cancellable = numbers.publisher"},{"text":" .tryPrefix {"},{"text":" guard $0 != 0 else {throw OutOfRangeError()}"},{"text":" return $0 <= numbers.max()!"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"10 9 8 7 6 5 4 3 2 1 completion: failure(OutOfRangeError()) \""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value indicating whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate throws or indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","SubSequence"],"names":{"title":"Scene.AnchorCollection.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A sequence that represents a contiguous subrange of the collection’s"},{"text":"elements."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains the entire collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is equal to"},{"text":" `maxLength`."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV_7samplerAeA0E8ResourceC_AE7SamplerVtcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","init(_:sampler:)"],"names":{"title":"init(_:sampler:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueAESgSS_tcfc","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent"],"names":{"title":"SynchronizationComponent","navigator":[{"kind":"identifier","spelling":"SynchronizationComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that synchronizes an entity between processes and networked"},{"text":"applications."},{"text":""},{"text":"An entity acquires a ``SynchronizationComponent`` instance by adopting the"},{"text":"``HasSynchronization`` protocol. All entities have this component because"},{"text":"the ``Entity`` base class adopts the protocol."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13ShapeResourceC","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMax(by:)"],"names":{"title":"tryMax(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMax(by:)`` to determine the maximum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMax(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMax { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first > second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: completion: failure(IllegalValueError())"},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":""},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Limits"],"names":{"title":"PhotogrammetrySession.Limits","navigator":[{"kind":"identifier","spelling":"Limits"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Limits"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Data structure to observe hardware limits for reconstruction. Note that these are specific to the device on which the"},{"text":"`PhotogrammetrySession` is run."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Limits"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a color or texture."},{"text":""},{"text":"In physically based rendering, the `metallic` property represents"},{"text":"the reflectiveness of an entity. This initializer creates a new"},{"text":"object that passes a single scale value, a texture, or both to the"},{"text":"material’s shader functions."},{"text":""},{"text":"The following code demonstrates creating a roughness object using"},{"text":"this initalizer:"},{"text":""},{"text":"```swift"},{"text":"if let metallicResource = try? TextureResource.load(named:"},{"text":"\"metallic_roughness\") {"},{"text":" let metallic = MaterialParameters.Texture(metallicResource)"},{"text":" customMaterial.roughness = .init(scale: 0.5, texture: metallic)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, the `texture` and `scale` properties you set"},{"text":"on this property are available in your surface shader function, but"},{"text":"RealityKit doesn’t automatically use them to render your entity. To"},{"text":"render an entity with reflectiveness,"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its"},{"text":"surface shader must call `params.surface().set_metallic()`."},{"text":""},{"text":"To achieve the same metallic behavior as"},{"text":"``PhysicallyBasedMaterial``, the surface shader function multiplies"},{"text":"the metallic scale by the sampled value from the roughness texture,"},{"text":"as the following Metal code demonstrates:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the metallic scale from the CustomMaterial."},{"text":" float metallicScale = params.material_constants().metallic_scale();"},{"text":""},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the texture based on the resulting UVs."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.metallic().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and the sampled value from the texture, and assign"},{"text":" // the result to the shader's metallic property."},{"text":" metallic *= metallicScale;"},{"text":" params.surface().set_metallic(metallic);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The reflectiveness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionVyAA12HasAnchoring_pSicip","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses the element at the specified position."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from seven other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":" let pubH = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF, pubG, pubH)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1000)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1001)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 1000 2 50 100 -2 33 33 54 1001\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":" - h: An eighth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]},{"name":"h","declarationFragments":[{"kind":"identifier","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1},{"name":"H","index":6,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"},{"kind":"sameType","lhs":"G.Failure","rhs":"H.Failure"},{"kind":"sameType","lhs":"G.Output","rhs":"H.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE10compactMapyAA012AsyncCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AsyncCompactMapSequence","preciseIdentifier":"s:12_Concurrency23AsyncCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that maps the given closure over the"},{"text":"asynchronous sequence’s elements, omitting results that don't return a"},{"text":"value."},{"text":""},{"text":"Use the `compactMap(_:)` method to transform every element received from"},{"text":"a base asynchronous sequence, while also discarding any `nil` results"},{"text":"from the closure. Typically, you use this to transform from one type of"},{"text":"element to another."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The closure provided to the `compactMap(_:)`"},{"text":"method takes each `Int` and looks up a corresponding `String` from a"},{"text":"`romanNumeralDict` dictionary. Because there is no key for `4`, the closure"},{"text":"returns `nil` in this case, which `compactMap(_:)` omits from the"},{"text":"transformed asynchronous sequence."},{"text":""},{"text":" let romanNumeralDict: [Int: String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":" "},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .compactMap { romanNumeralDict[$0] }"},{"text":" for await numeral in stream {"},{"text":" print(numeral, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"I II III V \""},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an element"},{"text":" of this sequence as its parameter and returns a transformed value of the"},{"text":" same or of a different type."},{"text":"- Returns: An asynchronous sequence that contains, in order, the"},{"text":" non-`nil` elements produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncCompactMapSequence","preciseIdentifier":"s:12_Concurrency23AsyncCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AsyncCompactMapSequence","preciseIdentifier":"s:12_Concurrency23AsyncCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-16rcy`` to return a new publisher that combines the elements from three other publishers to publish a tuple to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, several ``PassthroughSubject`` instances emit values; ``Publisher/zip(_:_:_:)-16rcy`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":" let fractionsPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" fractionsPub: 0.1 zip output: (1, \"A\", \"😀\", 0.1)"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: (2, \"B\", \"🥰\", 0.8)"},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\", 0.1)"},{"text":" // (2, \"B\", \"🥰\", 0.8)"},{"text":""},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryFirst(where:)"],"names":{"title":"tryFirst(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a throwing predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/tryFirst(where:)`` when you need to republish only the first element of a stream that satisfies an error-throwing closure you specify."},{"text":"The publisher ignores all elements after the first. If this publisher doesn’t receive any elements, it finishes without publishing. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a range publisher emits the first element in the range then finishes normally:"},{"text":""},{"text":" let numberRange: ClosedRange = (-1...50)"},{"text":" numberRange.publisher"},{"text":" .tryFirst {"},{"text":" guard $0 < 99 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 completion: finished\""},{"text":" // If instead the number range were ClosedRange = (100...200), the tryFirst operator would terminate publishing with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC7raycast6origin9direction6length5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_APSfAA0lM9QueryTypeOAA0L5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","raycast(origin:direction:length:query:mask:relativeTo:)"],"names":{"title":"raycast(origin:direction:length:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex ray cast against all the geometry in the scene for a"},{"text":"ray of a given origin, direction, and length."},{"text":""},{"text":"The method ignores entities that lack a ``CollisionComponent``."},{"text":""},{"text":"- Parameters:"},{"text":" - origin: The origin of the ray relative to `referenceEntity`."},{"text":""},{"text":" - direction: The direction of the ray relative to `referenceEntity`."},{"text":""},{"text":" - length: The length of the ray relative to `referenceEntity`."},{"text":""},{"text":" - query: A query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the ray, starting at a given point and traveling in a given"},{"text":"direction, hit a particular entity in the scene."},{"text":""},{"text":"The ``CollisionCastHit/normal`` property on returned result objects"},{"text":"contains the surface normal at the point of intersection with the"},{"text":"entity’s collision shape."}]},"functionSignature":{"parameters":[{"name":"origin","declarationFragments":[{"kind":"identifier","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"length","declarationFragments":[{"kind":"identifier","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 100, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","ignoreOutput()"],"names":{"title":"ignoreOutput()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores all upstream elements, but passes along the upstream publisher's completion state (finished or failed)."},{"text":""},{"text":"Use the ``Publisher/ignoreOutput()`` operator to determine if a publisher is able to complete successfully or would fail."},{"text":""},{"text":"In the example below, the array publisher (`numbers`) delivers the first five of its elements successfully, as indicated by the ``Publisher/ignoreOutput()`` operator. The operator consumes, but doesn’t republish the elements downstream. However, the sixth element, `0`, causes the error throwing closure to catch a `NoZeroValuesAllowedError` that terminates the stream."},{"text":""},{"text":" struct NoZeroValuesAllowedError: Error {}"},{"text":" let numbers = [1, 2, 3, 4, 5, 0, 6, 7, 8, 9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter({ anInt in"},{"text":" guard anInt != 0 else { throw NoZeroValuesAllowedError() }"},{"text":" return anInt < 20"},{"text":" })"},{"text":" .ignoreOutput()"},{"text":" .sink(receiveCompletion: {print(\"completion: \\($0)\")},"},{"text":" receiveValue: {print(\"value \\($0)\")})"},{"text":""},{"text":" // Prints: \"completion: failure(NoZeroValuesAllowedError())\""},{"text":""},{"text":"The output type of this publisher is ."},{"text":""},{"text":"- Returns: A publisher that ignores all upstream elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the shape by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"shape."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8metallicAC8MetallicVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","metallic"],"names":{"title":"metallic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8MetallicV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness of an entity."},{"text":""},{"text":"In physically based rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. Use this property to specify whether the"},{"text":"entity displays metallic qualities and reflects the surrounding"},{"text":"environment, or displays dielectric qualities and doesn’t reflect the"},{"text":"environment. With custom materials, RealityKit doesn’t automatically use"},{"text":"the values set on this property. To render a custom material using the"},{"text":"metallic property, the material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its surface"},{"text":"shader must specify a roughness value for rendering by calling"},{"text":"`params.surface().set_roughness()`."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The sphere"},{"text":"on the left is shiny but dielecric so doesn’t reflect the surrounding"},{"text":"environment other than specular highlights from the visible light. The"},{"text":"sphere on the right is metallic and reflects all of the surrounding"},{"text":"environment like a mirror"},{"text":"ball.](CustomMaterial-metallic-swift-property-1)"},{"text":""},{"text":"The following Swift code shows how to use an image and a scale to"},{"text":"specify roughness:"},{"text":""},{"text":"```swift"},{"text":"if let metallicResource = try? TextureResource.load(named:\"entity_metallic\") {"},{"text":" let metallic = MaterialParameters.Texture(metallicResource)"},{"text":" material.metallic = PhysicallyBasedMaterial.Metallic(scale: 1.0, texture:metallic)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"The following surface shader takes the scale and texture values from the"},{"text":"``CustomMaterial/metallic-swift.property`` property, multiplies them"},{"text":"together, and uses the result to specify the metallic value for"},{"text":"rendering, which emulates the behavior of ``PhysicallyBasedMaterial``."},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"// Use samplers to retrieve a color value from a texture based on // the"},{"text":"entity's UV coordinates. Samplers can be reused with different textures."},{"text":"// Surface shader functions should define no more than eight samplers."},{"text":"constexpr sampler textureSampler(address::clamp_to_edge,"},{"text":"filter::bicubic);"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters params)"},{"text":"{"},{"text":" // Retrieve the metallic scale from the CustomMaterial."},{"text":" float metallicScale = params.material_constants().metallic_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the metallic texture based on the UV coordinates."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.metallic().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture,"},{"text":" // and assign the result to the shader's metallic property."},{"text":" metallic *= metallicScale;"},{"text":" params.surface().set_metallic(metallic);"},{"text":"}"},{"text":""},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19AnimationRepeatModeO","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided ordering closure."},{"text":""},{"text":"Use ``Publisher/max(by:)`` to determine the maximum value of elements received from the upstream publisher based on an ordering closure you specify."},{"text":""},{"text":"In the example below, an array publishes enumeration elements representing playing card ranks. The ``Publisher/max(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the maximum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .jack]"},{"text":" cancellable = cards.publisher"},{"text":" .max {"},{"text":" return $0.rawValue > $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"queen\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","load(contentsOf:withName:)"],"names":{"title":"load(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an entity from a file URL."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform"],"names":{"title":"Transform","navigator":[{"kind":"identifier","spelling":"Transform"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines the scale, rotation, and translation of an entity."},{"text":""},{"text":"An entity acquires a ``Transform`` component, as well as a set of methods"},{"text":"for manipulating the transform, by adopting the ``HasTransform`` protocol."},{"text":"This is true for all entities, because the ``Entity`` base class adopts the"},{"text":"protocol."}]},"declarationFragments":[{"kind":"attribute","spelling":"@frozen"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"],"names":{"title":"handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Performs the specified closures when publisher events occur."},{"text":""},{"text":"Use ``Publisher/handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)`` when you want to examine elements as they progress through the stages of the publisher’s lifecycle."},{"text":""},{"text":"In the example below, a publisher of integers shows the effect of printing debugging information at each stage of the element-processing lifecycle:"},{"text":""},{"text":" let integers = (0...2)"},{"text":" cancellable = integers.publisher"},{"text":" .handleEvents(receiveSubscription: { subs in"},{"text":" print(\"Subscription: \\(subs.combineIdentifier)\")"},{"text":" }, receiveOutput: { anInt in"},{"text":" print(\"in output handler, received \\(anInt)\")"},{"text":" }, receiveCompletion: { _ in"},{"text":" print(\"in completion handler\")"},{"text":" }, receiveCancel: {"},{"text":" print(\"received cancel\")"},{"text":" }, receiveRequest: { (demand) in"},{"text":" print(\"received demand: \\(demand.description)\")"},{"text":" })"},{"text":" .sink { _ in return }"},{"text":""},{"text":" // Prints:"},{"text":" // received demand: unlimited"},{"text":" // Subscription: 0x7f81284734c0"},{"text":" // in output handler, received 0"},{"text":" // in output handler, received 1"},{"text":" // in output handler, received 2"},{"text":" // in completion handler"},{"text":""},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: An optional closure that executes when the publisher receives the subscription from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveOutput: An optional closure that executes when the publisher receives a value from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveCompletion: An optional closure that executes when the upstream publisher finishes normally or terminates with an error. This value defaults to `nil`."},{"text":" - receiveCancel: An optional closure that executes when the downstream receiver cancels publishing. This value defaults to `nil`."},{"text":" - receiveRequest: An optional closure that executes when the publisher receives a request for more elements. This value defaults to `nil`."},{"text":"- Returns: A publisher that performs the specified closures when publisher events occur."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCancel","declarationFragments":[{"kind":"identifier","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveRequest","declarationFragments":[{"kind":"identifier","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueSSvp","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","none"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that doesn’t display a visualization."},{"text":""},{"text":"A ``ModelDebugOptionsComponent`` with a `VisualizationNode` of"},{"text":"`none` has no effect on how RealityKit renders its entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType"],"names":{"title":"CollisionCastQueryType","navigator":[{"kind":"identifier","spelling":"CollisionCastQueryType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastQueryType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kinds of ray and convex shape cast queries that you can make."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastQueryType"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0E4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["ParameterSet","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a bindable value for the given name."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two shapes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first shape to compare."},{"text":""},{"text":" - rhs: The second shape to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two shapes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s rate of"},{"text":"playback. A value of `2.0` plays the animation at twice the normal rate,"},{"text":"and a speed of `0.5` makes the animation finish after twice the normal"},{"text":"time. A negative value plays the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","anchoring"],"names":{"title":"anchoring","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV6timingAA0F14TimingFunctionVvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","timing"],"names":{"title":"timing","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines the animation’s pace over time."},{"text":""},{"text":"Depending on the option you pick, the animation's progress moves at"},{"text":"varying speeds along its duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMin(by:)"],"names":{"title":"tryMin(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMin(by:)`` to determine the minimum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMin(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" numbers.publisher"},{"text":" .tryMin { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first < second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position one greater than the last valid subscript argument."},{"text":""},{"text":"When you need a range that includes the last element of an array,"},{"text":"use the half-open range operator (`..<`) with"},{"text":"``Scene/AnchorCollection/endIndex``. The `..<` operator creates a"},{"text":"range that doesn’t include the upper bound, so it’s always safe to"},{"text":"use with ``Scene/AnchorCollection/endIndex``."},{"text":""},{"text":"If the array is empty, ``Scene/AnchorCollection/endIndex`` is equal"},{"text":"to ``Scene/AnchorCollection/startIndex``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SKsE4last7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","last"],"names":{"title":"last","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The last element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let lastNumber = numbers.last {"},{"text":" print(lastNumber)"},{"text":" }"},{"text":" // Prints \"50\""},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while a predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/prefix(while:)`` to emit values while elements from the upstream publisher meet a condition you specify. The publisher finishes when the closure returns `false`."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(while:)`` operator emits values while the element it receives is less than five:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" numbers.publisher"},{"text":" .prefix { $0 < 5 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:)"],"names":{"title":"merge(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from another publisher of the same type, delivering an interleaved sequence of elements."},{"text":""},{"text":"- Parameter other: Another publisher of this publisher’s type."},{"text":"- Returns: A publisher that emits an event when either upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAsync(contentsOf:withName:)"],"names":{"title":"loadAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an entity from a file URL asynchronously."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials"],"names":{"title":"MeshDescriptor.Materials","navigator":[{"kind":"identifier","spelling":"Materials"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Materials"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Materials"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element equal to the argument."},{"text":""},{"text":"Use ``Publisher/contains(_:)`` to find the first element in an upstream that’s equal to the supplied argument. The contains publisher consumes all received elements until the upstream publisher produces a matching element. Upon finding the first match, it emits `true` and finishes normally. If the upstream finishes normally without producing a matching element, this publisher emits `false` and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/contains(_:)`` operator emits `true` the first time it receives the value `5` from the `numbers.publisher`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 5, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains(5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter output: An element to match against."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity, specified as a single value."},{"text":""},{"text":"If ``PhysicallyBasedMaterial/Opacity/texture`` is `nil`, RealityKit"},{"text":"uses this value for the opacity of the entire material. If"},{"text":"``PhysicallyBasedMaterial/Opacity/texture`` isn’t `nil`, RealityKit"},{"text":"calculates opacity by multiplying the value sampled from"},{"text":"``PhysicallyBasedMaterial/Opacity/texture`` by"},{"text":"``CustomMaterial/Opacity/scale``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lastIndex(where:)"],"names":{"title":"lastIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the index of the last element in the collection that matches the"},{"text":"given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. This example finds the index of the last name that"},{"text":"begins with the letter *A:*"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.lastIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Akosua starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the last element in the collection that matches"},{"text":" `predicate`, or `nil` if no elements match."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives"],"names":{"title":"MeshDescriptor.Primitives","navigator":[{"kind":"identifier","spelling":"Primitives"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Primitives"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Primitives"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryReduce(_:_:)"],"names":{"title":"tryReduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies an error-throwing closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/tryReduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on an error-throwing closure you provide."},{"text":"If the closure throws an error, the publisher fails and passes the error to its subscriber."},{"text":""},{"text":"In the example below, the publisher’s `0` element causes the `myDivide(_:_:)` function to throw an error and publish the result:"},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" var numbers: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" numbers.publisher"},{"text":" .tryReduce(numbers.first!, { accum, next in try myDivide(accum, next) })"},{"text":" .catch({ _ in Just(Double.nan) })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: An error-throwing closure that takes the previously-accumulated value and the next element from the upstream publisher to produce a new value."},{"text":""},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV8metallicAA0D15ScalarParameterOvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","metallic"],"names":{"title":"metallic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that you set to control whether the material has a"},{"text":"metallic look."},{"text":""},{"text":"This property defines whether a material is dielectric (`0.0`) or a metallic (`1.0`). Although"},{"text":"this property can be set to any value between `0` and `1`, to create a realistic material, set it"},{"text":"to either `0` or `1`.)."},{"text":""},{"text":"- term Dielectric materials: These are materials that simulate real-world materials that are poor"},{"text":"conductors. In these materials, light travels into the surface of the material and the color is mostly"},{"text":"controlled by the color of the sub-surface. Typical examples of dielectric materaisl include organic"},{"text":"materials, plastics, and industrial minerals such as sand, limestone, marble, clay and salt."},{"text":""},{"text":"- term Metallic: A metallic (or *conductive*) material reflects light differently than dielectric ones."},{"text":"The overall color is caused by an immediate re-emission of the light from the entity's surface. Typical"},{"text":"examples of metallic materials include aluminum, chassis metal, chromium, copper, gold, silver, and"},{"text":"titanium"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationGroup/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent"],"names":{"title":"CharacterControllerComponent","navigator":[{"kind":"identifier","spelling":"CharacterControllerComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that manages character movement."},{"text":""},{"text":"To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent``"},{"text":"to your entity to make it a character entity. Character entities can *move* to new locations in space,"},{"text":"which happens over a period of time based on how you've configured the character controller component,"},{"text":"and also *teleport*, which moves the charcter to the new location instantaneously."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the bounding box by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"box."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7uvIndexSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","uvIndex"],"names":{"title":"uvIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uvIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uvIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"},{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the last element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"This example uses the `last(where:)` method to find the last"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let lastNegative = numbers.last(where: { $0 < 0 }) {"},{"text":" print(\"The last negative number is \\(lastNegative).\")"},{"text":" }"},{"text":" // Prints \"The last negative number is -6.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The last element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](CustomMaterial-Specular-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by"},{"text":"augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from a"},{"text":"single value that applies to the entire material. The specular"},{"text":"``CustomMaterial/Specular-swift.struct/scale`` value is available to"},{"text":"the material’s surface shader, but RealityKit doesn’t create"},{"text":"additional specular highlights unless the surface shader function"},{"text":"calls `params.surface().set_specular()`."},{"text":""},{"text":"The following Metal code demonstrates using the specular `scale`"},{"text":"value in a surface shader function:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the opacity scale from the CustomMaterial and assign it."},{"text":" float specularScale = params.material_constants().specular_scale();"},{"text":" params.surface().set_specular(specular);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: A value from `0.0` to `1.0` to use as the specular value"},{"text":"for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended"],"names":{"title":"CollisionEvents.Ended","navigator":[{"kind":"identifier","spelling":"Ended"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Ended"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised when two objects, previously in contact, separate."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Ended"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to determine the minimum value in the stream of elements from an upstream publisher using a comparison operation you specify."},{"text":""},{"text":"This operator is useful when the value received from the upstream publisher isn’t ."},{"text":""},{"text":"In the example below an array publishes enumeration elements representing playing card ranks. The ``Publisher/min(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the minimum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .king]"},{"text":" cancellable = cards.publisher"},{"text":" .min {"},{"text":" return $0.rawValue < $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"ace\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation14QueryPredicateV3hasyACyAA6EntityCGqd__mAA9ComponentRd__lFZ","interfaceLanguage":"swift"},"pathComponents":["QueryPredicate","has(_:)"],"names":{"title":"has(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new predicate that describes entities that have a specific"},{"text":"component."},{"text":""},{"text":"To create a `has` predicate, pass the component class’s `self` property."},{"text":""},{"text":"```swift"},{"text":"let myPredicate = QueryPredicate.has(ModelComponent.self)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - t: The type of component."},{"text":""},{"text":"- Returns: A predicate that describes entities with a specified"},{"text":"component."}]},"functionSignature":{"parameters":[{"name":"t","declarationFragments":[{"kind":"identifier","spelling":"t"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0},{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"t"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntityAA0H0Cvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","characterEntity"],"names":{"title":"characterEntity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Entity owning the character controller component."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup"],"names":{"title":"CollisionGroup","navigator":[{"kind":"identifier","spelling":"CollisionGroup"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionGroup"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bitmask used to define the collision group to which an entity belongs."},{"text":""},{"text":"You use collision groups along with ``CollisionFilter`` to define custom"},{"text":"collision properties for entities in your scene and controlling which"},{"text":"entities collide wit which other entities. By default, all entities that"},{"text":"participate in the physics simulation collide with all other participating"},{"text":"entities. There are times, however, when you need certain entities to not"},{"text":"collide with certain other entities, and that’s where collision groups and"},{"text":"filters come into play."},{"text":""},{"text":"Create individual collision groups using raw bit flag values, like this:"},{"text":""},{"text":"```swift"},{"text":" let redGroup = CollisionGroup(rawValue: 1 << 0)"},{"text":" let blueGroup = CollisionGroup(rawValue: 1 << 1)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 2)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 3)"},{"text":"```"},{"text":""},{"text":"Because ``CollisionGroup`` conforms to"},{"text":", this allows"},{"text":"you to create aggregate groups that encompass multiple individual collision"},{"text":"groups, like so:"},{"text":""},{"text":"```swift"},{"text":" let blueAndRedGroup = redGroup.union(blueGroup)"},{"text":" let greenAndYellowGroup = greenGroup.union(yellowGroup)"},{"text":"```"},{"text":""},{"text":"You can also define groups that have all entities except those in specific"},{"text":"groups. In a game, for example, you might want to turn off collisions"},{"text":"between members of the same team or between pieces owned by the same player."},{"text":"This is what creating that kind of filter would look like:"},{"text":""},{"text":"```swift"},{"text":" let allButRedGroup = CollisionGroup.all.subtracting(redGroup)"},{"text":"```"},{"text":""},{"text":"Collision groups aren’t assigned directly to entities. Instead, you create a"},{"text":"``CollisionFilter`` for the group, and then assign that filter to all the"},{"text":"entities you wish to include in its group. The collision filter’s mask"},{"text":"defines which objects the entities in this group collide with, and all"},{"text":"entities that share the same filter are part of the same collision group."},{"text":""},{"text":"```swift"},{"text":"let allButRedFilter = CollisionFilter(group: redGroup, mask:allButRedGroup)"},{"text":"redTeamPlayer1.collision?.filter = allButRedFilter"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionGroup"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a base color object from a custom material’s base color"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s base color property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lastIndex(of:)"],"names":{"title":"lastIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the last index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `lastIndex(of:)` to find the position of the last instance of"},{"text":"a particular element in a collection, you can use it to access the"},{"text":"element by subscripting. This example shows how you can modify one of"},{"text":"the names in an array of students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Ben\", \"Maxime\"]"},{"text":" if let i = students.lastIndex(of: \"Ben\") {"},{"text":" students[i] = \"Benjamin\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Benjamin\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The last index where `element` is found. If `element` is not"},{"text":" found in the collection, this method returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9roughnessAC9RoughnessVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9RoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount the surface of the 3D object scatters reflected light."},{"text":""},{"text":"In physically based rendering, the `roughness` property represents how"},{"text":"much the surface of an entity scatters the light that it reflects. A"},{"text":"material with a high roughness has a matte appearance, whereas one with"},{"text":"a low roughness has a shiny appearance. With custom materials,"},{"text":"RealityKit doesn’t automatically use the values set on this property. To"},{"text":"render a custom material using roughness, the material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its surface"},{"text":"shader must specify a roughness value for rendering by calling"},{"text":"`params.surface().set_roughness()`."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte appearance"},{"text":"with very soft specular highlights. The sphere on the right has no"},{"text":"highlights whatsoever.](CustomMaterial-roughness-swift-property-1)"},{"text":""},{"text":"With custom materials, the `texture` and `scale` values from the"},{"text":"``CustomMaterial/roughness-swift.property`` property are available in"},{"text":"your surface shader function, but RealityKit doesn’t automatically use"},{"text":"them to render your entity. Your surface shader is responsible for"},{"text":"calculating or setting the actual roughness value for rendering."},{"text":""},{"text":"The following example shows how to use an image and a scale value to"},{"text":"specify roughness:"},{"text":""},{"text":"```swift"},{"text":"if let roughnessResource = try? TextureResource.load(named: \"entity_roughness\") {"},{"text":" let roughness = MaterialParameters.Texture(roughnessResource)"},{"text":" material.roughness = PhysicallyBasedMaterial.Roughness(tint: .green, texture:roughness)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"The following surface shader takes the scale and texture from the"},{"text":"``CustomMaterial/roughness-swift.property`` property, multiplies them"},{"text":"together, and sets the resulting value as the roughness for rendering,"},{"text":"which emulates the behavior of ``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"// Samplers are used to retrieve a color value from a texture based on"},{"text":"// the entity's UV coordinates. Samplers can be reused with different"},{"text":"textures. // Surface shader functions should define no more than eight"},{"text":"samplers. constexpr sampler textureSampler(address::clamp_to_edge,"},{"text":"filter::bicubic);"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters params)"},{"text":"{"},{"text":" // Retrieve the roughness scale from the CustomMaterial."},{"text":" float roughnessScale = params.material_constants().roughness_scale();"},{"text":""},{"text":" // Retrieve the sampled value from the CustomMaterial's base color texture."},{"text":" auto uv = getFlippedUVs(params);"},{"text":" auto tex = params.textures();"},{"text":" half roughness = tex.roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture, and assign it"},{"text":" // to the shader's base color property."},{"text":" roughness *= roughnessScale;"},{"text":""},{"text":" // Set the roughness value to be used by the custom material shader."},{"text":" params.surface().set_roughness(roughness);"},{"text":"}"},{"text":""},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO7nearestyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","nearest"],"names":{"title":"CollisionCastQueryType.nearest","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nearest"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report the closest hit."},{"text":""},{"text":"If you only want to test if a hit occurs and don’t care about which hit"},{"text":"out of multiple possible hits is returned, use"},{"text":"``CollisionCastQueryType/any`` instead because it typically executes"},{"text":"faster."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nearest"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType"],"names":{"title":"SceneUnderstandingComponent.EntityType","navigator":[{"kind":"identifier","spelling":"EntityType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Types of real-world object that a scene-understanding component models."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityType"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup"],"names":{"title":"AnimationGroup","navigator":[{"kind":"identifier","spelling":"AnimationGroup"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationGroup"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations that play simultaneously."},{"text":""},{"text":"This structure concurrently starts the animations it contains. Use a group"},{"text":"to:"},{"text":""},{"text":"- Animate more than one property at once."},{"text":"- Animate the same property at different times."},{"text":""},{"text":"## Animate Multiple Properties Concurrently"},{"text":""},{"text":"For each animatable property your animation needs to control, create a group"},{"text":"and add an animation to the array argument of the initializer. The following"},{"text":"listing begins coding an animation group that colorizes 3D numbers that"},{"text":"count down over a 4-second duration."},{"text":""},{"text":"```swift"},{"text":"let frames: [Float] = [3.0, 2.0, 1.0, 0.0]"},{"text":"let duration = TimeInterval(frames.count)"},{"text":"let anim1 = FromToByAnimation(name: \"colorize\", from: 0.0, to: 1.0,"},{"text":" duration: duration, bindTarget: .parameter(\"foo\"))"},{"text":"let anim2 = SampledAnimation(frames: frames, name: \"count down\","},{"text":" frameInterval: duration / frames.count, bindTarget: .parameter(\"bar\"))"},{"text":"let group = AnimationGroup(group: [anim1, anim2], name: \"group\")"},{"text":"```"},{"text":""},{"text":"## Create a Sequence for the Same Animation"},{"text":""},{"text":"You can play the same animation at different times by grouping multiple"},{"text":"``AnimationDefinition`` objects that refer to the same animated property. To"},{"text":"disperse their playback at runtime, give each definition a unique"},{"text":"``AnimationDefinition/delay``."},{"text":""},{"text":"- Important: The framework processes animations with a lower"},{"text":"``AnimationGroup/blendLayer`` first, and if the"},{"text":"``AnimationGroup/blendLayer`` matches, in the order in which they appear in"},{"text":"the groups array. If two animations on the same property overlap durations"},{"text":"at runtime, the one that the framework processes second overwrites the"},{"text":"first."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationGroup"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(of:)"],"names":{"title":"index(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5,"minor":0},"renamed":"firstIndex(of:)"}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5input13configurationAC0B03URLV_AC13ConfigurationVtKcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","init(input:configuration:)"],"names":{"title":"init(input:configuration:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"input"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a session from a specified directory of images."},{"text":""},{"text":"Creates a new session instance using all images in the specified input directory as samples for reconstruction."},{"text":""},{"text":"- Parameter input: the directory containing a folder of images to use as reconstruction inputs."},{"text":"- Parameter configuration: the configuration to use for this session."},{"text":""},{"text":"- Throws: if `input` is not a file ."}]},"declarationFragments":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"input"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":" = Configuration()) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10repeatModeAA0e6RepeatG0Ovp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``BlendTreeAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``BlendTreeAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:_:)"],"names":{"title":"zip(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:_:)`` to return a new publisher that combines the elements from three other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, the ``PassthroughSubject`` publishers, `numbersPub`,"},{"text":"`fractionsPub`, `lettersPub`, and `emojiPub` emit values. The ``Publisher/zip(_:_:_:_:)`` operator receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times and prints out the value in `fractionsPub`."},{"text":""},{"text":" let numbersPub = PassthroughSubject() // first publisher"},{"text":" let lettersPub = PassthroughSubject() // second"},{"text":" let emojiPub = PassthroughSubject() // third"},{"text":" let fractionsPub = PassthroughSubject()// fourth"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub) { anInt, aLetter, anEmoji, aFraction in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt)) \\(aFraction)\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: zip output: \"🥰🥰 BB\""},{"text":" // Prints:"},{"text":" //1 😀 A 0.1"},{"text":" //2 🥰🥰 BB 0.8"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from four upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC14generateSphere6radiusACSf_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateSphere(radius:)"],"names":{"title":"generateSphere(radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new sphere mesh with the specified radius."},{"text":""},{"text":"The sphere is centered at the entity’s origin."},{"text":""},{"text":"- Parameters:"},{"text":" - radius: The radius, in meters, of the sphere."},{"text":""},{"text":"- Returns: A sphere mesh."}]},"functionSignature":{"parameters":[{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO3allyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","all"],"names":{"title":"CollisionCastQueryType.all","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report all hits sorted in ascending order by distance from the cast"},{"text":"origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","anchorIdentifier"],"names":{"title":"anchorIdentifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identifier of the AR anchor with which the anchor entity is"},{"text":"associated, or `nil` if it isn’t currently anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``FromToByAnimation/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value, a UV-mapped texture, or both."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](CustomMaterial-Specular-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by"},{"text":"augmenting the specular highlights."},{"text":""},{"text":"The specular ``CustomMaterial/Specular-swift.struct/scale`` and"},{"text":"``CustomMaterial/Specular-swift.struct/texture`` values are"},{"text":"available to the material’s surface shader, but RealityKit doesn’t"},{"text":"render additional specular highlights unless the surface shader"},{"text":"function calls `params.surface().set_specular()`."},{"text":""},{"text":"The following Metal code demonstrates using the specular `scale` and"},{"text":"`texture` values in a surface shader function to calculate specular"},{"text":"highlights, emulating the specular behavior of"},{"text":"``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the opacity scale from the CustomMaterial."},{"text":" float specularScale = params.material_constants().specular_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the specular texture."},{"text":" auto tex = params.textures();"},{"text":" half specular = tex.specular().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture and assign"},{"text":" // the result."},{"text":" specular *= specularScale;"},{"text":" params.surface().set_specular(specular);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- scale: A value from `0.0` to `1.0` to use as the specular value"},{"text":"for the material."},{"text":""},{"text":" - texture: An optional UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated"],"names":{"title":"CollisionEvents.Updated","navigator":[{"kind":"identifier","spelling":"Updated"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Updated"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised on every frame when two objects are in contact."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Updated"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO3anyyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","any"],"names":{"title":"CollisionCastQueryType.any","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report one hit."},{"text":""},{"text":"This query type typically executes fastest, but doesn’t guarantee"},{"text":"anything about which hit it returns. If you need the hit closest to the"},{"text":"origin of the cast, use ``CollisionCastQueryType/nearest`` instead."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/max()`` to determine the maximum value in the stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/max()`` operator emits a value when the publisher finishes, that value is the maximum of the values received from upstream, which is `10`."},{"text":""},{"text":" let numbers = [0, 10, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .max()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO","interfaceLanguage":"swift"},"pathComponents":["SystemDependency"],"names":{"title":"SystemDependency","navigator":[{"kind":"identifier","spelling":"SystemDependency"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SystemDependency"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines update order relative to other systems."},{"text":"An object that specifies the update order between multiple systems."},{"text":""},{"text":"Add instances of `SystemDependency` to your system’s"},{"text":"``System/dependencies-2s31o`` array to indicate whether RealityKit updates"},{"text":"another specified system before or after this system."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SystemDependency"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO4RateO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO15lightingDiffuseyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","lightingDiffuse"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.lightingDiffuse","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingDiffuse"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the intensity of indirect light hitting the"},{"text":"entity as its surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`lightingDiffuse` to an entity to tell RealityKit to draw the"},{"text":"intensity of indirect, ambient lighting falling on the entity as its"},{"text":"surface color. RealityKit represents the intensity of indirect light"},{"text":"as a grayscale value from black (`0.0`) to white (`1.0`)."},{"text":""},{"text":"RealityKit calculates diffuse lighting for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray, which is a representation of"},{"text":"the amount of indirect light falling on the TV at each"},{"text":"point.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-lightingDiffuse-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingDiffuse"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC10loadAnchor5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchor(named:in:)"],"names":{"title":"loadAnchor(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an anchor entity from a file in a bundle."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as an"},{"text":"``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV8containsySbs5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box contains the specified point."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box contains the specified"},{"text":"point."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object using a single value or a texture."},{"text":""},{"text":"This initializer allows you to create an instance using either a"},{"text":"single value for the entire material or a UV-mapped image. If"},{"text":"`texture` is non-`nil`, RealityKit uses that image to determine the"},{"text":"material’s opacity and ignores `scale`. If `texture` is `nil`, then"},{"text":"it uses `scale` for the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The opacity value for the entire material."},{"text":""},{"text":" - texture: The opacity values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6removeyyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the anchor at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The anchor to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACs5SIMD3VySfG_SftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(size:cornerRadius:)"],"names":{"title":"generateBox(size:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with the given dimensions."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - size: Dimensions, in meters, for the faces of the box."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial"],"names":{"title":"UnlitMaterial","navigator":[{"kind":"identifier","spelling":"UnlitMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"UnlitMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A simple material that doesn’t respond to lights in the scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"UnlitMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9formUnionyyACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Expands the bounding box to contain the specified bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another bounding box."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16lightingSpecularyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","lightingSpecular"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.lightingSpecular","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingSpecular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the intensity of direct light hitting the"},{"text":"entity as its surface color."},{"text":""},{"text":"Adding a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`lightingSpecular` to an entity tells RealityKit to draw the"},{"text":"intensity of direct light falling on the entity as its surface"},{"text":"color. The calculated value represents direct light hitting the"},{"text":"object from both real-world and virtual lights. RealityKit draws the"},{"text":"light intensity as a grayscale value from black (`0.0`) to white"},{"text":"(`1.0`)."},{"text":""},{"text":"RealityKit calculates specular lighting for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .lightingSpecular)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray, which is a representation of"},{"text":"the amount of direct light falling on the TV at each"},{"text":"point.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-lightingSpecular-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingSpecular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The width of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC11generateBox5width6height5depthACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateBox(width:height:depth:)"],"names":{"title":"generateBox(width:height:depth:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a box shape with the specified dimensions."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The extent of the box along the x-axis in meters."},{"text":""},{"text":" - height: The extent of the box along the y-axis in meters."},{"text":""},{"text":" - depth: The extent of the box along the z-axis in meters."},{"text":""},{"text":"- Returns: The new box centered at the local origin and aligned with the"},{"text":"local axes."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter"],"names":{"title":"CollisionFilter","navigator":[{"kind":"identifier","spelling":"CollisionFilter"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFilter"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of masks that determine whether entities can collide during"},{"text":"simulations."},{"text":""},{"text":"Use Collision filters in combination with collision groups to define which"},{"text":"entities collide with which other entities in a scene. For more information"},{"text":"on using collision filters, see ``CollisionGroup``"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFilter"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","first()"],"names":{"title":"first()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream, then finishes."},{"text":""},{"text":"Use ``Publisher/first()`` to publish just the first element from an upstream publisher, then finish normally. The ``Publisher/first()`` operator requests ``Subscribers/Demand/unlimited`` from its upstream as soon as downstream requests at least one element. If the upstream completes before ``Publisher/first()`` receives any elements, it completes without emitting any values."},{"text":""},{"text":"In this example, the ``Publisher/first()`` publisher republishes the first element received from the sequence publisher, `-10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Print: \"-10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the first element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity"],"names":{"title":"Entity","navigator":[{"kind":"identifier","spelling":"Entity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Entity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An element of a RealityKit scene to which you attach components that provide"},{"text":"appearance and behavior characteristics for the entity."},{"text":""},{"text":"You create and configure entities to embody objects that you want to place"},{"text":"in the real world in an AR app. You do this by adding ``Entity`` instances"},{"text":"to the ``Scene`` instance associated with an ``ARView``."},{"text":""},{"text":"RealityKit defines a few concrete subclasses of ``Entity`` that provide"},{"text":"commonly used functionality. For example, you typically start by creating an"},{"text":"instance of ``AnchorEntity`` to anchor your content, and add the anchor to a"},{"text":"scene’s ``Scene/anchors`` collection. You might then instantiate a"},{"text":"``ModelEntity`` to represent a physical object in the scene, and add that as"},{"text":"a child entity to the anchor. You can also create custom entities, and add"},{"text":"them either to an anchor, or as children of another entity."},{"text":""},{"text":"![Block diagram showing how entity hierarchies, composed of different kinds"},{"text":"of entities, attach to a scene, which is itself a child of the AR"},{"text":"view.](Entity-1)"},{"text":""},{"text":"You can load predefined entities or a hierarchy of entities from your app’s"},{"text":"bundle, or from a file on disk, using the methods in ."},{"text":"Alternatively, you can create entities programmatically."},{"text":""},{"text":"Entities contain components (instances conforming to the ``Component``"},{"text":"protocol) that provide appearance and behaviors for the entity. For example,"},{"text":"the ``Transform`` component contains the scale, rotation, and translation"},{"text":"information needed to position an entity in space. You store components in"},{"text":"the entity’s ``Entity/components`` collection, which can hold exactly one of"},{"text":"any component type. It makes sense to have only a single ``Transform``"},{"text":"component, one ``ModelComponent`` (specifying the visual appearance of the"},{"text":"entity), and so on."},{"text":""},{"text":"![Diagram showing the components present in the base entity class, as well"},{"text":"as in the derived anchor entity and model entity classes.](Entity-2)"},{"text":""},{"text":"All entities inherit a few common components from the ``Entity`` base class:"},{"text":"the ``Transform`` component for spatial positioning, and"},{"text":"``SynchronizationComponent``, which enables synchronization of the entity"},{"text":"among networked peers. Specific types of entities define additional"},{"text":"behaviors. For example, the model entity has components for visual"},{"text":"appearance (``ModelComponent``), collision detection"},{"text":"(``CollisionComponent``), and physics simulations (``PhysicsBodyComponent``"},{"text":"and ``PhysicsMotionComponent``)."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Entity"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-9yqi1`` to return a new publisher that combines the elements from two other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject`` that emit values; ``Publisher/zip(_:_:_:)-9yqi1`` receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(letters, emoji) { anInt, aLetter, anEmoji in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt))\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub:\"😀\", \"🥰\" zip output: \"🥰🥰 BB\""},{"text":""},{"text":" // Prints:"},{"text":" // 😀 A"},{"text":" // 🥰🥰 BB"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from three upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent"],"names":{"title":"AccessibilityComponent.CustomContent","navigator":[{"kind":"identifier","spelling":"CustomContent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomContent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A CustomContent struct contains the accessibility strings for the labels you apply to your accessibility content."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomContent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryVACycfc","interfaceLanguage":"swift"},"pathComponents":["EntityQuery","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a query that returns all entities in a scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The height of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","breakpointOnError()"],"names":{"title":"breakpointOnError()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal upon receiving a failure."},{"text":""},{"text":"When the upstream publisher fails with an error, this publisher raises the `SIGTRAP` signal, which stops the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In this example a ``PassthroughSubject`` publishes strings, but its downstream ``Publisher/tryMap(_:)`` operator throws an error. This sends the error downstream as a ``Subscribers/Completion/failure(_:)``. The ``Publisher/breakpointOnError()`` operator receives this completion and stops the app in the debugger."},{"text":""},{"text":" struct CustomError : Error {}"},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .tryMap { stringValue in"},{"text":" throw CustomError()"},{"text":" }"},{"text":" .breakpointOnError()"},{"text":" .sink("},{"text":" receiveCompletion: { completion in print(\"Completion: \\(String(describing: completion))\") },"},{"text":" receiveValue: { aValue in print(\"Result: \\(String(describing: aValue))\") }"},{"text":" )"},{"text":""},{"text":" publisher.send(\"TEST DATA\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Returns: A publisher that raises a debugger signal upon receiving a failure."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode"],"names":{"title":"CollisionComponent.Mode","navigator":[{"kind":"identifier","spelling":"Mode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Mode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that dictates how much collision data is collected for a given"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Mode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions"],"names":{"title":"AccessibilityComponent.SupportedActions","navigator":[{"kind":"identifier","spelling":"SupportedActions"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SupportedActions"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A custom action that can be invoked on an entity in response to specific user cues."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SupportedActions"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7byValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","FloatLiteralType"],"names":{"title":"CustomMaterial.Metallic.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object using a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The opacity value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV11faceCullingAA0D14ParameterTypesV04FaceF0Ovp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","faceCulling"],"names":{"title":"faceCulling","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV11FaceCullinga"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A process in which the system specifies polygons to remove before"},{"text":"rendering a scene."},{"text":""},{"text":"To improve performance, RealityKit culls polygons, or _faces_, that it"},{"text":"determines won’t be visible. Discarding faces that aren’t part of the"},{"text":"final render elimininates the need to do any calculations for those"},{"text":"faces."},{"text":""},{"text":"RealityKit recognizes when a face aims toward the camera (a _front"},{"text":"face_) or away from the camera (a _back face_). This value controls the"},{"text":"type of faces RealityKit culls."},{"text":""},{"text":"The default for this value is"},{"text":"``MaterialParameterTypes/FaceCulling/back``, which means RealityKit"},{"text":"removes faces that point away from the camera. Because back faces point"},{"text":"away from the camera and are usually obscured by front-facing polygons,"},{"text":"the user typically won’t see them. As a result, in most cases, the"},{"text":"default setting is desirable because it culls polygons that don’t"},{"text":"contribute to the rendered scene."},{"text":""},{"text":"You can change the culling behavior to cull front faces instead or to"},{"text":"turn off face culling altogether, but be aware that turning off face"},{"text":"culling results in less efficient rendering and may negatively impact"},{"text":"your app’s frame rate."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV11FaceCullinga"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV15defaultUpVectors5SIMD3VySfGvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultUpVector"],"names":{"title":"defaultUpVector","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultUpVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultUpVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5unionyA2CF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box containing the current bounds and the specified"},{"text":"bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another bounding box."},{"text":""},{"text":"- Returns: The new bounding box."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode"],"names":{"title":"BlendTreeSourceNode","navigator":[{"kind":"identifier","spelling":"BlendTreeSourceNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeSourceNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A blend node that contains an animation."},{"text":""},{"text":"This structure adopts ``BlendTreeNode`` and adds the ability to store a"},{"text":"single animation. A complete ``BlendTreeAnimation`` represents a mix of all"},{"text":"the animations that its source nodes contain. Each source node defines a"},{"text":"``BlendTreeSourceNode/weight`` that determines how much effect the source's"},{"text":"animation has in the blend tree's resulting, mixed animation. To define the"},{"text":"source's animation, set this structure's ``BlendTreeSourceNode/source``"},{"text":"property."},{"text":""},{"text":"## Access a Source Node of a Blend Tree"},{"text":""},{"text":"A source may exist in any leaf-node position in the blend animation's tree."},{"text":"The following code checks the root node for a source. If instead the root"},{"text":"node is a branch, the code begins checking the branches sources."},{"text":""},{"text":"```swift"},{"text":"// Check if the root node is a source."},{"text":"if let blendNode = blendTree.root as? BlendTreeSourceNode {"},{"text":" // Found a source."},{"text":""},{"text":"// Check if the root node is a branch."},{"text":"} else if let source = blendTree.root as? BlendTreeBlendNode {"},{"text":""},{"text":" // Check for a source in the branch's sources."},{"text":" if let source = blendNode.sources[0] as? BlendTreeSourceNode {"},{"text":" // Found a source."},{"text":" }"},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeSourceNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode"],"names":{"title":"BlendTreeBlendNode","navigator":[{"kind":"identifier","spelling":"BlendTreeBlendNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeBlendNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A source node for an animation that mixes several animations to form a"},{"text":"single animation."},{"text":""},{"text":"A _blend tree animation_ mixes multiple animations to form a single"},{"text":"animation. The ``BlendTreeBlendNode`` structure adopts the ``BlendTreeNode``"},{"text":"protocol, which specifies the behavior of animations that make up a blend"},{"text":"tree animation. This structure adds the ability to branch a blend tree at"},{"text":"any point. Each member of this property's ``BlendTreeBlendNode/sources``"},{"text":"array represents a branch in the tree. For more information about blend"},{"text":"trees, see ``BlendTreeAnimation``."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeBlendNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11pixelFormatSo08MTLPixelH0Vvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","pixelFormat"],"names":{"title":"pixelFormat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The size and bit layout of all pixels in each drawable's texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceError(with:)"],"names":{"title":"replaceError(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces any errors in the stream with the provided element."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher emits the provided element, then finishes normally."},{"text":""},{"text":"In the example below, a publisher of strings fails with a `MyError` instance, which sends a failure completion downstream. The ``Publisher/replaceError(with:)`` operator handles the failure by publishing the string `(replacement element)` and completing normally."},{"text":""},{"text":" struct MyError: Error {}"},{"text":" let fail = Fail(error: MyError())"},{"text":" cancellable = fail"},{"text":" .replaceError(with: \"(replacement element)\")"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(replacement element) finished\"."},{"text":""},{"text":"This ``Publisher/replaceError(with:)`` functionality is useful when you want to handle an error by sending a single replacement element and end the stream. Use ``Publisher/catch(_:)`` to recover from an error and provide a replacement publisher to continue providing elements to the downstream subscriber."},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher fails."},{"text":"- Returns: A publisher that replaces an error from the upstream publisher with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode"],"names":{"title":"AnimationFillMode","navigator":[{"kind":"identifier","spelling":"AnimationFillMode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationFillMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine which animation frames display outside of the normal"},{"text":"duration."},{"text":""},{"text":"This structure enables you to lock an animation at its starting frame for a"},{"text":"period of time before beginning. You can also lock an animation to its"},{"text":"ending frame for a specified amount of time after it finishes, or both."},{"text":""},{"text":"An animation applies the fill mode you choose when a range determined by"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration`` exceeds the animation's underlying duration,"},{"text":"which the framework calculates as the frame count (see"},{"text":"``SampledAnimation/frames-2j4nj``) multiplied by the"},{"text":"``SampledAnimation/frameInterval``, multiplied by"},{"text":"``AnimationDefinition/speed``."},{"text":""},{"text":"For example, if you set the ``AnimationDefinition/trimStart`` property for"},{"text":"an animation of a hand waving to `-1.0` and ``SampledAnimation/fillMode`` to"},{"text":"``AnimationFillMode/backwards`` or ``AnimationFillMode/both``, the hand"},{"text":"displays immediately, freezes at the first animation frame for one second,"},{"text":"and then begins to wave."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationFillMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfyx_tSTRzAA12HasAnchoring7ElementRpzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds anchors from a sequence to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The sequence of anchor entities to add."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"S.Element","rhs":"HasAnchoring","rhsPrecise":"s:17RealityFoundation12HasAnchoringP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV10intersectsySbACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","intersects(_:)"],"names":{"title":"intersects(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersects"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box intersects the specified bounds."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box intersects the specified"},{"text":"bounds."}]},"functionSignature":{"parameters":[{"name":"boundingBox","declarationFragments":[{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersects"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartVyAA0C6BufferVy7ElementQzGSgxcAA0cF8SemanticRzluip","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness value for the entire entity or a multiplier for its"},{"text":"texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prepend(_:)"],"names":{"title":"prepend(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prefixes a publisher’s output with the specified values."},{"text":""},{"text":"Use ``Publisher/prepend(_:)-7wk5l`` when you need to prepend specific elements before the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/prepend(_:)-7wk5l`` operator publishes the provided elements before republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .prepend(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 255 0 1 2 3 4 5 6 7 8 9 10\""},{"text":""},{"text":"- Parameter elements: The elements to publish before this publisher’s elements."},{"text":"- Returns: A publisher that prefixes the specified elements prior to this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryV5whereAcA0D9PredicateVyAA0C0CG_tcfc","interfaceLanguage":"swift"},"pathComponents":["EntityQuery","init(where:)"],"names":{"title":"init(where:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a query that returns all entities in a scene that match specific"},{"text":"criteria."},{"text":""},{"text":"- Parameters:"},{"text":" - predicate: The criteria that specifies the entities to return."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC15generateCapsule6height6radiusACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateCapsule(height:radius:)"],"names":{"title":"generateCapsule(height:radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCapsule"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a capsule shape with the specified height and radius."},{"text":""},{"text":"- Parameters:"},{"text":"- height: The height of the capsule including the spherical caps in"},{"text":"meters, measured along the local y-axis."},{"text":""},{"text":" - radius: The radius of the capsule in meters."},{"text":""},{"text":"- Returns: The new capsule."}]},"functionSignature":{"parameters":[{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCapsule"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox5width6height5depth12cornerRadius10splitFacesACSf_S3fSbtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(width:height:depth:cornerRadius:splitFaces:)"],"names":{"title":"generateBox(width:height:depth:cornerRadius:splitFaces:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with the given dimensions and other"},{"text":"characteristics."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the box along the x-axis."},{"text":""},{"text":" - height: The height, in meters, of the box along the y-axis."},{"text":""},{"text":" - depth: The depth, in meters, of the box along the z-axis."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- splitFaces: A Boolean you set to `true` to indicate that vertices"},{"text":"shouldn’t be merged."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"splitFaces","declarationFragments":[{"kind":"identifier","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object using a custom material’s opacity"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s opacity property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15HasBodyTrackingPAAE04bodyE0AA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasBodyTracking","bodyTracking"],"names":{"title":"bodyTracking","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bodyTracking"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The body-tracking component for the body-tracked entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bodyTracking"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"HasBodyTracking is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO11ElementTypeO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit"],"names":{"title":"CollisionCastHit","navigator":[{"kind":"identifier","spelling":"CollisionCastHit"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastHit"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A hit result of a collision cast."},{"text":""},{"text":"You get a collection of collision cast hits from either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method, or"},{"text":"the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method. Each hit indicates where the ray or the convex shape, starting at a"},{"text":"given point and traveling in a given direction, hit a particular entity in"},{"text":"the scene."},{"text":""},{"text":"The frame of reference for the position and normal of the hit depends on the"},{"text":"reference entity parameter passed to the method that generated the hit. Pass"},{"text":"`nil` as the reference to use world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastHit"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV10objectMaskSo11CVBufferRefaSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","objectMask"],"names":{"title":"objectMask","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"objectMask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image’s object mask."},{"text":""},{"text":"When a photograph of an object includes surrounding objects, such as"},{"text":"plants, buildings, or people in an outdoor space, you can create an"},{"text":"object mask to exclude the portions of the image that don’t contain the"},{"text":"object. Masking extraneous image data reduces the number of landmarks"},{"text":"RealityKit attempts to match, speeds up the object-creation process, and"},{"text":"produces a more accurate 3D model."},{"text":""},{"text":"Provide the object mask in"},{"text":""},{"text":"format and with the same height and width as"},{"text":"``PhotogrammetrySample/image``. RealityKit ignores any pixel in"},{"text":"``PhotogrammetrySample/image`` when the corresponding pixel in"},{"text":"``PhotogrammetrySample/objectMask`` has a value of `0.0` (black) unless"},{"text":"``PhotogrammetrySession/Configuration-swift.struct/isObjectMaskingEnabled``"},{"text":"is set to `False` in the session’s configuration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"objectMask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV3getyAA0dE0VyxGSgxmlF","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","get(_:)"],"names":{"title":"get(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"get"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}]},"functionSignature":{"parameters":[{"name":"","declarationFragments":[{"kind":"identifier","spelling":"_"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"get"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type = Value.self) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE7flatMapyAA09AsyncFlatC8SequenceVyxqd__Gqd__7ElementQzYacSciRd__lF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncFlatMapSequence","preciseIdentifier":"s:12_Concurrency20AsyncFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that concatenates the results of calling"},{"text":"the given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level asynchronous sequence when your"},{"text":"transformation produces an asynchronous sequence for each element."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The transforming closure takes the received `Int`"},{"text":"and returns a new `Counter` that counts that high. For example, when the"},{"text":"transform receives `3` from the base sequence, it creates a new `Counter`"},{"text":"that produces the values `1`, `2`, and `3`. The `flatMap(_:)` method"},{"text":"\"flattens\" the resulting sequence-of-sequences into a single"},{"text":"`AsyncSequence`."},{"text":""},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .flatMap { Counter(howHigh: $0) }"},{"text":" for await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 \""},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an element"},{"text":" of this sequence as its parameter and returns an `AsyncSequence`."},{"text":"- Returns: A single, flattened asynchronous sequence that contains all"},{"text":" elements in all the asynchronous sequences produced by `transform`."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncFlatMapSequence","preciseIdentifier":"s:12_Concurrency20AsyncFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncFlatMapSequence","preciseIdentifier":"s:12_Concurrency20AsyncFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AsyncSequence","preciseIdentifier":"s:Sci"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","count()"],"names":{"title":"count()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the number of elements received from the upstream publisher."},{"text":""},{"text":"Use ``Publisher/count()`` to determine the number of elements received from the upstream publisher before it completes:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .count()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"11\""},{"text":""},{"text":"- Returns: A publisher that consumes all elements until the upstream publisher finishes, then emits a single value with the total number of elements received."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV8containsySbACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box contains the specified bounds."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box contains the specified"},{"text":"bounds."}]},"functionSignature":{"parameters":[{"name":"boundingBox","declarationFragments":[{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC8generate14staticFriction07dynamicH011restitutionACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","generate(staticFriction:dynamicFriction:restitution:)"],"names":{"title":"generate(staticFriction:dynamicFriction:restitution:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new material with the specified static friction, dynamic friction, and restitution."},{"text":""},{"text":"- Parameters:"},{"text":" - staticFriction: The static (stationary) friction coefficient in the range [0, ∞)."},{"text":" - dynamicFriction: The dynamic (moving) friction coefficient in the range [0, ∞)."},{"text":" - restitution: The coefficient of restitution (bounciness) in the range [0, 1]."}]},"functionSignature":{"parameters":[{"name":"staticFriction","declarationFragments":[{"kind":"identifier","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"dynamicFriction","declarationFragments":[{"kind":"identifier","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"restitution","declarationFragments":[{"kind":"identifier","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntity03hitH00I8Position0I6Normal13moveDirection0L8DistanceAeA0H0C_AMs5SIMD3VySfGA2PSftcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","init(characterEntity:hitEntity:hitPosition:hitNormal:moveDirection:moveDistance:)"],"names":{"title":"init(characterEntity:hitEntity:hitPosition:hitNormal:moveDirection:moveDistance:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create Collision and initialize all fields."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6remove2atySi_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","remove(at:)"],"names":{"title":"remove(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes and returns the anchor at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":"- index: The position of the anchor to remove. index must be a valid"},{"text":"index of the collection."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE14bindableValuesAA08BindableE9ReferenceVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","bindableValues"],"names":{"title":"bindableValues","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindableValues"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindableValuesReference","preciseIdentifier":"s:17RealityFoundation23BindableValuesReferenceV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindableValues"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindableValuesReference","preciseIdentifier":"s:17RealityFoundation23BindableValuesReferenceV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Opacity.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial"],"names":{"title":"PhysicallyBasedMaterial","navigator":[{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A material that simulates the appearance of real-world objects."},{"text":""},{"text":"In RealityKit, a _material_ is an object that defines the surface properties"},{"text":"of a rendered 3D object. A Physically Based Rendering (PBR) material is a"},{"text":"material that closely approximates the way light reflects off of real-world"},{"text":"objects. Use ``PhysicallyBasedMaterial`` to create highly realistic-looking"},{"text":"objects for your AR scenes."},{"text":""},{"text":"Many of the properties for ``PhysicallyBasedMaterial`` provide the option to"},{"text":"use more than one type of data to specify that property. You can set an"},{"text":"object’s ``PhysicallyBasedMaterial/baseColor-swift.property`` using a"},{"text":"specific color for the entire material, or you can use an image that UV-maps"},{"text":"on to the entity."},{"text":""},{"text":"``PhysicallyBasedMaterial`` includes all material properties supported by"},{"text":"USDZ. On iOS 15 and later, RealityKit automatically uses"},{"text":"``PhysicallyBasedMaterial`` when importing an entity from a USDZ file."},{"text":""},{"text":"For more information on using ``PhysicallyBasedMaterial``, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection"],"names":{"title":"Entity.ChildCollection","navigator":[{"kind":"identifier","spelling":"ChildCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ChildCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ChildCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-8d7k7`` to return a new publisher that combines the elements from two additional publishers to publish a tuple to the downstream. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject``;"},{"text":"``Publisher/zip(_:_:)-8d7k7`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" zip output: (1, \"A\", \"😀\")"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub: zip output: (2, \"B\", \"🥰\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\")"},{"text":" // (2, \"B\", \"🥰\")"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV16defaultSkinWidthSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultSkinWidth"],"names":{"title":"defaultSkinWidth","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSkinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSkinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value."},{"text":""},{"text":"In physically based rendering, the `metallic` property represents"},{"text":"the reflectiveness of an entity. This initializer creates a new"},{"text":"object that passes a single metallic value to your custom shader"},{"text":"functions but doesn’t pass a texture."},{"text":""},{"text":"The following Swift code shows how to specify reflectiveness using a"},{"text":"single value for the entire entity:"},{"text":""},{"text":"```swift"},{"text":"material.roughness = PhysicallyBasedMaterial.Roughness(floatLiteral: 0.0)"},{"text":"```"},{"text":""},{"text":"To render an entity with reflectiveness,"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its"},{"text":"surface shader function must call `params.surface().set_metallic()`."},{"text":""},{"text":"The following Metal code shows how to retrieve the value set in this"},{"text":"initializer in your surface shader and use it:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the metallic scale from the CustomMaterial."},{"text":" float metallic = params.material_constants().metallic_scale();"},{"text":""},{"text":" // Set the roughness value using the metallic scale value."},{"text":" params.surface().set_metallic(metallic);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The reflectiveness value for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC13generatePlane5width6height12cornerRadiusACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generatePlane(width:height:cornerRadius:)"],"names":{"title":"generatePlane(width:height:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new rectangle mesh with the specified dimensions in the"},{"text":"entity’s XY-plane."},{"text":""},{"text":"The rectangle is centered at the entity’s origin and aligned with its x"},{"text":"and y axes. The surface normal points along the z-axis. The depth along"},{"text":"the z-axis is 0."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the rectangle along the x-axis."},{"text":""},{"text":" - height: The height, in meters, of the rectangle along the y-axis."},{"text":""},{"text":" - cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The rectangle mesh."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackLooped","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromAcA04MeshD0C_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateConvex(from:)"],"names":{"title":"generateConvex(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a convex shape from the given mesh."},{"text":""},{"text":"- Parameters:"},{"text":"- mesh: A mesh with the shape of the convex polyhedron. Use meshes with"},{"text":"a small number of vertices to avoid hurting performance."},{"text":""},{"text":"- Returns: The new shape."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"mesh","declarationFragments":[{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC8generate8friction11restitutionACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","generate(friction:restitution:)"],"names":{"title":"generate(friction:restitution:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a new material with the given characteristics."},{"text":""},{"text":"- Parameters:"},{"text":" - friction: The coefficient of friction, in the range `[0, infinity)`."},{"text":""},{"text":" - restitution: The coefficient of restitution, in the range `[0, 1]`."},{"text":"Use values at the high end of the range to indicate materials that"},{"text":"experience elastic collisions, meaning that objects bounce off each"},{"text":"other and kinetic energy is conserved after a collision. Use low values"},{"text":"to indicate materials that loose kinetic energy when they collide."},{"text":""},{"text":"- Returns: A physics material resource."}]},"functionSignature":{"parameters":[{"name":"friction","declarationFragments":[{"kind":"identifier","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"restitution","declarationFragments":[{"kind":"identifier","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.8, "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.8) -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryLast(where:)"],"names":{"title":"tryLast(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies an error-throwing predicate closure, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/tryLast(where:)`` when you need to republish the last element that satisfies an error-throwing closure you specify. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a publisher emits the last element that satisfies the error-throwing closure, then finishes normally:"},{"text":""},{"text":" struct RangeError: Error {}"},{"text":""},{"text":" let numbers = [-62, 1, 6, 10, 9, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast {"},{"text":" guard 0 != 0 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":" // Prints: \"5 completion: finished\""},{"text":" // If instead the numbers array had contained a `0`, the `tryLast` operator would terminate publishing with a RangeError.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO6normalyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","normal"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the normal vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`normal` to an entity to tell RealityKit to draw that entity’s"},{"text":"_surface normal vectors_ as its surface color. A normal vector is an"},{"text":"imaginary line perpendicular to the surface of the object at a"},{"text":"specific point. RealityKit draws a normal vector by using its `X`,"},{"text":"`Y`, and `Z` values as the `R`, `G`, and `B` components of the"},{"text":"color."},{"text":""},{"text":"RealityKit calculates normals for entities with a ``VideoMaterial``,"},{"text":"``UnlitMaterial``, or ``SimpleMaterial`` as well as for entities"},{"text":"imported from a USDZ file. If an entity doesn’t fall within those"},{"text":"parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable surface normal visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .normal)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a normal visualization, and appears in shades of"},{"text":"blue, green, and purple which is a graphical representation of the"},{"text":"calculated normal vector at each point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-normal-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all anchors from the collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO7tangentyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","tangent"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.tangent","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the surface tangent vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`tangent` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated tangent vectors as its surface color. A tangent vector is"},{"text":"an imaginary line that touches, but doesn’t intersect with the"},{"text":"surface of the object at a specific point. RealityKit draws a"},{"text":"tangent vector by using its `X`, `Y`, and `Z` values as the `R`,"},{"text":"`G`, and `B` components of the color."},{"text":""},{"text":"RealityKit calculates tangents for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, or ``SimpleMaterial`` as well"},{"text":"as for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable tangent visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let robot = anchor.findEntity(named: \"Robot\") as?"},{"text":" ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .tangent)"},{"text":" robot.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a tangent visualization, and appears in shades of"},{"text":"yellows, purple, pinks, and blues, which is a graphical"},{"text":"representation of the calculated surfance tangent vector at each"},{"text":"point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-tangent-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6filteryAA19AsyncFilterSequenceVyxGSb7ElementQzYacF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncFilterSequence","preciseIdentifier":"s:12_Concurrency19AsyncFilterSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that contains, in order, the elements of"},{"text":"the base sequence that satisfy the given predicate."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `filter(_:)` method returns `true` for even"},{"text":"values and `false` for odd values, thereby filtering out the odd values:"},{"text":""},{"text":" let stream = Counter(howHigh: 10)"},{"text":" .filter { $0 % 2 == 0 }"},{"text":" for await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"2 4 6 8 10 \""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" asynchronous sequence as its argument and returns a Boolean value"},{"text":" that indicates whether to include the element in the filtered sequence."},{"text":"- Returns: An asynchronous sequence that contains, in order, the elements"},{"text":" of the base sequence that satisfy the given predicate."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncFilterSequence","preciseIdentifier":"s:12_Concurrency19AsyncFilterSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncFilterSequence","preciseIdentifier":"s:12_Concurrency19AsyncFilterSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"],"names":{"title":"breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal when a provided closure needs to stop the process in the debugger."},{"text":""},{"text":"Use ``Publisher/breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)`` to examine one or more stages of the subscribe/publish/completion process and stop in the debugger, based on conditions you specify. When any of the provided closures returns `true`, this operator raises the `SIGTRAP` signal to stop the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes strings to a breakpoint republisher. When the breakpoint receives the string “`DEBUGGER`”, it returns `true`, which stops the app in the debugger."},{"text":""},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .breakpoint("},{"text":" receiveOutput: { value in return value == \"DEBUGGER\" }"},{"text":" )"},{"text":" .sink { print(\"\\(String(describing: $0))\" , terminator: \" \") }"},{"text":""},{"text":" publisher.send(\"DEBUGGER\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: A closure that executes when the publisher receives a subscription. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveOutput: A closure that executes when the publisher receives a value. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveCompletion: A closure that executes when the publisher receives a completion. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":"- Returns: A publisher that raises a debugger signal when one of the provided closures returns `true`."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object from a single value."},{"text":""},{"text":"This initializer creates an object that defines the opacity of an"},{"text":"entity using a single value for the entire entity. This value is"},{"text":"available to the material’s surface shader function, but RealityKit"},{"text":"draws the entity fully opaque unless the surface shader function"},{"text":"calls `params.surface().set_opacity()`."},{"text":""},{"text":"The following Metal code demonstrates how to set the entity’s"},{"text":"opacity in the material’s surface shader function based on `value:`"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the opacity scale from the CustomMaterial."},{"text":" float opacityScale = params.material_constants().opacity_scale();"},{"text":""},{"text":" // Use the opacity scale to set the current pixel's opacity."},{"text":" params.surface().set_opacity(opacity);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The opacity value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Blending"],"names":{"title":"UnlitMaterial.Blending","navigator":[{"kind":"identifier","spelling":"Blending"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent opacity information."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyySayAA12HasAnchoring_pGF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces the existing anchor collection with a provided collection."},{"text":""},{"text":"This method removes all anchors currently in the collection, then"},{"text":"appends all the elements in `entities` to the collection."},{"text":""},{"text":"- Parameters:"},{"text":"- entities: An array of anchors to replace the existing collection."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow"],"names":{"title":"SpotLightComponent.Shadow","navigator":[{"kind":"identifier","spelling":"Shadow"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Shadow"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Characteristics of a shadow for the spotlight."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Shadow"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9baseColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","baseColor"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.baseColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s base color with no lighting or"},{"text":"material properties applied."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`baseColor` to an entity to tell RealityKit to draw that entity’s"},{"text":"base color without any shadows, specular highlights, transparency,"},{"text":"or reflections."},{"text":""},{"text":"Here’s how to enable base color visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .baseColor)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a base color visualization, and appears without"},{"text":"shadows, reflections, transparency, or other effects."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-baseColor-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV15triangleIndicesAA0C6BufferVys6UInt32VGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleIndices","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Index buffer for triangles."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleIndices","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9bitangentyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","bitangent"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.bitangent","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the surface bitangent vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`bitangent` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated surface bitangent vectors as its surface color. A"},{"text":"bitangent vector is an imaginary line that’s orthagonal to both the"},{"text":"`normal` and `tangent` vectors. RealityKit draws a bitangent vector"},{"text":"by using its `X`, `Y`, and `Z` values as the `R`, `G`, and `B`"},{"text":"components of the color."},{"text":""},{"text":"RealityKit calculates bitangents for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, or ``SimpleMaterial`` as well"},{"text":"as for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable bitangent visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .bitangent)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a tangent visualization, and appears in shades of"},{"text":"yellow, purples, pinks, and blues, which is a graphical"},{"text":"representation of the calculated surface bitangent vector at each"},{"text":"point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-bitangent-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromACSays5SIMD3VySfGG_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateConvex(from:)"],"names":{"title":"generateConvex(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a convex shape from the given points."},{"text":""},{"text":"- Parameters:"},{"text":"- points: An array of 3D points that define the convex polyhedron. Keep"},{"text":"the number of points small to avoid hurting performance."},{"text":""},{"text":"- Returns: The new shape."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"points","declarationFragments":[{"kind":"identifier","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial"],"names":{"title":"VideoMaterial","navigator":[{"kind":"identifier","spelling":"VideoMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A material that supports animated textures."},{"text":""},{"text":"In RealityKit, a _material_ is an object that defines the surface properties"},{"text":"of a rendered 3D object. A `VideoMaterial` is a material that maps a movie"},{"text":"file on to the surface of an entity. Video materials are _unlit_, which"},{"text":"means that scene lighting doesn’t affect them. Video materials support"},{"text":"transparency if the source video’s file format also supports transparency."},{"text":""},{"text":"Video materials use an"},{"text":" instance"},{"text":"to control movie playback. You can use any movie file format that"},{"text":" supports"},{"text":"to create a video material. To control playback of the material’s video, use"},{"text":"the ``VideoMaterial/avPlayer`` property, which offers methods like"},{"text":""},{"text":"and"},{"text":"."},{"text":""},{"text":"The following code demonstrates how to create and start playing a video"},{"text":"material using a movie file from your application bundle."},{"text":""},{"text":"```swift"},{"text":"// Create a URL that points to the movie file."},{"text":"if let url = Bundle.main.url(forResource: \"MyMovie\", withExtension: \"mp4\") {"},{"text":""},{"text":" // Create an AVPlayer instance to control playback of that movie."},{"text":" let player = AVPlayer(url: url)"},{"text":""},{"text":" // Instantiate and configure the video material."},{"text":" let material = VideoMaterial(avPlayer: player)"},{"text":""},{"text":" // Configure audio playback mode."},{"text":" material.controller.audioInputMode = .spatial"},{"text":""},{"text":" // Create a new model entity using the video material."},{"text":" let modelEntity = ModelEntity(mesh: cube, materials: [material])"},{"text":""},{"text":" // Start playing the video."},{"text":" player.play()"},{"text":"}"},{"text":"```"},{"text":""},{"text":"To see an example of using a video texture in RealityKit, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAll12keepCapacityySb_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","removeAll(keepCapacity:)"],"names":{"title":"removeAll(keepCapacity:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all anchors from the collection."},{"text":""},{"text":"- Parameters:"},{"text":"- keepCapacity: Pass true to keep the existing capacity of the array"},{"text":"after removing its elements. The default value is false."}]},"functionSignature":{"parameters":[{"name":"keepCapacity","declarationFragments":[{"kind":"identifier","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE7Texturea","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Texture"],"names":{"title":"UnlitMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent textures."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO5afteryAcA0C0_pXpcACmF","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","after(_:)"],"names":{"title":"SystemDependency.after(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"after"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An update order that requests RealityKit update this system after it"},{"text":"updates another specified system."},{"text":""},{"text":"- Parameters:"},{"text":" - System: A system that this system updates after."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"after"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18textureCoordinatesyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","textureCoordinates"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.textureCoordinates","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the texture coordinates as a color."},{"text":""},{"text":"Adding a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`textureCoordinates` to an entity tells RealityKit to draw that"},{"text":"entity’s UV texture coordinates as its surface color. RealityKit"},{"text":"draws the texture coordinates by using its `U` and `V` values as the"},{"text":"`R` and `G` components of the color, using a value of `0` for the"},{"text":"color’s `B` component."},{"text":""},{"text":"RealityKit calculates texture coordinates for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, ``SimpleMaterial`` as well as"},{"text":"for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable UV texture coordinate visualization for an"},{"text":"entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .textureCoordinates)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a texture coordinate visualization, and appears in"},{"text":"bright shades of yellow, green, and red, which is a graphical"},{"text":"representation of the TV’s texture coordinates."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-textureCoordinates-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO6beforeyAcA0C0_pXpcACmF","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","before(_:)"],"names":{"title":"SystemDependency.before(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"before"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An update order that requests RealityKit update this system before it"},{"text":"updates another specified system."},{"text":""},{"text":"- Parameters:"},{"text":" - System: A system that this system updates before."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"before"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO","interfaceLanguage":"swift"},"pathComponents":["BlendWeight"],"names":{"title":"BlendWeight","navigator":[{"kind":"identifier","spelling":"BlendWeight"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendWeight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A numerical representation of the impact an animation has on a scene or"},{"text":"entity."},{"text":""},{"text":"The ``BlendTreeSourceNode`` structure accepts this enumeration as an"},{"text":"initializer argument."},{"text":""},{"text":"To specify a custom weight, use the value case:"},{"text":""},{"text":"```swift"},{"text":"let node = BlendTreeSourceNode("},{"text":" source: animation1,"},{"text":" name: \"anim2\","},{"text":" weight: .value(0.75))"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendWeight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","Iterator"],"names":{"title":"QueryResult.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of iterator used for entity query results."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE08registerC0yyFZ","interfaceLanguage":"swift"},"pathComponents":["System","registerSystem()"],"names":{"title":"registerSystem()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerSystem"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a system with RealityKit."},{"text":""},{"text":"Calling this method informs RealityKit of a system of defined behavior"},{"text":"for its scenes. RealityKit automatically creates an instance of all"},{"text":"registered systems for every scene and calls every registered system’s"},{"text":"``System/update(context:)-3d0qz`` method every frame."},{"text":""},{"text":"If you call ``System/registerSystem()`` multiple times, RealityKit"},{"text":"ignores additional calls after the first."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerSystem"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object that defines the opacity of an entity using a"},{"text":"single value, a UV-mapped image texture, or both."},{"text":""},{"text":"Both `scale` and `texture` are available to the material’s surface"},{"text":"shader function, but RealityKit draws the entity fully opaque unless"},{"text":"the surface shader function calls `params.surface().set_opacity()`."},{"text":""},{"text":"The following Metal code demonstrates how to emulate the blending"},{"text":"logic RealityKit uses to render entities with a"},{"text":"``PhysicallyBasedMaterial`` in your custom material’s surface shader"},{"text":"function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the opacity scale and threshold from the CustomMaterial."},{"text":" float opacityScale = params.material_constants().opacity_scale();"},{"text":" float opacityThreshold = params.material_constants().opacity_threshold();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Retrieve the opacity texture from the material."},{"text":" auto tex = params.textures();"},{"text":""},{"text":" // Sample the value from the opacity texture."},{"text":" half opacity = tex.opacity().sample(textureSampler, uv).r;"},{"text":""},{"text":" if (opacityThreshold > 0.0) {"},{"text":" // If the opacity threshold is greater than 0, use masking behavior"},{"text":" // and set the opacity to either 1.0 or 0.0 depending on the value"},{"text":" // of the opacity threshold."},{"text":" opacity = (opacity <= opacityThreshold) ? 0.0 : 1.0;"},{"text":" } else {"},{"text":" // If the opacity threshold is 0, then mutiply opacity by scale."},{"text":" opacity *= opacityScale;"},{"text":" }"},{"text":""},{"text":" // Use the calculated value to set the opacity for rendering."},{"text":" params.surface().set_opacity(opacity);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The opacity value for the entire material."},{"text":""},{"text":" - texture: The opacity values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2id13materialIndexAESS_Sitcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","init(id:materialIndex:)"],"names":{"title":"init(id:materialIndex:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a new part."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic"],"names":{"title":"PhysicallyBasedMaterial.Metallic","navigator":[{"kind":"identifier","spelling":"Metallic"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the reflectiveness of an entity."},{"text":""},{"text":"Use this struct to specify an entity’s `metallic` property, which"},{"text":"specifies the reflectiveness of an entity. For more information, see"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"Combine‘s `flatMap(maxPublishers:_:)` operator performs a similar function to the operator in the Swift standard library, but turns the elements from one kind of publisher into a new publisher that is sent to subscribers. Use `flatMap(maxPublishers:_:)` when you want to create a new series of events for downstream subscribers based on the received value. The closure creates the new ``Publisher`` based on the received value. The new ``Publisher`` can emit more than one event, and successful completion of the new ``Publisher`` does not complete the overall stream. Failure of the new ``Publisher`` causes the overall stream to fail."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes `WeatherStation` elements. The `flatMap(maxPublishers:_:)` receives each element, creates a from it, and produces a new , which will publish the data loaded from that ."},{"text":""},{"text":" public struct WeatherStation {"},{"text":" public let stationID: String"},{"text":" }"},{"text":""},{"text":" var weatherPublisher = PassthroughSubject()"},{"text":""},{"text":" cancellable = weatherPublisher.flatMap { station -> URLSession.DataTaskPublisher in"},{"text":" let url = URL(string:\"https://weatherapi.example.com/stations/\\(station.stationID)/observations/latest\")!"},{"text":" return URLSession.shared.dataTaskPublisher(for: url)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { completion in"},{"text":" // Handle publisher completion (normal or error)."},{"text":" },"},{"text":" receiveValue: {"},{"text":" // Process the received data."},{"text":" }"},{"text":" )"},{"text":""},{"text":" weatherPublisher.send(WeatherStation(stationID: \"KSFO\")) // San Francisco, CA"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"EGLC\")) // London, UK"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"ZBBB\")) // Beijing, CN"},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1},{"name":"P","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"T","rhs":"P.Output"},{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsSKRzrlE7reverseyyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reverse()"],"names":{"title":"reverse()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverse"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Reverses the elements of the collection in place."},{"text":""},{"text":"The following example reverses the elements of an array of characters:"},{"text":""},{"text":" var characters: [Character] = [\"C\", \"a\", \"f\", \"é\"]"},{"text":" characters.reverse()"},{"text":" print(characters)"},{"text":" // Prints \"[\"é\", \"f\", \"a\", \"C\"]\""},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the number of elements in the"},{"text":" collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverse"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyyxSTRzAA12HasAnchoring7ElementRpzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces the existing anchor collection with a provided sequence."},{"text":""},{"text":"- Parameters:"},{"text":"- entities: A sequence of anchors to replace the existing"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"S.Element","rhs":"HasAnchoring","rhsPrecise":"s:17RealityFoundation12HasAnchoringP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two dependencies are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first dependency to compare."},{"text":""},{"text":" - rhs: The second dependency to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two dependencies are"},{"text":"equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC13generatePlane5width5depth12cornerRadiusACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generatePlane(width:depth:cornerRadius:)"],"names":{"title":"generatePlane(width:depth:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new rectangle mesh with the specified dimensions in the"},{"text":"entity’s XZ-plane."},{"text":""},{"text":"The rectangle is centered at the entity’s origin and aligned with its x"},{"text":"and y axes. The surface normal points along the y-axis. The depth along"},{"text":"the y-axis is 0."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the rectangle along the x-axis."},{"text":""},{"text":" - depth: The depth, in meters, of the rectangle along the z-axis."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The rectangle mesh."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalAlphayA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","finalAlpha"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.finalAlpha","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalAlpha"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s calculated transparency as its"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`finalAlpha` to an entity to tell RealityKit to draw that entity’s"},{"text":"alpha value as its surface color. RealityKit draws the alpha value"},{"text":"as a grayscale value from black (`0.0`) to white (`1.0`), meaning"},{"text":"the more transparent a part of the entity is, the darker RealityKit"},{"text":"draws it."},{"text":""},{"text":"RealityKit calculates final alpha values for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, ``SimpleMaterial`` as well as"},{"text":"for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable alpha visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .finalAlpha)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn completely white, except for the screen, which is"},{"text":"gray, repersenting TV’s calculated transparency."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-finalAlpha-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalAlpha"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8metallicyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","metallic"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.metallic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the reflectiveness of an entity as its surface"},{"text":"color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`metallic` to an entity to tell RealityKit to draw that entity so"},{"text":"the surface color indicates whether that part of the object reflects"},{"text":"the surrounding environment."},{"text":""},{"text":"RealityKit draws the quality of _metallicity_ as a grayscale value"},{"text":"from black (`0.0`) to white (`1.0`), rendering the reflective parts"},{"text":"of the entity in white and the nonreflective parts in black."},{"text":""},{"text":"RealityKit calculates `metallic` values for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable `metallic` visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .metallic)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black and white which is a graphical"},{"text":"representation of the TV’s"},{"text":"reflectiveness.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-metallic-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15loadAnchorAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchorAsync(named:in:)"],"names":{"title":"loadAnchorAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an anchor entity from a file in a bundle asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as an ``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9roughnessyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","roughness"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.roughness","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the shininess of a material as the surface"},{"text":"color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`roughness` to an entity to tell RealityKit to draw that entity’s"},{"text":"roughness value as its surface color. A high roughness value"},{"text":"represents a surface with a matte finish, while a low roughness"},{"text":"value represents a shiny or polished surface. When using this mode,"},{"text":"RealityKit draws the roughness value as a grayscale value from black"},{"text":"(`0.0`) to white (`1.0`), meaning the shinier a part of the entity"},{"text":"is, the darker RealityKit draws it."},{"text":""},{"text":"RealityKit calculates roughness for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no affect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .roughness)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray which is a graphical"},{"text":"representation of the TV’s surface roughness."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-roughness-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16ambientOcclusionyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","ambientOcclusion"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the calculated ambient occlusion value as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`ambientOcclusion` to an entity to tell RealityKit to draw the"},{"text":"calculated ambient occlusion values as the entity’s surface color."},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":"RealityKit draws ambient occlusion values as a grayscale value from"},{"text":"black (`0.0`) to white (`1.0`), rendering flat surface areas in"},{"text":"white, and crevices, dents, and recessed areas in darker shades."},{"text":""},{"text":"RealityKit calculates ambient occlusion for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable ambient occlusion visualization for an entity:"},{"text":""},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .ambientOcclusion)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":"representation of the TV’s ambient occlusion"},{"text":"values.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-ambientOcclusion-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","finalColor"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.finalColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s calculated color, ignoring"},{"text":"transparency."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`finalColor` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated surface color with no transparency. This option causes"},{"text":"RealityKit to render the object as if it were fully opaque. For"},{"text":"entities that don’t use transparency, this option has no affect."},{"text":""},{"text":"Here’s how to enable final color visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":"if let robot = anchor.findEntity(named: \"Robot\") as?"},{"text":"ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .finalColor)"},{"text":" robot.modelDebugOptions = component"},{"text":"}"},{"text":"```"},{"text":""},{"text":"![A screenshot showing two virtual glass thermometers in front of a"},{"text":"robot in an AR app. The thermometer on the left is transparent, and"},{"text":"the robot can be seen through it. The thermometer on the right is"},{"text":"drawn opaque in dark and light shades of gray, representing the"},{"text":"final calculated color of the thermometer, ignoring"},{"text":"transparency.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-finalColor-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity"],"names":{"title":"PhysicallyBasedMaterial.Opacity","navigator":[{"kind":"identifier","spelling":"Opacity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the opacity of an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV17defaultSlopeLimitSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultSlopeLimit"],"names":{"title":"defaultSlopeLimit","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSlopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSlopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9formUnionyys5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Expands the bounding box to contain the specified point."},{"text":""},{"text":"- Parameters:"},{"text":" - point: A point in space."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8specularyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","specular"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.specular","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays en entitiy’s shininess as its surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`specular` to an entity to tell RealityKit to draw the entity’s"},{"text":"calculated specularity as its surface color. RealityKit uses"},{"text":"`specular` to calculate bright highlights caused by shiny surfaces"},{"text":"reflecting light. RealityKit draws the specularity value as a"},{"text":"grayscale value from black (`0.0`) to white (`1.0`)."},{"text":""},{"text":"- Note: In most cases, RealityKit calculates specular highlights"},{"text":"based on an entity’s `roughness` and `metallic` values, and not its"},{"text":"`specular` value, which is usually `0.0`. As a result, this mode"},{"text":"causes most entities to render in solid black. Only entities that"},{"text":"need highlights in addition to the ones RealityKit calculates from"},{"text":"`roughness` and `metallic` need `specular` values greater than zero."},{"text":"Examples of entities that might use `specular` to create"},{"text":"supplemental highlights are gemstones and cut glass."},{"text":""},{"text":"RealityKit calculates specularity for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable ambient occlusion visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .specular)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of white and gray which is a graphical"},{"text":"representation of the TV’s specular values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-specular-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a metallic object from a physically based material’s"},{"text":"metallic property."},{"text":""},{"text":"This initializer creates a new object by copying the values from an"},{"text":"existing ``PhysicallyBasedMaterial/Metallic-swift.struct`` object."},{"text":""},{"text":"To render an entity with reflectiveness,"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_metallic()`. To achieve the same metallic"},{"text":"behavior as ``PhysicallyBasedMaterial``, the surface shader function"},{"text":"multiplies metallic scale by the sampled value from the texture, as"},{"text":"the following Metal code demonstrates:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the metallic scale from the CustomMaterial."},{"text":" float metallicScale = params.material_constants().metallic_scale();"},{"text":""},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the texture based on the resulting UVs."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.metallic().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and the sampled value from the texture,"},{"text":" // and assign the result to the shader's metallic property."},{"text":" metallic *= metallicScale;"},{"text":" params.surface().set_metallic(metallic);"},{"text":""},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The physically based material’s metallic property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateSphere6radiusACSf_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateSphere(radius:)"],"names":{"title":"generateSphere(radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a sphere shape with the specified radius."},{"text":""},{"text":"- Parameters:"},{"text":" - radius: The radius of the sphere in meters."},{"text":""},{"text":"- Returns: The new sphere centered at the local origin."}]},"functionSignature":{"parameters":[{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackCompleted","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/first(where:)`` to republish only the first element of a stream that satisfies a closure you specify. The publisher ignores all elements after the first element that satisfies the closure and finishes normally."},{"text":"If this publisher doesn’t receive any elements, it finishes without publishing."},{"text":""},{"text":"In the example below, the provided closure causes the ``Publishers/FirstWhere`` publisher to republish the first received element that’s greater than `0`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first { $0 > 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"1\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls a closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Combine’s ``Publisher/compactMap(_:)`` operator performs a function similar to that of in the Swift standard library: the ``Publisher/compactMap(_:)`` operator in Combine removes `nil` elements in a publisher’s stream and republishes non-`nil` elements to the downstream subscriber."},{"text":""},{"text":"The example below uses a range of numbers as the source for a collection based publisher. The ``Publisher/compactMap(_:)`` operator consumes each element from the `numbers` publisher attempting to access the dictionary using the element as the key. If the example’s dictionary returns a `nil`, due to a non-existent key, ``Publisher/compactMap(_:)`` filters out the `nil` (missing) elements."},{"text":""},{"text":" let numbers = (0...5)"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .compactMap { romanNumeralDict[$0] }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"I II III V\""},{"text":""},{"text":"- Parameter transform: A closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of the calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV16defaultStepLimitSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultStepLimit"],"names":{"title":"defaultStepLimit","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultStepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultStepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode"],"names":{"title":"BlendTreeNode","navigator":[{"kind":"identifier","spelling":"BlendTreeNode"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface for a node that's a member of a blend tree."},{"text":""},{"text":"This protocol specifies the common functionality for the animations that"},{"text":"compose a ``BlendTreeAnimation``. The animation defines a"},{"text":"``BlendTreeAnimation/root`` node of this type. To define the tree, you"},{"text":"assign the root node one of the follow structures that adopt this protocol:"},{"text":""},{"text":"- ``BlendTreeBlendNode``, which branches the tree for every element in"},{"text":"``BlendTreeBlendNode/sources``."},{"text":"- ``BlendTreeSourceNode``, which defines an"},{"text":"animation to blend with its ``BlendTreeSourceNode/source`` property."},{"text":""},{"text":"- Note: A node in the tree may be of type ``BlendTreeInvalidNode``, which"},{"text":"neither specifies a list of sources nor an animation."},{"text":""},{"text":"Each node type supplies a name and weight, which you can set during or after"},{"text":"initialization."},{"text":""},{"text":"```swift"},{"text":"let animation1 = FromToByAnimation(...)"},{"text":""},{"text":"let blendNode = BlendTreeSourceNode("},{"text":" source: animation1,"},{"text":" name: \"Anim1\","},{"text":" weight: .value(0.25))"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8emissiveyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","emissive"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.emissive","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissive"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the emissive channel of a material as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`emissive` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated emissive values as its surface color. The emissive"},{"text":"channel indicates which parts of the entity emit light. When using"},{"text":"this mode, RealityKit draws any part of the entity that emits light"},{"text":"in the color of the light it emits and draws any part of the entity"},{"text":"that doesn’t emit light as black."},{"text":""},{"text":"RealityKit calculates emissive for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .emissive)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black except for the screen, which displays"},{"text":"the colored test pattern. This is a graphical representation of the"},{"text":"TV’s emissive"},{"text":"values.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-emissive-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissive"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE12dependenciesSayAA0C10DependencyOGvpZ","interfaceLanguage":"swift"},"pathComponents":["System","dependencies"],"names":{"title":"dependencies","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default implementation of the dependencies array."},{"text":""},{"text":"RealityKit provides a default implementation of this property which"},{"text":"returns an empty array. If a class that conforms to ``System`` has no"},{"text":"dependencies, it doesn’t need to implement this property."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC10loadAnchor10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchor(contentsOf:withName:)"],"names":{"title":"loadAnchor(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an anchor entity from a file URL."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as an"},{"text":"``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9clearcoatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","clearcoat"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.clearcoat","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the clearcoat channel of a material as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`clearcoat` to an entity to tell RealityKit to draw the entity’s"},{"text":"clearcoat values as its surface color. A clearcoat is a way to"},{"text":"render objects that appear to have a transparent coating or veneer,"},{"text":"such as the surface of a car with a coat of wax or items"},{"text":"shrinkwrapped in clear plastic. RealityKit draws clearcoat values as"},{"text":"a grayscale value from black (`0.0`) to white (`1.0`), with black"},{"text":"representing parts of the entity that don’t use clearcoat."},{"text":""},{"text":"RealityKit calculates clearcoat for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .clearcoat)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black, except for the screen, which is drawn"},{"text":"in shades of gray, which is a representation of the TV’s clearcoat"},{"text":"values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-clearcoat-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceEmpty(with:)"],"names":{"title":"replaceEmpty(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces an empty stream with the provided element."},{"text":""},{"text":"Use ``Publisher/replaceEmpty(with:)`` to provide a replacement element if the upstream publisher finishes without producing any elements."},{"text":""},{"text":"In the example below, the empty `Double` array publisher doesn’t produce any elements, so ``Publisher/replaceEmpty(with:)`` publishes `Double.nan` and finishes normally."},{"text":""},{"text":" let numbers: [Double] = []"},{"text":" cancellable = numbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints \"(nan)\"."},{"text":""},{"text":"Conversely, providing a non-empty publisher publishes all elements and the publisher then terminates normally:"},{"text":""},{"text":" let otherNumbers: [Double] = [1.0, 2.0, 3.0]"},{"text":" cancellable2 = otherNumbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: 1.0 2.0 3.0"},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher finishes without emitting any elements."},{"text":"- Returns: A publisher that replaces an empty stream with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies a predicate closure, after upstream finishes."},{"text":""},{"text":"Use ``Publisher/last(where:)`` when you need to republish only the last element of a stream that satisfies a closure you specify."},{"text":""},{"text":"In the example below, a range publisher emits the last element that satisfies the closure’s criteria, then finishes normally:"},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last { $0 < 6 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"5\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV12makeIteratorAC0F0Vyx_GyF","interfaceLanguage":"swift"},"pathComponents":["QueryResult","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns an iterator for the contained entities."},{"text":""},{"text":"- Returns: The iterator."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter"],"names":{"title":"MaterialScalarParameter","navigator":[{"kind":"identifier","spelling":"MaterialScalarParameter"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialScalarParameter"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scalar parameter applied to a material."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialScalarParameter"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18clearcoatRoughnessyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","clearcoatRoughness"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.clearcoatRoughness","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the clearcoat roughness channel of a material"},{"text":"as the surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`clearcoatRoughness` to an entity to tell RealityKit to draw the"},{"text":"entity’s calculated clearcoat roughness as its surface color."},{"text":"Clearcoat is a way to render objects that have a shiny transparent"},{"text":"coating or veneer, such as the surface of a car with a coat of wax"},{"text":"or items shrinkwrapped in clear plastic. The clearcoat roughness"},{"text":"value represents the shininess of the clearcoat and is only used on"},{"text":"parts of the entity that have a `clearcoat` value greater than zero."},{"text":"RealityKit draws the clearcoat roughness value as a grayscale value"},{"text":"from black (`0.0`) to white (`1.0`), with lighter areas representing"},{"text":"parts with a shinier clearcoat."},{"text":""},{"text":"RealityKit calculates clearcoat roughness for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .clearcoatRoughness)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black, except for the screen, which is drawn"},{"text":"in shades of gray. This is a representation of the TV’s clearcoat"},{"text":"roughness values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-clearcoatRoughness-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness values as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity specified as a single value."},{"text":""},{"text":"If ``CustomMaterial/Opacity/texture`` is `nil`, RealityKit uses this"},{"text":"value for the opacity of the entire material. If"},{"text":"``CustomMaterial/Opacity/texture`` isn’t `nil`, RealityKit"},{"text":"multiplies the value sampled from ``CustomMaterial/Opacity/texture``"},{"text":"by this property to calculate the final opacity values."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of the joints to animate."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE10parametersAcAE12ParameterSetVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","parameters"],"names":{"title":"parameters","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameters"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParameterSet","preciseIdentifier":"s:17RealityFoundation6EntityCAAE12ParameterSetV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Represents a reference to the parameters for a particular entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameters"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParameterSet","preciseIdentifier":"s:17RealityFoundation6EntityCAAE12ParameterSetV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read a part given its name."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["Scene","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A name for the scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","interfaceLanguage":"swift"},"pathComponents":["Component","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3mins5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the minimum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-4xn21`` to return a new publisher that combines the elements from two publishers using a transformation you specify to publish a new value to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, ``PassthroughSubject`` instances `numbersPub` and `lettersPub` emit values; ``Publisher/zip(_:_:)-4xn21`` receives the oldest value from each publisher, uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub) { anInt, aLetter in"},{"text":" String(repeating: aLetter, count: anInt)"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" zip output: \"A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" zip output: \"BB\""},{"text":" // Prints:"},{"text":" // A"},{"text":" // BB"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from two upstream publishers."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetVyxSgxmcAA0D0Rzluip","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets or sets the component of the specified type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV2id5imageACSi_So11CVBufferRefatcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","init(id:image:)"],"names":{"title":"init(id:image:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new sample."},{"text":""},{"text":"- Parameters:"},{"text":" - id: A unique identifier for the sample."},{"text":""},{"text":"- image: The image data in"},{"text":""},{"text":"or"},{"text":""},{"text":"format."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC7Failurea","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","Failure"],"names":{"title":"LoadRequest.Failure","navigator":[{"kind":"identifier","spelling":"Failure"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of errors this publisher might publish."},{"text":""},{"text":"Use `Never` if this `Publisher` does not publish errors."}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","encode(encoder:)"],"names":{"title":"encode(encoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Encodes the output from upstream using a specified encoder."},{"text":""},{"text":"Use ``Publisher/encode(encoder:)`` with a (or a for property lists) to encode an struct into that could be used to make a JSON string (or written to disk as a binary plist in the case of property lists)."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes an `Article`. The ``Publisher/encode(encoder:)`` operator encodes the properties of the `Article` struct into a new JSON string according to the protocol adopted by `Article`. The operator publishes the resulting JSON string to the downstream subscriber. If the encoding operation fails, which can happen in the case of complex properties that can’t be directly transformed into JSON, the stream terminates and the error is passed to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" let cancellable = dataProvider"},{"text":" .encode(encoder: JSONEncoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\") },"},{"text":" receiveValue: { data in"},{"text":" guard let stringRepresentation = String(data: data, encoding: .utf8) else { return }"},{"text":" print(\"Data received \\(data) string representation: \\(stringRepresentation)\")"},{"text":" })"},{"text":""},{"text":" dataProvider.send(Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: Date()))"},{"text":""},{"text":" // Prints: \"Data received 86 bytes string representation: {\"title\":\"My First Article\",\"author\":\"Gita Kumar\",\"pubDate\":606211803.279603}\""},{"text":""},{"text":"- Parameter encoder: An encoder that implements the ``TopLevelEncoder`` protocol."},{"text":"- Returns: A publisher that encodes received elements using a specified encoder, and publishes the resulting data."}]},"functionSignature":{"parameters":[{"name":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Coder","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Coder","rhs":"TopLevelEncoder","rhsPrecise":"s:7Combine15TopLevelEncoderP"},{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelEncoder","preciseIdentifier":"s:7Combine15TopLevelEncoderP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityCyAcA18AnchoringComponentV6TargetOcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17OcclusionMaterialV23receivesDynamicLightingACSb_tcfc","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","init(receivesDynamicLighting:)"],"names":{"title":"init(receivesDynamicLighting:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receivesDynamicLighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an occlusion material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receivesDynamicLighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC21expectedMaterialCountSivp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","expectedMaterialCount"],"names":{"title":"expectedMaterialCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"expectedMaterialCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of material entries required to render the mesh resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"expectedMaterialCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE9subscribe2to2on13componentType_7Combine11Cancellable_pxm_AA11EventSource_pSgAA9Component_pXpSgyxctAA0K0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","subscribe(to:on:componentType:_:)"],"names":{"title":"subscribe(to:on:componentType:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?, ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Receive events of type `E`."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event. For example, `SceneEvents.Update.Self`."},{"text":" - sourceObject: The event source – usually the entity you are interested in. `nil` to"},{"text":" listen all events of this type that occur in the scene."},{"text":" - componentType: The component type, or `nil` for all (for ComponentEvents)."},{"text":""},{"text":"- Returns: An object representing the subscription to this event stream."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?"}]},{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV13materialIndexSivp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","materialIndex"],"names":{"title":"materialIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material index for the part."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation8BindPathV4PartO","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5emptyACvpZ","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","empty"],"names":{"title":"empty","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"empty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An empty bounding box."},{"text":""},{"text":"An empty bounding box is defined with ``min`` set to positive infinity and ``max`` set to negative"},{"text":"infinity."},{"text":""},{"text":"- Note: An empty bounding box where ``min`` is greater than ``max`` is different from a bounding"},{"text":"box of size 0, where ``min`` is equal to ``max``. The former defines empty space without a position. The"},{"text":"latter describes an object of size 0 at a certain position in space."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"empty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE9fromValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE7flatMapyAA017AsyncThrowingFlatC8SequenceVyxqd__Gqd__7ElementQzYaKcSciRd__lF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingFlatMapSequence","preciseIdentifier":"s:12_Concurrency28AsyncThrowingFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that concatenates the results of calling"},{"text":"the given error-throwing transformation with each element of this"},{"text":"sequence."},{"text":""},{"text":"Use this method to receive a single-level asynchronous sequence when your"},{"text":"transformation produces an asynchronous sequence for each element."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The transforming closure takes the received `Int`"},{"text":"and returns a new `Counter` that counts that high. For example, when the"},{"text":"transform receives `3` from the base sequence, it creates a new `Counter`"},{"text":"that produces the values `1`, `2`, and `3`. The `flatMap(_:)` method"},{"text":"\"flattens\" the resulting sequence-of-sequences into a single"},{"text":"`AsyncSequence`. However, when the closure receives `4`, it throws an"},{"text":"error, terminating the sequence."},{"text":""},{"text":" do {"},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .flatMap { (value) -> Counter in"},{"text":" if value == 4 {"},{"text":" throw MyError()"},{"text":" }"},{"text":" return Counter(howHigh: value)"},{"text":" }"},{"text":" for try await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print(error)"},{"text":" }"},{"text":" // Prints \"1 1 2 1 2 3 MyError() \""},{"text":""},{"text":"- Parameter transform: An error-throwing mapping closure. `transform`"},{"text":" accepts an element of this sequence as its parameter and returns an"},{"text":" `AsyncSequence`. If `transform` throws an error, the sequence ends."},{"text":"- Returns: A single, flattened asynchronous sequence that contains all"},{"text":" elements in all the asynchronous sequences produced by `transform`. The"},{"text":" sequence ends either when the last sequence created from the last"},{"text":" element from base sequence ends, or when `transform` throws an error."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncThrowingFlatMapSequence","preciseIdentifier":"s:12_Concurrency28AsyncThrowingFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingFlatMapSequence","preciseIdentifier":"s:12_Concurrency28AsyncThrowingFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AsyncSequence","preciseIdentifier":"s:Sci"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC6boundsAA11BoundingBoxVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","bounds"],"names":{"title":"bounds","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A box that bounds the mesh."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV8velocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","velocity"],"names":{"title":"velocity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"velocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The linear speed relative to the phyics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"velocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE6update7contextyAA18SceneUpdateContextV_tF","interfaceLanguage":"swift"},"pathComponents":["System","update(context:)"],"names":{"title":"update(context:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default implementation that does nothing."},{"text":""},{"text":"- Parameters:"},{"text":" - context: The scene context for the scene to update."}]},"functionSignature":{"parameters":[{"name":"context","declarationFragments":[{"kind":"identifier","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotationACSo10simd_quatfa_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(rotation:)"],"names":{"title":"offsetBy(rotation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a rotation."},{"text":""},{"text":"- Parameters:"},{"text":" - rotation: The rotation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"rotation","declarationFragments":[{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC5worldACs5SIMD3VySfG_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(world:)"],"names":{"title":"init(world:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchor entity with a target fixed at the given position in"},{"text":"the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position with which to initialize the world target."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","receive(subscriber:)"],"names":{"title":"receive(subscriber:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Implementations of ``Publisher`` must implement this method."},{"text":""},{"text":"The provided implementation of ``Publisher/subscribe(_:)-4u8kn``calls this method."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this ``Publisher``, after which it can receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Output","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:)"],"names":{"title":"zip(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and deliver pairs of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:)`` to combine the latest elements from two publishers and emit a tuple to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together as a tuple to the subscriber."},{"text":""},{"text":"Much like a zipper or zip fastener on a piece of clothing pulls together rows of teeth to link the two sides, ``Publisher/zip(_:)`` combines streams from two different publishers by linking pairs of elements from each side."},{"text":""},{"text":"In this example, `numbers` and `letters` are ``PassthroughSubject``s that emit values; once ``Publisher/zip(_:)`` receives one value from each, it publishes the pair as a tuple to the downstream subscriber. It then waits for the next pair of values."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" letters.send(\"A\") // numbers: 1,2 letters:\"A\" zip output: "},{"text":" numbers.send(3) // numbers: 1,2,3 letters: zip output: (1,\"A\")"},{"text":" letters.send(\"B\") // numbers: 1,2,3 letters: \"B\" zip output: (2,\"B\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\")"},{"text":" // (2, \"B\")"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameter other: Another publisher."},{"text":"- Returns: A publisher that emits pairs of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8specularAC8SpecularVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","specular"],"names":{"title":"specular","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8SpecularV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bright highlights to apply to the entity."},{"text":""},{"text":"In physically based rendering (PBR), specular highlights primarily come"},{"text":"from the object’s ``PhysicallyBasedMaterial/roughness-swift.property``"},{"text":"value. RealityKit renders materials that have a low roughness value with"},{"text":"specular highlights based on the environment, lighting, and shape of the"},{"text":"entity. As a result, for most materials, you don’t need to specify a"},{"text":"`specular` value."},{"text":""},{"text":"For some types of dielectric (nonmetallic) materials, like facet-cut"},{"text":"glass or gems, PBR algorithms don’t create bright enough specular"},{"text":"highlights using just roughness. To accurately simulate those types of"},{"text":"materials, the ``PhysicallyBasedMaterial/specular-swift.property``"},{"text":"property allows you to specify additional specularity for the entity."},{"text":""},{"text":"The following example demonstrates how to add specularity using a single"},{"text":"value for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.specular = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"The following code shows how to add specularity using a UV-mapped image"},{"text":"texture:"},{"text":""},{"text":"```swift"},{"text":"if let specularResource = try? TextureResource.load(named: \"entity_specular\") {"},{"text":" let specularMap = MaterialParameters.Texture(specularResource)"},{"text":" material.specular = .init(texture: specularMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, the specular"},{"text":"``CustomMaterial/Specular-swift.struct/scale`` and"},{"text":"``CustomMaterial/Specular-swift.struct/texture`` are available to the"},{"text":"material’s shader functions, but RealityKit doesn’t automatically use"},{"text":"the values you set. To render a custom material with additional specular"},{"text":"highlights, the material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the material’s"},{"text":"surface shader must call `params().surface().set_specular()`."},{"text":""},{"text":"The following Metal code demonstrates using the specular scale and"},{"text":"texture values, simulating the behavior of the shaders that render a"},{"text":"``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the opacity scale from the CustomMaterial."},{"text":" float specularScale = params.material_constants().specular_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the specular texture."},{"text":" auto tex = params.textures();"},{"text":" half specular = tex.specular().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture and assign"},{"text":" // the result."},{"text":" specular *= specularScale;"},{"text":" params.surface().set_specular(specular);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","assertNoFailure(_:file:line:)"],"names":{"title":"assertNoFailure(_:file:line:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a fatal error when its upstream publisher fails, and otherwise republishes all received input."},{"text":""},{"text":"Use `assertNoFailure()` for internal integrity checks that are active during testing. However, it is important to note that, like its Swift counterpart `fatalError(_:)`, the `assertNoFailure()` operator asserts a fatal exception when triggered during development and testing, _and_ in shipping versions of code."},{"text":""},{"text":"In the example below, a `CurrentValueSubject` publishes the initial and second values successfully. The third value, containing a `genericSubjectError`, causes the `assertNoFailure()` operator to assert a fatal exception stopping the process:"},{"text":""},{"text":" public enum SubjectError: Error {"},{"text":" case genericSubjectError"},{"text":" }"},{"text":""},{"text":" let subject = CurrentValueSubject(\"initial value\")"},{"text":" subject"},{"text":" .assertNoFailure()"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0).\") }"},{"text":" )"},{"text":""},{"text":" subject.send(\"second value\")"},{"text":" subject.send(completion: Subscribers.Completion.failure(SubjectError.genericSubjectError))"},{"text":""},{"text":" // Prints:"},{"text":" // value: initial value."},{"text":" // value: second value."},{"text":" // The process then terminates in the debugger as the assertNoFailure operator catches the genericSubjectError."},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string used at the beginning of the fatal error message."},{"text":" - file: A filename used in the error message. This defaults to `#file`."},{"text":" - line: A line number used in the error message. This defaults to `#line`."},{"text":"- Returns: A publisher that raises a fatal error when its upstream publisher fails."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"file","declarationFragments":[{"kind":"identifier","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"}]},{"name":"line","declarationFragments":[{"kind":"identifier","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#file"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#line"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new part to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"part","declarationFragments":[{"kind":"identifier","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryCompactMap(_:)"],"names":{"title":"tryCompactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls an error-throwing closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Use ``Publisher/tryCompactMap(_:)`` to remove `nil` elements from a publisher’s stream based on an error-throwing closure you provide. If the closure throws an error, the publisher cancels the upstream publisher and sends the thrown error to the downstream subscriber as a ``Publisher/Failure``."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection-based publisher. A ``Publisher/tryCompactMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform the numbers from its Arabic to Roman numerals, as an optional ."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` fails to look up a Roman numeral, it returns the optional String `(unknown)`."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` determines the input is `0`, it throws an error. The ``Publisher/tryCompactMap(_:)`` operator catches this error and stops publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from: Int) throws -> String? {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 4: \"IV\", 5: \"V\"]"},{"text":" guard from != 0 else { throw ParseError() }"},{"text":" return romanNumeralDict[from]"},{"text":" }"},{"text":" let numbers = [6, 5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryCompactMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(Unknown) V IV III II I failure(ParseError())\""},{"text":""},{"text":"- Parameter transform: An error-throwing closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryCatch(_:)"],"names":{"title":"tryCatch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by either replacing it with another publisher or throwing a new error."},{"text":""},{"text":"Use ``Publisher/tryCatch(_:)`` to decide how to handle from an upstream publisher by either replacing the publisher with a new publisher, or throwing a new error."},{"text":""},{"text":"In the example below, an array publisher emits values that a ``Publisher/tryMap(_:)`` operator evaluates to ensure the values are greater than zero. If the values aren’t greater than zero, the operator throws an error to the downstream subscriber to let it know there was a problem. The subscriber, ``Publisher/tryCatch(_:)``, replaces the error with a new publisher using ``Just`` to publish a final value before the stream ends normally."},{"text":""},{"text":" enum SimpleError: Error { case error }"},{"text":" var numbers = [5, 4, 3, 2, 1, -1, 7, 8, 9, 10]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { v in"},{"text":" if v > 0 {"},{"text":" return v"},{"text":" } else {"},{"text":" throw SimpleError.error"},{"text":" }"},{"text":" }"},{"text":" .tryCatch { error in"},{"text":" Just(0) // Send a final value before completing normally."},{"text":" // Alternatively, throw a new error to terminate the stream."},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print (\"Received \\($0).\") }"},{"text":" )"},{"text":" // Received 5."},{"text":" // Received 4."},{"text":" // Received 3."},{"text":" // Received 2."},{"text":" // Received 1."},{"text":" // Received 0."},{"text":" // Completion: finished."},{"text":""},{"text":"- Parameter handler: A throwing closure that accepts the upstream failure as input. This closure can either replace the upstream publisher with a new one, or throw a new error to the downstream subscriber."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher, or an error."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryScan(_:_:)"],"names":{"title":"tryScan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current element to an error-throwing closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/tryScan(_:_:)`` to accumulate all previously-published values into a single value, which you then combine with each newly-published value."},{"text":"If your accumulator closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, ``Publisher/tryScan(_:_:)`` calls a division function on elements of a collection publisher. The ``Publishers/TryScan`` publisher publishes each result until the function encounters a `DivisionByZeroError`, which terminates the publisher."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":""},{"text":" /// A function that throws a DivisionByZeroError if `current` provided by the TryScan publisher is zero."},{"text":" func myThrowingFunction(_ lastValue: Int, _ currentValue: Int) throws -> Int {"},{"text":" guard currentValue != 0 else { throw DivisionByZeroError() }"},{"text":" return (lastValue + currentValue) / currentValue"},{"text":" }"},{"text":""},{"text":" let numbers = [1,2,3,4,5,0,6,7,8,9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryScan(10) { try myThrowingFunction($0, $1) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"11 6 3 1 1 -1 failure(DivisionByZeroError())\"."},{"text":""},{"text":"If the closure throws an error, the publisher fails with the error."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: An error-throwing closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV13defaultRadiusSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultRadius"],"names":{"title":"defaultRadius","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC5worldACSo13simd_float4x4a_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(world:)"],"names":{"title":"init(world:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchor entity with a target fixed at the given position in"},{"text":"the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform with which to initialize the world target."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15loadAnchorAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchorAsync(contentsOf:withName:)"],"names":{"title":"loadAnchorAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an anchor entity from a file URL asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as an ``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO9meshChunkyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","meshChunk"],"names":{"title":"SceneUnderstandingComponent.EntityType.meshChunk","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"meshChunk"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entitiy that models the physical shape of the environment within"},{"text":"a given cubic region."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"meshChunk"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","BaseColor"],"names":{"title":"UnlitMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent base color."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV","interfaceLanguage":"swift"},"pathComponents":["BindableValue"],"names":{"title":"BindableValue","navigator":[{"kind":"identifier","spelling":"BindableValue"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValue"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The value of a bindable target."},{"text":""},{"text":"This structure holds the value of an animatable property"},{"text":"(``BindableValue/animatedValue``), that is, the target property that"},{"text":"animates. In addition, the structure stores the property's original value"},{"text":"(``BindableValue/baseValue``), which represents the property's value before"},{"text":"a running animation starts. The ``BindableValue/value`` property returns the"},{"text":"animated value when an animation runs; when the animation isn't running, it"},{"text":"returns the base value."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func","displayName":"Function"},"identifier":{"precise":"s:17RealityFoundation5blend7sources4name10isAdditiveAA13BlendTreeNode_pSayAaF_pG_SSSbtF","interfaceLanguage":"swift"},"pathComponents":["blend(sources:name:isAdditive:)"],"names":{"title":"blend(sources:name:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Combines the animations that result from the individual blend-tree nodes of"},{"text":"the given array to a single blend-tree node."},{"text":""},{"text":"- Parameters:"},{"text":" - sources: The blend-tree nodes to combine."},{"text":""},{"text":" - name: A unique name for the combined node."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation builds on"},{"text":"the current state of the target entity, or resets the state before running."},{"text":""},{"text":"- Returns: A blend-tree node that combines the given animations."}]},"functionSignature":{"parameters":[{"name":"sources","declarationFragments":[{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}]},{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"isAdditive","declarationFragments":[{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9publisher3for2onAC9PublisherVy_xGxm_AA11EventSource_pSgtAA0H0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","publisher(for:on:)"],"names":{"title":"publisher(for:on:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a publisher for events of the specified type."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The event, like `SceneEvents.Update.self`."},{"text":""},{"text":"- sourceObject: The source of the event. Set to `nil` to publish all"},{"text":"events of the given type within the scene."},{"text":""},{"text":"- Returns: A publisher for events of the specified type."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ","interfaceLanguage":"swift"},"pathComponents":["System","dependencies"],"names":{"title":"dependencies","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of dependencies for this system."},{"text":""},{"text":"If you need to specify the update order between your system and other"},{"text":"systems in your app, you can do that using this property. If your system"},{"text":"has no dependencies, you don’t need to declare this property. RealityKit"},{"text":"provides a default implementation for systems with no dependencies."},{"text":""},{"text":"Here’s an example where one other system must update before this system,"},{"text":"and another system must update after it."},{"text":""},{"text":"```swift"},{"text":"class SystemB : RealityKit.System {"},{"text":" static var dependencies: [SystemDependency] {"},{"text":" [.after(SystemA.self), // Run SystemB after SystemA."},{"text":" .before(SystemC.self)] // Run SystemB before SystemC."},{"text":" }"},{"text":" // ..."},{"text":"}"},{"text":"```"},{"text":""},{"text":"When the app runs, RealityKit calls ``System/update(context:)-69f86`` on"},{"text":"`SystemA` first, then on `SystemB`, and then on `SystemC`."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","resetPhysicsTransform(recursive:)"],"names":{"title":"resetPhysicsTransform(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position, orientation, and velocities of the simulated"},{"text":"physics body."},{"text":""},{"text":"Call this method only for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s transform property directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: Apply the reset to all descendant entities."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV13defaultHeightSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultHeight"],"names":{"title":"defaultHeight","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultHeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultHeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","eraseToAnyPublisher()"],"names":{"title":"eraseToAnyPublisher()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Wraps this publisher with a type eraser."},{"text":""},{"text":"Use ``Publisher/eraseToAnyPublisher()`` to expose an instance of ``AnyPublisher`` to the downstream subscriber, rather than this publisher’s actual type."},{"text":"This form of _type erasure_ preserves abstraction across API boundaries, such as different modules."},{"text":"When you expose your publishers as the ``AnyPublisher`` type, you can change the underlying implementation over time without affecting existing clients."},{"text":""},{"text":"The following example shows two types that each have a `publisher` property. `TypeWithSubject` exposes this property as its actual type, ``PassthroughSubject``, while `TypeWithErasedSubject` uses ``Publisher/eraseToAnyPublisher()`` to expose it as an ``AnyPublisher``. As seen in the output, a caller from another module can access `TypeWithSubject.publisher` as its native type. This means you can’t change your publisher to a different type without breaking the caller. By comparison, `TypeWithErasedSubject.publisher` appears to callers as an ``AnyPublisher``, so you can change the underlying publisher type at will."},{"text":""},{"text":" public class TypeWithSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" }"},{"text":" public class TypeWithErasedSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" .eraseToAnyPublisher()"},{"text":" }"},{"text":""},{"text":" // In another module:"},{"text":" let nonErased = TypeWithSubject()"},{"text":" if let subject = nonErased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast nonErased.publisher.\")"},{"text":" }"},{"text":" let erased = TypeWithErasedSubject()"},{"text":" if let subject = erased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast erased.publisher.\")"},{"text":" }"},{"text":""},{"text":" // Prints \"Successfully cast nonErased.publisher.\""},{"text":""},{"text":"- Returns: An ``AnyPublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16opacityThresholdSfSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The minimum opacity value to treat as fully opaque."},{"text":""},{"text":"In a custom material, `opacityThreshold` helps define how RealityKit"},{"text":"renders transparency when using a texture (known as an _alpha map_) to"},{"text":"control opacity. This property is available as an input to the"},{"text":"material’s surface shader, but RealityKit doesn’t automatically use this"},{"text":"value to render your entity. To render an entity transparent, the"},{"text":"material’s surface shader must call `params.surface().set_opacity()`."},{"text":""},{"text":"In ``PhysicallyBasedMaterial``, RealityKit uses this value to determine"},{"text":"if the alpha map supports translucency, or whether it acts as a mask. If"},{"text":"the threshold is `0.0`, ``PhysicallyBasedMaterial`` uses the alpha mask"},{"text":"values unmodified, which can result in partially transparent pixels. If"},{"text":"the threshold value is greater than `0.0`, ``PhysicallyBasedMaterial``"},{"text":"uses the opacity texture as a mask, with only fully transparent or fully"},{"text":"opaque pixels. RealityKit draws any pixel with a sampled value greater"},{"text":"than `opacityThreshold` as opaque, and any pixel with a value less than"},{"text":"`opacityThreshold` as fully transparent."},{"text":""},{"text":"The following Metal code replicates the behavior of the"},{"text":"``PhysicallyBasedMaterial`` shaders:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the opacity scale and threshold from the CustomMaterial."},{"text":" float opacityScale = params.material_constants().opacity_scale();"},{"text":" float opacityThreshold = params.material_constants().opacity_threshold();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files use texture coordinates with"},{"text":" // a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Retrieve the opacity texture from the material."},{"text":" auto tex = params.textures();"},{"text":""},{"text":" // Sample the value from the opacity texture."},{"text":" half opacity = tex.opacity().sample(textureSampler, uv).r;"},{"text":""},{"text":" if (opacityThreshold > 0.0) {"},{"text":" // If the opacity threshold is greater than 0, use masking behavior"},{"text":" // and set the opacity to either 1.0 or 0.0 depending on the value"},{"text":" // of the opacity threshold. Opacity scale is ignored when using a mask."},{"text":" opacity = (opacity <= opacityThreshold) ? 0.0 : 1.0;"},{"text":" } else {"},{"text":" // If the opacity threshold is 0, then mutiply opacity by scale."},{"text":" opacity *= opacityScale;"},{"text":" }"},{"text":""},{"text":" // Use the calculated value to set the opacity for rendering."},{"text":" params.surface().set_opacity(opacity);"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of joint transforms in which each element represents a discrete"},{"text":"state of the target entity at a given point in the animation's timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of joint transforms."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO4faceyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","face"],"names":{"title":"SceneUnderstandingComponent.EntityType.face","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entitiy that models a face that the framework detects in the"},{"text":"physical environment."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9transform2byySo13simd_float4x4a_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","transform(by:)"],"names":{"title":"transform(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transforms the bounding box."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform to apply to the box."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC4stopyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","stop()"],"names":{"title":"stop()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops an animation."},{"text":""},{"text":"This method has no effect if the animation is complete. After you stop"},{"text":"the animation, the playback controller becomes invalid. Create a new one"},{"text":"with the same resource to play the animation again."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction"],"names":{"title":"AnimationTimingFunction","navigator":[{"kind":"identifier","spelling":"AnimationTimingFunction"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationTimingFunction"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The pacing of an animation transition."},{"text":""},{"text":"Use an animation timing function to control the pace of an animation"},{"text":"transition when you call one of an entity’s animated move methods, like"},{"text":"``Entity/move(to:relativeTo:duration:timingFunction:)-905k``. If you omit a"},{"text":"timing function from the call, the method uses the"},{"text":"``AnimationTimingFunction/default`` timing function."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationTimingFunction"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy11translationACs5SIMD3VySfG_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(translation:)"],"names":{"title":"offsetBy(translation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a translation."},{"text":""},{"text":"- Parameters:"},{"text":"- translation: The translation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"translation","declarationFragments":[{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","values"],"names":{"title":"values","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncThrowingPublisher","preciseIdentifier":"s:7Combine22AsyncThrowingPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"The elements produced by the publisher, as a throwing asynchronous sequence."},{"text":""},{"text":"This property provides an ``AsyncThrowingPublisher``, which allows you to use the Swift `async`-`await` syntax to receive the publisher's elements. Because ``AsyncPublisher`` conforms to , you iterate over its elements with a `for`-`await`-`in` loop, rather than attaching a subscriber. If the publisher terminates with an error, the awaiting caller receives the error as a `throw`."},{"text":""},{"text":"The following example shows how to use the `values` property to receive elements asynchronously. The example adapts a code snippet from the ``Publisher/tryFilter(_:)`` operator's documentation, which filters a sequence to only emit even integers, and terminate with an error on a `0`. This example replaces the ``Subscribers/Sink`` subscriber with a `for`-`await`-`in` loop that iterates over the ``AsyncPublisher`` provided by the `values` property. With this approach, the error handling previously provided in the sink subscriber's ``Subscribers/Sink/receiveCompletion`` closure goes instead in a `catch` block."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" let filterPublisher = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":""},{"text":" do {"},{"text":" for try await number in filterPublisher.values {"},{"text":" print (\"\\(number)\", terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print (\"\\(error)\")"},{"text":" }"},{"text":""},{"text":""}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncThrowingPublisher","preciseIdentifier":"s:7Combine22AsyncThrowingPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove a part by name."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC2IDa","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","ID"],"names":{"title":"AudioPlaybackController.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6source4name6weightAcA19AnimationDefinition_p_SSAA0C6WeightOtcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","init(source:name:weight:)"],"names":{"title":"init(source:name:weight:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a node that defines an animation within a tree of other blend"},{"text":"nodes."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The blend node’s animation."},{"text":""},{"text":" - name: A textual name for the blend node."},{"text":""},{"text":"- weight: A normalized percentage that designates how much effect this"},{"text":"node has compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" = .value(1.0))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV10isOnGroundSbvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","isOnGround"],"names":{"title":"isOnGround","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOnGround"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if character controller is grounded, otherwise false."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOnGround"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10bindTargetAA04BindH0Ovp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","linearVelocity"],"names":{"title":"linearVelocity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The linear velocity of the body in the physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC","interfaceLanguage":"swift"},"pathComponents":["MeshResource"],"names":{"title":"MeshResource","navigator":[{"kind":"identifier","spelling":"MeshResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A high-level representation of a collection of vertices and edges that"},{"text":"define a shape."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","resetPhysicsTransform(_:recursive:)"],"names":{"title":"resetPhysicsTransform(_:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position and velocities of the simulated physics body."},{"text":""},{"text":"Call this method to change the transform applied to a body by physics"},{"text":"simulation. This only matters for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s ``HasTransform/transform`` property"},{"text":"directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":"- transform: The new transform to inject into the dynamic physics"},{"text":"simulation of the entity."},{"text":""},{"text":" - recursive: Apply the reset to child entities."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Will be hidden in RealityKit 2019.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV11transformed2byACSo13simd_float4x4a_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","transformed(by:)"],"names":{"title":"transformed(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transforms the bounding box and finds the bounds of the result."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform to apply to the box."},{"text":""},{"text":"- Returns: The bounds of the transformed box."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation6SystemP5scenexAA5SceneC_tcfc","interfaceLanguage":"swift"},"pathComponents":["System","init(scene:)"],"names":{"title":"init(scene:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new system."},{"text":""},{"text":"There’s no need to instantiate your own systems, so don’t call this"},{"text":"method. Instead, register your system with RealityKit by calling"},{"text":"``System/registerSystem()``. RealityKit automatically creates an"},{"text":"instance of every registered system for every scene."},{"text":""},{"text":"- Parameters:"},{"text":" - scene: The scene this system affects."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC20loadBodyTrackedAsync5named2inAA11LoadRequestCyAA0efC0CGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadBodyTrackedAsync(named:in:)"],"names":{"title":"loadBodyTrackedAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadBodyTrackedAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a body-tracked entity from a file in a bundle asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as a ``BodyTrackedEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadBodyTrackedAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","message":"BodyTrackedEntity is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode"],"names":{"title":"BlendTreeInvalidNode","navigator":[{"kind":"identifier","spelling":"BlendTreeInvalidNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeInvalidNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A blend tree node that's internal only or sources from an invalid"},{"text":"definition."},{"text":""},{"text":"This structure adopts ``BlendTreeNode`` and adds the ability to detect a"},{"text":"node that contains neither an animation nor any branches in the blend tree."},{"text":""},{"text":"You don't create instances of this structure. Instead, detect whether your"},{"text":"blend-tree node matches the framework's criteria for invalid nodes by"},{"text":"checking the node type, as the following code demonstrates."},{"text":""},{"text":"```swift"},{"text":"// Get the blend tree's root node."},{"text":"guard let blendNode = blendTree.root as? BlendTreeBlendNode else { return }"},{"text":"for node in blendNode.sources {"},{"text":" if let invalidNode = node as? BlendTreeInvalidNode {"},{"text":" // Respond to invalid-node criteria."},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeInvalidNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a color or texture."},{"text":""},{"text":"In PBR rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. This initializer creates a new object"},{"text":"from a single value to describe the reflectiveness of the entire"},{"text":"material. This initializer creates a new object from a single value"},{"text":"or a grayscale image texture, or from both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `metallic` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, then RealityKit uses `scale` as the entire entity’s"},{"text":"reflectiveness. If you provide a color image for `texture` rather"},{"text":"than a grayscale image, RealityKit only uses the intensity of the"},{"text":"image’s red channel."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The"},{"text":"sphere on the left is shiny but dielecric so doesn’t reflect the"},{"text":"surrounding environment other than specular highlights from the"},{"text":"visible light. The sphere on the right is metallic and reflects all"},{"text":"of the surrounding environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-Metallic-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The reflectiveness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7toValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing part. The old part is returned."}]},"functionSignature":{"parameters":[{"name":"part","declarationFragments":[{"kind":"identifier","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial"],"names":{"title":"SimpleMaterial","navigator":[{"kind":"identifier","spelling":"SimpleMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimpleMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A basic material that you can apply to meshes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimpleMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Appends a publisher’s output with the specified elements."},{"text":""},{"text":"Use ``Publisher/append(_:)-1qb8d`` when you need to prepend specific elements after the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/append(_:)-1qb8d`` operator publishes the provided elements after republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .append(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 5 6 7 8 9 10 0 1 255\""},{"text":""},{"text":""},{"text":"- Parameter elements: Elements to publish after this publisher’s elements."},{"text":"- Returns: A publisher that appends the specifiecd elements after this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfySayAA12HasAnchoring_pG_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds anchors from an array to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - array: The array of anchor entities to add."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"array","declarationFragments":[{"kind":"identifier","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes"],"names":{"title":"MaterialParameterTypes","navigator":[{"kind":"identifier","spelling":"MaterialParameterTypes"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameterTypes"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of typesused for material parameters."},{"text":""},{"text":"This class contains many nested types used to specify various properties of"},{"text":"material."},{"text":""},{"text":"Many material properties support more than one type of data. For example,"},{"text":"you can specify ``PhysicallyBasedMaterial/baseColor-swift.property`` using"},{"text":"either a single `Float`, or a UV mapped image texture."},{"text":"MaterialParameterTypes and its nested symbols implement the ability to"},{"text":"accept different data types for the same property."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameterTypes"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17OcclusionMaterialV23receivesDynamicLightingSbvp","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","receivesDynamicLighting"],"names":{"title":"receivesDynamicLighting","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receivesDynamicLighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the occlusion material receives dynamic"},{"text":"lighting."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receivesDynamicLighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC2IDa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","ID"],"names":{"title":"PhotogrammetrySession.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC5pauseyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","pause()"],"names":{"title":"pause()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Pauses the animation."},{"text":""},{"text":"Resume a paused animation by calling the"},{"text":"``AnimationPlaybackController/resume()`` method."},{"text":""},{"text":"This method has no effect if the animation is already paused or"},{"text":"complete."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func","displayName":"Function"},"identifier":{"precise":"s:17RealityFoundation5blend__4name10isAdditiveAA13BlendTreeNode_pAaE_p_AaE_pSSSbtF","interfaceLanguage":"swift"},"pathComponents":["blend(_:_:name:isAdditive:)"],"names":{"title":"blend(_:_:name:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Combines the animations that result from two blend-tree nodes into a single"},{"text":"blend-tree node."},{"text":""},{"text":"- Parameters:"},{"text":" - x: A blend-tree node whose animation combines with the second animation"},{"text":"argument."},{"text":""},{"text":" - y: A blend-tree node whose animation combines with the first animation"},{"text":"argument."},{"text":""},{"text":" - name: A unique name for the combined node."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation builds on"},{"text":"the current state of the target entity, or resets the state before running."},{"text":""},{"text":"- Returns: A blend-tree node that combines the given animations."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"isAdditive","declarationFragments":[{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC11generateBox4sizeACs5SIMD3VySfG_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateBox(size:)"],"names":{"title":"generateBox(size:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a box shape with the specified extent."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The box extent in meters along the local axes."},{"text":""},{"text":"- Returns: The new box centered at the local origin and aligned with the"},{"text":"local axes."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default material resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17OcclusionMaterialV","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial"],"names":{"title":"OcclusionMaterial","navigator":[{"kind":"identifier","spelling":"OcclusionMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OcclusionMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An invisible material that hides objects rendered behind it."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OcclusionMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode"],"names":{"title":"AudioResource.InputMode","navigator":[{"kind":"identifier","spelling":"InputMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InputMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Modes for processing audio resources."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InputMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF","interfaceLanguage":"swift"},"pathComponents":["System","update(context:)"],"names":{"title":"update(context:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Updates entities every frame."},{"text":""},{"text":"RealityKit calls this method on all registered systems in every frame."},{"text":"It passes a `context` parameter that contains a reference to the scene"},{"text":"that the system updates, along with the amount of time that has elapsed"},{"text":"since the last time RealityKit called the method for the same scene."},{"text":""},{"text":"- Parameters:"},{"text":" - context: The scene context for the scene to update."}]},"functionSignature":{"parameters":[{"name":"context","declarationFragments":[{"kind":"identifier","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","catch(_:)"],"names":{"title":"catch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by replacing it with another publisher."},{"text":""},{"text":"Use `catch()` to replace an error from an upstream publisher with a new publisher."},{"text":""},{"text":"In the example below, the `catch()` operator handles the `SimpleError` thrown by the upstream publisher by replacing the error with a `Just` publisher. This continues the stream by publishing a single value and completing normally."},{"text":""},{"text":" struct SimpleError: Error {}"},{"text":" let numbers = [5, 4, 3, 2, 1, 0, 9, 8, 7, 6]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast(where: {"},{"text":" guard $0 != 0 else {throw SimpleError()}"},{"text":" return true"},{"text":" })"},{"text":" .catch({ (error) in"},{"text":" Just(-1)"},{"text":" })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" // Prints: -1"},{"text":""},{"text":"Backpressure note: This publisher passes through `request` and `cancel` to the upstream. After receiving an error, the publisher sends sends any unfulfilled demand to the new `Publisher`."},{"text":"SeeAlso: `replaceError`"},{"text":"- Parameter handler: A closure that accepts the upstream failure as input and returns a publisher to replace the upstream publisher."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","ID"],"names":{"title":"MeshResource.Part.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV15collisionFilterAA09CollisionG0Vvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","collisionFilter"],"names":{"title":"collisionFilter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character's collision filter."},{"text":""},{"text":"For more information on using collision filters, see ."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6sourceAA19AnimationDefinition_pSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","source"],"names":{"title":"source","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The blend node's animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE9publisher3for2on13componentTypeAC9PublisherVy_xGxm_AA11EventSource_pSgAA9Component_pXpSgtAA0J0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","publisher(for:on:componentType:)"],"names":{"title":"publisher(for:on:componentType:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a `Publisher` for events of the specified type in a `Scene`."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event. For example, `SceneEvents.Update.Self`."},{"text":" - sourceObject: The event source – usually the entity you are interested in. `nil` to"},{"text":" listen all events of this type that occur in the scene."},{"text":" - componentType: The component type, or `nil` for all (for ComponentEvents)."},{"text":""},{"text":"- Returns: A `Publisher` for events of the specified type."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment"],"names":{"title":"AnchoringComponent.Target.Alignment","navigator":[{"kind":"identifier","spelling":"Alignment"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Alignment"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Alignment"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification"],"names":{"title":"AnchoringComponent.Target.Classification","navigator":[{"kind":"identifier","spelling":"Classification"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Classification"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Types of real-world surfaces to seek as targets."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Classification"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE4drop5whileAA22AsyncDropWhileSequenceVyxGSb7ElementQzYac_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncDropWhileSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Omits elements from the base asynchronous sequence until a given closure"},{"text":"returns false, after which it passes through all remaining elements."},{"text":""},{"text":"Use `drop(while:)` to omit elements from an asynchronous sequence until"},{"text":"the element received meets a condition you specify."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `drop(while:)` method causes the modified"},{"text":"sequence to ignore received values until it encounters one that is"},{"text":"divisible by `3`:"},{"text":""},{"text":" let stream = Counter(howHigh: 10)"},{"text":" .drop { $0 % 3 != 0 }"},{"text":" for await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"3 4 5 6 7 8 9 10 \""},{"text":""},{"text":"After the predicate returns `false`, the sequence never executes it again,"},{"text":"and from then on the sequence passes through elements from its underlying"},{"text":"sequence as-is."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and"},{"text":" returns a Boolean value indicating whether to drop the element from the"},{"text":" modified sequence."},{"text":"- Returns: An asynchronous sequence that skips over values from the"},{"text":" base sequence until the provided closure returns `false`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncDropWhileSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncDropWhileSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(size:cornerRadius:)"],"names":{"title":"generateBox(size:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with sides of equal length."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The length, in meters, of each face of the box."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC9subscribeyyqd__5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Output","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6appendyyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds a new anchor at the end of the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The element to append to the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC6resumeyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","resume()"],"names":{"title":"resume()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resume"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resumes a paused animation."},{"text":""},{"text":"Call this method to resume an animation that you paused with the"},{"text":"``AnimationPlaybackController/pause()`` method. You can’t resume an"},{"text":"animation that has finished naturally, or that you stopped by calling"},{"text":"the ``AnimationPlaybackController/stop()`` method."},{"text":""},{"text":"This method has no effect on an animation that isn’t paused."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resume"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15loadBodyTracked5named2inAA0efC0CSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadBodyTracked(named:in:)"],"names":{"title":"loadBodyTracked(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadBodyTracked"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading a body-tracked entity from a file in a"},{"text":"bundle."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as a"},{"text":"``BodyTrackedEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadBodyTracked"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"BodyTrackedEntity","preciseIdentifier":"s:17RealityFoundation17BodyTrackedEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","message":"BodyTrackedEntity is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from single value."},{"text":""},{"text":"In PBR rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. This initializer creates a new object"},{"text":"from a single value to describe the reflectiveness of the entire"},{"text":"material. A value of 0.0 creates a _dielectric_ (or non-reflective)"},{"text":"material. Values greater than 0.0 result in an increasingly"},{"text":"_metallic_ (or reflective) materials."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The"},{"text":"sphere on the left is shiny but dielecric so doesn’t reflect the"},{"text":"surrounding environment other than specular highlights from the"},{"text":"visible light. The sphere on the right is metallic and reflects all"},{"text":"of the surrounding environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-Metallic-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The reflectiveness value for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV15distanceSquared7toPointSfs5SIMD3VySfG_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","distanceSquared(toPoint:)"],"names":{"title":"distanceSquared(toPoint:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distanceSquared"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calculates the distance from a point to the bounding box."},{"text":""},{"text":"- Parameters:"},{"text":" - toPoint: The point."},{"text":""},{"text":"- Returns: The square of the distance, in meters, from the point to the"},{"text":"box."}]},"functionSignature":{"parameters":[{"name":"toPoint","declarationFragments":[{"kind":"identifier","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distanceSquared"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC5plane14classification13minimumBoundsAcA18AnchoringComponentV6TargetO9AlignmentV_AJ14ClassificationVs5SIMD2VySfGtcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(plane:classification:minimumBounds:)"],"names":{"title":"init(plane:classification:minimumBounds:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"plane"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"classification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"minimumBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchor entity that targets a plane with the given"},{"text":"characteristics."},{"text":""},{"text":"- Parameters:"},{"text":"- alignment: The alignment of the plane to target, like"},{"text":"``AnchoringComponent/Target-swift.enum/Alignment/horizontal`` or"},{"text":"``AnchoringComponent/Target-swift.enum/Alignment/vertical``."},{"text":""},{"text":"- classification: The classification of the target plane to look for,"},{"text":"like ``AnchoringComponent/Target-swift.enum/Classification/floor`` or"},{"text":"``AnchoringComponent/Target-swift.enum/Classification/ceiling``."},{"text":""},{"text":" - minimumBounds: The minium size of the target plane."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"plane"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"alignment"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"classification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"text","spelling":" = .any, "},{"kind":"externalParam","spelling":"minimumBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = [0, 0])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the parts."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12ParameterSetV","interfaceLanguage":"swift"},"pathComponents":["Entity","ParameterSet"],"names":{"title":"Entity.ParameterSet","navigator":[{"kind":"identifier","spelling":"ParameterSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Represents a reference to the parameters for a particular entity."},{"text":""},{"text":"Note this struct is a reference and does not have copy-on-write semantics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotation11translationACSo10simd_quatfa_s5SIMD3VySfGtF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(rotation:translation:)"],"names":{"title":"offsetBy(rotation:translation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a rotation and a translation."},{"text":""},{"text":"- Parameters:"},{"text":" - rotation: The rotation to apply to the existing shape resource."},{"text":""},{"text":"- translation: The translation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"rotation","declarationFragments":[{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"translation","declarationFragments":[{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" = simd_quatf(ix: 0, iy: 0, iz: 0, r: 1), "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3()) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC2id0B04UUIDVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9transformyA2CmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","transform"],"names":{"title":"BindTarget.transform","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A option that specifies that the target entity's transform animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:)"],"names":{"title":"init(mesh:materials:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh and set of materials."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate"],"names":{"title":"ComponentEvents.WillDeactivate","navigator":[{"kind":"identifier","spelling":"WillDeactivate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised before a component is deactivated."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor"],"names":{"title":"PhysicallyBasedMaterial.SheenColor","navigator":[{"kind":"identifier","spelling":"SheenColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SheenColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the color of an entity’s sheen."},{"text":""},{"text":"Use `sheen` to add specular highlights that simulate subtle reflections,"},{"text":"like the ones that occur on materials such as fabrics. Use this object"},{"text":"to define the color of the highlights."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SheenColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that refers to a property on which to run the grouped"},{"text":"animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO15jointTransformsyA2CmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","jointTransforms"],"names":{"title":"BindTarget.jointTransforms","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that specifies that the entity's joint transforms animate."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9parameteryACSScACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","parameter(_:)"],"names":{"title":"BindTarget.parameter(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a property that animates from the given textual name."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV8IteratorV4nextxSgyF","interfaceLanguage":"swift"},"pathComponents":["QueryResult","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Advances to the next entity and returns it."},{"text":""},{"text":"- Returns: Calling this method advances the iterator to the next"},{"text":"entity and returns it. If there is no next element, returns `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection"],"names":{"title":"MeshPartCollection","navigator":[{"kind":"identifier","spelling":"MeshPartCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshPartCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshPartCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","look(at:from:upVector:relativeTo:)"],"names":{"title":"look(at:from:upVector:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions and orients the entity to look at a target from a given"},{"text":"position."},{"text":""},{"text":"You can use this method on any entity, but it’s particularly useful for"},{"text":"orienting cameras and lights to aim at a particular point in space."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The target position to look at."},{"text":""},{"text":" - position: The new position of the entity."},{"text":""},{"text":" - upVector: The up direction of the entity after moving."},{"text":""},{"text":" - relativeTo: The entity that defines a frame of reference. Set this to"},{"text":"`nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"upVector","declarationFragments":[{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(0, 1, 0), "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label0B023LocalizedStringResourceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","label"],"names":{"title":"label","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that identifies the label for this content."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness"],"names":{"title":"PhysicallyBasedMaterial.Roughness","navigator":[{"kind":"identifier","spelling":"Roughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the roughness of an entity’s surface."},{"text":""},{"text":"Use this struct to specify the roughness of the entity. The `roughness`"},{"text":"property represents how much the surface of the entity scatters light"},{"text":"that it reflects. A material with a high roughness has a matte"},{"text":"appearance, whereas one with a low roughness has a shiny appearance."},{"text":""},{"text":"For more information, see"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:)"],"names":{"title":"combineLatest(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and publishes a tuple upon receiving output from either publisher."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:)`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To pair elements from multiple publishers, use ``Publisher/zip(_:)`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:)-7qt71``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In this example, ``PassthroughSubject`` `pub1` and also `pub2` emit values; as ``Publisher/combineLatest(_:)`` receives input from either upstream publisher, it combines the latest value from each publisher into a tuple and publishes it."},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(3)"},{"text":" pub1.send(45)"},{"text":" pub2.send(22)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2). // pub1 latest = 2, pub2 latest = 2"},{"text":" // Result: (3, 2). // pub1 latest = 3, pub2 latest = 2"},{"text":" // Result: (45, 2). // pub1 latest = 45, pub2 latest = 2"},{"text":" // Result: (45, 22). // pub1 latest = 45, pub2 latest = 22"},{"text":""},{"text":"When all upstream publishers finish, this publisher finishes. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"- Parameter other: Another publisher to combine with this one."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE10definitionAA0C10Definition_pvp","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","definition"],"names":{"title":"definition","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The timeframe, target object, and visual semantics of the animation."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subject to this publisher."},{"text":""},{"text":"- Parameter subject: The subject to attach to this publisher."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV6modelsAA0C15ModelCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","models"],"names":{"title":"models","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"models"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"models"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV7sources4name6weight10isAdditiveACSayAA0cdE0_pG_SSAA0C6WeightOSbtcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","init(sources:name:weight:isAdditive:)"],"names":{"title":"init(sources:name:weight:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a tree node made up of multiple branches."},{"text":""},{"text":"- Parameters:"},{"text":" - sources: The nodes that branch from this node to form part of a blend tree."},{"text":""},{"text":" - name: A textual name for the node."},{"text":""},{"text":" - weight: A normalized percentage that designates how much this node's"},{"text":"animation influences the tree's blended animation."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" = .value(1.0), "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove"],"names":{"title":"ComponentEvents.WillRemove","navigator":[{"kind":"identifier","spelling":"WillRemove"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemove"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised before a component is removed from an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemove"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scale of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s scale relative to its parent. To get the"},{"text":"actual scale of the entity in the scene, use"},{"text":"``HasTransform/scale(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/scale`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO6entityyAC10EntityPathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","entity(_:)"],"names":{"title":"entity(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a complex bind path from a particular child entity of the"},{"text":"current entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","requestOwnership(timeout:_:)"],"names":{"title":"requestOwnership(timeout:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests ownership of the entity."},{"text":""},{"text":"Requesting ownership isn’t guaranteed to succeed."},{"text":""},{"text":"- Parameters:"},{"text":" - timeout: A time in seconds to wait before giving up."},{"text":""},{"text":"- callback: A closure that the method calls when the request completes"},{"text":"or times out."}]},"functionSignature":{"parameters":[{"name":"timeout","declarationFragments":[{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"callback","declarationFragments":[{"kind":"identifier","spelling":"callback"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 15, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"callback"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9stepLimitSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","stepLimit"],"names":{"title":"stepLimit","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum obstacle height that the controller can move over."},{"text":""},{"text":"Specify this value relative to the entity's coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult"],"names":{"title":"QueryResult","navigator":[{"kind":"identifier","spelling":"QueryResult"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryResult"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that returns the results of an entity query."},{"text":""},{"text":"You can’t create query result objects. Instead, call"},{"text":"``Scene/performQuery(_:)``, which returns a ``QueryResult`` containing the"},{"text":"entities that meet your specified query criteria."},{"text":""},{"text":"```swift"},{"text":"// Ask the scene to perform the query and iterate over the returned entities."},{"text":"scene.performQuery(query).forEach { entity in"},{"text":" print(\"Returned entity: \\(entity)\")"},{"text":"}"},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryResult"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV16isRotationLockedSb1x_Sb1ySb1ztvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isRotationLocked"],"names":{"title":"isRotationLocked","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A tuple of Boolean values that you use to lock rotation of the physics"},{"text":"body around any of the three axes."},{"text":""},{"text":"For any one of the three Booleans in the tuple that you set to `true`,"},{"text":"rotation is restricted on the axis represented by that item. For"},{"text":"example, if you set the `x` item to true, then the body can’t rotate"},{"text":"around the x-axis. By default, rotation isn’t restricted."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange"],"names":{"title":"ComponentEvents.DidChange","navigator":[{"kind":"identifier","spelling":"DidChange"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidChange"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been modified."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidChange"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``AnimationView/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationView/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO8internalyAcA08InternalC4PathVcACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","internal(_:)"],"names":{"title":"BindTarget.internal(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`internal`"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"InternalBindPath","preciseIdentifier":"s:17RealityFoundation16InternalBindPathV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target that refers to a framework-provided property."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`internal`"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"InternalBindPath","preciseIdentifier":"s:17RealityFoundation16InternalBindPathV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12anchorEntityyAC0F4PathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","anchorEntity(_:)"],"names":{"title":"anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a complex bind path from a particular anchor entity in the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","interfaceLanguage":"swift"},"pathComponents":["BodyTrackedEntity","modelDebugOptions"],"names":{"title":"modelDebugOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configures the debug visualization of this model."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC23generateCollisionShapes9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","generateCollisionShapes(recursive:)"],"names":{"title":"generateCollisionShapes(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCollisionShapes"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the shape used to detect collisions between two entities that"},{"text":"have collision components."},{"text":""},{"text":"Call this method on entities that adopt the ``HasModel`` and"},{"text":"``HasCollision`` protocols to prepare a shape used for collision"},{"text":"detection. The method stores the shape in the entity’s"},{"text":"``CollisionComponent`` instance."},{"text":""},{"text":"For non-model entities, the method has no effect. Nevertheless, the"},{"text":"method is defined for all entities so that you can call it on any"},{"text":"entity, and have the calculation propagate recursively to all that"},{"text":"entity’s descendants."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to also generate the"},{"text":" collision shapes for all descendants of the entity."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCollisionShapes"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17PerspectiveCameraC","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera"],"names":{"title":"PerspectiveCamera","navigator":[{"kind":"identifier","spelling":"PerspectiveCamera"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCamera"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A virtual camera that establishes the rendering perspective."},{"text":""},{"text":"During an AR session, RealityKit automatically uses the device’s camera to"},{"text":"define the perspective from which to render the scene. When rendering a"},{"text":"scene outside of an AR session (with the view’s"},{"text":"``ARView/cameraMode-swift.property`` property set to"},{"text":"``ARView/CameraMode-swift.enum/nonAR``), RealityKit uses a"},{"text":"``PerspectiveCamera`` instead. You can add a perspective camera anywhere in"},{"text":"your scene to control the point of view. If you don't explicitly provide"},{"text":"one, RealityKit creates a default camera for you."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCamera"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC10isCompleteSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isComplete"],"names":{"title":"isComplete","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the animation has finished running."},{"text":""},{"text":"After an animation completes, the playback controller becomes invalid."},{"text":"To play the animation again, create a new controller with the same"},{"text":"resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE5store2inyAA6EntityC_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","store(in:)"],"names":{"title":"store(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"store"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the animation to an entity without playing it."},{"text":""},{"text":"- Parameters:"},{"text":" - in: The entity to which to attach the animation."}]},"functionSignature":{"parameters":[{"name":"in","declarationFragments":[{"kind":"identifier","spelling":"`in`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"store"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two components of a"},{"text":"bind path are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The component of the bind path on the left side of the operator."},{"text":""},{"text":" - rhs: The component of the bind path on the right side of the"},{"text":"operator."},{"text":""},{"text":"- Returns: Returns `true` if the components of the bind path are"},{"text":"equal. Otherwise, returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","parent"],"names":{"title":"parent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parent entity."},{"text":""},{"text":"An entity has at most one parent entity. If an entity isn’t part of a"},{"text":"hierarchy, or if it is a root entity, the ``HasHierarchy/parent``"},{"text":"property is `nil`."},{"text":""},{"text":"Use the ``HasHierarchy/setParent(_:preservingWorldTransform:)`` method"},{"text":"to change an entity’s parent. Use the"},{"text":"``HasHierarchy/removeFromParent(preservingWorldTransform:)`` method to"},{"text":"remove the parent. These methods automatically update the corresponding"},{"text":"``HasHierarchy/children`` collections of the new and old parent."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyAngle","navigator":[{"kind":"identifier","spelling":"AnisotropyAngle"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyAngle"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object used to define a material’s anisotropy angle."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyAngle"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC8isActiveSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isActive"],"names":{"title":"isActive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isActive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity is active."},{"text":""},{"text":"The value of this property is `true` if the entity is anchored in a"},{"text":"scene, and it and all of its ancestors are enabled (``Entity/isEnabled``"},{"text":"is set to `true`). RealityKit doesn’t simulate or render inactive"},{"text":"entities."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isActive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13emissiveColorAC08EmissiveG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","emissiveColor"],"names":{"title":"emissiveColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of the light the entity emits."},{"text":""},{"text":"With Physically Based Rendering (PBR), you can give entities in"},{"text":"RealityKit the appearance of emitting light. Use this property to"},{"text":"simulate real-world objects that glow, such as objects with LEDs or"},{"text":"computer screens. To enable light emission from a material, set"},{"text":"``PhysicallyBasedMaterial/emissiveIntensity`` to a value greater than"},{"text":"zero, then specify a color for the emitted light other than black using"},{"text":"this property. You can specify a single emissive color for the entire"},{"text":"material, or use a UV-mapped image texture to use different colors for"},{"text":"different parts of the entity."},{"text":""},{"text":"The following example uses a single color for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.emissiveIntensity = 2.0"},{"text":"self.emissiveColor = PhysicallyBasedMaterial.EmissiveColor(color: .red)"},{"text":"```"},{"text":""},{"text":"This example uses an image map to control the light emission color:"},{"text":""},{"text":"```swift"},{"text":"if let emissiveResource = try? TextureResource.load(named:\"entity_emissive\") {"},{"text":" let emissiveMap = MaterialParameters.Texture(emissiveResource)"},{"text":" material.emissiveColor = .init(texture: emissiveMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy angle specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new accessibility component with default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object to specify the amount of roughness, using a single"},{"text":"value that applies to the entire material."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light that it reflects. A material with a high"},{"text":"roughness has a matte appearance, and one with a low roughness has a"},{"text":"shiny appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](CustomMaterial-Roughness-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"The following Swift code shows how to specify roughness using a"},{"text":"single value for the entire entity:"},{"text":""},{"text":"```swift"},{"text":"material.roughness = PhysicallyBasedMaterial.Roughness(floatLiteral: 0.0)"},{"text":"```"},{"text":""},{"text":"With custom materials, the roughness value is available in your"},{"text":"surface shader; however, RealityKit doesn’t use it automatically to"},{"text":"render the entity. To render an entity with roughness, the"},{"text":"material’s ``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_roughness()`."},{"text":""},{"text":"The following Metal code shows how to retrieve the roughness value"},{"text":"set using this initializer in your surface shader:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the roughness scale from the CustomMaterial."},{"text":" float roughnessScale = params.material_constants().roughness_scale();"},{"text":""},{"text":" // Set the roughness value using the roughness scale."},{"text":" params.surface().set_roughness(roughnessScale);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The roughness value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(transform:to:)"],"names":{"title":"convert(transform:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of the entity on which you called this method to the local space"},{"text":"of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the controller by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"controller."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8HasModelP","interfaceLanguage":"swift"},"pathComponents":["HasModel"],"names":{"title":"HasModel","navigator":[{"kind":"identifier","spelling":"HasModel"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasModel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides meshes and materials to define the visual"},{"text":"appearance of an entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasModel"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2id5model2atAESS_SSSo13simd_float4x4aSgtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","init(id:model:at:)"],"names":{"title":"init(id:model:at:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":"?)"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two animation playback controllers are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first controller to compare."},{"text":""},{"text":" - rhs: The second controller to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two controllers are"},{"text":"equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC24accessibilityDescriptionSSSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","accessibilityDescription"],"names":{"title":"accessibilityDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A longer description of the entity for use by assistive technologies."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"*","message":"Use accessibilityCustomContent instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO9transformyA2EmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","transform"],"names":{"title":"BindPath.Part.transform","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate a transform."},{"text":""},{"text":"This path component terminates an array of paths, and at the same"},{"text":"time specifies a transform that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isRotationAnimated"],"names":{"title":"isRotationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes rotational"},{"text":"changes in the entity’s transform."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates"},{"text":"rotational differences in the entity's transform by interpolating to the"},{"text":"target rotation across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isRotationAnimated"],"names":{"title":"isRotationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation interpolates"},{"text":"rotational changes."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","scan(_:_:)"],"names":{"title":"scan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current"},{"text":"element to a closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/scan(_:_:)`` to accumulate all previously-published values into a single"},{"text":"value, which you then combine with each newly-published value."},{"text":""},{"text":"The following example logs a running total of all values received"},{"text":"from the sequence publisher."},{"text":""},{"text":" let range = (0...5)"},{"text":" cancellable = range.publisher"},{"text":" .scan(0) { return $0 + $1 }"},{"text":" .sink { print (\"\\($0)\", terminator: \" \") }"},{"text":" // Prints: \"0 1 3 6 10 15 \"."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: A closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."},{"text":""},{"text":"The calling process owns the entity if the value is `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(normal:to:)"],"names":{"title":"convert(normal:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, given in the"},{"text":" local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO15jointTransformsyA2EmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","jointTransforms"],"names":{"title":"BindPath.Part.jointTransforms","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate joint transforms."},{"text":""},{"text":"This path component terminates an array of components, and at the"},{"text":"same time specifies the entity's joint transforms that animate."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setParent(_:preservingWorldTransform:)"],"names":{"title":"setParent(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Attaches the entity as a child to the specified entity."},{"text":""},{"text":"Attaching an entity to a new parent automatically detaches it from its"},{"text":"old parent."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of both the old and new parent"},{"text":"are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- parent: The new parent entity. Use `nil` to detach the entity from its"},{"text":"current parent."},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"parent","declarationFragments":[{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materials15collisionShapes4massAcA12MeshResourceC_SayAA8Material_pGSayAA05ShapeK0CGSftcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:collisionShapes:mass:)"],"names":{"title":"init(mesh:materials:collisionShapes:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"collisionShapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh, set of materials, a"},{"text":"composite collision shape, and mass."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."},{"text":""},{"text":" - collisionShapes: A collection of shape resources that define a composite collision shape."},{"text":""},{"text":" - mass: The mass of the model in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [], "},{"kind":"externalParam","spelling":"collisionShapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a color or texture."},{"text":""},{"text":"Use this initializer to create an object to specify the amount of"},{"text":"roughness using a single value or an image texture, or both."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light that it reflects. A material with a high"},{"text":"roughness has a matte appearance, and one with a low roughness has a"},{"text":"shiny appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](CustomMaterial-Roughness-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"The following code demonstrates creating a roughness object using"},{"text":"this initalizer:"},{"text":""},{"text":"```swift"},{"text":"if let roughnessResource = try? TextureResource.load(named:"},{"text":"\"entity_roughness\") {"},{"text":" let roughness = MaterialParameters.Texture(roughnessResource)"},{"text":" customMaterial.roughness = .init(scale: 0.5, texture: roughness)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, the `texture` and `scale` properties you set"},{"text":"on the ``CustomMaterial/roughness-swift.property`` property are"},{"text":"available in your surface shader function, but RealityKit doesn’t"},{"text":"automatically use them to render your entity. To render an entity"},{"text":"with roughness, ``CustomMaterial/lightingModel-swift.property`` must"},{"text":"be ``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its"},{"text":"surface shader must call `params.surface().set_roughness()`."},{"text":""},{"text":"To achieve the same metallic behavior as"},{"text":"``PhysicallyBasedMaterial``, the surface shader function multiplies"},{"text":"the roughness scale by the sampled value from the roughness texture,"},{"text":"as the following Metal code demonstrates:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the roughness scale from the CustomMaterial."},{"text":" float roughnessScale = params.material_constants().roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the texture based on the resulting UVs."},{"text":" auto tex = params.textures();"},{"text":" half roughness = tex.roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and the sampled value from the texture, and assign"},{"text":" // the result to the shader's base color property."},{"text":" roughness *= roughnessScale;"},{"text":""},{"text":" // Set the roughness value to be used by the custom material shader."},{"text":" params.surface().set_roughness(roughness);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The roughness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","interfaceLanguage":"swift"},"pathComponents":["BodyTrackedEntity","debugModel"],"names":{"title":"debugModel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"modelDebugOptions","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0C0V5values5SIMD4VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Custom","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A custom vector that the framework sends to the material’s shader"},{"text":"functions."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5value0B023LocalizedStringResourceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that provides a value for the label."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC4load10contentsOf8withName9inputMode15loadingStrategy10shouldLoopAC0B03URLV_SSSgAA0cE0C05InputL0OAC07LoadingN0OSbtKFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","load(contentsOf:withName:inputMode:loadingStrategy:shouldLoop:)"],"names":{"title":"load(contentsOf:withName:inputMode:loadingStrategy:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio file resource from a URL synchronously."},{"text":""},{"text":"As a synchronous implementation, this function blocks the calling thread"},{"text":"until it returns."},{"text":""},{"text":"This function caches one file per unique file path. Subsequent calls to"},{"text":"this function for the same file path override the previous"},{"text":"``AudioFileResource`` configuration. For example, both audio file"},{"text":"resources loop in the following code."},{"text":""},{"text":"```swift"},{"text":"guard let path = findTestDataFilePath(\"Music.m4a\") else { /*"},{"text":"Handle the error. */ }"},{"text":"let url = URL(fileURLWithPath: path) let"},{"text":"audioFile1 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .nonSpatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: false)"},{"text":"let audioFile2 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .spatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: true)"},{"text":"```"},{"text":""},{"text":"To create looping and nonlooping versions of the same audio, create a"},{"text":"copy of the source audio file on disk and pass a unique file URL to each"},{"text":"audio file resource."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The URL from which to get the audio file resource."},{"text":""},{"text":" - resourceName: The name of the audio file."},{"text":""},{"text":" - inputMode: The input mode the audio file resource uses."},{"text":""},{"text":" - loadingStrategy: The loading strategy the audio file resource uses."},{"text":""},{"text":"- shouldLoop: A Boolean you set to `true` to instruct the playback"},{"text":"controller to loop the audio indefinitely."},{"text":""},{"text":"- Returns: An audio file resource that you can use to initialize an"},{"text":"``AudioPlaybackController`` instance by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` method."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"inputMode","declarationFragments":[{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"loadingStrategy","declarationFragments":[{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"shouldLoop","declarationFragments":[{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7Texturea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Texture"],"names":{"title":"CustomMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object type that custom materials use to hold texture properties."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomMaterialTexture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV0cD7TextureV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","values"],"names":{"title":"values","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncPublisher","preciseIdentifier":"s:7Combine14AsyncPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"The elements produced by the publisher, as an asynchronous sequence."},{"text":""},{"text":"This property provides an ``AsyncPublisher``, which allows you to use the Swift `async`-`await` syntax to receive the publisher's elements. Because ``AsyncPublisher`` conforms to , you iterate over its elements with a `for`-`await`-`in` loop, rather than attaching a subscriber."},{"text":""},{"text":"The following example shows how to use the `values` property to receive elements asynchronously. The example adapts a code snippet from the ``Publisher/filter(_:)`` operator's documentation, which filters a sequence to only emit even integers. This example replaces the ``Subscribers/Sink`` subscriber with a `for`-`await`-`in` loop that iterates over the ``AsyncPublisher`` provided by the `values` property."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" let filtered = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":""},{"text":" for await number in filtered.values"},{"text":" {"},{"text":" print(\"\\(number)\", terminator: \" \")"},{"text":" }"},{"text":""}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncPublisher","preciseIdentifier":"s:7Combine14AsyncPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling"],"names":{"title":"MaterialParameterTypes.FaceCulling","navigator":[{"kind":"identifier","spelling":"FaceCulling"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines how the system removes polygons before rendering"},{"text":"a scene."},{"text":""},{"text":"To improve performance, RealityKit culls polygons, or faces, that it"},{"text":"determines won’t be visible. Discarding faces that aren’t part of the"},{"text":"final render elimininates the need to do any calculations for those"},{"text":"faces. Use this object to specify what kind of polygons RealityKit"},{"text":"culls."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation"],"names":{"title":"BlendTreeAnimation","navigator":[{"kind":"identifier","spelling":"BlendTreeAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations on the same property that the framework blends to"},{"text":"a single animation."},{"text":""},{"text":"This structure provides a way to form a single animation by mixing several"},{"text":"other animations together. You define a source node for each animation, and"},{"text":"a weight, which determines how much each individual animation takes effect"},{"text":"in the resulting animation."},{"text":""},{"text":"To create the blended animation, you define a _blend tree_ that sprouts from"},{"text":"``BlendTreeAnimation/root``, which consists of one or more blend-tree nodes"},{"text":"(``BlendTreeNode``). Each node may be one of the following conforming types:"},{"text":""},{"text":"- ``BlendTreeBlendNode``, which branches the tree for every element in"},{"text":"``BlendTreeBlendNode/sources``"},{"text":"- ``BlendTreeSourceNode``, which defines one of the animations to blend"},{"text":"via its ``BlendTreeSourceNode/source`` property"},{"text":""},{"text":"Because source nodes reference no other nodes, they represent leaf nodes in"},{"text":"the tree."},{"text":""},{"text":"## Blending Two Skeletal Movements to a Single Movement"},{"text":""},{"text":"The following animation plays a sampling of the animations named"},{"text":"`anim1` and `anim2`. To fine-tune the interplay between the two animations,"},{"text":"the code sets a blend weight for each animation. The weight of `0.25` for"},{"text":"`anim1` determines that the first animation's behavior is 25% prominent in"},{"text":"the final result. The `anim2` weight is `0.75`, as the cumulative blend"},{"text":"weight across all animations in the tree needs to equal `1`. This determines"},{"text":"that the second animation influences 75% of the visual behavior of the"},{"text":"blended animation."},{"text":""},{"text":"```swift"},{"text":"let anim1 = FromToByAnimation("},{"text":" name: \"anim1\","},{"text":" from: JointTransforms([Transform(scale: SIMD3(1, 2, 3),"},{"text":" rotation: simd_quatf(ix: 5, iy: 6, iz: 7, r: 8),"},{"text":" translation: SIMD3(10, 20, 30))]),"},{"text":" to: JointTransforms([Transform(scale: SIMD3(11, 21, 31),"},{"text":" rotation: simd_quatf(ix: 50, iy: 60, iz: 70, r: 80),"},{"text":" translation: SIMD3(100, 200, 300))]),"},{"text":" duration: 1.0)"},{"text":""},{"text":"let anim2 = FromToByAnimation("},{"text":" name: \"anim2\","},{"text":" from: JointTransforms([Transform(scale: SIMD3(10, 20, 30),"},{"text":" rotation: simd_quatf(ix: 4, iy: 5, iz: 5, r: 7),"},{"text":" translation: SIMD3(100, 200, 300))]),"},{"text":" to: JointTransforms([Transform(scale: SIMD3(110, 210, 310),"},{"text":" rotation: simd_quatf(ix: 500, iy: 60, iz: 70, r: 80),"},{"text":" translation: SIMD3(1000, 2000, 3000))]),"},{"text":" duration: 10.0)"},{"text":""},{"text":"let blendTree = BlendTreeAnimation("},{"text":" blend("},{"text":" BlendTreeSourceNode("},{"text":" source: anim1,"},{"text":" name: \"anim1\","},{"text":" weight: .value(0.25)),"},{"text":" BlendTreeSourceNode("},{"text":" source: anim2,"},{"text":" name: \"anim2\","},{"text":" weight: .value(0.75)),"},{"text":" name: \"blend\"),"},{"text":" name: \"blendTree\","},{"text":" bindTarget: .parameter(\"bar\")"},{"text":")"},{"text":"```"},{"text":""},{"text":"- Tip: To modify the weights for each frame, create a source node with a"},{"text":"dynamic ``BlendWeight``, such as with the"},{"text":"``BlendWeight/bindTarget(_:defaultWeight:)`` or"},{"text":"``BlendWeight/parameter(_:defaultWeight:)`` enumeration cases."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","children"],"names":{"title":"children","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The child entities that the entity manages."},{"text":""},{"text":"An entity can have any number of child entities."},{"text":""},{"text":"Use the ``HasHierarchy/addChild(_:preservingWorldTransform:)`` method to"},{"text":"add a child to an entity. Use the"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` method to"},{"text":"remove one from an entity. These methods automatically update the"},{"text":"``HasHierarchy/parent`` properties of the child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV11FaceCullinga","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","FaceCulling"],"names":{"title":"CustomMaterial.FaceCulling","navigator":[{"kind":"identifier","spelling":"FaceCulling"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of object used to control the removal of polygons that aren’t"},{"text":"visible to the user."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyLevel","navigator":[{"kind":"identifier","spelling":"AnisotropyLevel"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyLevel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the degree to which an entity reflects light to"},{"text":"create stretched or oblong highlights."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity that"},{"text":"uses ``PhysicallyBasedMaterial`` reflects light uniformly in all"},{"text":"directions, mimicking the behavior of most real-world objects. Some"},{"text":"objects, including those with many small parallel striations such as"},{"text":"vinyl records, CDs, or straight hair, reflect light more in some"},{"text":"directions than others, resulting in stretched or oblong specular"},{"text":"highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row. The"},{"text":"left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-AnisotropyLevel-swift-struct-1)"},{"text":""},{"text":"Use this object to specify the"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` for a"},{"text":"material."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyLevel"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC6entityAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity to which the animation applies."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"weak"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE8generate4withAcA0C10Definition_p_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","generate(with:)"],"names":{"title":"generate(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource from a definition."},{"text":""},{"text":"- Parameters:"},{"text":"- definition: The configuration of a timeframe and visual semantics from"},{"text":"which to generate an animation resource."},{"text":""},{"text":"- Returns: An animation resource that shares the configuration of the"},{"text":"definition."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"definition","declarationFragments":[{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO5sceneyAC9ScenePathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","scene(_:)"],"names":{"title":"scene(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a bind path from a particular scene."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstIndex(of:)"],"names":{"title":"firstIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `firstIndex(of:)` to find the position of a particular element"},{"text":"in a collection, you can use it to access the element by subscripting."},{"text":"This example shows how you can modify one of the names in an array of"},{"text":"students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\"]"},{"text":" if let i = students.firstIndex(of: \"Maxime\") {"},{"text":" students[i] = \"Max\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The first index where `element` is found. If `element` is not"},{"text":" found in the collection, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21BodyTrackingComponentV","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6NormalV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Normal","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s normal map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(direction:to:)"],"names":{"title":"convert(direction:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of the entity on which"},{"text":"you called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6sourceAA0C10Definition_pSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","source"],"names":{"title":"source","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The original animation that this structure modifies."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection"],"names":{"title":"MeshModelCollection","navigator":[{"kind":"identifier","spelling":"MeshModelCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshModelCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh models."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshModelCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform of an entity relative to its parent."},{"text":""},{"text":"For an ``AnchorEntity`` instance, the transform is relative to the AR"},{"text":"anchor."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE8sequence4withACSayACG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","sequence(with:)"],"names":{"title":"sequence(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource that plays a collection of animations in a"},{"text":"specified sequence."},{"text":""},{"text":"- Parameters:"},{"text":" - resources: The collection of animation resources to play."},{"text":""},{"text":"- Returns: An animation resource that plays the given array of"},{"text":"animations."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"resources","declarationFragments":[{"kind":"identifier","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(untilOutputFrom:)"],"names":{"title":"prefix(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements until another publisher emits an element."},{"text":""},{"text":"After the second publisher publishes an element, the publisher returned by this method finishes."},{"text":""},{"text":"- Parameter publisher: A second publisher."},{"text":"- Returns: A publisher that republishes elements until the second publisher publishes an element."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV8upVectors5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","upVector"],"names":{"title":"upVector","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Y axis direction relative to the physics origin."},{"text":""},{"text":"Rotates the object so that the vertical height is along the up vector."},{"text":"Vector must be normalized and specified in *physics space*, the coordinate system of the"},{"text":"physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation9SpotLightC","interfaceLanguage":"swift"},"pathComponents":["SpotLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A spotlight component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","drop(untilOutputFrom:)"],"names":{"title":"drop(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores elements from the upstream publisher until it receives an element from a second publisher."},{"text":""},{"text":"Use ``Publisher/drop(untilOutputFrom:)`` to ignore elements from the upstream publisher until another, second, publisher delivers its first element."},{"text":"This publisher requests a single value from the second publisher, and it ignores (drops) all elements from the upstream publisher until the second publisher produces a value. After the second publisher produces an element, ``Publisher/drop(untilOutputFrom:)`` cancels its subscription to the second publisher, and allows events from the upstream publisher to pass through."},{"text":""},{"text":"After this publisher receives a subscription from the upstream publisher, it passes through backpressure requests from downstream to the upstream publisher. If the upstream publisher acts on those requests before the other publisher produces an item, this publisher drops the elements it receives from the upstream publisher."},{"text":""},{"text":"In the example below, the `pub1` publisher defers publishing its elements until the `pub2` publisher delivers its first element:"},{"text":""},{"text":" let upstream = PassthroughSubject()"},{"text":" let second = PassthroughSubject()"},{"text":" cancellable = upstream"},{"text":" .drop(untilOutputFrom: second)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" upstream.send(1)"},{"text":" upstream.send(2)"},{"text":" second.send(\"A\")"},{"text":" upstream.send(3)"},{"text":" upstream.send(4)"},{"text":" // Prints \"3 4\""},{"text":""},{"text":"- Parameter publisher: A publisher to monitor for its first emitted element."},{"text":"- Returns: A publisher that drops elements from the upstream publisher until the `other` publisher produces a value."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation15HasBodyTrackingP","interfaceLanguage":"swift"},"pathComponents":["HasBodyTracking"],"names":{"title":"HasBodyTracking","navigator":[{"kind":"identifier","spelling":"HasBodyTracking"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasBodyTracking"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables the animation of a virtual character by tracking a"},{"text":"real person in AR."},{"text":""},{"text":"- Important: Body tracking requires a compatible rigged model. For more information on creating a"},{"text":"compatible model, see ."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasBodyTracking"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"HasBodyTracking is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE3mapyAA16AsyncMapSequenceVyxqd__Gqd__7ElementQzYaclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Transformed"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncMapSequence","preciseIdentifier":"s:12_Concurrency16AsyncMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that maps the given closure over the"},{"text":"asynchronous sequence’s elements."},{"text":""},{"text":"Use the `map(_:)` method to transform every element received from a base"},{"text":"asynchronous sequence. Typically, you use this to transform from one type"},{"text":"of element to another."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The closure provided to the `map(_:)` method"},{"text":"takes each `Int` and looks up a corresponding `String` from a"},{"text":"`romanNumeralDict` dictionary. This means the outer `for await in` loop"},{"text":"iterates over `String` instances instead of the underlying `Int` values"},{"text":"that `Counter` produces:"},{"text":""},{"text":" let romanNumeralDict: [Int: String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .map { romanNumeralDict[$0] ?? \"(unknown)\" }"},{"text":" for await numeral in stream {"},{"text":" print(numeral, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"I II III (unknown) V \""},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an element"},{"text":" of this sequence as its parameter and returns a transformed value of the"},{"text":" same or of a different type."},{"text":"- Returns: An asynchronous sequence that contains, in order, the elements"},{"text":" produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncMapSequence","preciseIdentifier":"s:12_Concurrency16AsyncMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Transformed","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Transformed"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncMapSequence","preciseIdentifier":"s:12_Concurrency16AsyncMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyLevel.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","output(at:)"],"names":{"title":"output(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a specific element, indicated by its index in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(at:)`` when you need to republish a specific element specified by its position in the stream. If the publisher completes normally or with an error before publishing the specified element, then the publisher doesn’t produce any elements."},{"text":""},{"text":"In the example below, the array publisher emits the fifth element in the sequence of published elements:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" numbers.publisher"},{"text":" .output(at: 5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"6\""},{"text":""},{"text":"- Parameter index: The index that indicates the element to publish."},{"text":"- Returns: A publisher that publishes a specific indexed element."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE5group4withACSayACG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","group(with:)"],"names":{"title":"group(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource that simultaneously plays back a"},{"text":"collection of animations."},{"text":""},{"text":"- Parameters:"},{"text":" - resources: The collection of animation resources to play back."},{"text":""},{"text":"- Returns: An animation resource that simultaneously plays back the"},{"text":"argument collection of animations."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"resources","declarationFragments":[{"kind":"identifier","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC8isPausedSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isPaused"],"names":{"title":"isPaused","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the animation is paused."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materials14collisionShape4massAcA12MeshResourceC_SayAA8Material_pGAA0hK0CSftcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:collisionShape:mass:)"],"names":{"title":"init(mesh:materials:collisionShape:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"collisionShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh, set of materials,"},{"text":"collision shape, and mass."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."},{"text":""},{"text":" - collisionShape: A collection of shape resources that define a composite collision shape."},{"text":""},{"text":" - mass: The mass of the model in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [], "},{"kind":"externalParam","spelling":"collisionShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVACycfc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of animatable transforms for a single skeletal"},{"text":"pose."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17BodyTrackedEntityC","interfaceLanguage":"swift"},"pathComponents":["BodyTrackedEntity"],"names":{"title":"BodyTrackedEntity","navigator":[{"kind":"identifier","spelling":"BodyTrackedEntity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BodyTrackedEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity used to animate a virtual character in an AR scene by tracking a"},{"text":"real person."},{"text":""},{"text":"Like a ``ModelEntity``, a ``BodyTrackedEntity`` has a ``ModelComponent``"},{"text":"that defines its physical appearance. Unlike a model entity, a body-tracked"},{"text":"entity lacks the components required to participate in collisions or physics"},{"text":"simulations. Instead, a ``BodyTrackingComponent`` drives the positioning and"},{"text":"arrangement of the entity based on tracking information from the AR session."},{"text":""},{"text":"![Diagram showing the components present in the body-tracked"},{"text":"entity.](BodyTrackedEntity-1)"},{"text":""},{"text":"For an example of how to use a body-tracked entity, see"},{"text":"."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BodyTrackedEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath"],"names":{"title":"BindTarget.EntityPath","navigator":[{"kind":"identifier","spelling":"EntityPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind path context for a particular entity."},{"text":""},{"text":"This structure references all the animated properties of an entity."},{"text":""},{"text":"To access the animated properties of one of the entity's children, call"},{"text":"``BindTarget/EntityPath/entity(_:)`` and pass in the child's name."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","TextureCoordinateTransform"],"names":{"title":"PhysicallyBasedMaterial.TextureCoordinateTransform","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An alias for the texture coordinate transform that’s appropriate for"},{"text":"this material class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits the specified number of elements before republishing subsequent elements."},{"text":""},{"text":"Use ``Publisher/dropFirst(_:)`` when you want to drop the first `n` elements from the upstream publisher, and republish the remaining elements."},{"text":""},{"text":"The example below drops the first five elements from the stream:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" cancellable = numbers.publisher"},{"text":" .dropFirst(5)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"6 7 8 9 10 \""},{"text":""},{"text":"- Parameter count: The number of elements to omit. The default is `1`."},{"text":"- Returns: A publisher that doesn’t republish the first `count` elements."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","FaceCulling"],"names":{"title":"PhysicallyBasedMaterial.FaceCulling","navigator":[{"kind":"identifier","spelling":"FaceCulling"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An alias for the face culling object that’s appropriate for this"},{"text":"material class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","ArrayLiteralElement"],"names":{"title":"JointTransforms.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy level object from a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The anisotropy level."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow"],"names":{"title":"DirectionalLightComponent.Shadow","navigator":[{"kind":"identifier","spelling":"Shadow"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Shadow"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines shadow characteristics for a directional light."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Shadow"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(position:to:)"],"names":{"title":"convert(position:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE3mapyAA24AsyncThrowingMapSequenceVyxqd__Gqd__7ElementQzYaKclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Transformed"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingMapSequence","preciseIdentifier":"s:12_Concurrency24AsyncThrowingMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that maps the given error-throwing"},{"text":"closure over the asynchronous sequence’s elements."},{"text":""},{"text":"Use the `map(_:)` method to transform every element received from a base"},{"text":"asynchronous sequence. Typically, you use this to transform from one type"},{"text":"of element to another."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The closure provided to the `map(_:)` method"},{"text":"takes each `Int` and looks up a corresponding `String` from a"},{"text":"`romanNumeralDict` dictionary. This means the outer `for await in` loop"},{"text":"iterates over `String` instances instead of the underlying `Int` values"},{"text":"that `Counter` produces. Also, the dictionary doesn't provide a key for"},{"text":"`4`, and the closure throws an error for any key it can't look up, so"},{"text":"receiving this value from `Counter` ends the modified sequence with an"},{"text":"error."},{"text":""},{"text":" let romanNumeralDict: [Int: String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" do {"},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .map { (value) throws -> String in"},{"text":" guard let roman = romanNumeralDict[value] else {"},{"text":" throw MyError()"},{"text":" }"},{"text":" return roman"},{"text":" }"},{"text":" for try await numeral in stream {"},{"text":" print(numeral, terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print(\"Error: \\(error)\")"},{"text":" }"},{"text":" // Prints \"I II III Error: MyError() \""},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an element"},{"text":" of this sequence as its parameter and returns a transformed value of the"},{"text":" same or of a different type. `transform` can also throw an error, which"},{"text":" ends the transformed sequence."},{"text":"- Returns: An asynchronous sequence that contains, in order, the elements"},{"text":" produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncThrowingMapSequence","preciseIdentifier":"s:12_Concurrency24AsyncThrowingMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Transformed","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Transformed"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingMapSequence","preciseIdentifier":"s:12_Concurrency24AsyncThrowingMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV9transformSo13simd_float4x4avp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transform for the instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","output(in:)"],"names":{"title":"output(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements specified by their range in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(in:)`` to republish a range indices you specify in the published stream. After publishing all elements, the publisher finishes normally. If the publisher completes normally or with an error before producing all the elements in the range, it doesn’t publish the remaining elements."},{"text":""},{"text":"In the example below, an array publisher emits the subset of elements at the indices in the specified range:"},{"text":""},{"text":" let numbers = [1, 1, 2, 2, 2, 3, 4, 5, 6]"},{"text":" numbers.publisher"},{"text":" .output(in: (3...5))"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 2 3\""},{"text":""},{"text":"- Parameter range: A range that indicates which elements to publish."},{"text":"- Returns: A publisher that publishes elements specified by a range."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"R","rhs":"RangeExpression","rhsPrecise":"s:SX"},{"kind":"sameType","lhs":"R.Bound","rhs":"Int","rhsPrecise":"s:Si"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RangeExpression","preciseIdentifier":"s:SX"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Bound"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","withUnsynchronized(_:)"],"names":{"title":"withUnsynchronized(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"(() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calls the given closure in a way such that component changes that the"},{"text":"closure makes don’t trigger synchronization."},{"text":""},{"text":"Use this method to make local changes that don’t affect remote peers,"},{"text":"like aligning a billboard component to face the local camera."},{"text":""},{"text":"Using this method doesn’t permanently prevent changes from being"},{"text":"synchronized. If you modify the same components immediately before the"},{"text":"call to ``HasSynchronization/withUnsynchronized(_:)``, or anytime"},{"text":"afterward, the changes are synchronized."},{"text":""},{"text":"If the local peer doesn’t own the associated entity, changes that the"},{"text":"remote owner makes continue to synchronize, overwriting local,"},{"text":"unsynchronized changes."},{"text":""},{"text":"- Parameters:"},{"text":"- changes: A closure that the method calls while suppressing"},{"text":"synchronization triggers."}]},"functionSignature":{"parameters":[{"name":"changes","declarationFragments":[{"kind":"identifier","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO4pathyAcA0C4PathVcACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","path(_:)"],"names":{"title":"BindTarget.path(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"path"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a complex bind path capable of animating additional entities"},{"text":"other than the current entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"path"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","delay(for:tolerance:scheduler:options:)"],"names":{"title":"delay(for:tolerance:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Delays delivery of all output to the downstream receiver by a specified amount of time on a particular scheduler."},{"text":""},{"text":"Use ``Publisher/delay(for:tolerance:scheduler:options:)`` when you need to delay the delivery of elements to a downstream by a specified amount of time."},{"text":""},{"text":"In this example, a publishes an event every second. The ``Publisher/delay(for:tolerance:scheduler:options:)`` operator holds the delivery of the initial element for 3 seconds (±0.5 seconds), after which each element is delivered to the downstream on the main run loop after the specified delay:"},{"text":""},{"text":" let df = DateFormatter()"},{"text":" df.dateStyle = .none"},{"text":" df.timeStyle = .long"},{"text":" cancellable = Timer.publish(every: 1.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .handleEvents(receiveOutput: { date in"},{"text":" print (\"Sending Timestamp \\'\\(df.string(from: date))\\' to delay()\")"},{"text":" })"},{"text":" .delay(for: .seconds(3), scheduler: RunLoop.main, options: .none)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \"\\n\") },"},{"text":" receiveValue: { value in"},{"text":" let now = Date()"},{"text":" print (\"At \\(df.string(from: now)) received Timestamp \\'\\(df.string(from: value))\\' sent: \\(String(format: \"%.2f\", now.timeIntervalSince(value))) secs ago\", terminator: \"\\n\")"},{"text":" }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Sending Timestamp '5:02:33 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:34 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:35 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:36 PM PDT' to delay()"},{"text":" // At 5:02:36 PM PDT received Timestamp '5:02:33 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:37 PM PDT' to delay()"},{"text":" // At 5:02:37 PM PDT received Timestamp '5:02:34 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:38 PM PDT' to delay()"},{"text":" // At 5:02:38 PM PDT received Timestamp '5:02:35 PM PDT' sent: 3.00 secs ago"},{"text":""},{"text":"The delay affects the delivery of elements and completion, but not of the original subscription."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The amount of time to delay."},{"text":" - tolerance: The allowed tolerance in delivering delayed events. The `Delay` publisher may deliver elements this much sooner or later than the interval specifies."},{"text":" - scheduler: The scheduler to deliver the delayed events."},{"text":" - options: Options relevant to the scheduler’s behavior."},{"text":"- Returns: A publisher that delays delivery of elements and completion to the downstream receiver."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"tolerance","declarationFragments":[{"kind":"identifier","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV4nearSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","near"],"names":{"title":"near","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The minimum distance in meters from the camera that the camera can see."},{"text":""},{"text":"The value defaults to 1 centimeter. Always use a value greater than `0`"},{"text":"and less than the value of ``PerspectiveCameraComponent/far``. The"},{"text":"renderer clips any surface closer than the"},{"text":"``PerspectiveCameraComponent/near`` point."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isScaleAnimated"],"names":{"title":"isScaleAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether that animation interpolates"},{"text":"changes to the target’s size."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy level object using a single value or a"},{"text":"texture."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity"},{"text":"that uses ``PhysicallyBasedMaterial`` reflects light uniformly in"},{"text":"all directions, mimicking the behavior of most real-world objects."},{"text":"Some objects, including those with many small parallel striations"},{"text":"such as vinyl records, CDs, or straight hair, reflect light more in"},{"text":"some directions than others, resulting in stretched or oblong"},{"text":"specular highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row."},{"text":"The left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-AnisotropyLevel-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"Use this initializer to create an object to set the"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` for a"},{"text":"material using either a single value for the entire material, or a"},{"text":"UV-mapped image. If you specify `texture`, RealityKit calculates the"},{"text":"anistotropy level for the entity by UV-mapping `texture` onto the"},{"text":"entity and multiplying the value of each mapped pixel by `scale`. If"},{"text":"you don’t specify `texture`, then RealityKit uses `scale` as the"},{"text":"entire entity’s anisotropy level. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The anisotropy level value for the entire material."},{"text":""},{"text":" - texture: The anisotropy level values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","addChild(_:preservingWorldTransform:)"],"names":{"title":"addChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the given entity to the collection of child entities."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/addChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13surfaceShader16geometryModifier13lightingModelA2C07SurfaceF0V_AC08GeometryH0VSgAC08LightingJ0OtKcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","init(surfaceShader:geometryModifier:lightingModel:)"],"names":{"title":"init(surfaceShader:geometryModifier:lightingModel:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"surfaceShader"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SurfaceShader","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"lightingModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom material from a lighting model, surface shader, and"},{"text":"geometry modifier."},{"text":""},{"text":"This initializer creates a custom material using a lighting model you"},{"text":"specify, which determines how RealityKit renders the output of your"},{"text":"shader functions. The ``CustomMaterial/LightingModel-swift.enum/lit``"},{"text":"and ``CustomMaterial/LightingModel-swift.enum/clearcoat`` use"},{"text":"RealityKit’s physically-based shaders to render the entity based on the"},{"text":"output of your shader functions. When using these lighting models,"},{"text":"RealityKit uses all provided material attributes like"},{"text":"``CustomMaterial/baseColor-swift.property``,"},{"text":"``CustomMaterial/metallic-swift.property`` and"},{"text":"``CustomMaterial/normal-swift.property``."},{"text":""},{"text":"The ``CustomMaterial/LightingModel-swift.enum/unlit`` lighting model"},{"text":"renders the entity with no shadows or surface effects. This lighting"},{"text":"model only supports ``CustomMaterial/baseColor-swift.property`` and"},{"text":"``CustomMaterial/blending-swift.property``."},{"text":""},{"text":"- Parameters:"},{"text":" - surfaceShader: The surface shader function."},{"text":""},{"text":" - geometryModifier: The geometry modifier shader function."},{"text":""},{"text":" - lightingModel: The lighting model."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"surfaceShader"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SurfaceShader","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"lightingModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","FloatLiteralType"],"names":{"title":"CustomMaterial.ClearcoatRoughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","print(_:to:)"],"names":{"title":"print(_:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prints log messages for all publishing events."},{"text":""},{"text":"Use ``Publisher/print(_:to:)`` to log messages the console."},{"text":""},{"text":"In the example below, log messages are printed on the console:"},{"text":""},{"text":" let integers = (1...2)"},{"text":" cancellable = integers.publisher"},{"text":" .print(\"Logged a message\", to: nil)"},{"text":" .sink { _ in }"},{"text":""},{"text":" // Prints:"},{"text":" // Logged a message: receive subscription: (1..<2)"},{"text":" // Logged a message: request unlimited"},{"text":" // Logged a message: receive value: (1)"},{"text":" // Logged a message: receive finished"},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string —- which defaults to empty -— with which to prefix all log messages."},{"text":" - stream: A stream for text output that receives messages, and which directs output to the console by default. A custom stream can be used to log messages to other destinations."},{"text":"- Returns: A publisher that prints log messages for all publishing events."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"to","internalName":"stream","declarationFragments":[{"kind":"identifier","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath"],"names":{"title":"BindTarget.ScenePath","navigator":[{"kind":"identifier","spelling":"ScenePath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ScenePath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind path for a particular scene."},{"text":""},{"text":"This structure defines an absolute bind path for a scene. You determine"},{"text":"the scene that a particular instance references by specifying the"},{"text":"scene's name as the argument to ``BindPath/Part/scene(_:)``."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ScenePath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isTranslationAnimated"],"names":{"title":"isTranslationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes"},{"text":"translational changes in the entity's transform."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates"},{"text":"translation differences in the entity’s transform by interpolating to"},{"text":"the target translation across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0cD7TextureV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","CustomMaterialTexture"],"names":{"title":"CustomMaterial.CustomMaterialTexture","navigator":[{"kind":"identifier","spelling":"CustomMaterialTexture"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterialTexture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A texture object that you use to create custom materials."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterialTexture"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18TransientComponentP","interfaceLanguage":"swift"},"pathComponents":["TransientComponent"],"names":{"title":"TransientComponent","navigator":[{"kind":"identifier","spelling":"TransientComponent"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TransientComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface for components that aren’t saved to file or cloned."},{"text":""},{"text":"Components that conform to the ``TransientComponent`` protocol aren’t"},{"text":"included when RealityKit serializes its owning entity to save it to a file."},{"text":"Similarly, when you clone an entity, any transient components on that entity"},{"text":"aren’t copied to the clone."},{"text":""},{"text":"To ensure that cloned entities, or entities saved to file get a copy of the"},{"text":"transient component with default values, create and initialize the component"},{"text":"in your entity’s `init()` method:"},{"text":""},{"text":"```swift"},{"text":"class MyEntity: Entity {"},{"text":" required init() {"},{"text":" let newComponent = MyComponent()"},{"text":" components[MyComponent.self] = newComponent"},{"text":" return newComponent"},{"text":" }"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Alternatively, you can create a computed"},{"text":"property for your component that initializes it to default values the first"},{"text":"time your code accesses it."},{"text":""},{"text":"```swift"},{"text":"class MyEntity: Entity {"},{"text":" var myComponent: MyComponent {"},{"text":" // If the component exists, return it."},{"text":" if let component = components[MyComponent] as? MyComponent {"},{"text":" return component"},{"text":" }"},{"text":""},{"text":" // Create a new component and return it."},{"text":" components[MyComponent.self] = MyComponent()"},{"text":" return newComponent"},{"text":" }"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Use transient components to represent runtime state for an entity. For"},{"text":"example, an entity representing a fish in a virtual aquarium might store"},{"text":"attributes such as hunger in a transient component."},{"text":""},{"text":"In networked AR experiences, RealityKit sends transient components to peers"},{"text":"when it sends the entity, if the component also conforms to"},{"text":". If transient"},{"text":"components don’t conform, ReaityKit still sends the entity to network peers,"},{"text":"but it excludes the transient component."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TransientComponent"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV12arrayLiteralAcA9TransformVd_tcfc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of animatable transforms using the argument"},{"text":"elements for a single skeletal pose."},{"text":""},{"text":"- Parameters:"},{"text":"- elements: A comma-delimited list of transforms, which define position,"},{"text":"rotation, and scale data for the joints."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to determine the minimum value in the stream of elements from an upstream publisher using a comparison operation you specify."},{"text":""},{"text":"This operator is useful when the value received from the upstream publisher isn’t ."},{"text":""},{"text":"In the example below an array publishes enumeration elements representing playing card ranks. The ``Publisher/min(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the minimum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .king]"},{"text":" cancellable = cards.publisher"},{"text":" .min {"},{"text":" return $0.rawValue < $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"ace\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(transform:from:)"],"names":{"title":"convert(transform:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of a reference entity to the local space of the entity on which"},{"text":"you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC4load5named2in9inputMode15loadingStrategy10shouldLoopACSS_So8NSBundleCSgAA0cE0C05InputJ0OAC07LoadingL0OSbtKFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","load(named:in:inputMode:loadingStrategy:shouldLoop:)"],"names":{"title":"load(named:in:inputMode:loadingStrategy:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio file resource from a bundle synchronously."},{"text":""},{"text":"As a synchronous implementation, this function blocks the calling thread"},{"text":"until it returns."},{"text":""},{"text":"This function caches one file per unique file path. Subsequent calls to"},{"text":"this function for the same file path override the previous"},{"text":"``AudioFileResource`` configuration. For example, both audio file"},{"text":"resources loop in the following code."},{"text":""},{"text":"```swift"},{"text":"guard let path = Bundle.main.path(forResource: \"Music\", ofType:\"m4a\")"},{"text":" else { /* Handle the error. */ }"},{"text":"let url = URL(fileURLWithPath:path)"},{"text":"let audioFile1 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .nonSpatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: false)"},{"text":"let audioFile2 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .spatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: true)"},{"text":"```"},{"text":""},{"text":"To create looping and nonlooping versions of the same audio, create a"},{"text":"copy of the source audio file in the app bundle and pass a unique file"},{"text":"URL to each audio file resource."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The name of the audio file resource the function searches for in"},{"text":"the bundle."},{"text":""},{"text":"- bundle: The bundle the function searches. Set to `nil` to use the"},{"text":"app’s bundle."},{"text":""},{"text":" - inputMode: The input mode the audio file resource uses."},{"text":""},{"text":" - loadingStrategy: The loading strategy the audio file resource uses."},{"text":""},{"text":"- shouldLoop: A Boolean you set to `true` to instruct the playback"},{"text":"controller to loop the audio indefinitely."},{"text":""},{"text":"- Returns: An audio file resource that you can use to initialize an"},{"text":"``AudioPlaybackController`` instance by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` method."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]},{"name":"inputMode","declarationFragments":[{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"loadingStrategy","declarationFragments":[{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"shouldLoop","declarationFragments":[{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","interfaceLanguage":"swift"},"pathComponents":["BodyTrackedEntity","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of all the joints in the model entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","resetPhysicsTransform(_:recursive:)"],"names":{"title":"resetPhysicsTransform(_:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position and velocities of the simulated physics body."},{"text":""},{"text":"Call this method to change the transform applied to a body by physics"},{"text":"simulation. This only matters for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s ``HasTransform/transform`` property"},{"text":"directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":"- transform: The new transform to inject into the dynamic physics"},{"text":"simulation of the entity."},{"text":""},{"text":" - recursive: Apply the reset to child entities."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Will be hidden in RealityKit 2019.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","GeometryModifier"],"names":{"title":"CustomMaterial.GeometryModifier","navigator":[{"kind":"identifier","spelling":"GeometryModifier"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"GeometryModifier"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The custom material’s optional shader function that can manipulate an"},{"text":"entity’s vertex data."},{"text":""},{"text":"A geometry modifier is an optional Metal function that you can use with"},{"text":"custom materials. Use a geometry modifier to change vertex data, such as"},{"text":"vertex position, color, or texture coordinates. For example, offsetting"},{"text":"a vertex’s position changes the size and shape of the entity for"},{"text":"rendering only. If your custom material has a geometry modifier,"},{"text":"RealityKit’s custom material vertex shader calls it once for each vertex"},{"text":"in the entity. Changes that your geometry modifier makes are transient"},{"text":"and don’t affect the vertex positions of the original ``ModelEntity``."},{"text":""},{"text":"Here’s a simple example of a geometry modifier that offsets the vertex"},{"text":"positions along the Z axis based on the elapsed time:"},{"text":""},{"text":"```other"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"[[visible]] void myGeometryModifier(realitykit::geometry_parameters"},{"text":"params) {"},{"text":" float3 zOffset = float3(0.0, 0.0, params.uniforms().time() / 50.0);"},{"text":" params.geometry().set_world_position_offset(zOffset);"},{"text":"} ```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"GeometryModifier"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6source4name10bindTarget10blendLayer10repeatMode04fillL09trimStart0N3End0N8Duration6offset5delay5speedAcA0C10Definition_p_SSAA04BindH0OSgs5Int32VAA0c6RepeatL0OAA0c4FillL0VSdSgA2ZS2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationView","init(source:name:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(source:name:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a variation of the given animation by overriding its properties."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The original animation that this structure modifies."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - bindTarget: A textual name that identifies the animated property."},{"text":""},{"text":" - blendLayer: The order in which the framework visually composites the"},{"text":"animation among other running animations."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats"},{"text":"outside the length of the view."},{"text":""},{"text":" - fillMode: The behavior when the animated property reaches its end"},{"text":"value."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the source"},{"text":"animation plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the source animation"},{"text":"stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the caculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s playback"},{"text":"rate."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO5unlityA2EmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","unlit"],"names":{"title":"CustomMaterial.LightingModel.unlit","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unlit"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity renders with no light or shadow calculations."},{"text":""},{"text":"A custom material that uses the unlit lighting model renders much"},{"text":"like an entity with an ``UnlitMaterial``. Custom materials using"},{"text":"``CustomMaterial/LightingModel-swift.enum/unlit`` don’t respond to"},{"text":"lights in the scene. Use this lighting model for user interface"},{"text":"elements or other elements where visibility is more important than"},{"text":"fitting in to the environment."},{"text":""},{"text":"The surface shader for a custom material has access to all of the"},{"text":"custom material’s properties as inputs, but only renders based on"},{"text":"the value passed to `params.surface().set_emissive_color()`."},{"text":"RealityKit ignores any other property your shader sets on"},{"text":"`params.surface().`"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unlit"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9BaseColorV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","BaseColor"],"names":{"title":"CustomMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s base color."},{"text":""},{"text":"For more information on using base color values in a custom material,"},{"text":"see ``CustomMaterial/baseColor-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8specularAC8SpecularVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","specular"],"names":{"title":"specular","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The specular highlight applied to the entity."},{"text":""},{"text":"In Physically Based Rendering (PBR), specular highlights primarily come"},{"text":"from the object’s ``PhysicallyBasedMaterial/roughness-swift.property``"},{"text":"value. RealityKit automatically renders materials that have a low"},{"text":"roughness value with specular highlights based on the environment"},{"text":"lighting and the shape of the entity. As a result, for most materials,"},{"text":"you won’t need to specify a `specular` value when using"},{"text":"``PhysicallyBasedMaterial``."},{"text":""},{"text":"For some types of dielectric (nonmetallic) materials, like facet-cut"},{"text":"glass or gems, PBR algorithms don’t create bright enough specular"},{"text":"highlights using just roughness. To accurately simulate those types of"},{"text":"materials, use the ``PhysicallyBasedMaterial/specular-swift.property``"},{"text":"property to specify additional specular for the entity."},{"text":""},{"text":"The following example demonstrates how to specify specular using a"},{"text":"single value for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.specular = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify specular using a UV-mapped image"},{"text":"texture:"},{"text":""},{"text":"```swift"},{"text":"if let specularResource = try? TextureResource.load(named:\"entity_specular\") {"},{"text":" let specularMap = MaterialParameters.Texture(specularResource)"},{"text":" material.specular = .init(texture: specularMap)"},{"text":"}"},{"text":" ```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC19availableAnimationsSayAA17AnimationResourceCGvp","interfaceLanguage":"swift"},"pathComponents":["Entity","availableAnimations"],"names":{"title":"availableAnimations","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"availableAnimations"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The list of animations associated with the entity."},{"text":""},{"text":"When you import an entity from a file, for example by using the"},{"text":"``Entity/load(named:in:)`` method, the entity might contain associated"},{"text":"animations. Any that RealityKit supports appear in the"},{"text":"``Entity/availableAnimations`` array."},{"text":""},{"text":"To play a particular animation resource from the list, call the"},{"text":"``Entity/playAnimation(_:transitionDuration:startsPaused:)`` method."},{"text":"Alternatively, to play all animations with a given name, call the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method instead."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"availableAnimations"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO9clearcoatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","clearcoat"],"names":{"title":"CustomMaterial.LightingModel.clearcoat","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity renders using physically based rendering techniques with"},{"text":"a clearcoat."},{"text":""},{"text":"A custom material using the"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` lighting model"},{"text":"uses physically based rendering, including a clearcoat if the"},{"text":"material’s surface shader calls `params.surface().set_clearcoat()`."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV9transformACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity's transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC9loadAsync5named2in9inputMode15loadingStrategy10shouldLoopAA11LoadRequestCyACGSS_So8NSBundleCSgAA0cE0C05InputK0OAC07LoadingM0OSbtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","loadAsync(named:in:inputMode:loadingStrategy:shouldLoop:)"],"names":{"title":"loadAsync(named:in:inputMode:loadingStrategy:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio file resource from a bundle file asynchronously."},{"text":""},{"text":"As an asynchronous function, control returns as the function runs"},{"text":"simultaneously."},{"text":""},{"text":"This function caches one file per unique file path. Subsequent calls to"},{"text":"this function for the same file path override the previous"},{"text":"``AudioFileResource`` configuration. For example, both audio file"},{"text":"resources loop in the following code."},{"text":""},{"text":"```swift"},{"text":"guard let path = Bundle.main.path(forResource: \"Music\", ofType:"},{"text":"\"m4a\") else { /* Handle the error. */ }"},{"text":"let url = URL(fileURLWithPath:path)"},{"text":"let audioFile1 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .nonSpatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: false)"},{"text":"let audioFile2 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .spatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: true)"},{"text":"```"},{"text":""},{"text":"To create looping and nonlooping versions of the same audio, create a"},{"text":"copy of the source audio file in the app bundle and pass a unique file"},{"text":"URL to each audio file resource."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The name of the audio file resource the function searches for in"},{"text":"the bundle."},{"text":""},{"text":"- bundle: The bundle the function searches. Set to `nil` to use the"},{"text":"app’s bundle."},{"text":""},{"text":" - inputMode: The input mode the audio file resource uses."},{"text":""},{"text":" - loadingStrategy: The loading strategy the audio file resource uses."},{"text":""},{"text":"- shouldLoop: A Boolean you set to `true` to instruct the playback"},{"text":"controller to loop the audio indefinitely."},{"text":""},{"text":"- Returns: A load request for an audio file resource that you can use to"},{"text":"initialize an ``AudioPlaybackController`` instance by calling an"},{"text":"entity’s ``Entity/prepareAudio(_:)`` method."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]},{"name":"inputMode","declarationFragments":[{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"loadingStrategy","declarationFragments":[{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"shouldLoop","declarationFragments":[{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp::SYNTHESIZED::s:17RealityFoundation9SpotLightC","interfaceLanguage":"swift"},"pathComponents":["SpotLight","shadow"],"names":{"title":"shadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shadow for the spotlight."},{"text":""},{"text":"Set this property to `nil` to remove shadows for the light. Set it to an"},{"text":"instance of ``SpotLightComponent/Shadow`` to create shadows."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14QueryPredicateV","interfaceLanguage":"swift"},"pathComponents":["QueryPredicate"],"names":{"title":"QueryPredicate","navigator":[{"kind":"identifier","spelling":"QueryPredicate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryPredicate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the criteria for an entity query."},{"text":""},{"text":"Query predicates specify the entities an ``EntityQuery`` returns from a"},{"text":"scene. Predicates describe entities based on which components they contain,"},{"text":"or on the entity’s relationship to other entities in the scene. For example,"},{"text":"you can build a predicate to retrieve the model entities from a scene."},{"text":""},{"text":"```swift"},{"text":"let modelPredicate = QueryPredicate.has(ModelComponent.self)"},{"text":"```"},{"text":""},{"text":"## Create Compound Predicates"},{"text":""},{"text":"You can combine predicates using Swift’s logical operators to create"},{"text":"compound predicates. ``QueryPredicate`` supports Swift’s logical `AND`"},{"text":"(`&&`), logical `OR` (`||`), and logical `NOT` (`!`) operators. The"},{"text":"following code shows how to build a compound predicate that returns all"},{"text":"entities that are either model entities or anchor entities."},{"text":""},{"text":"```swift"},{"text":"let orPredicate = QueryPredicate.has(ModelComponent.self) ||"},{"text":"QueryPredicate.has(AnchorComponent.self) ```"},{"text":""},{"text":"Use parentheses to control the order of operations when combining"},{"text":"predicates. For example, you can create a query that returns any entity that"},{"text":"has both a model component and a physics body component, or any entity that"},{"text":"has only an anchor component."},{"text":""},{"text":"```swift"},{"text":"let multiPredicate: QueryPredicate ="},{"text":".has(ModelComponent.self) && .has(PhysicsBodyComponent.self)"},{"text":" || .has(AnchorComponent.self)"},{"text":""},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryPredicate"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO3lityA2EmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","lit"],"names":{"title":"CustomMaterial.LightingModel.lit","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lit"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity renders using physically based rendering techniques"},{"text":"without a clearcoat."},{"text":""},{"text":"A custom material using the"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` lighting model uses"},{"text":"physically based rendering techniques, but doesn’t render a"},{"text":"clearcoat. If a ``CustomMaterial/LightingModel-swift.enum/lit``"},{"text":"material’s surface shader calls `params.surface().set_clearcoat()`"},{"text":"or `params.surface().set_clearcoat_roughness(),` ReallityKit ignores"},{"text":"it."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lit"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6acceptyycvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","accept"],"names":{"title":"accept","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accept"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The callback function that the current owner calls to grant"},{"text":"ownership to the requesting peer."},{"text":""},{"text":"If an entity’s"},{"text":"``SynchronizationComponent/ownershipTransferMode-swift.property``"},{"text":"property is set to"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``,"},{"text":"the entity automatically grants ownership to any other entity that"},{"text":"requests it."},{"text":""},{"text":"In case you configure an entity to have a transfer mode of"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual``,"},{"text":"then when you receive an ``SynchronizationEvents/OwnershipRequest``"},{"text":"event, you must call the"},{"text":"``SynchronizationEvents/OwnershipRequest/accept`` method to complete"},{"text":"the transfer of ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accept"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9skinWidthSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","skinWidth"],"names":{"title":"skinWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An added tolerance around the character capsule."},{"text":""},{"text":"A small skin, known as the *contact offset*, is maintained around the controller's volume to avoid"},{"text":"rounding and precision issues with collision detection. Specify this value relative to the entity's"},{"text":"coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity that was hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(normal:from:)"],"names":{"title":"convert(normal:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of a reference entity to"},{"text":"the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, specified"},{"text":"relative to specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV15jointTransformsACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity's joint transforms."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","removeChild(_:preservingWorldTransform:)"],"names":{"title":"removeChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the given child from the entity."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE12performQueryyAA0E6ResultVyAA6EntityCGAA0gE0VF","interfaceLanguage":"swift"},"pathComponents":["Scene","performQuery(_:)"],"names":{"title":"performQuery(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"performQuery"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns all entities of the scene which pass the `QueryPredicate` of the `query`."}]},"functionSignature":{"parameters":[{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"performQuery"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/max()`` to determine the maximum value in the stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/max()`` operator emits a value when the publisher finishes, that value is the maximum of the values received from upstream, which is `10`."},{"text":""},{"text":" let numbers = [0, 10, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .max()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","AmbientOcclusion","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s exposure to ambient light specified using a UV-mapped"},{"text":"image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:_:)"],"names":{"title":"zip(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:_:)`` to return a new publisher that combines the elements from three other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, the ``PassthroughSubject`` publishers, `numbersPub`,"},{"text":"`fractionsPub`, `lettersPub`, and `emojiPub` emit values. The ``Publisher/zip(_:_:_:_:)`` operator receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times and prints out the value in `fractionsPub`."},{"text":""},{"text":" let numbersPub = PassthroughSubject() // first publisher"},{"text":" let lettersPub = PassthroughSubject() // second"},{"text":" let emojiPub = PassthroughSubject() // third"},{"text":" let fractionsPub = PassthroughSubject()// fourth"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub) { anInt, aLetter, anEmoji, aFraction in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt)) \\(aFraction)\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: zip output: \"🥰🥰 BB\""},{"text":" // Prints:"},{"text":" //1 😀 A 0.1"},{"text":" //2 🥰🥰 BB 0.8"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from four upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC4load5named2inACSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","load(named:in:)"],"names":{"title":"load(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an environment resource. (Blocks until the resource is available.)"},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the environment resource (without any file extension)."},{"text":" - bundle: The bundle containing the resource. Specify nil to search the app’s main"},{"text":" bundle."},{"text":""},{"text":"- Returns: The loaded environment resource."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","removeFromParent(preservingWorldTransform:)"],"names":{"title":"removeFromParent(preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from its current parent or from the scene if it is a"},{"text":"root entity."},{"text":""},{"text":"This method behaves like the"},{"text":"``HasHierarchy/setParent(_:preservingWorldTransform:)`` method with a"},{"text":"value of `nil` for the `parent` parameter, except that method has no"},{"text":"effect on root entities. A root entity is one that is stored in a"},{"text":"scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of any modified parent"},{"text":"entities are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC","interfaceLanguage":"swift"},"pathComponents":["ShapeResource"],"names":{"title":"ShapeResource","navigator":[{"kind":"identifier","spelling":"ShapeResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShapeResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a shape."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShapeResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element equal to the argument."},{"text":""},{"text":"Use ``Publisher/contains(_:)`` to find the first element in an upstream that’s equal to the supplied argument. The contains publisher consumes all received elements until the upstream publisher produces a matching element. Upon finding the first match, it emits `true` and finishes normally. If the upstream finishes normally without producing a matching element, this publisher emits `false` and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/contains(_:)`` operator emits `true` the first time it receives the value `5` from the `numbers.publisher`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 5, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains(5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter output: An element to match against."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from the opacity property of an existing"},{"text":"physically based material."},{"text":""},{"text":"This initializer creates a new object by copying values from an"},{"text":"existing physically based material’s"},{"text":"``PhysicallyBasedMaterial/blending-swift.property`` property. All of"},{"text":"the copied values, including ``CustomMaterial/Opacity/scale``,"},{"text":"``CustomMaterial/Opacity/texture``, and"},{"text":"``CustomMaterial/opacityThreshold`` are available to the material’s"},{"text":"surface shader function, but RealityKit draws the entity fully"},{"text":"opaque unless the surface shader function calls"},{"text":"`params.surface().set_opacity()`."},{"text":""},{"text":"The following Metal code demonstrates how to emulate the blending"},{"text":"logic RealityKit uses to render entities with a"},{"text":"``PhysicallyBasedMaterial`` in your custom material’s surface shader"},{"text":"function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the opacity scale and threshold from the CustomMaterial."},{"text":" float opacityScale = params.material_constants().opacity_scale();"},{"text":" float opacityThreshold = params.material_constants().opacity_threshold();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Retrieve the opacity texture from the material."},{"text":" auto tex = params.textures();"},{"text":""},{"text":" // Sample the value from the opacity texture."},{"text":" half opacity = tex.opacity().sample(textureSampler, uv).r;"},{"text":""},{"text":" if (opacityThreshold > 0.0) {"},{"text":" // If the opacity threshold is greater than 0, use masking"},{"text":" // behavior and set the opacity to either 1.0 or 0.0 depending"},{"text":" // on the value of the opacity threshold."},{"text":" opacity = (opacity <= opacityThreshold) ? 0.0 : 1.0;"},{"text":" } else {"},{"text":" // If the opacity threshold is 0, mutiply the opacity by scale."},{"text":" opacity *= opacityScale;"},{"text":" }"},{"text":""},{"text":" // Use the calculated value to set the opacity for rendering."},{"text":" params.surface().set_opacity(opacity);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The opacity property from the ``PhysicallyBasedMaterial``’s"},{"text":"``PhysicallyBasedMaterial/blending-swift.property`` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO11autoReverseyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","autoReverse"],"names":{"title":"AnimationRepeatMode.autoReverse","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoReverse"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that reverses the animation after reaching the end or the"},{"text":"beginning."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoReverse"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyP","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy"],"names":{"title":"HasHierarchy","navigator":[{"kind":"identifier","spelling":"HasHierarchy"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasHierarchy"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides access to a parent entity and child entities."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a collection of methods for"},{"text":"managing the hierarchy."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasHierarchy"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO10cumulativeyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","cumulative"],"names":{"title":"AnimationRepeatMode.cumulative","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cumulative"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that repeats indefinitely and begins each repetition by setting"},{"text":"the animated property to the ending value of the previous repetition."},{"text":""},{"text":"A ``FromToByAnimation`` with a ``FromToByAnimation/fromValue-umpp`` of"},{"text":"`1.0` and an ``FromToByAnimation/toValue-4m4pm`` of `2.0` and"},{"text":"``FromToByAnimation/repeatMode`` set to this property repeats as, `1.0`,"},{"text":"`2.0`, 3`.0`, 4`.0`, `5.0`, and so on."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cumulative"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","ID"],"names":{"title":"MeshResource.Instance.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","TextureCoordinateTransform"],"names":{"title":"CustomMaterial.TextureCoordinateTransform","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object type that custom material use to hold UV texture coordinates."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd2FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd2Float"],"names":{"title":"MeshBuffers.ElementType.simd2Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd2Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd2Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:)"],"names":{"title":"merge(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from another publisher of the same type, delivering an interleaved sequence of elements."},{"text":""},{"text":"- Parameter other: Another publisher of this publisher’s type."},{"text":"- Returns: A publisher that emits an event when either upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6doubleyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","double"],"names":{"title":"MeshBuffers.ElementType.double","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"double"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"double"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryReduce(_:_:)"],"names":{"title":"tryReduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies an error-throwing closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/tryReduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on an error-throwing closure you provide."},{"text":"If the closure throws an error, the publisher fails and passes the error to its subscriber."},{"text":""},{"text":"In the example below, the publisher’s `0` element causes the `myDivide(_:_:)` function to throw an error and publish the result:"},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" var numbers: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" numbers.publisher"},{"text":" .tryReduce(numbers.first!, { accum, next in try myDivide(accum, next) })"},{"text":" .catch({ _ in Just(Double.nan) })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: An error-throwing closure that takes the previously-accumulated value and the next element from the upstream publisher to produce a new value."},{"text":""},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringP","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring"],"names":{"title":"HasAnchoring","navigator":[{"kind":"identifier","spelling":"HasAnchoring"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasAnchoring"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables anchoring of virtual content to a real-world"},{"text":"object in an AR scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasAnchoring"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","SurfaceShader"],"names":{"title":"CustomMaterial.SurfaceShader","navigator":[{"kind":"identifier","spelling":"SurfaceShader"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SurfaceShader"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The custom material’s surface shader function."},{"text":""},{"text":"Custom materials work together with a surface shader function to render"},{"text":"entities. The ``CustomMaterial`` properties related to rendering, such"},{"text":"as ``CustomMaterial/baseColor-swift.property`` and"},{"text":"``CustomMaterial/normal-swift.property``, are available in the surface"},{"text":"shader function, but RealityKit doesn’t use them directly."},{"text":""},{"text":"Instead, the material’s surface shader function allows you to calculate"},{"text":"or specify all the material parameters that RealityKit uses to render"},{"text":"your entity, such as ``CustomMaterial/baseColor-swift.property``,"},{"text":"``CustomMaterial/normal-swift.property``, and"},{"text":"``CustomMaterial/roughness-swift.property``. RealityKit’s fragment"},{"text":"shader calls your surface shader function once for each pixel it"},{"text":"renders."},{"text":""},{"text":"Here’s a simple example of a surface shader that sets the entity’s base"},{"text":"color:"},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":""},{"text":"// Specify the current default namespace as metal so that it's not //"},{"text":"necessary to prefix Metal Standard Library symbols. using namespace"},{"text":"metal;"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters params)"},{"text":"{"},{"text":" // Set the base color"},{"text":" params.surface().set_base_color(half3(1.0, 0.5, 0.5));"},{"text":"} ```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SurfaceShader"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic"],"names":{"title":"MeshBuffers.Semantic","navigator":[{"kind":"identifier","spelling":"Semantic"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode"],"names":{"title":"AnimationRepeatMode","navigator":[{"kind":"identifier","spelling":"AnimationRepeatMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationRepeatMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine whether an animation replays after completion."},{"text":""},{"text":"Adopters of ``AnimationDefinition``, such as ``SampledAnimation``, offer"},{"text":"repeat options of this type through the ``SampledAnimation/repeatMode``"},{"text":"property."},{"text":""},{"text":"To select a behavior, set the repeat mode as you configure your animation,"},{"text":"as in the following example:"},{"text":""},{"text":"```swift"},{"text":"let clip = FromToByAnimation()"},{"text":"clip.repeatMode = .repeat"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationRepeatMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5floatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","float"],"names":{"title":"MeshBuffers.ElementType.float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform"],"names":{"title":"MaterialParameterTypes.TextureCoordinateTransform","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines a transformation the framework applies to a"},{"text":"material’s UV-mapped textures."},{"text":""},{"text":"An entity’s UV texture coordinates define how RealityKit maps image"},{"text":"textures onto an entity. This object defines a transformation to texture"},{"text":"coordinates that changes the way this material maps textures onto an"},{"text":"entity. You might, for example, continuously rotate, translate, or scale"},{"text":"the texture coordinates and animate materials to create special effects,"},{"text":"such as fire or flowing liquids."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5index6beforeS2i_tF","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(before:)"],"names":{"title":"index(before:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position in the sequence of the joint that preceeds the"},{"text":"given position."},{"text":""},{"text":"For more on calculating indices, see"},{"text":"."}]},"functionSignature":{"parameters":[{"name":"before","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC20isEnabledInHierarchySbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isEnabledInHierarchy"],"names":{"title":"isEnabledInHierarchy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabledInHierarchy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity and all of its ancestors are"},{"text":"enabled."},{"text":""},{"text":"The value of this property is `true` if the entity and all of its"},{"text":"ancestors are enabled, regardless of anchor state."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabledInHierarchy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22CollisionCastQueryTypeO","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV5group4maskAcA0C5GroupV_AGtcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","init(group:mask:)"],"names":{"title":"init(group:mask:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision filter."},{"text":""},{"text":"Collision filters are created for the collision group specified in the"},{"text":"`group` parameter. The `mask` parameter defines which objects will"},{"text":"collide with the objects that use this filter. Because"},{"text":"``CollisionGroup`` conforms to"},{"text":", you can"},{"text":"specify any combination of collision groups in the `mask` parameter by"},{"text":"using the various"},{"text":" methods"},{"text":"like ``CollisionGroup/union(_:)``, ``CollisionGroup/subtracting(_:)``,"},{"text":"and ``CollisionGroup/intersection(_:)``. Entities from any group"},{"text":"contained in `mask` will collide with entities using this filter, while"},{"text":"those not contained by `mask` will not."},{"text":""},{"text":"To combine multiple groups into a filter, use the"},{"text":"``CollisionGroup/union(_:)`` method, like this:"},{"text":""},{"text":"```swift"},{"text":"let groupA = CollisionGroup(rawValue: 1 << 0)"},{"text":"let groupB = CollisionGroup(rawValue: 1 << 1)"},{"text":"let groupC = CollisionGroup(rawValue: 1 << 2)"},{"text":""},{"text":"// Create a filter that collides with A and C, but not B"},{"text":"let theFilter = CollisionFilter(group: groupA, mask: groupA.union(groupB))"},{"text":"```"},{"text":""},{"text":"A common use case is to want entities to collide with everything except"},{"text":"one group, or a few groups. In a game, for example, you might not want a"},{"text":"player’s pieces to collide with their own pieces, or you might not want"},{"text":"players on the same team to collide with each other. You can accomplish"},{"text":"that by starting with the ``CollisionGroup/all`` property, subtracting"},{"text":"the group or groups that you don’t want the entities using this filter"},{"text":"to collide with, like this:"},{"text":""},{"text":"```swift"},{"text":"// Create a filter that collides with everything except B"},{"text":"let notGroupB = CollisionGroup.all.subtracting(groupB)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - group: The collision group identifier."},{"text":""},{"text":"- mask: The collision mask defines what objects will collide with"},{"text":"objects using this filter."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO4noneyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","none"],"names":{"title":"AnimationRepeatMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines the animation doesn't repeat."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(direction:from:)"],"names":{"title":"convert(direction:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of a reference entity"},{"text":"to the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector specified relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV5modelSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of the model to instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV6entityyAESSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","entity(_:)"],"names":{"title":"entity(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a child entity's path."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the child entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd4FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd4Float"],"names":{"title":"MeshBuffers.ElementType.simd4Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd4Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd4Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection"],"names":{"title":"MeshInstanceCollection","navigator":[{"kind":"identifier","spelling":"MeshInstanceCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshInstanceCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh resource instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshInstanceCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO6repeatyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","repeat"],"names":{"title":"AnimationRepeatMode.repeat","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that restarts the animation after it completes."},{"text":""},{"text":"This mode restores the animated property to its initial value each time"},{"text":"it restarts. For example, a ``FromToByAnimation`` with"},{"text":"``FromToByAnimation/fromValue-umpp`` `=` `1.0`,"},{"text":"``FromToByAnimation/toValue-4m4pm`` `=` `2.0` and"},{"text":"``FromToByAnimation/repeatMode`` set to this property repeats as, `1.0`,"},{"text":"`2.0`, `1.0`, `2.0`, `1.0`, `2.0` and so on."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","FloatLiteralType"],"names":{"title":"CustomMaterial.Opacity.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd3FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd3Float"],"names":{"title":"MeshBuffers.ElementType.simd3Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd3Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd3Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8rawValueACs4Int8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a fill mode from its backing data type."},{"text":""},{"text":"Use this initializer to unarchive a fill mode from data:"},{"text":""},{"text":"```swift"},{"text":"let rawValue = unarchiveNextInt8(from: data) // Psuedo code."},{"text":"let fillMode = AnimationFillMode(rawValue: rawValue)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - rawValue: The backing data value for the fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withName7optionsAA11LoadRequestCyACG0B03URLV_SSSgAC13CreateOptionsVtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","loadAsync(contentsOf:withName:options:)"],"names":{"title":"loadAsync(contentsOf:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL asynchronously with options."},{"text":""},{"text":"RealityKit uses the resource name to distinguish resources locally, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A load operation that publishes the resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO9positionsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","ignoreOutput()"],"names":{"title":"ignoreOutput()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores all upstream elements, but passes along the upstream publisher's completion state (finished or failed)."},{"text":""},{"text":"Use the ``Publisher/ignoreOutput()`` operator to determine if a publisher is able to complete successfully or would fail."},{"text":""},{"text":"In the example below, the array publisher (`numbers`) delivers the first five of its elements successfully, as indicated by the ``Publisher/ignoreOutput()`` operator. The operator consumes, but doesn’t republish the elements downstream. However, the sixth element, `0`, causes the error throwing closure to catch a `NoZeroValuesAllowedError` that terminates the stream."},{"text":""},{"text":" struct NoZeroValuesAllowedError: Error {}"},{"text":" let numbers = [1, 2, 3, 4, 5, 0, 6, 7, 8, 9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter({ anInt in"},{"text":" guard anInt != 0 else { throw NoZeroValuesAllowedError() }"},{"text":" return anInt < 20"},{"text":" })"},{"text":" .ignoreOutput()"},{"text":" .sink(receiveCompletion: {print(\"completion: \\($0)\")},"},{"text":" receiveValue: {print(\"value \\($0)\")})"},{"text":""},{"text":" // Prints: \"completion: failure(NoZeroValuesAllowedError())\""},{"text":""},{"text":"The output type of this publisher is ."},{"text":""},{"text":"- Returns: A publisher that ignores all upstream elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryFirst(where:)"],"names":{"title":"tryFirst(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a throwing predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/tryFirst(where:)`` when you need to republish only the first element of a stream that satisfies an error-throwing closure you specify."},{"text":"The publisher ignores all elements after the first. If this publisher doesn’t receive any elements, it finishes without publishing. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a range publisher emits the first element in the range then finishes normally:"},{"text":""},{"text":" let numberRange: ClosedRange = (-1...50)"},{"text":" numberRange.publisher"},{"text":" .tryFirst {"},{"text":" guard $0 < 99 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 completion: finished\""},{"text":" // If instead the number range were ClosedRange = (100...200), the tryFirst operator would terminate publishing with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt32yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt32"],"names":{"title":"MeshBuffers.ElementType.uInt32","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt32"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt32"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV6normals5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The normal of the hit."},{"text":""},{"text":"The frame of reference for this point depends on the reference entity"},{"text":"used in the call to either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method"},{"text":"or the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method that generated the hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity for which ownership is changed."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from seven other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":" let pubH = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF, pubG, pubH)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1000)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1001)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 1000 2 50 100 -2 33 33 54 1001\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":" - h: An eighth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]},{"name":"h","declarationFragments":[{"kind":"identifier","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1},{"name":"H","index":6,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"},{"kind":"sameType","lhs":"G.Failure","rhs":"H.Failure"},{"kind":"sameType","lhs":"G.Output","rhs":"H.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV12anchorEntityyAC0hF0VSSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath","anchorEntity(_:)"],"names":{"title":"anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path for the scene's anchor entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt16yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt16"],"names":{"title":"MeshBuffers.ElementType.uInt16","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt16"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt16"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-16rcy`` to return a new publisher that combines the elements from three other publishers to publish a tuple to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, several ``PassthroughSubject`` instances emit values; ``Publisher/zip(_:_:_:)-16rcy`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":" let fractionsPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" fractionsPub: 0.1 zip output: (1, \"A\", \"😀\", 0.1)"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: (2, \"B\", \"🥰\", 0.8)"},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\", 0.1)"},{"text":" // (2, \"B\", \"🥰\", 0.8)"},{"text":""},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(position:from:)"],"names":{"title":"convert(position:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of a reference entity to the"},{"text":"local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","RawValue"],"names":{"title":"AnimationFillMode.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided ordering closure."},{"text":""},{"text":"Use ``Publisher/max(by:)`` to determine the maximum value of elements received from the upstream publisher based on an ordering closure you specify."},{"text":""},{"text":"In the example below, an array publishes enumeration elements representing playing card ranks. The ``Publisher/max(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the maximum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .jack]"},{"text":" cancellable = cards.publisher"},{"text":" .max {"},{"text":" return $0.rawValue > $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"queen\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6NormalVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Normal","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object containing surface details for an entity from a"},{"text":"custom material’s normal property."},{"text":""},{"text":"This initializer creates an object by copying the normal map from"},{"text":"the ``PhysicallyBasedMaterial/normal-swift.property`` property of a"},{"text":"``PhysicallyBasedMaterial``."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures"},{"text":"fine surface details for a model by using a texture instead of by"},{"text":"increasing the number of polygons in the model. It works by storing"},{"text":"_surface normals_, which are vectors perpendicular to the surface of"},{"text":"the model, from a much higher-resolution version of the same 3D"},{"text":"object. A normal map stores each vector in the image by storing the"},{"text":"vectors’ `X`, `Y`, and `Z` values as the `R`, `G`, and `B`"},{"text":"components of the corresponding pixel in the UV-mapped image."},{"text":""},{"text":"To render an entity using a normal map, set"},{"text":"``CustomMaterial/lightingModel-swift.property`` to"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_normal()`. The following Metal code"},{"text":"demonstrates how to sample and use a value from the normal map in"},{"text":"your surface shader function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the normal map texture based on the resulting UV coordinates."},{"text":" auto tex = params.textures();"},{"text":" float3 normal = (float3)tex.normal().sample(textureSampler, uv).rgb;"},{"text":""},{"text":" // Set the sampled value as this pixel's normal."},{"text":" params.surface().set_normal(normal);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The normal object from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5uInt8yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt8"],"names":{"title":"MeshBuffers.ElementType.uInt8","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt8"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt8"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"],"names":{"title":"handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Performs the specified closures when publisher events occur."},{"text":""},{"text":"Use ``Publisher/handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)`` when you want to examine elements as they progress through the stages of the publisher’s lifecycle."},{"text":""},{"text":"In the example below, a publisher of integers shows the effect of printing debugging information at each stage of the element-processing lifecycle:"},{"text":""},{"text":" let integers = (0...2)"},{"text":" cancellable = integers.publisher"},{"text":" .handleEvents(receiveSubscription: { subs in"},{"text":" print(\"Subscription: \\(subs.combineIdentifier)\")"},{"text":" }, receiveOutput: { anInt in"},{"text":" print(\"in output handler, received \\(anInt)\")"},{"text":" }, receiveCompletion: { _ in"},{"text":" print(\"in completion handler\")"},{"text":" }, receiveCancel: {"},{"text":" print(\"received cancel\")"},{"text":" }, receiveRequest: { (demand) in"},{"text":" print(\"received demand: \\(demand.description)\")"},{"text":" })"},{"text":" .sink { _ in return }"},{"text":""},{"text":" // Prints:"},{"text":" // received demand: unlimited"},{"text":" // Subscription: 0x7f81284734c0"},{"text":" // in output handler, received 0"},{"text":" // in output handler, received 1"},{"text":" // in output handler, received 2"},{"text":" // in completion handler"},{"text":""},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: An optional closure that executes when the publisher receives the subscription from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveOutput: An optional closure that executes when the publisher receives a value from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveCompletion: An optional closure that executes when the upstream publisher finishes normally or terminates with an error. This value defaults to `nil`."},{"text":" - receiveCancel: An optional closure that executes when the downstream receiver cancels publishing. This value defaults to `nil`."},{"text":" - receiveRequest: An optional closure that executes when the publisher receives a request for more elements. This value defaults to `nil`."},{"text":"- Returns: A publisher that performs the specified closures when publisher events occur."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCancel","declarationFragments":[{"kind":"identifier","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveRequest","declarationFragments":[{"kind":"identifier","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV5named2inAESS_So10MTLLibrary_ptcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","SurfaceShader","init(named:in:)"],"names":{"title":"init(named:in:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a surface shader object from a named function in a Metal"},{"text":"library."},{"text":""},{"text":"To create a surface shader for a custom material, create a Metal"},{"text":"file in your Xcode project. Prefix the function with the keyword"},{"text":"`[[visible]]`. The function must take a single parameter of type"},{"text":"`realitykit::surface_parameters`."},{"text":""},{"text":"Here’s what a minimal surface shader function looks like:"},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":""},{"text":"// Specify the current default namespace as metal so our code //"},{"text":"doesn't have to to prefix Metal Standard Library symbols. using"},{"text":"namespace metal;"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters"},{"text":"params) {"},{"text":" // Calculate parameters needed for rendering. } ```"},{"text":""},{"text":"To create a custom material using this shader, get a reference to"},{"text":"your app’s Metal library:"},{"text":""},{"text":"```swift"},{"text":"guard let device = MTLCreateSystemDefaultDevice() else {"},{"text":" fatalError(\"Error creating default metal device.\")"},{"text":"}"},{"text":"guard let library = maybeDevice.makeDefaultLibrary() else {"},{"text":" fatalError(\"Error creating default metal library\")"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Once you have a reference to your Metal library, use it to create"},{"text":"the surface shader reference:"},{"text":""},{"text":"```swift"},{"text":"let surfaceShader = CustomMaterial.SurfaceShader("},{"text":" named: \"mySurfaceShader\","},{"text":" in: library"},{"text":")"},{"text":"```"},{"text":""},{"text":"- Important: RealityKit loads surface shader functions by name, so"},{"text":"name your surface shader uniquely and to exactly match the `named`"},{"text":"parameter."},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the surface shader function."},{"text":""},{"text":" - library: The Metal library that contains the function."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC","interfaceLanguage":"swift"},"pathComponents":["AnimationResource"],"names":{"title":"AnimationResource","navigator":[{"kind":"identifier","spelling":"AnimationResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation for the properties of scenes or entities."},{"text":""},{"text":"You find animation resources in an entity’s ``Entity/availableAnimations`` array."},{"text":"Animation resources come bundled with an entity when you load the"},{"text":"entity from a file. They describe an animation that’s specific to the entity"},{"text":"to which they are attached."},{"text":""},{"text":"Use the entity’s ``Entity/playAnimation(_:transitionDuration:startsPaused:)``"},{"text":"method to play a particular item in its animation resource array, or the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method to play all"},{"text":"of the animations with a given name. From both methods, you receive an"},{"text":"``AnimationPlaybackController`` instance that lets you manage playback of"},{"text":"the resource."},{"text":""},{"text":"If you want to loop an animation, call the resource’s"},{"text":"``AnimationResource/repeat(count:)`` method to create a new resource that"},{"text":"plays a given number of times in a row, or call the"},{"text":"``AnimationResource/repeat(duration:)`` method to create a new resource that"},{"text":"loops for the given duration. The latter loops indefinitely if you omit the"},{"text":"duration parameter. You use the new animation resource that these methods"},{"text":"return just as you would any other."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC10isAnchoredSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isAnchored"],"names":{"title":"isAnchored","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity is anchored."},{"text":""},{"text":"The value of this property is `true` if the entity is anchored in a"},{"text":"scene. An entity that isn’t anchored becomes inactive"},{"text":"(``Entity/isActive`` returns `false`), meaning RealityKit doesn’t render"},{"text":"or simulate it."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","EmissiveColor"],"names":{"title":"CustomMaterial.EmissiveColor","navigator":[{"kind":"identifier","spelling":"EmissiveColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the color of the light an entity emits."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumNumberOfInputImagesSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Limits","maximumNumberOfInputImages"],"names":{"title":"maximumNumberOfInputImages","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumNumberOfInputImages"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the maximum number of input images or samples that the session can use for reconstruction."},{"text":"If more than this number are provided, any in excess of the limit will be ignored and an `.invalidSample` message"},{"text":"for the sample will be output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumNumberOfInputImages"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int32yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int32"],"names":{"title":"MeshBuffers.ElementType.int32","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int32"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int32"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO7normalsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal"],"names":{"title":"PhysicallyBasedMaterial.Normal","navigator":[{"kind":"identifier","spelling":"Normal"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that specifies an entity’s normal map."},{"text":""},{"text":"The `normal` property of a RealityKit entity holds an optional _normal"},{"text":"map_, which stores fine details about the entity’s surface, using a"},{"text":"texture rather than increasing the number of polygons in the model. If"},{"text":"you provide a normal map, RealityKit uses the vectors from that normal"},{"text":"map when rendering the entity, resulting in greater detail and more"},{"text":"accurate highlights, shadows, and reflections."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV10slopeLimitSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","slopeLimit"],"names":{"title":"slopeLimit","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The slope limit expressed as a limit angle in radians."},{"text":""},{"text":"This value represents the maximum slope that the character can move over. RealityKit applies this value"},{"text":"to characters that are walking on static objects, but not when walking on kinematic or dynamic objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV8distanceSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","distance"],"names":{"title":"distance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The distance from the ray origin to the hit, or the convex shape travel"},{"text":"distance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int16yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int16"],"names":{"title":"MeshBuffers.ElementType.int16","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int16"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int16"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV8newOwnerAA0C6PeerID_pSgvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged","newOwner"],"names":{"title":"newOwner","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"newOwner"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The new owner of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"newOwner"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV4selfACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath","self"],"names":{"title":"self","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the scene."},{"text":""},{"text":"This property represents a bind path within an ``AnimationView`` to"},{"text":"redirect the view's ``BlendTreeSourceNode/source`` animation to a"},{"text":"different scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anisotropy angle values specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while a predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/prefix(while:)`` to emit values while elements from the upstream publisher meet a condition you specify. The publisher finishes when the closure returns `false`."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(while:)`` operator emits values while the element it receives is less than five:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" numbers.publisher"},{"text":" .prefix { $0 < 5 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMin(by:)"],"names":{"title":"tryMin(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMin(by:)`` to determine the minimum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMin(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" numbers.publisher"},{"text":" .tryMin { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first < second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4int8yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int8"],"names":{"title":"MeshBuffers.ElementType.int8","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int8"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int8"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet"],"names":{"title":"Entity.ComponentSet","navigator":[{"kind":"identifier","spelling":"ComponentSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of stored components."},{"text":""},{"text":"The set represents all the components stored on an entity. It can hold"},{"text":"only one component of any given type."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isScaleAnimated"],"names":{"title":"isScaleAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes changes in"},{"text":"the entity’s size."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates scale"},{"text":"differences in the entity’s transform by interpolating to the target"},{"text":"scale across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","interfaceLanguage":"swift"},"pathComponents":["BodyTrackedEntity","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The relative joint transforms of the model entity."},{"text":""},{"text":"Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints."},{"text":""},{"text":"- Note: Active animations may override the joint transforms set using this property.."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setTransformMatrix(_:relativeTo:)"],"names":{"title":"setTransformMatrix(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the transform of the entity relative to the given reference entity"},{"text":"using a 4x4 matrix representation."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Setting a ``HasTransform/transform``"},{"text":"using a 4x4 matrix is therefore a lossy event that might result in"},{"text":"certain transformations, like shear, being dropped."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 transform matrix, given relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two bind targets are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The bind target on the left side of the operator."},{"text":""},{"text":" - rhs: The bind target on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the bind targets are equal. Otherwise,"},{"text":"returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV11cubicBezier13controlPoint10H6Point2ACs5SIMD2VySfG_AItFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","cubicBezier(controlPoint1:controlPoint2:)"],"names":{"title":"cubicBezier(controlPoint1:controlPoint2:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cubicBezier"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a timing function that accelerates and then decelerates towards"},{"text":"the target value with the cubic bezier shape specified by two control"},{"text":"points."},{"text":""},{"text":"- Parameters:"},{"text":" - controlPoint1: The first control point for the cubic bezier function."},{"text":""},{"text":"- controlPoint2: The second control point for the cubic bezier function."},{"text":""},{"text":"- Returns: The cubic bezier timing function."}]},"functionSignature":{"parameters":[{"name":"controlPoint1","declarationFragments":[{"kind":"identifier","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"controlPoint2","declarationFragments":[{"kind":"identifier","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cubicBezier"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8tangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","color"],"names":{"title":"color","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material's base color."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC9loadAsync10contentsOf8withName9inputMode15loadingStrategy10shouldLoopAA11LoadRequestCyACG0B03URLV_SSSgAA0cE0C05InputM0OAC07LoadingO0OSbtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","loadAsync(contentsOf:withName:inputMode:loadingStrategy:shouldLoop:)"],"names":{"title":"loadAsync(contentsOf:withName:inputMode:loadingStrategy:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio file resource from a URL asynchronously."},{"text":""},{"text":"As an asynchronous function, control returns as the function runs"},{"text":"simultaneously."},{"text":""},{"text":"This function caches one file per unique file path. Subsequent calls to"},{"text":"this function for the same file path override the previous"},{"text":"``AudioFileResource`` configuration. For example, both audio file"},{"text":"resources loop in the following code."},{"text":""},{"text":"```swift"},{"text":"guard let path = findTestDataFilePath(\"Music.m4a\") else { /*"},{"text":"Handle the error. */ } let url = URL(fileURLWithPath: path)"},{"text":"let audioFile1 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .nonSpatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: false)"},{"text":"let audioFile2 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .spatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: true)"},{"text":"```"},{"text":""},{"text":"To create looping and nonlooping versions of the same audio, create a"},{"text":"copy of the source audio file on disk and pass a unique file URL to each"},{"text":"audio file resource."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The URL from which to get the audio file resource."},{"text":""},{"text":" - resourceName: The name of the audio file."},{"text":""},{"text":" - inputMode: The input mode the audio file resource uses."},{"text":""},{"text":" - loadingStrategy: The loading strategy the audio file resource uses."},{"text":""},{"text":"- shouldLoop: A Boolean you set to `true` to instruct the playback"},{"text":"controller to loop the audio indefinitely."},{"text":""},{"text":"- Returns: A load request for an audio file resource that you can use to"},{"text":"initialize an ``AudioPlaybackController`` instance by calling an"},{"text":"entity’s ``Entity/prepareAudio(_:)`` method."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"inputMode","declarationFragments":[{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"loadingStrategy","declarationFragments":[{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"shouldLoop","declarationFragments":[{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","loadAsync(named:in:)"],"names":{"title":"loadAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously loads a environment resource. (Function returns immediately.)"},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the environment resource (without any file extension)."},{"text":" - bundle: The bundle containing the resource. Specify nil to search the app’s main"},{"text":" bundle."},{"text":""},{"text":"- Returns: A object representing the load operation."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of the clearcoat."},{"text":""},{"text":"Use the scale value either to hold a uniform clearcoat value that"},{"text":"applies to the entire entity, or use it as a multiplier to scale the"},{"text":"clearcoat intensity sampled from the"},{"text":"``CustomMaterial/Clearcoat-swift.struct/texture`` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC4nameSSSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the animation resource."},{"text":""},{"text":"You can get an ``AnimationPlaybackController`` instance ready to play a"},{"text":"particular resource that you reference by its name using the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/reduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on a closure you provide."},{"text":""},{"text":"In the following example, the ``Publisher/reduce(_:_:)`` operator collects all the integer values it receives from its upstream publisher:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .reduce(0, { accum, next in accum + next })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"55\""},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: A closure that produces a new value by taking the previously-accumulated value and the next element it receives from the upstream publisher."},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes. If ``Publisher/reduce(_:_:)`` receives an error from the upstream publisher, the operator delivers it to the downstream subscriber, the publisher terminates and publishes no value."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic"],"names":{"title":"CustomMaterial.Metallic","navigator":[{"kind":"identifier","spelling":"Metallic"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s reflectiveness."},{"text":""},{"text":"In physically based rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. Use this object to specify whether an"},{"text":"entity displays metallic qualities and reflects the surrounding"},{"text":"environment."},{"text":""},{"text":"For more information on using metallic values in a custom material, see"},{"text":"``CustomMaterial/metallic-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","resetPhysicsTransform(recursive:)"],"names":{"title":"resetPhysicsTransform(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position, orientation, and velocities of the simulated"},{"text":"physics body."},{"text":""},{"text":"Call this method only for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s transform property directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: Apply the reset to all descendant entities."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumInputImageDimensionSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Limits","maximumInputImageDimension"],"names":{"title":"maximumInputImageDimension","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumInputImageDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum allowed dimension (either height or width) of input images that can be ingested by the reconstruction"},{"text":"session. If images larger than this are provided, they will be ignored and an `.invalidSample` message will be"},{"text":"output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumInputImageDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the hit."},{"text":""},{"text":"The frame of reference for this point depends on the reference entity"},{"text":"used in the call to either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method"},{"text":"or the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method that generated the hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd"],"names":{"title":"ComponentEvents.DidAdd","navigator":[{"kind":"identifier","spelling":"DidAdd"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAdd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been added to an entity,"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAdd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","ArrayLiteralElement"],"names":{"title":"AnimationFillMode.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryPrefix(while:)"],"names":{"title":"tryPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while an error-throwing predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/tryPrefix(while:)`` to emit values from the upstream publisher that meet a condition you specify in an error-throwing closure."},{"text":"The publisher finishes when the closure returns `false`. If the closure throws an error, the publisher fails with that error."},{"text":""},{"text":" struct OutOfRangeError: Error {}"},{"text":""},{"text":" let numbers = (0...10).reversed()"},{"text":" cancellable = numbers.publisher"},{"text":" .tryPrefix {"},{"text":" guard $0 != 0 else {throw OutOfRangeError()}"},{"text":" return $0 <= numbers.max()!"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"10 9 8 7 6 5 4 3 2 1 completion: failure(OutOfRangeError()) \""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value indicating whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate throws or indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","synchronization"],"names":{"title":"synchronization","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s synchronization component."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","transformMatrix(relativeTo:)"],"names":{"title":"transformMatrix(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the 4 x 4 transform matrix of an entity relative to the given"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness"],"names":{"title":"CustomMaterial.Roughness","navigator":[{"kind":"identifier","spelling":"Roughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines how the surface of an entity scatters the light"},{"text":"it reflects."},{"text":""},{"text":"In physically based rendering, the `roughness` property represents how"},{"text":"much the surface of an entity scatters the light it reflects. A material"},{"text":"with a high roughness has a matte appearance, whereas one with a low"},{"text":"roughness has a shiny appearance."},{"text":""},{"text":"For more information on using roughness values in a custom material, see"},{"text":"``CustomMaterial/roughness-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6NormalV7textureAeC0cD7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Normal","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create an object from a specified texture."},{"text":""},{"text":"This initializer creates an object from a normal map texture."},{"text":"_Normal mapping_ is a real-time rendering technique that captures"},{"text":"fine surface details for a model using a texture instead of"},{"text":"increasing the number of polygons in the model. It works by storing"},{"text":"_surface normals_, which are vectors perpendicular to the surface of"},{"text":"the model, from a much higher-resolution version of the same 3D"},{"text":"object. A normal map stores each vector in the image by storing the"},{"text":"vectors’ `X`, `Y`, and `Z` values as the `R`, `G`, and `B`"},{"text":"components of the corresponding pixel in the UV-mapped image."},{"text":""},{"text":"To render an entity using a normal map,"},{"text":"``CustomMaterial/lightingModel-swift.property`` you must set"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_normal()`. The following Metal code"},{"text":"demonstrates how to sample and use a value from the normal map in"},{"text":"your surface shader function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the normal map texture based on the resulting UV coordinates."},{"text":" auto tex = params.textures();"},{"text":" float3 normal = (float3)tex.normal().sample(textureSampler, uv).rgb;"},{"text":""},{"text":" // Set the sampled value as this pixel's normal."},{"text":" params.surface().set_normal(normal);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The image’s texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity"],"names":{"title":"AnchorEntity","navigator":[{"kind":"identifier","spelling":"AnchorEntity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An anchor that tethers entities to a scene."},{"text":""},{"text":"Use anchor entities to control how RealityKit places virtual objects into"},{"text":"your scene. ``AnchorEntity`` conforms to the ``HasAnchoring`` protocol,"},{"text":"which gives it an ``AnchoringComponent`` instance."},{"text":""},{"text":"RealityKit places anchors based on the anchoring component’s"},{"text":"``AnchoringComponent/target-swift.property`` property. For example, you can"},{"text":"configure an anchor entity to rest on a detected horizontal surface in an AR"},{"text":"scene like a table or floor, and RealityKit automatically places that anchor"},{"text":"once it detects an appropriate horizontal plane in the real world."},{"text":""},{"text":"For information on the different types of anchors available when using"},{"text":"Reality Composer, see"},{"text":"."},{"text":""},{"text":"![Diagram showing the components present in the anchor entity. It contains"},{"text":"three boxes labeled Transform component, Synchronization component, and"},{"text":"Anchoring component.](AnchorEntity-1)"},{"text":""},{"text":"Add anchor entities directly to your scene’s ``Scene/anchors`` collection,"},{"text":"or anywhere else in the scene hierarchy by adding them to the"},{"text":"``Entity/children`` collection of another entity in your scene. Because"},{"text":"``AnchorEntity`` is a subclass of ``Entity``, you can make an anchor entity"},{"text":"a child of any other entity. RealityKit may move anchor entities as the"},{"text":"scene updates, so the location and rotation of the anchor entity may change"},{"text":"relative to its parent, even if your code never modifies its"},{"text":"``Entity/transform`` property."},{"text":""},{"text":"Some anchor entities may not show up in your scene at all if RealityKit"},{"text":"fails to detect an appropriate place for them. For example, an anchor entity"},{"text":"with an `image` target won’t show up in the scene until RealityKit detects"},{"text":"the specified image in the real world."},{"text":""},{"text":"![Block diagram showing how anchor entities attach to a scene, and how they"},{"text":"support entity hierarchies. The root box of the hierarchy diagram represents"},{"text":"the ARView. It has one child representing the ARView’s scene, and that scene"},{"text":"has two children, both of which are anchor entities. Each of the anchor"},{"text":"entities have a hierarchy of child entities beneath them, most of which are"},{"text":"labeled Entity, but one of the entities in the hierarchy is another anchor"},{"text":"entity.](AnchorEntity-2)"},{"text":""},{"text":"You can have multiple anchors in a RealityKit scene. For example, one anchor"},{"text":"could place a toy car on a horizontal surface, like a table, and another"},{"text":"could tie an informative text bubbles to an image in the same scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC9isEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isEnabled"],"names":{"title":"isEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that you set to enable or disable the entity and its"},{"text":"descendants."},{"text":""},{"text":"Set this value to `true` to enable the entity. Unless an ancestor is"},{"text":"disabled, the entity and all of its enabled descendants, up to the first"},{"text":"that’s disabled, report ``Entity/isEnabledInHierarchy`` of `true`. If an"},{"text":"ancestor is disabled, they all report `false`. The state of"},{"text":"``Entity/isActive`` for enabled entities is `true` if they are anchored,"},{"text":"or `false` otherwise."},{"text":""},{"text":"If you disable an entity, it and all of its descendants become both"},{"text":"disabled (``Entity/isEnabledInHierarchy`` returns `false`) and inactive"},{"text":"(``Entity/isActive`` returns `false`), regardless of any other state."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","debounce(for:scheduler:options:)"],"names":{"title":"debounce(for:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements only after a specified time interval elapses between events."},{"text":""},{"text":"Use the ``Publisher/debounce(for:scheduler:options:)`` operator to control the number of values and time between delivery of values from the upstream publisher. This operator is useful to process bursty or high-volume event streams where you need to reduce the number of values delivered to the downstream to a rate you specify."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes elements on a schedule defined by the `bounces` array. The array is composed of tuples representing a value sent by the ``PassthroughSubject``, and a ranging from one-quarter second up to 2 seconds that drives a delivery timer. As the queue builds, elements arriving faster than one-half second `debounceInterval` are discarded, while elements arriving at a rate slower than `debounceInterval` are passed through to the ``Publisher/sink(receiveValue:)`` operator."},{"text":""},{"text":" let bounces:[(Int,TimeInterval)] = ["},{"text":" (0, 0),"},{"text":" (1, 0.25), // 0.25s interval since last index"},{"text":" (2, 1), // 0.75s interval since last index"},{"text":" (3, 1.25), // 0.25s interval since last index"},{"text":" (4, 1.5), // 0.25s interval since last index"},{"text":" (5, 2) // 0.5s interval since last index"},{"text":" ]"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" cancellable = subject"},{"text":" .debounce(for: .seconds(0.5), scheduler: RunLoop.main)"},{"text":" .sink { index in"},{"text":" print (\"Received index \\(index)\")"},{"text":" }"},{"text":""},{"text":" for bounce in bounces {"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + bounce.1) {"},{"text":" subject.send(bounce.0)"},{"text":" }"},{"text":" }"},{"text":""},{"text":" // Prints:"},{"text":" // Received index 1"},{"text":" // Received index 4"},{"text":" // Received index 5"},{"text":""},{"text":" // Here is the event flow shown from the perspective of time, showing value delivery through the `debounce()` operator:"},{"text":""},{"text":" // Time 0: Send index 0."},{"text":" // Time 0.25: Send index 1. Index 0 was waiting and is discarded."},{"text":" // Time 0.75: Debounce period ends, publish index 1."},{"text":" // Time 1: Send index 2."},{"text":" // Time 1.25: Send index 3. Index 2 was waiting and is discarded."},{"text":" // Time 1.5: Send index 4. Index 3 was waiting and is discarded."},{"text":" // Time 2: Debounce period ends, publish index 4. Also, send index 5."},{"text":" // Time 2.5: Debounce period ends, publish index 5."},{"text":""},{"text":"- Parameters:"},{"text":" - dueTime: The time the publisher should wait before publishing an element."},{"text":" - scheduler: The scheduler on which this publisher delivers elements"},{"text":" - options: Scheduler options that customize this publisher’s delivery of elements."},{"text":"- Returns: A publisher that publishes events only after a specified time elapses."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"dueTime","declarationFragments":[{"kind":"identifier","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV17emissiveIntensitySfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","emissiveIntensity"],"names":{"title":"emissiveIntensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveIntensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of light emitted by the entity."},{"text":""},{"text":"To make a material _emissive_ and appear to emit light, set this"},{"text":"property to a value greater than zero and set"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` to a value"},{"text":"other than black. RealityKit multiplies"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` by this value,"},{"text":"so the higher the value, the more intense the entity’s emission of"},{"text":"light."},{"text":""},{"text":"You can set this property to values greater than `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveIntensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10bitangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMax(by:)"],"names":{"title":"tryMax(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMax(by:)`` to determine the maximum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMax(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMax { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first > second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: completion: failure(IllegalValueError())"},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":""},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6prefixyAA19AsyncPrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncPrefixSequence","preciseIdentifier":"s:12_Concurrency19AsyncPrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns an asynchronous sequence, up to the specified maximum length,"},{"text":"containing the initial elements of the base asynchronous sequence."},{"text":""},{"text":"Use `prefix(_:)` to reduce the number of elements produced by the"},{"text":"asynchronous sequence."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `prefix(_:)` method causes the modified"},{"text":"sequence to pass through the first six values, then end."},{"text":""},{"text":" for await number in Counter(howHigh: 10).prefix(6) {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"1 2 3 4 5 6 \""},{"text":""},{"text":"If the count passed to `prefix(_:)` exceeds the number of elements in the"},{"text":"base sequence, the result contains all of the elements in the sequence."},{"text":""},{"text":"- Parameter count: The maximum number of elements to return. The value of"},{"text":" `count` must be greater than or equal to zero."},{"text":"- Returns: An asynchronous sequence starting at the beginning of the"},{"text":" base sequence with at most `count` elements."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncPrefixSequence","preciseIdentifier":"s:12_Concurrency19AsyncPrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncPrefixSequence","preciseIdentifier":"s:12_Concurrency19AsyncPrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate"],"names":{"title":"ComponentEvents.DidActivate","navigator":[{"kind":"identifier","spelling":"DidActivate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been activated."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO7reducedyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","reduced"],"names":{"title":"PhotogrammetrySession.Request.Detail.reduced","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduced"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mobile-quality object with low resource requirements."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduced"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16SystemDependencyO","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["BoundingBox"],"names":{"title":"BoundingBox","navigator":[{"kind":"identifier","spelling":"BoundingBox"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BoundingBox"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An axis-aligned bounding box (AABB)."}]},"declarationFragments":[{"kind":"attribute","spelling":"@frozen"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BoundingBox"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5clockyXlvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","clock"],"names":{"title":"clock","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference clock to synchronize the animation with other events."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a mass properties instance with default settings."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations stop."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationGroup/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV4ModeO","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE15reverbSendLevelSdvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","reverbSendLevel"],"names":{"title":"reverbSendLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbSendLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbSendLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationView/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationView/trimStart`` and ``AnimationView/trimEnd`` are `nil`, the"},{"text":"animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationView/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``AnimationView/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV17makeAsyncIteratorAE0H0VyF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","makeAsyncIterator()"],"names":{"title":"makeAsyncIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeAsyncIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an asynchronous iterator for the collection."},{"text":""},{"text":"- Returns: An asynchronous iterator."},{"text":""},{"text":"This method creates an asynchronous iterator for the collection. Typically, you won’t"},{"text":"call this method. Instead, use a `try`-`await`-`in` loop inside of an `async` task,"},{"text":"which creates an iterator implicitly and waits for the session to publish new ``RealityKit/PhotogrammetrySession/Output``"},{"text":"objects, as the following example demonstrates."},{"text":""},{"text":"```swift"},{"text":"let waiter = Task {"},{"text":" do {"},{"text":" for try await output in session.outputs {"},{"text":" switch output {"},{"text":" case .processingComplete:"},{"text":" // RealityKit has processed all requests."},{"text":" case .requestError(let request, let error):"},{"text":" // Request encountered an error."},{"text":" case .requestComplete(let request, let result):"},{"text":" // RealityKit has finished processing a request."},{"text":" case .requestProgress(let request, let fractionComplete):"},{"text":" // Periodic progress update. Update UI here."},{"text":" case requestProgressInfo(let request, let progressInfo):"},{"text":" // Periodic progress info update."},{"text":" case .inputComplete:"},{"text":" // Ingestion of images is complete and processing begins."},{"text":" case .invalidSample(let id, let reason):"},{"text":" // RealityKit deemed a sample invalid and didn't use it."},{"text":" case .skippedSample(let id):"},{"text":" // RealityKit was unable to use a provided sample."},{"text":" case .automaticDownsampling:"},{"text":" // RealityKit downsampled the input images because of"},{"text":" // resource constraints."},{"text":" case .processingCancelled"},{"text":" // Processing was canceled."},{"text":" @unknown default:"},{"text":" // Unrecognized output."},{"text":" }"},{"text":" }"},{"text":" } catch {"},{"text":" print(\"Output: ERROR = \\(String(describing: error))\")"},{"text":" // Handle error."},{"text":" }"},{"text":"}"},{"text":""},{"text":"```"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeAsyncIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV9easeInOutACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeInOut"],"names":{"title":"easeInOut","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeInOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual starting and ending"},{"text":"transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeInOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15CollisionFilterV","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate"],"names":{"title":"MeshBuffers.Rate","navigator":[{"kind":"identifier","spelling":"Rate"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Rate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines how elements in the buffer map to features of the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Rate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","trimmingPrefix(_:)"],"names":{"title":"trimmingPrefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Returns a new collection of the same type by removing initial elements"},{"text":"that satisfy the given predicate from the start."},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":"as its argument and returns a Boolean value indicating whether the"},{"text":"element should be removed from the collection."},{"text":"- Returns: A collection containing the elements of the collection that are"},{"text":" not removed by `predicate`."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Prefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Prefix","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"Prefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5groupSayAA0C10Definition_pGvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","group"],"names":{"title":"group","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations to run."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC11isSupportedSbvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","isSupported"],"names":{"title":"isSupported","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSupported"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns `true` if the current hardware supports Object Capture."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSupported"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV4modeAA0cD4ModeOvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","mode"],"names":{"title":"mode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s mode, indicating how or if it moves."},{"text":""},{"text":"By default, this value is set to ``PhysicsBodyMode/dynamic``, meaning"},{"text":"the body responds to forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV08boundingE0AA0dE0Vvp","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","boundingBox"],"names":{"title":"boundingBox","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Axis aligned bounding box"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setOrientation(_:relativeTo:)"],"names":{"title":"setOrientation(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the orientation of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - orientation: A new orientation, relative to `referenceEntity`."},{"text":""},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"orientation","declarationFragments":[{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13lightingModelAC08LightingF0Ovp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","lightingModel"],"names":{"title":"lightingModel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The lighting model that the material uses."},{"text":""},{"text":"A custom material’s lighting model determines exactly how RealityKit"},{"text":"uses the values set in your surface shader’s to render the entity."},{"text":""},{"text":"Custom materials supports the following lighting models:"},{"text":""},{"text":"| Lighting Model | Description | Supported Shader Outputs | |"},{"text":"-------------- | ----------- | ------------------------ | | `.lit` |"},{"text":"Uses physically based rendering techniques, but excludes clearcoat. |"},{"text":"All except set_`clearcoat()` and `set_clearcoat_roughness()` | |"},{"text":"`.clearcoat` | Uses physically based rendering techniques, including"},{"text":"clearcoat. | All | | `.unlit` | Renders without any shading or lighting"},{"text":"calculations. The result is similar to using an ``UnlitMaterial``. |"},{"text":"Uses set_`emissive_color()` only |"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV13CustomContentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls a closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Combine’s ``Publisher/compactMap(_:)`` operator performs a function similar to that of in the Swift standard library: the ``Publisher/compactMap(_:)`` operator in Combine removes `nil` elements in a publisher’s stream and republishes non-`nil` elements to the downstream subscriber."},{"text":""},{"text":"The example below uses a range of numbers as the source for a collection based publisher. The ``Publisher/compactMap(_:)`` operator consumes each element from the `numbers` publisher attempting to access the dictionary using the element as the key. If the example’s dictionary returns a `nil`, due to a non-existent key, ``Publisher/compactMap(_:)`` filters out the `nil` (missing) elements."},{"text":""},{"text":" let numbers = (0...5)"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .compactMap { romanNumeralDict[$0] }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"I II III V\""},{"text":""},{"text":"- Parameter transform: A closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of the calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/first(where:)`` to republish only the first element of a stream that satisfies a closure you specify. The publisher ignores all elements after the first element that satisfies the closure and finishes normally."},{"text":"If this publisher doesn’t receive any elements, it finishes without publishing."},{"text":""},{"text":"In the example below, the provided closure causes the ``Publishers/FirstWhere`` publisher to republish the first received element that’s greater than `0`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first { $0 > 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"1\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","AmbientOcclusion","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a physically based material’s ambient"},{"text":"occlusion property."},{"text":""},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":"This initializer creates a new object by copying the values from an"},{"text":"existing ``PhysicallyBasedMaterial`` instance’s"},{"text":"``PhysicallyBasedMaterial/ambientOcclusion-swift.property``"},{"text":"property."},{"text":""},{"text":"Specify ambient occlusion by using a UV-mapped image called an"},{"text":"_ambient occlusion map_. A value of black (`0.0`) represents parts"},{"text":"of the model that receive less ambient light because of a crevice,"},{"text":"dent, recessed area, or another part of the same entity blocking"},{"text":"ambient light from reaching it. Ambient occlusion values of white"},{"text":"(`1.0`) represent flat portions of the model that receive full"},{"text":"ambient light. You generate ambient occlusion maps by using a 3D"},{"text":"software package."},{"text":""},{"text":"The ambient occlusion texture is available in the material’s surface"},{"text":"shader, but RealityKit doesn’t render ambient occlusion unless the"},{"text":"surface shader calls `params.surface().set_ambient_occlusion()`."},{"text":""},{"text":"The following Metal code shows how to use the ambient occlusion"},{"text":"texture in a surface shader function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the ambient occlusion texture and use it to set the"},{"text":" // ambient occlusion value to use during rendering."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.ambient_occlusion().sample(textureSampler, uv).r;"},{"text":" params.surface().set_ambient_occlusion(metallic);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The ambient occlusion property from a"},{"text":"``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Iterator"],"names":{"title":"MeshBuffer.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8BlendingO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Blending"],"names":{"title":"CustomMaterial.Blending","navigator":[{"kind":"identifier","spelling":"Blending"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that specifies the transparency of an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STs8IteratorSTQzRszrlE04makeA0xyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Iterator"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Iterator"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV7easeOutACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeOut"],"names":{"title":"easeOut","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual ending transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies a predicate closure, after upstream finishes."},{"text":""},{"text":"Use ``Publisher/last(where:)`` when you need to republish only the last element of a stream that satisfies a closure you specify."},{"text":""},{"text":"In the example below, a range publisher emits the last element that satisfies the closure’s criteria, then finishes normally:"},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last { $0 < 6 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"5\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightP","interfaceLanguage":"swift"},"pathComponents":["HasDirectionalLight"],"names":{"title":"HasDirectionalLight","navigator":[{"kind":"identifier","spelling":"HasDirectionalLight"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasDirectionalLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that defines a directional light source component."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasDirectionalLight"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceEmpty(with:)"],"names":{"title":"replaceEmpty(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces an empty stream with the provided element."},{"text":""},{"text":"Use ``Publisher/replaceEmpty(with:)`` to provide a replacement element if the upstream publisher finishes without producing any elements."},{"text":""},{"text":"In the example below, the empty `Double` array publisher doesn’t produce any elements, so ``Publisher/replaceEmpty(with:)`` publishes `Double.nan` and finishes normally."},{"text":""},{"text":" let numbers: [Double] = []"},{"text":" cancellable = numbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints \"(nan)\"."},{"text":""},{"text":"Conversely, providing a non-empty publisher publishes all elements and the publisher then terminates normally:"},{"text":""},{"text":" let otherNumbers: [Double] = [1.0, 2.0, 3.0]"},{"text":" cancellable2 = otherNumbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: 1.0 2.0 3.0"},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher finishes without emitting any elements."},{"text":"- Returns: A publisher that replaces an empty stream with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The length of time the animation spans, in seconds."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision"],"names":{"title":"CharacterControllerComponent.Collision","navigator":[{"kind":"identifier","spelling":"Collision"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Collision"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container that holds collision state for the character controller."},{"text":""},{"text":"All coordinates are in _physics space_, the coordinate system of the physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Collision"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV2idAC10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7samplerAE7SamplerVvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","sampler"],"names":{"title":"sampler","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryLast(where:)"],"names":{"title":"tryLast(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies an error-throwing predicate closure, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/tryLast(where:)`` when you need to republish the last element that satisfies an error-throwing closure you specify. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a publisher emits the last element that satisfies the error-throwing closure, then finishes normally:"},{"text":""},{"text":" struct RangeError: Error {}"},{"text":""},{"text":" let numbers = [-62, 1, 6, 10, 9, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast {"},{"text":" guard 0 != 0 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":" // Prints: \"5 completion: finished\""},{"text":" // If instead the numbers array had contained a `0`, the `tryLast` operator would terminate publishing with a RangeError.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13generateAsync4from8withName7optionsAA11LoadRequestCyACGSo10CGImageRefa_SSSgAC13CreateOptionsVtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","generateAsync(from:withName:options:)"],"names":{"title":"generateAsync(from:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously creates a texture resource from an in-memory Core"},{"text":"Graphics image."},{"text":""},{"text":"This method creates a texture resource from an existing"},{"text":" with"},{"text":"specific options. RealityKit uses the resource name to identify"},{"text":"resources, and to match texture resources between networked peers."},{"text":"Specify a unique name for each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":""},{"text":" - resourceName: A unique name for syncing the texture resource across the network."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A texture resource."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail"],"names":{"title":"PhotogrammetrySession.Request.Detail","navigator":[{"kind":"identifier","spelling":"Detail"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Detail"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Supported levels of detail for a request."},{"text":""},{"text":"On iOS, only one detail level -- `.reduced` -- is currently supported. This level is optimized"},{"text":"for generation and viewing entirely on mobile devices."},{"text":""},{"text":"On macOS, RealityKit object creation can generate models at different levels of detail. Higher"},{"text":"levels of detail may take longer to create, require more memory and processing power to generate,"},{"text":"and create objects with more complex geometry and texture requirements."},{"text":""},{"text":"### Set a Level of Complexity"},{"text":""},{"text":"Each detail level corresponds to an object of a specific size and complexity. Here’s"},{"text":"the expected final size of the generated object from each detail level."},{"text":""},{"text":"| Detail Level | Triangles | Estimated File Size |"},{"text":"| ------------ | --------- | ------------------- |"},{"text":"| `.preview` | <25k | ≈5MB |"},{"text":"| `.reduced` | <50k | ≈10MB |"},{"text":"| `.medium` | <100k | ≈30MB |"},{"text":"| `.full` | <250k | ≈100MB |"},{"text":"| `.raw` | <30M | Varies |"},{"text":"| `.custom` | Varies | Varies |"},{"text":""},{"text":"### Create Texture Maps"},{"text":""},{"text":"Each detail level produces a 3D object with texture maps. The higher the complexity"},{"text":"level, the larger the generated texture maps, and the more memory the system requires"},{"text":"to display those objects in an AR scene."},{"text":""},{"text":"RealityKit creates five texture maps at the `.full` detail level: a single diffuse"},{"text":"map, normal map, ambient occlusion map, roughness map, and displacement map. For"},{"text":"`.preview`, `.reduced`, and `.medium` detail levels, it produces just the single"},{"text":"diffuse, normal and ambient occlusion maps."},{"text":""},{"text":"When producing a model at the `.raw` detail level, only diffuse texture maps are"},{"text":"created, but RealityKit may create up to 16 diffuse maps, each covering different"},{"text":"parts of the model. Raw models are produced at the highest resolution possible from"},{"text":"the source images, so they don’t benefit from having the other types of texture maps,"},{"text":"which are used to supplement a low-resolution model with data from a higher-resolution"},{"text":"version of the same model."},{"text":""},{"text":"Raw models aren’t suitable for use in an AR scene and you should only use this setting"},{"text":"if you plan to export the model to a 3D software package."},{"text":""},{"text":"Custom detail level can be used to specify several parameters of the output mesh and textures"},{"text":"to provide more control over the produced assets than the preset levels."},{"text":""},{"text":"Here are the texture map sizes generated for each detail level and the amount of"},{"text":"texture memory the uncompressed textures use at runtime."},{"text":""},{"text":"| Detail Level | Texture Size | Texture Memory Required |"},{"text":"| ------------ | ------------ | ----------------------- |"},{"text":"| `.preview` | 1024 x 1024 | 10.666667 MB |"},{"text":"| `.reduced` | 2048 x 2048 | 42.666667 MB |"},{"text":"| `.medium` | 4096 x 4096 | 170.666667 MB |"},{"text":"| `.full` | 8192 x 8192 | 853.33333 MB |"},{"text":"| `.raw` | 8192 x 8192 (multiple) | Varies |"},{"text":"| `.custom` | Varies | Varies |"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Detail"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6prefix5whileAA24AsyncPrefixWhileSequenceVyxGSb7ElementQzYac_tKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AsyncPrefixWhileSequence","preciseIdentifier":"s:12_Concurrency24AsyncPrefixWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns an asynchronous sequence, containing the initial, consecutive"},{"text":"elements of the base sequence that satisfy the given predicate."},{"text":""},{"text":"Use `prefix(while:)` to produce values while elements from the base"},{"text":"sequence meet a condition you specify. The modified sequence ends when"},{"text":"the predicate closure returns `false`."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `prefix(while:)` method causes the modified"},{"text":"sequence to pass along values so long as they aren’t divisible by `2` and"},{"text":"`3`. Upon reaching `6`, the sequence ends:"},{"text":""},{"text":" let stream = Counter(howHigh: 10)"},{"text":" .prefix { $0 % 2 != 0 || $0 % 3 != 0 }"},{"text":" for try await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"1 2 3 4 5 \""},{"text":" "},{"text":"- Parameter predicate: A closure that takes an element as a parameter and"},{"text":" returns a Boolean value indicating whether the element should be"},{"text":" included in the modified sequence."},{"text":"- Returns: An asynchronous sequence of the initial, consecutive"},{"text":" elements that satisfy `predicate`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncPrefixWhileSequence","preciseIdentifier":"s:12_Concurrency24AsyncPrefixWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AsyncPrefixWhileSequence","preciseIdentifier":"s:12_Concurrency24AsyncPrefixWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15loadingStrategyAC07LoadingG0Ovp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","loadingStrategy"],"names":{"title":"loadingStrategy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The strategy a resource uses to access data."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp::SYNTHESIZED::s:17RealityFoundation16DirectionalLightC","interfaceLanguage":"swift"},"pathComponents":["DirectionalLight","shadow"],"names":{"title":"shadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shadow settings for a directional light."},{"text":""},{"text":"Set this value to `nil` to remove shadows."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation16DirectionalLightC","interfaceLanguage":"swift"},"pathComponents":["DirectionalLight"],"names":{"title":"DirectionalLight","navigator":[{"kind":"identifier","spelling":"DirectionalLight"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DirectionalLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity that casts a virtual light in a particular direction."},{"text":""},{"text":"During an AR session, RealityKit automatically lights your virtual objects"},{"text":"to match real-world lighting. You can also explicitly add virtual lights"},{"text":"that act upon your virtual content. This is typically most useful outside of"},{"text":"an AR session (with the view’s ``ARView/cameraMode-swift.property`` property"},{"text":"set to ``ARView/CameraMode-swift.enum/nonAR``)."},{"text":""},{"text":"A directional light uniformly casts light along its z-axis—specifically,"},{"text":"along `(0, 0, -1)`. Use the light’s `look(at:from:upVector:relativeTo:)`"},{"text":"method to aim the light in a particular direction."},{"text":""},{"text":"You can configure the light’s color and intensity. You can also control how"},{"text":"or if it casts a shadow."},{"text":""},{"text":"A RealityKit scene can contain up to eight dynamic lights, which are"},{"text":"``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit"},{"text":"doesn’t include light from image-based lighting."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DirectionalLight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV13AsyncIteratora","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","AsyncIterator"],"names":{"title":"PhotogrammetrySession.Outputs.AsyncIterator","navigator":[{"kind":"identifier","spelling":"AsyncIterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AsyncIterator"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"The type of asynchronous iterator that produces elements of this"},{"text":"asynchronous sequence."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AsyncIterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV14orientedBoundsAA19OrientedBoundingBoxVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","orientedBounds"],"names":{"title":"orientedBounds","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientedBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientedBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"],"names":{"title":"breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal when a provided closure needs to stop the process in the debugger."},{"text":""},{"text":"Use ``Publisher/breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)`` to examine one or more stages of the subscribe/publish/completion process and stop in the debugger, based on conditions you specify. When any of the provided closures returns `true`, this operator raises the `SIGTRAP` signal to stop the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes strings to a breakpoint republisher. When the breakpoint receives the string “`DEBUGGER`”, it returns `true`, which stops the app in the debugger."},{"text":""},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .breakpoint("},{"text":" receiveOutput: { value in return value == \"DEBUGGER\" }"},{"text":" )"},{"text":" .sink { print(\"\\(String(describing: $0))\" , terminator: \" \") }"},{"text":""},{"text":" publisher.send(\"DEBUGGER\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: A closure that executes when the publisher receives a subscription. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveOutput: A closure that executes when the publisher receives a value. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveCompletion: A closure that executes when the publisher receives a completion. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":"- Returns: A publisher that raises a debugger signal when one of the provided closures returns `true`."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion"],"names":{"title":"PhysicallyBasedMaterial.AmbientOcclusion","navigator":[{"kind":"identifier","spelling":"AmbientOcclusion"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the ambient occlusion of an entity’s surface."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16CollisionCastHitV","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13VideoMaterialV","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","Parameters"],"names":{"title":"VideoMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV6easeInACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeIn"],"names":{"title":"easeIn","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeIn"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual starting transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeIn"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType"],"names":{"title":"MeshBuffers.ElementType","navigator":[{"kind":"identifier","spelling":"ElementType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ElementType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The data type for each element of the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ElementType"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6radiusSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","radius"],"names":{"title":"radius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The capsule radius."},{"text":""},{"text":"Specify this value in the entity's coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest"],"names":{"title":"SynchronizationEvents.OwnershipRequest","navigator":[{"kind":"identifier","spelling":"OwnershipRequest"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipRequest"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when a network peer wants to gain ownership of an"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipRequest"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A9TransformVRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of transforms in which each element represents a discrete state"},{"text":"of the target entity at a given point in the animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of tranforms."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"Combine‘s `flatMap(maxPublishers:_:)` operator performs a similar function to the operator in the Swift standard library, but turns the elements from one kind of publisher into a new publisher that is sent to subscribers. Use `flatMap(maxPublishers:_:)` when you want to create a new series of events for downstream subscribers based on the received value. The closure creates the new ``Publisher`` based on the received value. The new ``Publisher`` can emit more than one event, and successful completion of the new ``Publisher`` does not complete the overall stream. Failure of the new ``Publisher`` causes the overall stream to fail."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes `WeatherStation` elements. The `flatMap(maxPublishers:_:)` receives each element, creates a from it, and produces a new , which will publish the data loaded from that ."},{"text":""},{"text":" public struct WeatherStation {"},{"text":" public let stationID: String"},{"text":" }"},{"text":""},{"text":" var weatherPublisher = PassthroughSubject()"},{"text":""},{"text":" cancellable = weatherPublisher.flatMap { station -> URLSession.DataTaskPublisher in"},{"text":" let url = URL(string:\"https://weatherapi.example.com/stations/\\(station.stationID)/observations/latest\")!"},{"text":" return URLSession.shared.dataTaskPublisher(for: url)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { completion in"},{"text":" // Handle publisher completion (normal or error)."},{"text":" },"},{"text":" receiveValue: {"},{"text":" // Process the received data."},{"text":" }"},{"text":" )"},{"text":""},{"text":" weatherPublisher.send(WeatherStation(stationID: \"KSFO\")) // San Francisco, CA"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"EGLC\")) // London, UK"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"ZBBB\")) // Beijing, CN"},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1},{"name":"P","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"T","rhs":"P.Output"},{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular"],"names":{"title":"CustomMaterial.Specular","navigator":[{"kind":"identifier","spelling":"Specular"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the specular highlights of an entity."},{"text":""},{"text":"In physically based rendering (PBR), specular highlights primarily come"},{"text":"from the object’s ``PhysicallyBasedMaterial/roughness-swift.property``"},{"text":"value. RealityKit renders materials that have a low roughness value with"},{"text":"specular highlights based on the environment, lighting, and shape of the"},{"text":"entity."},{"text":""},{"text":"For more information on using specular values in a custom material, see"},{"text":"``CustomMaterial/specular-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","Element"],"names":{"title":"PhotogrammetrySession.Outputs.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of element used for Photogrammetry Session updates."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9baseColorAC04BaseG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","baseColor"],"names":{"title":"baseColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of an entity unmodified by lighting."},{"text":""},{"text":"The base color of an entity is either a solid color or a UV-mapped image"},{"text":"texture. This property represents the color of the entity before"},{"text":"RealityKit applies any lighting or rendering calculations."},{"text":""},{"text":"To determine the appearance of the entity, RealityKit modifies the"},{"text":"entity’s base color using its material properties and the light sources"},{"text":"in the scene."},{"text":""},{"text":"You can define an entity’s base color using a `CGColor`, a UV-mapped"},{"text":"image texture, or both. If you only provide a color, RealityKit uses"},{"text":"that as the base color for the entire entity. If you specify only an"},{"text":"image texture, it applies that texture as the base color of the entity."},{"text":"If you provide both a color and a texture, RealityKit tints the image"},{"text":"texture using the color."},{"text":""},{"text":"Here’s an example of using a single color to specify base color:"},{"text":""},{"text":"```swift"},{"text":"var material = PhysicallyBasedMaterial()"},{"text":"material.baseColor = PhysicallyBasedMaterial.BaseColor(tint:.red)"},{"text":"```"},{"text":""},{"text":"The following example demonstrates how to use an image to specify base"},{"text":"color:"},{"text":""},{"text":"```swift"},{"text":"var material = PhysicallyBasedMaterial()"},{"text":""},{"text":" // Load entity_basecolor.png from the app's bundle."},{"text":" if let baseResource = try? TextureResource.load(named: \"entity_basecolor\") {"},{"text":" // Create a material parameter and assign it."},{"text":" let baseColor = MaterialParameters.Texture(baseResource)"},{"text":" material.baseColor = PhysicallyBasedMaterial.BaseColor(texture:baseColor)"},{"text":" }"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent"],"names":{"title":"PhysicsMotionComponent","navigator":[{"kind":"identifier","spelling":"PhysicsMotionComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMotionComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that controls the motion of the body in physics simulations."},{"text":""},{"text":"You specify velocities in the coordinate space of the physics simulation"},{"text":"defined by ``ARView/physicsOrigin``."},{"text":""},{"text":"The behavior of an entity with a physics motion component depends on the"},{"text":"entity’s ``PhysicsBodyComponent/mode`` setting:"},{"text":""},{"text":"- term ``PhysicsBodyMode/static``: The physics simulation ignores the"},{"text":"velocities. The entity doesn’t move. - term ``PhysicsBodyMode/kinematic``:"},{"text":"The physics simulation moves the body according to the values you set for"},{"text":"``PhysicsMotionComponent/angularVelocity`` and"},{"text":"``PhysicsMotionComponent/linearVelocity``. - term"},{"text":"``PhysicsBodyMode/dynamic``: The physics simulation overwrites the velocity"},{"text":"values based on simulation, and ignores any values that you write."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMotionComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic","ID"],"names":{"title":"MeshBuffers.Semantic.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","orientation(relativeTo:)"],"names":{"title":"orientation(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the orientation of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The orientation of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV5groupAA0C5GroupVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","group"],"names":{"title":"group","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group or groups, stored as a bit mask, to which the entity"},{"text":"belongs."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9baseColorAC04BaseF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","baseColor"],"names":{"title":"baseColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9BaseColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of an entity unmodified by lighting."},{"text":""},{"text":"In physically based rendering, the base color of an entity is its color"},{"text":"before RealityKit applies any lighting calculations or other rendering"},{"text":"calculations to it. With custom materials, the base color `texture` and"},{"text":"`tint` are available as inputs in your surface shader. With custom"},{"text":"materials, RealityKit doesn’t automatically use the values set on the"},{"text":"``CustomMaterial/baseColor-swift.property`` property. The material’s"},{"text":"surface shader is responsible for calculating or setting the actual base"},{"text":"color value for rendering by calling"},{"text":"`params.surface().set_base_color()`."},{"text":""},{"text":"The following code shows how to create a base color from a tint color"},{"text":"and a texture, and then assign it to a custom material:"},{"text":""},{"text":"```swift"},{"text":"// Load entity_basecolor.jpg from the app's bundle."},{"text":"if let baseResource = try? TextureResource.load(named: \"entity_basecolor\") {"},{"text":" let baseColor = CustomMaterial.Texture(baseResource)"},{"text":" customMaterial.baseColor = CustomMaterial.BaseColor(tint: .blue,"},{"text":" texture:baseColor)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"In your surface shader, you can access the `tint` of the material’s base"},{"text":"color property by calling"},{"text":"`params.material_constants().base_color_tint()`. You can access the"},{"text":"texture by calling `params.textures().base_color()`."},{"text":""},{"text":"The following surface shader function takes the tint and texture values"},{"text":"from the ``CustomMaterial/baseColor-swift.property`` property,"},{"text":"multiplies them together, and sets the resulting value as the base color"},{"text":"for rendering, which emulates the behavior of"},{"text":"``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```other"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"// Use samplers to retrieve a color value from a texture based on // UV"},{"text":"coordinates. Samplers can be reused with different textures. //"},{"text":"RealityKit reserves eight samplers for itself, so surface shaders should"},{"text":"// never define more than eight samplers. constexpr sampler"},{"text":"textureSampler(address::clamp_to_edge, filter::bicubic);"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters params)"},{"text":"{"},{"text":" // Retrieve the base color tint from the CustomMaterial."},{"text":" half3 baseColorTint = (half3)params.material_constants().base_color_tint();"},{"text":""},{"text":" // Sample a value from the CustomMaterial's base color texture"},{"text":" // using the entity's UV coordinates."},{"text":" auto uv = params.geometry().uv0();"},{"text":" auto tex = params.textures();"},{"text":" half3 color = (half3)tex.base_color().sample(textureSampler, uv).rgb;"},{"text":""},{"text":" // Multiply the tint and color sampled from the base color texture and"},{"text":" // assign the result to the shader's base color property."},{"text":" color *= baseColorTint;"},{"text":" params.surface().set_base_color(color);"},{"text":"} ```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyAngle.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV4nameACSS_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","init(name:)"],"names":{"title":"init(name:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create an empty mesh descriptor."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged"],"names":{"title":"SynchronizationEvents.OwnershipChanged","navigator":[{"kind":"identifier","spelling":"OwnershipChanged"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipChanged"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when ownership of an entity changes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipChanged"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceError(with:)"],"names":{"title":"replaceError(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces any errors in the stream with the provided element."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher emits the provided element, then finishes normally."},{"text":""},{"text":"In the example below, a publisher of strings fails with a `MyError` instance, which sends a failure completion downstream. The ``Publisher/replaceError(with:)`` operator handles the failure by publishing the string `(replacement element)` and completing normally."},{"text":""},{"text":" struct MyError: Error {}"},{"text":" let fail = Fail(error: MyError())"},{"text":" cancellable = fail"},{"text":" .replaceError(with: \"(replacement element)\")"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(replacement element) finished\"."},{"text":""},{"text":"This ``Publisher/replaceError(with:)`` functionality is useful when you want to handle an error by sending a single replacement element and end the stream. Use ``Publisher/catch(_:)`` to recover from an error and provide a replacement publisher to continue providing elements to the downstream subscriber."},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher fails."},{"text":"- Returns: A publisher that replaces an error from the upstream publisher with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV4nextAC6OutputOSgyYaKF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Asynchronously advances to the next element and returns it, or ends the"},{"text":"sequence if there is no next element."},{"text":""},{"text":"- Returns: The next element, if it exists, or `nil` to signal the end of"},{"text":" the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV08centerOfD0s5SIMD3VySfG8position_So10simd_quatfa11orientationtvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","centerOfMass"],"names":{"title":"centerOfMass","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the center of mass and the orientation of the principal"},{"text":"axes."},{"text":""},{"text":"The `position` defines the center of mass with a default value of `(0,"},{"text":"0, 0)`, which means that the local origin of the model is the center of"},{"text":"mass."},{"text":""},{"text":"The `orientation` defines the principal axes, such the inertia matrix is"},{"text":"a diagonal."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV6linearACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","linear"],"names":{"title":"linear","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a linear transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","setFailureType(to:)"],"names":{"title":"setFailureType(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setFailureType"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Changes the failure type declared by the upstream publisher."},{"text":""},{"text":"Use ``Publisher/setFailureType(to:)`` when you need set the error type of a publisher that cannot fail."},{"text":""},{"text":"Conversely, if the upstream can fail, you would use ``Publisher/mapError(_:)`` to provide instructions on converting the error types to needed by the downstream publisher’s inputs."},{"text":""},{"text":"The following example has two publishers with mismatched error types: `pub1`’s error type is , and `pub2`’s error type is . Because of the mismatch, the ``Publisher/combineLatest(_:)`` operator requires that `pub1` use ``Publisher/setFailureType(to:)`` to make it appear that `pub1` can produce the type, like `pub2` can."},{"text":""},{"text":" let pub1 = [0, 1, 2, 3, 4, 5].publisher"},{"text":" let pub2 = CurrentValueSubject(0)"},{"text":" let cancellable = pub1"},{"text":" .setFailureType(to: Error.self)"},{"text":" .combineLatest(pub2)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completed: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\")}"},{"text":" )"},{"text":""},{"text":" // Prints: \"value: (5, 0)\"."},{"text":""},{"text":"- Parameter failureType: The `Failure` type presented by this publisher."},{"text":"- Returns: A publisher that appears to send the specified failure type."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"failureType","declarationFragments":[{"kind":"identifier","spelling":"failureType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setFailureType"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"failureType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request"],"names":{"title":"PhotogrammetrySession.Request","navigator":[{"kind":"identifier","spelling":"Request"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Request"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that configures a photogrammetry session reconstruction request."},{"text":""},{"text":"Create a ``PhotogrammetrySession/Request`` for each 3D object you want"},{"text":"to construct from the same set of photographs. You might, for example,"},{"text":"create a session with two requests, one to generate a low-resolution"},{"text":"preview object in memory, and a second to generate a high-resolution"},{"text":"final object saved to the file system."},{"text":""},{"text":"Before creating an instance of this class, check ``PhotogrammetrySession/isSupported``"},{"text":"to ensure object capture is available on the current device."},{"text":""},{"text":"For more information on using ``PhotogrammetrySession``, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Request"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC22synchronizationServiceAA015SynchronizationE0_pSgvp","interfaceLanguage":"swift"},"pathComponents":["Scene","synchronizationService"],"names":{"title":"synchronizationService","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronizationService"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationService","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The service to use for network synchronization."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronizationService"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationService","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13configurationAC13ConfigurationVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","configuration"],"names":{"title":"configuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Readonly property containing the session configuration set in the construction."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV7textureAeC0cD7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","AmbientOcclusion","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from an image texture."},{"text":""},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":"This function creates a new ambient occlusion object from a"},{"text":"UV-mapped image texture."},{"text":""},{"text":"Specify ambient occlusion by using a UV-mapped image called an"},{"text":"_ambient occlusion map_. A value of black (`0.0`) represents parts"},{"text":"of the model that receive less ambient light because that part of"},{"text":"the model is a crevice, dent, or recessed area, or because another"},{"text":"part of the same entity is preventing ambient light from reaching"},{"text":"it. Ambient occlusion values of white (`1.0`) represent flat"},{"text":"portions of the model that receive full ambient light. You generate"},{"text":"ambient occlusion maps by using a 3D software package."},{"text":""},{"text":"The ambient occlusion texture is available in the material’s surface"},{"text":"shader, but RealityKit doesn’t render ambient occlusion unless the"},{"text":"surface shader calls `params.surface().set_ambient_occlusion()`."},{"text":""},{"text":"The following Metal code shows how to use the ambient occlusion"},{"text":"texture in a surface shader function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped Y axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the ambient occlusion texture and use it to set the"},{"text":" // ambient occlusion value to use during rendering."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.ambient_occlusion().sample(textureSampler, uv).r;"},{"text":" params.surface().set_ambient_occlusion(metallic);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- texture: A UV-mapped image texture that defines the entity’s"},{"text":"exposure to ambient light."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","orientation"],"names":{"title":"orientation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s rotation relative to its parent. To get the"},{"text":"world-space orientation of the entity, use"},{"text":"``HasTransform/orientation(relativeTo:)``, passing `nil` as the"},{"text":"reference entity."},{"text":""},{"text":"This is the same as the ``Transform/rotation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV14massPropertiesAA0c4MassG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","massProperties"],"names":{"title":"massProperties","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s mass properties, like inertia and center of mass."},{"text":""},{"text":"By default, the mass properties value is"},{"text":"``PhysicsMassProperties/default``, which matches the properties of a"},{"text":"unit sphere with mass of 1 kilogram."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","Iterator","Element"],"names":{"title":"PhotogrammetrySession.Outputs.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6reduce4into_qd__qd__n_yqd__z_7ElementQztYaKXEtYaKlF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the result of combining the elements of the asynchronous sequence"},{"text":"using the given closure, given a mutable initial value."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on a"},{"text":"sequence of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure executes sequentially with an accumulating"},{"text":"value initialized to `initialResult` and each element of the sequence."},{"text":""},{"text":"Prefer this method over `reduce(_:_:)` for efficiency when the result is"},{"text":"a copy-on-write type, for example an `Array` or `Dictionary`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" The `nextPartialResult` closure receives `initialResult` the first"},{"text":" time the closure executes."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the asynchronous sequence into a new accumulating value,"},{"text":" for use in the next call of the `nextPartialResult` closure or"},{"text":" returned to the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","count()"],"names":{"title":"count()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the number of elements received from the upstream publisher."},{"text":""},{"text":"Use ``Publisher/count()`` to determine the number of elements received from the upstream publisher before it completes:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .count()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"11\""},{"text":""},{"text":"- Returns: A publisher that consumes all elements until the upstream publisher finishes, then emits a single value with the total number of elements received."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat"],"names":{"title":"CustomMaterial.Clearcoat","navigator":[{"kind":"identifier","spelling":"Clearcoat"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the intensity of an entity’s clear, shiny"},{"text":"coating."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7outputsAC7OutputsVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","outputs"],"names":{"title":"outputs","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outputs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the outputs message stream which can be asynchronously iterated on."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outputs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV11orientationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","orientation"],"names":{"title":"orientation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Orientation (rotation) of the bounding box"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BlendWeightO","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy angle object from a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The anisotropy angle."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prepend(_:)"],"names":{"title":"prepend(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prefixes a publisher’s output with the specified values."},{"text":""},{"text":"Use ``Publisher/prepend(_:)-7wk5l`` when you need to prepend specific elements before the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/prepend(_:)-7wk5l`` operator publishes the provided elements before republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .prepend(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 255 0 1 2 3 4 5 6 7 8 9 10\""},{"text":""},{"text":"- Parameter elements: The elements to publish before this publisher’s elements."},{"text":"- Returns: A publisher that prefixes the specified elements prior to this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation23PhysicallyBasedMaterialV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Parameters"],"names":{"title":"PhysicallyBasedMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-8d7k7`` to return a new publisher that combines the elements from two additional publishers to publish a tuple to the downstream. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject``;"},{"text":"``Publisher/zip(_:_:)-8d7k7`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" zip output: (1, \"A\", \"😀\")"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub: zip output: (2, \"B\", \"🥰\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\")"},{"text":" // (2, \"B\", \"🥰\")"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces the default curve for the transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerC14audioInputModeAA13AudioResourceC0gH0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","audioInputMode"],"names":{"title":"audioInputMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"audioInputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"audioInputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physically based material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationP","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization"],"names":{"title":"HasSynchronization","navigator":[{"kind":"identifier","spelling":"HasSynchronization"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSynchronization"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables an entity to be synchronized between processes and"},{"text":"networked applications."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a ``SynchronizationComponent``"},{"text":"instance, and a collection of methods for manipulating the component, that"},{"text":"you use to manage ownership of the entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSynchronization"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightP","interfaceLanguage":"swift"},"pathComponents":["HasSpotLight"],"names":{"title":"HasSpotLight","navigator":[{"kind":"identifier","spelling":"HasSpotLight"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSpotLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that defines a spot light source component."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSpotLight"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy angle object using a single value or a"},{"text":"texture."},{"text":""},{"text":"This initializer allows you to create an instance using either a"},{"text":"single value for the entire material, or a UV-mapped image."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the anisotropy angle"},{"text":"for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s anisotropy angle. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The anisotropy angle value for the entire material."},{"text":""},{"text":" - texture: The anisotropy angle values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC10findEntity5namedAA0E0CSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","findEntity(named:)"],"names":{"title":"findEntity(named:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Searches the scene’s anchor entity hierarchies for an entity with the"},{"text":"given name."},{"text":""},{"text":"The ``Scene/findEntity(named:)`` method conducts a depth-first,"},{"text":"recursive search over all of the scene’s entities for one whose"},{"text":"``Entity/name`` property matches the given name. The method returns the"},{"text":"first match. Entity names need not be unique."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the entity for which to search."},{"text":""},{"text":"- Returns: The first entity found with the given name, or `nil` if none"},{"text":"is found."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity over which the network peer would like to gain ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","position(relativeTo:)"],"names":{"title":"position(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the position of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV8resourceAA0E8ResourceCvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC10shouldLoopSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","shouldLoop"],"names":{"title":"shouldLoop","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean you set to indicate whether the resource loops during"},{"text":"playback."},{"text":""},{"text":"Set this value to true to tell the associated"},{"text":"``AudioPlaybackController`` instance to loop playback indefinitely. You"},{"text":"typically do this with resources prepared specifically to loop from the"},{"text":"end back to the beginning without audible interruptions (seamless"},{"text":"loops). This lets you create ambient sound that never ends, for example."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13UnlitMaterialV","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Parameters"],"names":{"title":"UnlitMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV9parameteryACSSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","parameter(_:)"],"names":{"title":"parameter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a bind target for a particular animated property."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The animated property's name."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNames6frames4name9tweenMode13frameInterval10isAdditive0O13ScaleAnimated0o8RotationR00o11TranslationR010bindTarget10blendLayer06repeatL004fillL09trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SayAEGSSAA05TweenL0OSfS4bAA04BindV0OSgs5Int32VAA0d6RepeatL0OAA0d4FillL0VSdSgA11_A11_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","init(jointNames:frames:name:tweenMode:frameInterval:isAdditive:isScaleAnimated:isRotationAnimated:isTranslationAnimated:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(jointNames:frames:name:tweenMode:frameInterval:isAdditive:isScaleAnimated:isRotationAnimated:isTranslationAnimated:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two configurations of the"},{"text":"given joints."},{"text":""},{"text":"- Parameters:"},{"text":" - jointNames: The names of the joints to animate."},{"text":""},{"text":" - frames: The value of the joints to animate."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - tweenMode: An option that determines how animation frames transition."},{"text":""},{"text":" - frameInterval: The duration within the animation timeline for each"},{"text":"frame in the frames array."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - isScaleAnimated: A Boolean value that indicates whether the animation"},{"text":"observes changes in the entity’s size."},{"text":""},{"text":" - isRotationAnimated: A Boolean value that indicates whether the"},{"text":"animation observes rotational changes in the entity’s transform."},{"text":""},{"text":" - isTranslationAnimated: A Boolean value that indicates whether the"},{"text":"animation observes translational changes in the entity’s transform."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0 / 30.0, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13customContentSayAC06CustomF0VGvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","customContent"],"names":{"title":"customContent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customContent"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The Custom Content API is useful for delivering accessibility information from complex data sets to your users in measured portions."},{"text":"Using this API allows you to leverage assistive technologies to present only the accessible content your app’s users need, when they need it."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customContent"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP2idAA0C7BuffersO10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6boundsAA11BoundingBoxVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","bounds"],"names":{"title":"bounds","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bounding box for the created entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV9intensitySfvp","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","intensity"],"names":{"title":"intensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of the point light, measured in lumen."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8generate4from8withName7optionsACSo10CGImageRefa_SSSgAC13CreateOptionsVtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","generate(from:withName:options:)"],"names":{"title":"generate(from:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a texture resource from an in-memory Core Graphics image."},{"text":""},{"text":"This method creates a texture resource from an existing"},{"text":" with"},{"text":"specific options. RealityKit uses the resource name to identify"},{"text":"resources, and to match texture resources between networked peers."},{"text":"Specify a unique name for each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A texture resource."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV9requesterAA0C6PeerID_pvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","requester"],"names":{"title":"requester","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requester"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The network peer requesting ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requester"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-9yqi1`` to return a new publisher that combines the elements from two other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject`` that emit values; ``Publisher/zip(_:_:_:)-9yqi1`` receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(letters, emoji) { anInt, aLetter, anEmoji in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt))\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub:\"😀\", \"🥰\" zip output: \"🥰🥰 BB\""},{"text":""},{"text":" // Prints:"},{"text":" // 😀 A"},{"text":" // 🥰🥰 BB"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from three upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV4selfACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","self"],"names":{"title":"self","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity."},{"text":""},{"text":"This property represents a bind path within an ``AnimationView`` to"},{"text":"redirect the view’s ``BlendTreeSourceNode/source`` animation to a"},{"text":"different scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV8blendingAA015PhysicallyBasedD0V8BlendingOvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","blending"],"names":{"title":"blending","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparency options for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity"],"names":{"title":"CustomMaterial.Opacity","navigator":[{"kind":"identifier","spelling":"Opacity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the transparency options for a custom material."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","first()"],"names":{"title":"first()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream, then finishes."},{"text":""},{"text":"Use ``Publisher/first()`` to publish just the first element from an upstream publisher, then finish normally. The ``Publisher/first()`` operator requests ``Subscribers/Demand/unlimited`` from its upstream as soon as downstream requests at least one element. If the upstream completes before ``Publisher/first()`` receives any elements, it completes without emitting any values."},{"text":""},{"text":"In this example, the ``Publisher/first()`` publisher republishes the first element received from the sequence publisher, `-10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Print: \"-10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the first element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6reduceyqd__qd___qd__qd___7ElementQztYaKXEtYaKlF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the result of combining the elements of the asynchronous sequence"},{"text":"using the given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements of"},{"text":"an entire sequence. For example, you can use this method on an sequence of"},{"text":"numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure executes sequentially with an accumulating"},{"text":"value initialized to `initialResult` and each element of the sequence."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `4`. The `reduce(_:_:)` method sums the values"},{"text":"received from the asynchronous sequence."},{"text":""},{"text":" let sum = await Counter(howHigh: 4)"},{"text":" .reduce(0) {"},{"text":" $0 + $1"},{"text":" }"},{"text":" print(sum)"},{"text":" // Prints \"10\""},{"text":""},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" The `nextPartialResult` closure receives `initialResult` the first"},{"text":" time the closure runs."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the asynchronous sequence into a new accumulating value,"},{"text":" for use in the next call of the `nextPartialResult` closure or"},{"text":" returned to the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setPosition(_:relativeTo:)"],"names":{"title":"setPosition(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the position of the entity relative to the given reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: A new position, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationGroup/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationGroup/trimStart`` and ``AnimationGroup/trimEnd`` are `nil`,"},{"text":"the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationGroup/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``AnimationGroup/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","visualBounds(recursive:relativeTo:excludeInactive:)"],"names":{"title":"visualBounds(recursive:relativeTo:excludeInactive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Computes a bounding box for the entity in the specified space,"},{"text":"optionally including child entities."},{"text":""},{"text":"The method has complexity `O(n)`, where `n` is the number of entities in"},{"text":"the hierarchy."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to incorporate the bounds"},{"text":"of all descendants."},{"text":""},{"text":" - referenceEntity: An entity that defines a frame of reference. Set to"},{"text":"`nil` to indicate world space."},{"text":""},{"text":"- excludeInactive: A Boolean that you set to `true` to exclude inactive"},{"text":"entities."},{"text":""},{"text":"- Returns: The bounding box."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"excludeInactive","declarationFragments":[{"kind":"identifier","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23MaterialScalarParameterO","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV4maskAA0C5GroupVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","mask"],"names":{"title":"mask","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group or groups, stored as a bitmask, with which the"},{"text":"entity can collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler"],"names":{"title":"MaterialParameters.Texture.Sampler","navigator":[{"kind":"identifier","spelling":"Sampler"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Sampler"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Sampler"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC12isProcessingSbvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","isProcessing"],"names":{"title":"isProcessing","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isProcessing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session is actively processing requests."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isProcessing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNames4name15isScaleAnimated0l8RotationN00l11TranslationN04from2to2by8duration6timing0L8Additive10bindTarget10blendLayer10repeatMode8fillMode9trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SSS3bAESgA1_A1_SdAA0F14TimingFunctionVSbAA04BindX0OSgs5Int32VAA0F10RepeatModeOAA0F8FillModeVSdSgA13_A13_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two configurations of the"},{"text":"given joints."},{"text":""},{"text":"- Parameters:"},{"text":" - jointNames: The names of the joints in the animated skeletal pose."},{"text":""},{"text":" - name: A unique name for the animation."},{"text":""},{"text":"- isScaleAnimated: A Boolean value that indicates whether that animation"},{"text":"interpolates changes to the target’s size."},{"text":""},{"text":"- isRotationAnimated: A Boolean value that indicates whether that"},{"text":"animation interpolates rotational changes."},{"text":""},{"text":"- isTranslationAnimated: A Boolean value that indicates whether that"},{"text":"animation interpolates changes to the target object’s position."},{"text":""},{"text":"- from: The state of the target object’s joints before the animation"},{"text":"starts."},{"text":""},{"text":"- to: The state of the target object’s joints after the animation"},{"text":"finishes."},{"text":""},{"text":"- by: An amount that increments the animated joints during the"},{"text":"animation."},{"text":""},{"text":" - duration: The total playback time."},{"text":""},{"text":" - timing: An option that determines the animation’s pace over time."},{"text":""},{"text":"- isAdditive: A Boolean value that indicates whether the animation"},{"text":"blends additively with concurrent animations."},{"text":""},{"text":"- bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":"- blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":"- trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":"- trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"- trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":"- offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":"- speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV4from13surfaceShader16geometryModifierAcA0D0_p_AC07SurfaceG0VAC08GeometryI0VSgtKcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","init(from:surfaceShader:geometryModifier:)"],"names":{"title":"init(from:surfaceShader:geometryModifier:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"surfaceShader"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SurfaceShader","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom material from an existing material, surface shader, and"},{"text":"geometry modifier."},{"text":""},{"text":"Use this initializer to create a custom material with the same"},{"text":"properties as another existing material, but with a geometry modifier"},{"text":"and surface shader."},{"text":""},{"text":"- Parameters:"},{"text":" - material: The material from which to copy properties."},{"text":""},{"text":" - surfaceShader: The surface shader function."},{"text":""},{"text":" - geometryModifier: The geometry modifier shader function."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"surfaceShader"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SurfaceShader","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","breakpointOnError()"],"names":{"title":"breakpointOnError()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal upon receiving a failure."},{"text":""},{"text":"When the upstream publisher fails with an error, this publisher raises the `SIGTRAP` signal, which stops the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In this example a ``PassthroughSubject`` publishes strings, but its downstream ``Publisher/tryMap(_:)`` operator throws an error. This sends the error downstream as a ``Subscribers/Completion/failure(_:)``. The ``Publisher/breakpointOnError()`` operator receives this completion and stops the app in the debugger."},{"text":""},{"text":" struct CustomError : Error {}"},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .tryMap { stringValue in"},{"text":" throw CustomError()"},{"text":" }"},{"text":" .breakpointOnError()"},{"text":" .sink("},{"text":" receiveCompletion: { completion in print(\"Completion: \\(String(describing: completion))\") },"},{"text":" receiveValue: { aValue in print(\"Result: \\(String(describing: aValue))\") }"},{"text":" )"},{"text":""},{"text":" publisher.send(\"TEST DATA\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Returns: A publisher that raises a debugger signal upon receiving a failure."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6heightSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The capsule height."},{"text":""},{"text":"The capsule height includes radii and should be specified the entity's coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation17PerspectiveCameraC","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera","camera"],"names":{"title":"camera","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A camera component for the perspective camera entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController"],"names":{"title":"VideoPlaybackController","navigator":[{"kind":"identifier","spelling":"VideoPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that controls the playback of video for a video material."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation17OcclusionMaterialV","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","Parameters"],"names":{"title":"OcclusionMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC12replaceAsync9withImage7optionsAA11LoadRequestCyACGSo10CGImageRefa_AC13CreateOptionsVtF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replaceAsync(withImage:options:)"],"names":{"title":"replaceAsync(withImage:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously and dynamically replaces the texture with a CoreGraphics image."},{"text":""},{"text":"This method blocks until the resource is updated. Do not use this method for framerate updates. For frequent texture changes,"},{"text":"see ``replace(withDrawables:)``. To ensure consistent usage of this texture resource, pass the same"},{"text":"semantic in `options` that you used to create the resource."},{"text":""},{"text":"- Note: The contents of a modified texture resource are not synced between network clients."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: Source image."},{"text":" - options: Options precising the type of texture to create. To preserve TextureResource's usage, the same semantic should be specified."}]},"functionSignature":{"parameters":[{"name":"withImage","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeCACycfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Appends a publisher’s output with the specified elements."},{"text":""},{"text":"Use ``Publisher/append(_:)-1qb8d`` when you need to prepend specific elements after the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/append(_:)-1qb8d`` operator publishes the provided elements after republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .append(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 5 6 7 8 9 10 0 1 255\""},{"text":""},{"text":""},{"text":"- Parameter elements: Elements to publish after this publisher’s elements."},{"text":"- Returns: A publisher that appends the specifiecd elements after this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVyACxcSTRzAA9TransformV7ElementRtzlufc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of transforms of a specific type for a single"},{"text":"skeletal pose."},{"text":""},{"text":"- Parameters:"},{"text":"- transforms: An array of position, rotation, and scale data for the"},{"text":"joints."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7process8requestsySayAC7RequestOG_tKF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","process(requests:)"],"names":{"title":"process(requests:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"process"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"requests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Starts processing of the provided processing `requests`. Messages begin to be produced to"},{"text":"the `output` publisher."},{"text":""},{"text":"On the first `process()`call the data in the input source will be ingested entirely and"},{"text":"`inputComplete` produced on the `output` stream before any request processing progress will begin."},{"text":"Before `inputComplete`, warnings about samples will be published, if any."},{"text":""},{"text":"- Throws: if `isProcessing` another batch still, the session is invalid (an Error was produced on `output` or"},{"text":" if one of the requests is invalid."}]},"functionSignature":{"parameters":[{"name":"requests","declarationFragments":[{"kind":"identifier","spelling":"requests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"process"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"requests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC6repeat5countACSi_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","repeat(count:)"],"names":{"title":"repeat(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that repeats the specified number of times."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of animation repetitions."},{"text":""},{"text":"- Returns: A repeating copy of the calling animation resource."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","catch(_:)"],"names":{"title":"catch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by replacing it with another publisher."},{"text":""},{"text":"Use `catch()` to replace an error from an upstream publisher with a new publisher."},{"text":""},{"text":"In the example below, the `catch()` operator handles the `SimpleError` thrown by the upstream publisher by replacing the error with a `Just` publisher. This continues the stream by publishing a single value and completing normally."},{"text":""},{"text":" struct SimpleError: Error {}"},{"text":" let numbers = [5, 4, 3, 2, 1, 0, 9, 8, 7, 6]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast(where: {"},{"text":" guard $0 != 0 else {throw SimpleError()}"},{"text":" return true"},{"text":" })"},{"text":" .catch({ (error) in"},{"text":" Just(-1)"},{"text":" })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" // Prints: -1"},{"text":""},{"text":"Backpressure note: This publisher passes through `request` and `cancel` to the upstream. After receiving an error, the publisher sends sends any unfulfilled demand to the new `Publisher`."},{"text":"SeeAlso: `replaceError`"},{"text":"- Parameter handler: A closure that accepts the upstream failure as input and returns a publisher to replace the upstream publisher."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE10allSatisfyyS2b7ElementQzYaKXEYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns a Boolean value that indicates whether all elements produced by the"},{"text":"asynchronous sequence satisfy the given predicate."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `allSatisfy(_:)` method checks to see whether"},{"text":"all elements produced by the sequence are less than `10`."},{"text":""},{"text":" let allLessThanTen = await Counter(howHigh: 10)"},{"text":" .allSatisfy { $0 < 10 }"},{"text":" print(allLessThanTen)"},{"text":" // Prints \"false\""},{"text":""},{"text":"The predicate executes each time the asynchronous sequence produces an"},{"text":"element, until either the predicate returns `false` or the sequence ends."},{"text":""},{"text":"If the asynchronous sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the asynchronous"},{"text":" sequence as its argument and returns a Boolean value that indicates"},{"text":" whether the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationView/trimStart`` instead and choose a"},{"text":"``AnimationView/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV18sceneUnderstandingACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","sceneUnderstanding"],"names":{"title":"sceneUnderstanding","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision group for reconstructed meshes."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8BindPathV5partsSayAC4PartOGvp","interfaceLanguage":"swift"},"pathComponents":["BindPath","parts"],"names":{"title":"parts","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of the individual components of a complete bind path."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation19PointLightComponentV","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC14activeRequestsSayAC7RequestOGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","activeRequests"],"names":{"title":"activeRequests","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activeRequests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session’s active request objects."},{"text":""},{"text":"This property provides read-only access to the requests that the session actively processes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activeRequests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV8materialAA0C16MaterialResourceCvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","material"],"names":{"title":"material","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s material properties, like friction."},{"text":""},{"text":"By default, the body’s material resource is set to"},{"text":"``PhysicsMaterialResource/default``, which provides a modest amount of"},{"text":"friction and restitution (bounciness)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a 4x4"},{"text":"matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6cancelyyF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","cancel()"],"names":{"title":"cancel()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cancel"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests cancellation of any running requests."},{"text":""},{"text":"When cancellation has completed, a `.processingCancelled` message will be output and"},{"text":"`isProcessing` will be `false`. Calling this method has no effect if `!isProcessing`."},{"text":""},{"text":"- Note: This call is asynchronous and it may take some time before the pipeline fully stops, resources are"},{"text":"reclaimed, and the error is actually produced, so callers should monitor `output` for the message before"},{"text":"making a new session."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cancel"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC6repeat8durationACSd_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","repeat(duration:)"],"names":{"title":"repeat(duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation for the specified amount of time."},{"text":""},{"text":"- Parameters:"},{"text":"- duration: The amount of time that the animation should play. If you"},{"text":"omit this parameter, the animation loops indefinitely."},{"text":""},{"text":"- Returns: A new animation resource that you play on an entity by"},{"text":"calling the entity’s"},{"text":"``Entity/playAnimation(_:transitionDuration:startsPaused:)`` method."}]},"functionSignature":{"parameters":[{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = .infinity) -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part"],"names":{"title":"BindPath.Part","navigator":[{"kind":"identifier","spelling":"Part"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An individual piece of a larger path that refers to the target of an"},{"text":"animation."},{"text":""},{"text":"Path-based instances of ``AnimationDefinition/bindTarget``, or those"},{"text":"identified by the ``BindTarget/path(_:)`` call, consist of one or more"},{"text":"components identified by these enumeration options."},{"text":""},{"text":"For example, the succession of ``BindPath/Part`` calls in the following"},{"text":"code results in a path with a ``BindPath/parts`` array that contains"},{"text":"three components: `entityA`, `entityB`, and `myInt`."},{"text":""},{"text":"```swift"},{"text":"let target3: BindTarget = .entity(\"entityA\").entity(\"entityB\").parameter(\"myInt\")"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9roughnessAC9RoughnessVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount the surface of the 3D object scatters reflected light."},{"text":""},{"text":"The `roughness` property represents how much the surface of the entity"},{"text":"scatters light it reflects. A material with a high roughness has a matte"},{"text":"appearance, while one with a low roughness has a shiny appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte appearance"},{"text":"with very soft specular highlights. The sphere on the right has no"},{"text":"highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-roughness-swift-property-1)"},{"text":""},{"text":"Specify this property using a"},{"text":" to represent a"},{"text":"uniform `roughness` for the entire entity, or a UV-mapped grayscale"},{"text":"image that uses shades of gray to represent the roughness of different"},{"text":"parts of the entity. When using an image, black pixels represent areas"},{"text":"that have a low roughness and appear shiny, while white represents areas"},{"text":"that have a high roughness and display a matte finish."},{"text":""},{"text":"If you initialize this property with a color image rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"The following example uses a single value to specify roughness:"},{"text":""},{"text":"```swift"},{"text":"material.roughness = PhysicallyBasedMaterial.Roughness(floatLiteral: 0.0)"},{"text":"```"},{"text":""},{"text":"The following example uses an image to specify roughness:"},{"text":""},{"text":"```swift"},{"text":"if let roughnessResource = try? TextureResource.load(named:"},{"text":"\"entity_roughness\") {"},{"text":" let roughness = MaterialParameters.Texture(roughnessResource)"},{"text":" material.roughness = PhysicallyBasedMaterial.Roughness(texture:roughness)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9addAnchoryyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","addAnchor(_:)"],"names":{"title":"addAnchor(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addAnchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds an anchor to the scene’s list of anchors."},{"text":""},{"text":"- Parameters:"},{"text":" - anchor: The anchor to add."}]},"functionSignature":{"parameters":[{"name":"anchor","declarationFragments":[{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent"],"names":{"title":"CharacterControllerStateComponent","navigator":[{"kind":"identifier","spelling":"CharacterControllerStateComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerStateComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that maintains state for a character controller."},{"text":""},{"text":"Add this component to an entity, this along with ``CharacterControllerComponent``, to"},{"text":"use the entity as a character that moves and animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerStateComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelComponent"],"names":{"title":"ModelComponent","navigator":[{"kind":"identifier","spelling":"ModelComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of resources that create the visual appearance of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setScale(_:relativeTo:)"],"names":{"title":"setScale(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the scale factor of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A new scale factor, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"scale","declarationFragments":[{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13systemActionsAC09SupportedF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","systemActions"],"names":{"title":"systemActions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"systemActions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The set of supported accessibility actions."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"systemActions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two collections of joints"},{"text":"are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The collection of joints on the left side of the operator."},{"text":""},{"text":" - rhs: The collection of joints on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the two collections of joints are equal."},{"text":"Otherwise, returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","eraseToAnyPublisher()"],"names":{"title":"eraseToAnyPublisher()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Wraps this publisher with a type eraser."},{"text":""},{"text":"Use ``Publisher/eraseToAnyPublisher()`` to expose an instance of ``AnyPublisher`` to the downstream subscriber, rather than this publisher’s actual type."},{"text":"This form of _type erasure_ preserves abstraction across API boundaries, such as different modules."},{"text":"When you expose your publishers as the ``AnyPublisher`` type, you can change the underlying implementation over time without affecting existing clients."},{"text":""},{"text":"The following example shows two types that each have a `publisher` property. `TypeWithSubject` exposes this property as its actual type, ``PassthroughSubject``, while `TypeWithErasedSubject` uses ``Publisher/eraseToAnyPublisher()`` to expose it as an ``AnyPublisher``. As seen in the output, a caller from another module can access `TypeWithSubject.publisher` as its native type. This means you can’t change your publisher to a different type without breaking the caller. By comparison, `TypeWithErasedSubject.publisher` appears to callers as an ``AnyPublisher``, so you can change the underlying publisher type at will."},{"text":""},{"text":" public class TypeWithSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" }"},{"text":" public class TypeWithErasedSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" .eraseToAnyPublisher()"},{"text":" }"},{"text":""},{"text":" // In another module:"},{"text":" let nonErased = TypeWithSubject()"},{"text":" if let subject = nonErased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast nonErased.publisher.\")"},{"text":" }"},{"text":" let erased = TypeWithErasedSubject()"},{"text":" if let subject = erased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast erased.publisher.\")"},{"text":" }"},{"text":""},{"text":" // Prints \"Successfully cast nonErased.publisher.\""},{"text":""},{"text":"- Returns: An ``AnyPublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud"],"names":{"title":"PhotogrammetrySession.PointCloud","navigator":[{"kind":"identifier","spelling":"PointCloud"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointCloud"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A sparse point cloud data structure output as the payload of a `.pointCloud` request."},{"text":"A point cloud is an array of `PointCloud.Point` instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointCloud"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE11blendFactorSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","blendFactor"],"names":{"title":"blendFactor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The level of influence the controller gives to its animation."},{"text":""},{"text":"You can run multiple animations on the same property, for example,"},{"text":"walking and jumping animations that affect the same joint transforms."},{"text":"When multiple animations adjust the same property at runtime, the"},{"text":"framework applies this blend factor on the animations' respective"},{"text":"controllers to calculate a middle ground value that displays at runtime."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the scene by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV4from16geometryModifierAcA0D0_p_AC08GeometryG0VtKcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","init(from:geometryModifier:)"],"names":{"title":"init(from:geometryModifier:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom material from an existing material and a geometry"},{"text":"modifier."},{"text":""},{"text":"Use this initializer to create a custom material with the same"},{"text":"properties as another existing material, but with a geometry modifier."},{"text":""},{"text":"- Parameters:"},{"text":" - material: The material on which to base the custom material."},{"text":""},{"text":" - geometryModifier: The geometry modifier shader function."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21HasSceneUnderstandingPAAE05sceneE0AA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasSceneUnderstanding","sceneUnderstanding"],"names":{"title":"sceneUnderstanding","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity component that detects and reacts to features of the physical"},{"text":"environment."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two physics mass properties are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first set of physics mass properties to compare."},{"text":""},{"text":" - rhs: The second set of physics mass properties to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two physics mass"},{"text":"properties are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s position relative to its parent. To get the"},{"text":"world-space position of the entity in the scene, use"},{"text":"``HasTransform/position(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/translation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC12removeAnchoryyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","removeAnchor(_:)"],"names":{"title":"removeAnchor(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAnchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified anchor from the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - anchor: The anchor to remove."}]},"functionSignature":{"parameters":[{"name":"anchor","declarationFragments":[{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a"},{"text":"transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness"],"names":{"title":"CustomMaterial.ClearcoatRoughness","navigator":[{"kind":"identifier","spelling":"ClearcoatRoughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the degree to which an entity’s clear, shiny"},{"text":"coating scatters light to create soft highlights."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"coating, like on a car or the surface of lacquered objects. Use this"},{"text":"object to specify a clearcoat roughness value and indicate how much the"},{"text":"clearcoat scatters light that bounces off of it, which softens and"},{"text":"disperses the highlights."},{"text":""},{"text":"For information, see"},{"text":"``CustomMaterial/clearcoatRoughness-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","withContiguousMutableStorageIfAvailable(_:)"],"names":{"title":"withContiguousMutableStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousMutableStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the collection's contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` provides access to the"},{"text":"contiguous mutable storage of the entire collection. If the contiguous"},{"text":"storage doesn't exist, the collection creates it. If the collection"},{"text":"doesn't support an internal representation in the form of contiguous"},{"text":"mutable storage, this method doesn't call `body` --- it immediately"},{"text":"returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Always perform any necessary cleanup in the closure, because the"},{"text":"method makes no guarantees about the state of the collection if the"},{"text":"closure throws an error. Your changes to the collection may be absent"},{"text":"from the collection after throwing the error, because the closure could"},{"text":"receive a temporary copy rather than direct access to the collection's"},{"text":"storage."},{"text":""},{"text":"- Warning: Your `body` closure must not replace `buffer`. This leads"},{"text":" to a crash in all implementations of this method within the standard"},{"text":" library."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an in-out"},{"text":" `UnsafeMutableBufferPointer` to the collection's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the collection doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousMutableStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV9transformAA9TransformVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A transform applied to the created entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0C0V5value7textureAEs5SIMD4VySfG_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Custom","init(value:texture:)"],"names":{"title":"init(value:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom object from a vector and texture."},{"text":""},{"text":"Use this initializer to create a new"},{"text":"``CustomMaterial/Custom-swift.struct`` object from a four-component"},{"text":"vector, a texture, or both. RealityKit passes these values"},{"text":"automatically to your custom material’s shader functions. Custom"},{"text":"values have no predefined meaning, and RealityKit doesn’t use them"},{"text":"other than to make them available in your surface shader and"},{"text":"geometry modifier."},{"text":""},{"text":"- Parameters:"},{"text":" - value: A four-component vector."},{"text":""},{"text":" - texture: An optional texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(repeating: 0), "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV4seatAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","seat"],"names":{"title":"seat","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"seat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for seats."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"seat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation9SpotLightC","interfaceLanguage":"swift"},"pathComponents":["SpotLight"],"names":{"title":"SpotLight","navigator":[{"kind":"identifier","spelling":"SpotLight"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpotLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity that illuminates virtual content in a cone-shaped volume."},{"text":""},{"text":"During an AR session, RealityKit automatically lights your virtual objects"},{"text":"to match real-world lighting. You can also explicitly add virtual lights"},{"text":"that act upon your virtual content. This is typically most useful outside of"},{"text":"an AR session (with the view’s ``ARView/cameraMode-swift.property`` property"},{"text":"set to ``ARView/CameraMode-swift.enum/nonAR``)."},{"text":""},{"text":"A RealityKit scene can contain up to eight dynamic lights, which are"},{"text":"``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit"},{"text":"doesn’t include light from image-based lighting."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpotLight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV9deltaTimeSdvp","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext","deltaTime"],"names":{"title":"deltaTime","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of seconds elapsed since the last update."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD4VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point quadruples in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point quadruplets."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent"],"names":{"title":"AccessibilityComponent","navigator":[{"kind":"identifier","spelling":"AccessibilityComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AccessibilityComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AccessibilityComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation5SceneC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Scene","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two scenes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first scene to compare."},{"text":""},{"text":" - rhs: The second scene to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scenes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs"],"names":{"title":"PhotogrammetrySession.Outputs","navigator":[{"kind":"identifier","spelling":"Outputs"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Outputs"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An asynchronous sequence of session-related updates."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Outputs"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14SimpleMaterialV","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","Parameters"],"names":{"title":"SimpleMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision group for objects."},{"text":""},{"text":"If no ``CollisionFilter`` is assigned to an entity, that entity will be"},{"text":"part of this default collision group."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an unlit material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE8contains5whereS2b7ElementQzYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns a Boolean value that indicates whether the asynchronous sequence"},{"text":"contains an element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that doesn’t"},{"text":"conform to the `Equatable` protocol, or to find an element that satisfies"},{"text":"a general condition."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `contains(where:)` method checks to see"},{"text":"whether the sequence produces a value divisible by `3`:"},{"text":""},{"text":" let containsDivisibleByThree = await Counter(howHigh: 10)"},{"text":" .contains { $0 % 3 == 0 }"},{"text":" print(containsDivisibleByThree)"},{"text":" // Prints \"true\""},{"text":""},{"text":"The predicate executes each time the asynchronous sequence produces an"},{"text":"element, until either the predicate finds a match or the sequence ends."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the asynchronous"},{"text":" sequence as its argument and returns a Boolean value that indicates"},{"text":" whether the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" predicate; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC2IDa","interfaceLanguage":"swift"},"pathComponents":["Scene","ID"],"names":{"title":"Scene.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations play."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV5shape4massAcA13ShapeResourceC_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(shape:mass:)"],"names":{"title":"init(shape:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the mass properties for a solid shape with the specified mass."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape for which to calculate the mass frame."},{"text":""},{"text":" - mass: The mass of the object in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision filter."},{"text":""},{"text":"Entities with a ``CollisionFilter/default`` collision filter have a"},{"text":"``CollisionFilter/group`` of ``CollisionGroup/default`` and a"},{"text":"``CollisionFilter/mask`` of ``CollisionGroup/all``."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV3anyAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","any"],"names":{"title":"any","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for any kind of surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO9parameteryAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","parameter(_:)"],"names":{"title":"BindPath.Part.parameter(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate a named parameter."},{"text":""},{"text":"This path component terminates an array of paths, and at the same"},{"text":"time specifies a named scene or entity property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position representing the estimated point of contact."},{"text":""},{"text":"The point is an average calculated from the intersecting shapes."},{"text":"It’s specified in the coordinate space of the physics simulation,"},{"text":"which means it’s relative to ``ARView/physicsOrigin``. If the"},{"text":"physics origin is `nil`, the point is given in world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryScan(_:_:)"],"names":{"title":"tryScan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current element to an error-throwing closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/tryScan(_:_:)`` to accumulate all previously-published values into a single value, which you then combine with each newly-published value."},{"text":"If your accumulator closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, ``Publisher/tryScan(_:_:)`` calls a division function on elements of a collection publisher. The ``Publishers/TryScan`` publisher publishes each result until the function encounters a `DivisionByZeroError`, which terminates the publisher."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":""},{"text":" /// A function that throws a DivisionByZeroError if `current` provided by the TryScan publisher is zero."},{"text":" func myThrowingFunction(_ lastValue: Int, _ currentValue: Int) throws -> Int {"},{"text":" guard currentValue != 0 else { throw DivisionByZeroError() }"},{"text":" return (lastValue + currentValue) / currentValue"},{"text":" }"},{"text":""},{"text":" let numbers = [1,2,3,4,5,0,6,7,8,9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryScan(10) { try myThrowingFunction($0, $1) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"11 6 3 1 1 -1 failure(DivisionByZeroError())\"."},{"text":""},{"text":"If the closure throws an error, the publisher fails with the error."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: An error-throwing closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryCatch(_:)"],"names":{"title":"tryCatch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by either replacing it with another publisher or throwing a new error."},{"text":""},{"text":"Use ``Publisher/tryCatch(_:)`` to decide how to handle from an upstream publisher by either replacing the publisher with a new publisher, or throwing a new error."},{"text":""},{"text":"In the example below, an array publisher emits values that a ``Publisher/tryMap(_:)`` operator evaluates to ensure the values are greater than zero. If the values aren’t greater than zero, the operator throws an error to the downstream subscriber to let it know there was a problem. The subscriber, ``Publisher/tryCatch(_:)``, replaces the error with a new publisher using ``Just`` to publish a final value before the stream ends normally."},{"text":""},{"text":" enum SimpleError: Error { case error }"},{"text":" var numbers = [5, 4, 3, 2, 1, -1, 7, 8, 9, 10]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { v in"},{"text":" if v > 0 {"},{"text":" return v"},{"text":" } else {"},{"text":" throw SimpleError.error"},{"text":" }"},{"text":" }"},{"text":" .tryCatch { error in"},{"text":" Just(0) // Send a final value before completing normally."},{"text":" // Alternatively, throw a new error to terminate the stream."},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print (\"Received \\($0).\") }"},{"text":" )"},{"text":" // Received 5."},{"text":" // Received 4."},{"text":" // Received 3."},{"text":" // Received 2."},{"text":" // Received 1."},{"text":" // Received 0."},{"text":" // Completion: finished."},{"text":""},{"text":"- Parameter handler: A throwing closure that accepts the upstream failure as input. This closure can either replace the upstream publisher with a new one, or throw a new error to the downstream subscriber."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher, or an error."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the group."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","scale(relativeTo:)"],"names":{"title":"scale(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the scale of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23AnimationTimingFunctionV","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO7preloadyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","preload"],"names":{"title":"AudioFileResource.LoadingStrategy.preload","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preload"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Load and decode all the data into memory before playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preload"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO6entityyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","entity(_:)"],"names":{"title":"BindPath.Part.entity(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for a nested entity."},{"text":""},{"text":"This path component indicates that another component follows, which"},{"text":"either contains or identifies the property of the entity that"},{"text":"animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assertNoFailure(_:file:line:)"],"names":{"title":"assertNoFailure(_:file:line:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a fatal error when its upstream publisher fails, and otherwise republishes all received input."},{"text":""},{"text":"Use `assertNoFailure()` for internal integrity checks that are active during testing. However, it is important to note that, like its Swift counterpart `fatalError(_:)`, the `assertNoFailure()` operator asserts a fatal exception when triggered during development and testing, _and_ in shipping versions of code."},{"text":""},{"text":"In the example below, a `CurrentValueSubject` publishes the initial and second values successfully. The third value, containing a `genericSubjectError`, causes the `assertNoFailure()` operator to assert a fatal exception stopping the process:"},{"text":""},{"text":" public enum SubjectError: Error {"},{"text":" case genericSubjectError"},{"text":" }"},{"text":""},{"text":" let subject = CurrentValueSubject(\"initial value\")"},{"text":" subject"},{"text":" .assertNoFailure()"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0).\") }"},{"text":" )"},{"text":""},{"text":" subject.send(\"second value\")"},{"text":" subject.send(completion: Subscribers.Completion.failure(SubjectError.genericSubjectError))"},{"text":""},{"text":" // Prints:"},{"text":" // value: initial value."},{"text":" // value: second value."},{"text":" // The process then terminates in the debugger as the assertNoFailure operator catches the genericSubjectError."},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string used at the beginning of the fatal error message."},{"text":" - file: A filename used in the error message. This defaults to `#file`."},{"text":" - line: A line number used in the error message. This defaults to `#line`."},{"text":"- Returns: A publisher that raises a fatal error when its upstream publisher fails."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"file","declarationFragments":[{"kind":"identifier","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"}]},{"name":"line","declarationFragments":[{"kind":"identifier","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#file"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#line"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8metallicAC8MetallicVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","metallic"],"names":{"title":"metallic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness of an entity."},{"text":""},{"text":"The `metallic` property represents the reflectiveness of an entity. Use"},{"text":"this property to specify whether the entity displays metallic qualities"},{"text":"and reflects the surrounding environment, or displays dielectric"},{"text":"qualities and doesn’t reflect the environment."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The sphere"},{"text":"on the left is shiny but dielecric so doesn’t reflect the surrounding"},{"text":"environment other than specular highlights from the visible light. The"},{"text":"sphere on the right is metallic and reflects all of the surrounding"},{"text":"environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-metallic-swift-property-1)"},{"text":""},{"text":"Specify this property using a"},{"text":" to represent a"},{"text":"uniform reflectiveness for the entire entity. You an also use a"},{"text":"UV-mapped grayscale image to represent the reflectiveness of different"},{"text":"parts of the entity. When using an image, black pixels represent areas"},{"text":"that are dielectric, while white pixels represents areas that are"},{"text":"completely metallic and reflective."},{"text":""},{"text":"If you initialize this property with a color image, rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"The following example specifies the metallic qualities of an entity"},{"text":"using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.metallic = PhysicallyBasedMaterial.Metallic(floatLiteral: 1.0) ```"},{"text":""},{"text":"The following example specifies the metallic qualities of an entity"},{"text":"using a UV-mapped image:"},{"text":""},{"text":"```swift"},{"text":"if let metalResource = try? TextureResource.load(named:\"entity_metallic\") {"},{"text":" let metallic = MaterialParameters.Texture(metalResource)"},{"text":" material.metallic = PhysicallyBasedMaterial.Metallic(texture:metallic)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6radius6height9skinWidth10slopeLimit04stepK08upVector15collisionFilterACSf_S4fs5SIMD3VySfGAA09CollisionP0Vtcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","init(radius:height:skinWidth:slopeLimit:stepLimit:upVector:collisionFilter:)"],"names":{"title":"init(radius:height:skinWidth:slopeLimit:stepLimit:upVector:collisionFilter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a character controller component using specified values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultSkinWidth, "},{"kind":"externalParam","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultSlopeLimit, "},{"kind":"externalParam","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultStepLimit, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = defaultUpVector, "},{"kind":"externalParam","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .default)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:)"],"names":{"title":"zip(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and deliver pairs of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:)`` to combine the latest elements from two publishers and emit a tuple to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together as a tuple to the subscriber."},{"text":""},{"text":"Much like a zipper or zip fastener on a piece of clothing pulls together rows of teeth to link the two sides, ``Publisher/zip(_:)`` combines streams from two different publishers by linking pairs of elements from each side."},{"text":""},{"text":"In this example, `numbers` and `letters` are ``PassthroughSubject``s that emit values; once ``Publisher/zip(_:)`` receives one value from each, it publishes the pair as a tuple to the downstream subscriber. It then waits for the next pair of values."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" letters.send(\"A\") // numbers: 1,2 letters:\"A\" zip output: "},{"text":" numbers.send(3) // numbers: 1,2,3 letters: zip output: (1,\"A\")"},{"text":" letters.send(\"B\") // numbers: 1,2,3 letters: \"B\" zip output: (2,\"B\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\")"},{"text":" // (2, \"B\")"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameter other: Another publisher."},{"text":"- Returns: A publisher that emits pairs of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","partition(by:)"],"names":{"title":"partition(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Reorders the elements of the collection such that all the elements"},{"text":"that match the given predicate are after all the elements that don't"},{"text":"match."},{"text":""},{"text":"After partitioning a collection, there is a pivot index `p` where"},{"text":"no element before `p` satisfies the `belongsInSecondPartition`"},{"text":"predicate and every element at or after `p` satisfies"},{"text":"`belongsInSecondPartition`. This operation isn't guaranteed to be"},{"text":"stable, so the relative ordering of elements within the partitions might"},{"text":"change."},{"text":""},{"text":"In the following example, an array of numbers is partitioned by a"},{"text":"predicate that matches elements greater than 30."},{"text":""},{"text":" var numbers = [30, 40, 20, 30, 30, 60, 10]"},{"text":" let p = numbers.partition(by: { $0 > 30 })"},{"text":" // p == 5"},{"text":" // numbers == [30, 10, 20, 30, 30, 60, 40]"},{"text":""},{"text":"The `numbers` array is now arranged in two partitions. The first"},{"text":"partition, `numbers[.. "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"belongsInSecondPartition"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","Iterator"],"names":{"title":"PhotogrammetrySession.Outputs.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object for iterating over published output objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO6streamyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","stream"],"names":{"title":"AudioFileResource.LoadingStrategy.stream","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stream"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stream data from disk, decoding in real time."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stream"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC7replace9withImage7optionsySo10CGImageRefa_AC13CreateOptionsVtKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replace(withImage:options:)"],"names":{"title":"replace(withImage:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Dynamically replaces the texture with a CoreGraphics image."},{"text":""},{"text":"This method blocks until the resource updates. Do not use this method for framerate updates. For frequent"},{"text":"texture changes, see ``replace(withDrawables:)``. If a ``TextureResource/DrawableQueue`` has been attached"},{"text":"to this resource, this function detaches it."},{"text":""},{"text":"To ensure consistent usage of this texture resource, pass the same semantic in `options` that you used"},{"text":"to create the resource."},{"text":""},{"text":"- Note: The contents of a modified texture resource are not synced between network clients."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":" - options: Options that specify the type of texture to create."}]},"functionSignature":{"parameters":[{"name":"withImage","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryCompactMap(_:)"],"names":{"title":"tryCompactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls an error-throwing closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Use ``Publisher/tryCompactMap(_:)`` to remove `nil` elements from a publisher’s stream based on an error-throwing closure you provide. If the closure throws an error, the publisher cancels the upstream publisher and sends the thrown error to the downstream subscriber as a ``Publisher/Failure``."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection-based publisher. A ``Publisher/tryCompactMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform the numbers from its Arabic to Roman numerals, as an optional ."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` fails to look up a Roman numeral, it returns the optional String `(unknown)`."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` determines the input is `0`, it throws an error. The ``Publisher/tryCompactMap(_:)`` operator catches this error and stops publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from: Int) throws -> String? {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 4: \"IV\", 5: \"V\"]"},{"text":" guard from != 0 else { throw ParseError() }"},{"text":" return romanNumeralDict[from]"},{"text":" }"},{"text":" let numbers = [6, 5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryCompactMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(Unknown) V IV III II I failure(ParseError())\""},{"text":""},{"text":"- Parameter transform: An error-throwing closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV19isTranslationLockedSb1x_Sb1ySb1ztvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isTranslationLocked"],"names":{"title":"isTranslationLocked","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A tuple of Boolean values that you use to lock the position of the"},{"text":"physics body along any of the three axes."},{"text":""},{"text":"You can restrict movement of the body along one or more axes by setting"},{"text":"the corresponding item in the tuple to `true`. For example, if you set"},{"text":"the `x` and the `z` items in the tuple to `true`, then the body can move"},{"text":"only along the y-axis. By default, movement isn’t restricted."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV14orientedBounds9transformAgA19OrientedBoundingBoxV_AA9TransformVtcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","init(orientedBounds:transform:)"],"names":{"title":"init(orientedBounds:transform:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"orientedBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an instance from an oriented bounding box and transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"orientedBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" = Transform.identity)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"underlying setting. A value of `0.5` indicates that the duration is"},{"text":"twice the underlying setting. Negative values play the animation in"},{"text":"reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s ``AnimationView/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV6sensorACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","sensor"],"names":{"title":"sensor","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sensor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collision filter for an entity that collides with everything."},{"text":""},{"text":"The sensor collision filter is typically used by rays in ray casts,"},{"text":"shapes in convex shape casts, and trigger volumes. It corresponds to a"},{"text":"``CollisionFilter/group`` and ``CollisionFilter/mask`` both set to"},{"text":"``CollisionGroup/all``."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sensor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO12anchorEntityyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","anchorEntity(_:)"],"names":{"title":"BindPath.Part.anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for the scene's anchor entity."},{"text":""},{"text":"This path component indicates that another component follows, which"},{"text":"either contains or identifies the property of the entity that"},{"text":"animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a 4x4 matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional image texture for defining the property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV16opacityThresholdSfSgvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A threshold below which RealityKit ignores opacity."},{"text":""},{"text":"When blending is transparent, this value controls how the opacity value affects rendering. The"},{"text":"default ``opacityThreshold`` value of `0.0` indicates that the opacity values render at the specified"},{"text":"transparency, with 0.0 rendered fully transparent, `1.0` rendered fully opaque, and values between"},{"text":"`0.0` and `1.0` rendering partially transparent."},{"text":""},{"text":"If ``opacityThreshold`` is greater than `0.0`, RealityKit doesn’t render opacity values less"},{"text":"than the `opacityThreshold` at all, and renders opacity values greater than or equal to"},{"text":"``opacityThreshold`` fully opaque."},{"text":""},{"text":"When ``blending`` is ``UnlitMaterial/Blending``, RealityKit ignores this value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8fillModeAA0d4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV5shape7densityAcA13ShapeResourceC_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(shape:density:)"],"names":{"title":"init(shape:density:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the mass properties for a solid shape with the specified"},{"text":"density."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape for which to calculate the mass frame."},{"text":""},{"text":" - density: The density of the object in kilograms per cubic meter."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Poses"],"names":{"title":"PhotogrammetrySession.Poses","navigator":[{"kind":"identifier","spelling":"Poses"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Poses"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Once initial photogrammetric calculations are complete, a data structure mapping the sample ID (or index if"},{"text":"a folder was used) to the 6DOF algorithmically estimated pose of that sample is returned."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Poses"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent"],"names":{"title":"AnchoringComponent","navigator":[{"kind":"identifier","spelling":"AnchoringComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoringComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A description of how virtual content can be anchored to the real world."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoringComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0C0V7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Custom","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A custom UV-mapped image texture that the framework sends to the"},{"text":"material’s shader functions."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a character controller component using default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV12makeIteratorAA6EntityC05ChildE0V08IndexingG0Vy__AEGyF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceC9InputModeO","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13customActionsSay0B023LocalizedStringResourceVGvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","customActions"],"names":{"title":"customActions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customActions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of custom actions supported by the entity, identified by their localized string key."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customActions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation16DirectionalLightC","interfaceLanguage":"swift"},"pathComponents":["DirectionalLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A directional light component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO5sceneyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","scene(_:)"],"names":{"title":"BindPath.Part.scene(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for a nested scene."},{"text":""},{"text":"This path component indicates that another component follows, and at"},{"text":"the same time specifies the entity, scene, or property that"},{"text":"animates."},{"text":""},{"text":"Because no path contains nested scenes, this component exists only"},{"text":"as the first element of a multicomponent path."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a transform."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV3allACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","all"],"names":{"title":"all","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group that represents all groups."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE4timeSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","time"],"names":{"title":"time","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"time"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation's location within the timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"time"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Element"],"names":{"title":"Scene.AnchorCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7impulseSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","impulse"],"names":{"title":"impulse","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The estimated strength of the impact."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["Scene","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-4xn21`` to return a new publisher that combines the elements from two publishers using a transformation you specify to publish a new value to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, ``PassthroughSubject`` instances `numbersPub` and `lettersPub` emit values; ``Publisher/zip(_:_:)-4xn21`` receives the oldest value from each publisher, uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub) { anInt, aLetter in"},{"text":" String(repeating: aLetter, count: anInt)"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" zip output: \"A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" zip output: \"BB\""},{"text":" // Prints:"},{"text":" // A"},{"text":" // BB"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from two upstream publishers."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","interfaceLanguage":"swift"},"pathComponents":["BodyTrackedEntity","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The model component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC6shapes6filterACSayAA13ShapeResourceCG_AA15CollisionFilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init(shapes:filter:)"],"names":{"title":"init(shapes:filter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume with the given composite shape and collision"},{"text":"filter."},{"text":""},{"text":"- Parameters:"},{"text":"- shapes: A collection of shapes which taken together define the"},{"text":"composite shape of the trigger volume."},{"text":""},{"text":"- filter: A collision filter that lets you differentiate among collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .sensor)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC7anchorsAC16AnchorCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["Scene","anchors"],"names":{"title":"anchors","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchors"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collection of anchors contained in the scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchors"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","encode(encoder:)"],"names":{"title":"encode(encoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Encodes the output from upstream using a specified encoder."},{"text":""},{"text":"Use ``Publisher/encode(encoder:)`` with a (or a for property lists) to encode an struct into that could be used to make a JSON string (or written to disk as a binary plist in the case of property lists)."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes an `Article`. The ``Publisher/encode(encoder:)`` operator encodes the properties of the `Article` struct into a new JSON string according to the protocol adopted by `Article`. The operator publishes the resulting JSON string to the downstream subscriber. If the encoding operation fails, which can happen in the case of complex properties that can’t be directly transformed into JSON, the stream terminates and the error is passed to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" let cancellable = dataProvider"},{"text":" .encode(encoder: JSONEncoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\") },"},{"text":" receiveValue: { data in"},{"text":" guard let stringRepresentation = String(data: data, encoding: .utf8) else { return }"},{"text":" print(\"Data received \\(data) string representation: \\(stringRepresentation)\")"},{"text":" })"},{"text":""},{"text":" dataProvider.send(Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: Date()))"},{"text":""},{"text":" // Prints: \"Data received 86 bytes string representation: {\"title\":\"My First Article\",\"author\":\"Gita Kumar\",\"pubDate\":606211803.279603}\""},{"text":""},{"text":"- Parameter encoder: An encoder that implements the ``TopLevelEncoder`` protocol."},{"text":"- Returns: A publisher that encodes received elements using a specified encoder, and publishes the resulting data."}]},"functionSignature":{"parameters":[{"name":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Coder","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Coder","rhs":"TopLevelEncoder","rhsPrecise":"s:7Combine15TopLevelEncoderP"},{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelEncoder","preciseIdentifier":"s:7Combine15TopLevelEncoderP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC5shape6filterAcA13ShapeResourceC_AA15CollisionFilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init(shape:filter:)"],"names":{"title":"init(shape:filter:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume with the given shape and collision filter."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape of the trigger volume."},{"text":""},{"text":"- filter: A collision filter that lets you differentiate among collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .sensor)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Element"],"names":{"title":"MeshBuffer.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent"],"names":{"title":"CollisionComponent","navigator":[{"kind":"identifier","spelling":"CollisionComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that gives an entity the ability to collide with other entities"},{"text":"that also have collision components."},{"text":""},{"text":"This component holds the entity's data related to participating in the scene's"},{"text":"physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts."},{"text":"Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a"},{"text":"*trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of"},{"text":"entities it collides. If configured with a rigid body ``RealityKit/PhysicsBodyComponent/mode``"},{"text":"of ``RealityKit/PhysicsBodyMode/dynamic``, it's own velocity and direction can be affected"},{"text":"by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but"},{"text":"can trigger code or Reality Composer behaviors when a rigid body enity overlaps it."},{"text":""},{"text":"Turn an entity into a trigger by adding a ``RealityKit/CollisionComponent`` to it and setting its"},{"text":"``RealityKit/CollisionComponent/mode-swift.property`` to"},{"text":"``RealityKit/CollisionComponent/Mode-swift.enum/trigger``."},{"text":""},{"text":"Turn an entity into a _rigd body_ by adding a ``RealityKit/PhysicsBodyComponent`` to the"},{"text":"entity in addition to a ``RealityKit/CollisionComponent``. The ``PhysicsBodyComponent``"},{"text":"defines the physical properties of the entity, such as its mass and collision shape."},{"text":""},{"text":"The `filter` property defines the entity's collision filter, which determines which other objects the entity"},{"text":"collides with. For more information, see ."},{"text":""},{"text":"- Note: If an entity has a ``RealityKit/PhysicsBodyComponent``, the collision component's"},{"text":"mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isTranslationAnimated"],"names":{"title":"isTranslationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation interpolates"},{"text":"changes to the target object’s position."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the collection are not returned as part"},{"text":"of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \"))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the collection and for each instance of `separator` at"},{"text":" the start or end of the collection. If `true`, only nonempty"},{"text":" subsequences are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0C0V","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Custom"],"names":{"title":"CustomMaterial.Custom","navigator":[{"kind":"identifier","spelling":"Custom"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Custom"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the custom properties for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Custom"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Pose"],"names":{"title":"PhotogrammetrySession.Pose","navigator":[{"kind":"identifier","spelling":"Pose"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Pose"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A 6DOF pose relative to the estimated coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Pose"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV12makeIteratorAC0F0Vyx_GyF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraP","interfaceLanguage":"swift"},"pathComponents":["HasPerspectiveCamera"],"names":{"title":"HasPerspectiveCamera","navigator":[{"kind":"identifier","spelling":"HasPerspectiveCamera"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPerspectiveCamera"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables you to configure a virtual camera that you can use"},{"text":"to define the rendering perspective when you’re not in an AR session."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPerspectiveCamera"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV4mass7inertia08centerOfD0ACSf_s5SIMD3VySfGAI8position_So10simd_quatfa11orientationttcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(mass:inertia:centerOfMass:)"],"names":{"title":"init(mass:inertia:centerOfMass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"))"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a mass properties instance with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":"- mass: The mass in kilograms. If you use a mass of `0` or infinity, the"},{"text":"simulation treats the object as ``PhysicsBodyMode/kinematic``. That is,"},{"text":"the object doesn’t respond to forces."},{"text":""},{"text":"- inertia: The inertia in kilograms per square meter. The vector"},{"text":"contains the diagonal elements of the diagonalized inertia matrix."},{"text":""},{"text":"- centerOfMass: The center of mass and the orientation of the principal"},{"text":"axes, defined in the local space of the rigid body."},{"text":""},{"text":" The `position` defines the center of mass with a default value of `(0, 0, 0)`, which"},{"text":"means that the local origin of the model is the center of mass."},{"text":""},{"text":" The `orientation` defines the principal axes, such the inertia matrix is a diagonal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 0.1, y: 0.1, z: 0.1), "},{"kind":"externalParam","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") = (SIMD3(x: 0, y: 0, z: 0), simd_quatf(ix: 0, iy: 0, iz: 0, r: 1)))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Iterator"],"names":{"title":"Scene.AnchorCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An iterator that presents the elements of the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV5sceneAA0C0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The updating scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASo10simd_quatfaRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of quaternions in which each element represents a discrete"},{"text":"state of the animated property at a given point in the animation’s"},{"text":"timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of quaternions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int16","preciseIdentifier":"s:s5Int16V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO6staticyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","static"],"names":{"title":"PhysicsBodyMode.static","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`static`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The body never moves."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`static`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","ArrayLiteralElement"],"names":{"title":"AccessibilityComponent.SupportedActions.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV6TargetO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","Target","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the target by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of"},{"text":"the target."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV8tangentsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","look(at:from:upVector:relativeTo:)"],"names":{"title":"look(at:from:upVector:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions and orients the entity to look at a target from a given"},{"text":"position."},{"text":""},{"text":"You can use this method on any entity, but it’s particularly useful for"},{"text":"orienting cameras and lights to aim at a particular point in space."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The target position to look at."},{"text":""},{"text":" - position: The new position of the entity."},{"text":""},{"text":" - upVector: The up direction of the entity after moving."},{"text":""},{"text":" - relativeTo: The entity that defines a frame of reference. Set this to"},{"text":"`nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"upVector","declarationFragments":[{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(0, 1, 0), "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation9TransformV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Transform","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the transform by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO9kinematicyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","kinematic"],"names":{"title":"PhysicsBodyMode.kinematic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"kinematic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The user controls body movement."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"kinematic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasCollision","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV4rootAA0cD4Node_pvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","root"],"names":{"title":"root","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first node in a tree of animations."},{"text":""},{"text":"This property defines the node that represents the root of a blend tree."},{"text":"If you assign this property a ``BlendTreeBlendNode`` instance, the root"},{"text":"branches for every member you add to the instance's"},{"text":"``BlendTreeBlendNode/sources`` property."},{"text":""},{"text":"If you define a ``BlendTreeSourceNode`` instance to this property, the"},{"text":"tree contains a single animation, which blends with no other animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO7dynamicyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","dynamic"],"names":{"title":"PhysicsBodyMode.dynamic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dynamic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Forces and collisions control body movement."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dynamic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO","interfaceLanguage":"swift"},"pathComponents":["AudioEvents"],"names":{"title":"AudioEvents","navigator":[{"kind":"identifier","spelling":"AudioEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with audio playback."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a normal object from a custom material’s normal property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The `normal` object from a `CustomMaterial`."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV4wallAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","wall"],"names":{"title":"wall","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wall"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for walls."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wall"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scale of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s scale relative to its parent. To get the"},{"text":"actual scale of the entity in the scene, use"},{"text":"``HasTransform/scale(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/scale`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorVyAA0C6BufferVy7ElementQzGSgxcAA0cE8SemanticRzluip","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11mipmapsModeAC07MipmapsI0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that determines whether the resource should generate mipmaps for each drawable's texture after it was updated."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV6shapes4mass8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(shapes:mass:material:mode:)"],"names":{"title":"init(shapes:mass:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component deriving mass properties from shape and"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The shape for which to estimate the rotational inertia and center of mass."},{"text":""},{"text":" - mass: The mass of the object in kilograms."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":" - mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","requestOwnership(timeout:_:)"],"names":{"title":"requestOwnership(timeout:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests ownership of the entity."},{"text":""},{"text":"Requesting ownership isn’t guaranteed to succeed."},{"text":""},{"text":"- Parameters:"},{"text":" - timeout: A time in seconds to wait before giving up."},{"text":""},{"text":"- callback: A closure that the method calls when the request completes"},{"text":"or times out."}]},"functionSignature":{"parameters":[{"name":"timeout","declarationFragments":[{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"callback","declarationFragments":[{"kind":"identifier","spelling":"callback"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 15, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"callback"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV5imageSo11CVBufferRefavp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","image"],"names":{"title":"image","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image data for this sample."},{"text":""},{"text":"Provide image data in the"},{"text":""},{"text":"or"},{"text":""},{"text":"pixel formats. This property is read-only."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV6TargetO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","Target","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService"],"names":{"title":"SynchronizationService","navigator":[{"kind":"identifier","spelling":"SynchronizationService"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationService"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables entity synchronization among a group of local"},{"text":"peers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationService"},{"kind":"text","spelling":" : AnyObject"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationView/offset``. - A range determined by"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV5floorAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","floor"],"names":{"title":"floor","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"floor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for floors."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"floor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Iterator"],"names":{"title":"Entity.ChildCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the collection's iteration interface and"},{"text":"encapsulates its iteration state."},{"text":""},{"text":"By default, a collection conforms to the `Sequence` protocol by"},{"text":"supplying `IndexingIterator` as its associated `Iterator`"},{"text":"type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isPlayingSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isPlaying"],"names":{"title":"isPlaying","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation plays."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV8avPlayerSo8AVPlayerCSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","avPlayer"],"names":{"title":"avPlayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s video playback controller."},{"text":""},{"text":"Use this property to control animation playback for a video texture."},{"text":"This property allows you to play or pause the movie, _seek to_ (in other"},{"text":"words, skip to) a specific part of the movie, or to change the movie’s"},{"text":"playback rate. The following code demonstrates pausing the texture’s"},{"text":"video and restarting it from the beginning of the movie file:"},{"text":""},{"text":"```swift"},{"text":"myMaterial.avPlayer.pause()"},{"text":"myMaterial.avPlayer.seek(to: .zero)"},{"text":"myMaterial.avPlayer.play()"},{"text":"```"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:)"],"names":{"title":"merge(with:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from two other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:)-5crqg``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:)-8d7k7``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":""},{"text":" // Prints: \"1 40 90 2 50 100\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration"],"names":{"title":"PhotogrammetrySession.Configuration","navigator":[{"kind":"identifier","spelling":"Configuration"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Configuration"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The configuration parameters for a photogrammetry session."},{"text":""},{"text":"A ``PhotogrammetrySession/Configuration-swift.struct`` instance may be"},{"text":"passed in to any of the ``PhotogrammetrySession`` initializers to override"},{"text":"its default values."},{"text":""},{"text":"Use the default values in most instances. In some cases, you may improve the quality"},{"text":"of the generated 3D object by specifying different values. If, for example, your"},{"text":"source images have few landmarks or poor contrast, you might set ``PhotogrammetrySession/Configuration-swift.struct/featureSensitivity-swift.property``"},{"text":"to ``PhotogrammetrySession/Configuration-swift.struct/FeatureSensitivity-swift.enum/high``"},{"text":"to compensate for it."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Configuration"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation9TransformV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Transform","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9copyAsync2to17completionHandlerySo10MTLTexture_p_ys5Error_pSgctF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","copyAsync(to:completionHandler:)"],"names":{"title":"copyAsync(to:completionHandler:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copyAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"completionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously copies texture data to another texture."},{"text":""},{"text":"This function is asynchronous. It returns immediately and runs in the background, calling `completionHandler` when it finishes or errors."},{"text":"This method copies all available mipmap sizes to `texture`."},{"text":""},{"text":"Even though `semantic` is an optional, it is recommended that you provide a value. Specifying a semantic for this texture resource enables RealityKit to select an appropriate pixel"},{"text":"format for the target texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: Target texture for copying the data. It must have the same width and height as the TextureResource, and .shaderWrite usage."},{"text":" - completionHandler: A closure called after once copy has completed, with nil error if succeeded."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"texture","declarationFragments":[{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]},{"name":"completionHandler","declarationFragments":[{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": @"},{"kind":"typeIdentifier","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copyAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"completionHandler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" @"},{"kind":"typeIdentifier","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","parent"],"names":{"title":"parent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parent entity."},{"text":""},{"text":"An entity has at most one parent entity. If an entity isn’t part of a"},{"text":"hierarchy, or if it is a root entity, the ``HasHierarchy/parent``"},{"text":"property is `nil`."},{"text":""},{"text":"Use the ``HasHierarchy/setParent(_:preservingWorldTransform:)`` method"},{"text":"to change an entity’s parent. Use the"},{"text":"``HasHierarchy/removeFromParent(preservingWorldTransform:)`` method to"},{"text":"remove the parent. These methods automatically update the corresponding"},{"text":"``HasHierarchy/children`` collections of the new and old parent."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV11faceCullingAA0E14ParameterTypesV04FaceG0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","faceCulling"],"names":{"title":"faceCulling","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A process in which the system specifies polygons to remove before"},{"text":"rendering a scene."},{"text":""},{"text":"To improve performance, RealityKit culls polygons, or faces, that it"},{"text":"determines won’t be visible. Discarding faces that aren’t part of the"},{"text":"final render elimininates the need to do any calculations for those"},{"text":"faces."},{"text":""},{"text":"RealityKit recognizes when a face aims toward the camera (a front face)"},{"text":"or away from the camera (a back face). This value controls the type of"},{"text":"faces RealityKit culls."},{"text":""},{"text":"This value defaults to ``MaterialParameterTypes/FaceCulling/back``,"},{"text":"which means RealityKit removes faces that point away from the camera."},{"text":"Most of the time, this is the correct behavior, because back faces are"},{"text":"usually obscured by other front-facing polygons."},{"text":""},{"text":"You can change the culling behavior to cull front faces instead or to"},{"text":"turn off face culling altogether, but be aware that turning off face"},{"text":"culling results in less efficient rendering and may negatively impact"},{"text":"your app’s frame rate."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV0G0a","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","Iterator"],"names":{"title":"Entity.ChildCollection.IndexingIterator.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD2VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point pairs in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point pairs."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","buffer(size:prefetch:whenFull:)"],"names":{"title":"buffer(size:prefetch:whenFull:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Buffers elements received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/buffer(size:prefetch:whenFull:)`` to collect a specific number of elements from an upstream publisher before republishing them to the downstream subscriber according to the ``Publishers/BufferingStrategy`` and ``Publishers/PrefetchStrategy`` strategy you specify."},{"text":""},{"text":"If the publisher completes before reaching the `size` threshold, it buffers the elements and publishes them downstream prior to completion."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The maximum number of elements to store."},{"text":" - prefetch: The strategy to initially populate the buffer."},{"text":" - whenFull: The action to take when the buffer becomes full."},{"text":"- Returns: A publisher that buffers elements received from an upstream publisher."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"prefetch","declarationFragments":[{"kind":"identifier","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"}]},{"name":"whenFull","declarationFragments":[{"kind":"identifier","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation's rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isStoppedSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isStopped"],"names":{"title":"isStopped","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStopped"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation stopped."},{"text":""},{"text":"This function returns `true` for stopped animations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStopped"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents"],"names":{"title":"AnimationEvents","navigator":[{"kind":"identifier","spelling":"AnimationEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Notable milestones that the framework signals during animation playback."},{"text":""},{"text":"This enumeration defines the playback states that an animated entity can"},{"text":"indicate to an app. To receive notification of a particular event, create a"},{"text":"completion handler:"},{"text":""},{"text":"```swift"},{"text":"private func onAnimationCompleted(_ event:"},{"text":" AnimationEvents.PlaybackCompleted) {"},{"text":" // Define code that runs when the animation completes."},{"text":"}"},{"text":"```"},{"text":""},{"text":"Then, subscribe the handler on the entity for the state of interest:"},{"text":""},{"text":"```swift"},{"text":"// Get an animation."},{"text":"let animationName ="},{"text":"entity.availableAnimations.first!.name!"},{"text":""},{"text":"// Pass the animation to an entity and get a controller."},{"text":"entity.playAnimation(named: animationName, transitionDuration: 0.0)"},{"text":""},{"text":"entitySubscription = view.scene.publisher(for:"},{"text":" AnimationEvents.PlaybackCompleted.self, on: entity)"},{"text":" .sink(receiveValue: onAnimationCompleted)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","Element"],"names":{"title":"Entity.ChildCollection.IndexingIterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8rawValueAGs6UInt64V_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","RawValue"],"names":{"title":"AnchoringComponent.Target.Classification.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","modelDebugOptions"],"names":{"title":"modelDebugOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configures the debug visualization of this model."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest"],"names":{"title":"LoadRequest","navigator":[{"kind":"identifier","spelling":"LoadRequest"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadRequest"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A resource loader that acts as a publisher."}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadRequest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Output"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV8avPlayerACSo8AVPlayerC_tcfc","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","init(avPlayer:)"],"names":{"title":"init(avPlayer:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new video material."},{"text":""},{"text":"To create a video material, first create an"},{"text":""},{"text":"instance initialized with a URL that points to the movie file you want"},{"text":"the video material to play, then pass that to this initializer. The"},{"text":"following code demonstrates this process."},{"text":""},{"text":"```swift"},{"text":"// Create a URL that points to the movie file."},{"text":"if let url = Bundle.main.url(forResource: \"MyMovie\", withExtension: \"mp4\") {"},{"text":""},{"text":" // Create an AVPlayer instance to control playback of that movie."},{"text":" let player = AVPlayer(url: url)"},{"text":""},{"text":" // Instantiate and configure the video material."},{"text":" let material = VideoMaterial(avPlayer: player)"},{"text":""},{"text":" // Configure audio playback mode. This is optional for movie"},{"text":" // files that contain sound."},{"text":" material.controller.audioInputMode = .spatial"},{"text":""},{"text":" // Create a new model entity using the video material."},{"text":" let modelEntity = ModelEntity(mesh: cube, materials: [material])"},{"text":""},{"text":" // Start playing the video."},{"text":" player.play()"},{"text":"}"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- avPlayer: An"},{"text":""},{"text":"instance."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV6TargetO3anyyA2EmF","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","Target","any"],"names":{"title":"BodyTrackingComponent.Target.any","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Any person that is detected in front of the camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV18textureCoordinatesAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/filter(_:)`` operator performs an operation similar to that of in the Swift Standard Library: it uses a closure to test each element to determine whether to republish the element to the downstream subscriber."},{"text":""},{"text":"The following example, uses a filter operation that receives an `Int` and only republishes a value if it’s even."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 4\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value indicating whether to republish the element."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(transform:to:)"],"names":{"title":"convert(transform:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of the entity on which you called this method to the local space"},{"text":"of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","GeometryModifier","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the geometry modifier function."},{"text":""},{"text":"This is the name of the Metal function that the custom material uses"},{"text":"as its geometry modifier. The name must match the name of a Metal"},{"text":"function in your Xcode project without parameters or parentheses."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV19checkpointDirectoryAE0B03URLV_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","init(checkpointDirectory:)"],"names":{"title":"init(checkpointDirectory:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"checkpointDirectory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"checkpointDirectory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","Element"],"names":{"title":"AccessibilityComponent.SupportedActions.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV6TargetO4bodyyAE0B04UUIDV_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","Target","body(identifier:)"],"names":{"title":"BodyTrackingComponent.Target.body(identifier:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A person detected by ARKit."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstIndex(of:)"],"names":{"title":"firstIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `firstIndex(of:)` to find the position of a particular element"},{"text":"in a collection, you can use it to access the element by subscripting."},{"text":"This example shows how you can modify one of the names in an array of"},{"text":"students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\"]"},{"text":" if let i = students.firstIndex(of: \"Maxime\") {"},{"text":" students[i] = \"Max\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The first index where `element` is found. If `element` is not"},{"text":" found in the collection, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8rawValues6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV6TargetO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","Target","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two targets are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first target to compare."},{"text":""},{"text":" - rhs: The second target to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two targets are"},{"text":"equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a color of emitted light from a custom material’s emissive"},{"text":"color property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material emissive color object."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the source animation’s duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationDefinition/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationDefinition/trimStart`` and ``AnimationDefinition/trimEnd``"},{"text":"are `nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationDefinition/duration`` causes the"},{"text":"animation to repeat, applying the characteristics defined by"},{"text":"``AnimationDefinition/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV4meshAA12MeshResourceCvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","mesh"],"names":{"title":"mesh","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The mesh that defines the shape of the entity."},{"text":""},{"text":"For more information, see ``RealityKit/MeshResource``"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAeA0E10ParametersV7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a specified texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The image’s texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(normal:to:)"],"names":{"title":"convert(normal:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, given in the"},{"text":" local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``FromToByAnimation/trimStart``, ``FromToByAnimation/trimEnd``, or"},{"text":"``FromToByAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV10bitangentsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering"],"names":{"title":"PhotogrammetrySession.Configuration.SampleOrdering","navigator":[{"kind":"identifier","spelling":"SampleOrdering"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampleOrdering"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ordering of samples."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampleOrdering"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","setParent(_:preservingWorldTransform:)"],"names":{"title":"setParent(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Attaches the entity as a child to the specified entity."},{"text":""},{"text":"Attaching an entity to a new parent automatically detaches it from its"},{"text":"old parent."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of both the old and new parent"},{"text":"are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- parent: The new parent entity. Use `nil` to detach the entity from its"},{"text":"current parent."},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"parent","declarationFragments":[{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation's rate of playback."},{"text":""},{"text":"The animation applies the value of this property as an irrational factor"},{"text":"of the unaltered speed. For example, a value of `2` plays the animation"},{"text":"twice as fast, a value of `0.5` plays the animation at half speed, and a"},{"text":"value of `1` plays the animation at the unaltered rate."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."},{"text":""},{"text":"The calling process owns the entity if the value is `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance between two indices."},{"text":""},{"text":"Unless the collection conforms to the `BidirectionalCollection` protocol,"},{"text":"`start` must be less than or equal to `end`."},{"text":""},{"text":"- Parameters:"},{"text":" - start: A valid index of the collection."},{"text":" - end: Another valid index of the collection. If `end` is equal to"},{"text":" `start`, the result is zero."},{"text":"- Returns: The distance between `start` and `end`. The result can be"},{"text":" negative only if the collection conforms to the"},{"text":" `BidirectionalCollection` protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the"},{"text":" resulting distance."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6bounds9transformAgA11BoundingBoxV_AA9TransformVtcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","init(bounds:transform:)"],"names":{"title":"init(bounds:transform:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an instance with an optional bounding box and transform."},{"text":""},{"text":"- Parameters:"},{"text":""},{"text":" - bounds: An optional bounding box to specify the size of the generated 3D model."},{"text":" If you don’t pass a value, the initializer sets the bounding box to .empty, which tells"},{"text":" RealityKit to calculate the object’s size."},{"text":""},{"text":" - transform: An optional ``Transform`` that RealityKit applies to the object after it’s"},{"text":" created. Use this to scale, rotate, or move the object before the session publishes the"},{"text":" ``PhotogrammetrySession/Output-swift.enum/requestComplete(_:_:)``"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" = BoundingBox.empty, "},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" = Transform.identity)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV6matrixACSo13simd_float4x4a_tcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(matrix:)"],"names":{"title":"init(matrix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transform represented as a 4x4 matrix."},{"text":""},{"text":"A ``RealityKit/Transform`` component can’t represent every transform that a"},{"text":"general 4x4 matrix can . Using a 4x4 matrix during"},{"text":"initialization might result in certain transformations, such as shear, being lost."},{"text":""},{"text":"- Parameters:"},{"text":" - matrix: A transformation matrix."},{"text":" "}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE13playAnimation_18transitionDuration16blendLayerOffset21separateAnimatedValue12startsPaused5clockAA0E18PlaybackControllerCAA0E8ResourceC_SdSiS2byXlSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:)"],"names":{"title":"playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays an animation with the specified options."},{"text":""},{"text":"Call this method to play an animation and configure playback options."},{"text":"RealityKit supports blending up to two different animation at the same"},{"text":"time. When RealityKit applies multiple animations to an entity, the"},{"text":"order in which it applies the animations affects the final animation."},{"text":"Use the `blendLayerOffset` parameter to specify the order of animations"},{"text":"when playing multiple animations at the same time."},{"text":""},{"text":"- Parameters:"},{"text":" - animation: The animation to play."},{"text":""},{"text":" - transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":" - blendLayerOffset: An integer that specifies the order in which to"},{"text":"apply animations when more than one animation is playing. Valid values"},{"text":"are `0` or `1`."},{"text":""},{"text":" - separateAnimatedValue: A Boolean value that indicates whether the"},{"text":"animation progress resets when the animation finishes."},{"text":""},{"text":" - startsPaused: A Boolean that pauses the progress of an animation when"},{"text":"set to `true`."},{"text":""},{"text":" - clock: An optional clock to drive the animation with a custom"},{"text":"timescale."},{"text":""},{"text":" - Returns: An animation playback controller that you can use to start"},{"text":"and stop the animation."}]},"functionSignature":{"parameters":[{"name":"animation","declarationFragments":[{"kind":"identifier","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"blendLayerOffset","declarationFragments":[{"kind":"identifier","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"separateAnimatedValue","declarationFragments":[{"kind":"identifier","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"clock","declarationFragments":[{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6customAC0C0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","custom"],"names":{"title":"custom","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Custom","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV0C0V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"User-defined properties for the material’s shader functions."},{"text":""},{"text":"Use a ``CustomMaterial/Custom-swift.struct`` object to send custom data"},{"text":"to your shader functions. A custom object can hold a texture or a vector"},{"text":"value, or both. Both the texture and vector value are available in your"},{"text":"shader functions."},{"text":""},{"text":"- Note: Unlike other ``CustomMaterial`` properties, you don’t need to"},{"text":"create a ``CustomMaterial/Custom-swift.struct`` object for your"},{"text":"material. All ``CustomMaterial`` objects have one by default; you just"},{"text":"need to set the ``CustomMaterial/Custom-swift.struct/value`` property,"},{"text":"``CustomMaterial/Custom-swift.struct/texture`` property, or both."},{"text":""},{"text":"The following code demonstrates how to use the custom property to pass a"},{"text":"vector to your shader functions:"},{"text":""},{"text":"```swift"},{"text":"// Specify a custom vector to pass to the shader functions."},{"text":"customMaterial.custom.value = SIMD4(x: 0.25, y: 0.25, z: 0.25, w:"},{"text":"1.0) ```"},{"text":""},{"text":"You can also use it to pass up to four scalar values instead of a"},{"text":"vector:"},{"text":""},{"text":"```swift"},{"text":"let customValue1: Float = 0.25 let customValue2: Float = 0.75"},{"text":"customMaterial.custom.value[0] = customValue1"},{"text":"customMaterial.custoom.value[1] = customValue2 ```"},{"text":""},{"text":"The custom property can also include a texture. The following code"},{"text":"demonstrates how to add a texture to the custom property:"},{"text":""},{"text":"```swift"},{"text":"if let theResource = try? TextureResource.load(named:"},{"text":"\"MyCustomTexture\") {"},{"text":" let myTexture = CustomMaterial.Texture(theResource)"},{"text":" customMaterial.custom.texture = .init(myTexture)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"The following Metal code shows how to retrieve the custom vector in a"},{"text":"shader function:"},{"text":""},{"text":"```other"},{"text":"float4 myCustomVector = params.uniforms().custom_parameter();"},{"text":"```"},{"text":""},{"text":"The following Metal code shows how to retrieve individual values from"},{"text":"the custom vector in your shader functions:"},{"text":""},{"text":"```other"},{"text":"float firstCustomValue ="},{"text":"params.uniforms().custom_parameter()[0]; float secondCustomValue ="},{"text":"params.uniforms().custom_parameter()[1];"},{"text":"```"},{"text":""},{"text":"Here’s how to retrieve the custom texture in your shader functions:"},{"text":""},{"text":"```other"},{"text":"float voronoiColor ="},{"text":"params.textures().custom().sample(textureSampler, UV).r;"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Custom","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV0C0V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8activateAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","activate"],"names":{"title":"activate","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to activate itself."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV15triangleIndicesAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index,"},{"text":"unless that distance is beyond a given limiting index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":"The operation doesn't require going beyond the limiting `s.endIndex`"},{"text":"value, so it succeeds."},{"text":""},{"text":" let s = \"Swift\""},{"text":" if let i = s.index(s.startIndex, offsetBy: 4, limitedBy: s.endIndex) {"},{"text":" print(s[i])"},{"text":" }"},{"text":" // Prints \"t\""},{"text":""},{"text":"The next example attempts to retrieve an index six positions from"},{"text":"`s.startIndex` but fails, because that distance is beyond the index"},{"text":"passed as `limit`."},{"text":""},{"text":" let j = s.index(s.startIndex, offsetBy: 6, limitedBy: s.endIndex)"},{"text":" print(j)"},{"text":" // Prints \"nil\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: An index offset by `distance` from the index `i`, unless that"},{"text":" index would be beyond `limit` in the direction of movement. In that"},{"text":" case, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV7isOwnerSbvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","SubSequence"],"names":{"title":"Entity.ChildCollection.IndexingIterator.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnySequence","preciseIdentifier":"s:s11AnySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4copy2toySo10MTLTexture_p_tKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","copy(to:)"],"names":{"title":"copy(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Copies texture data to another texture."},{"text":""},{"text":"This method blocks until the data is copied. If a ``TextureResource/DrawableQueue`` has been attached"},{"text":"to this resource, this function detaches it. This method copies all available mipmap sizes"},{"text":"to `texture`."},{"text":""},{"text":"Even though `semantic` is an optional, it is recommended that you provide a value. Specifying a semantic for"},{"text":"this texture resource enables RealityKit to select an appropriate pixel format for the target texture."},{"text":""},{"text":"Here is an example of using ``copy(to:)`` to get a texture resource's raw pixel data:"},{"text":"```Swift"},{"text":"let device: MTLDevice = ..."},{"text":"let resource: TextureResource = ..."},{"text":"let descriptor = MTLTextureDescriptor.texture2DDescriptor("},{"text":" pixelFormat: .rgba8Unorm,"},{"text":" width: resource.width, // Must match"},{"text":" height: resource.height, // Must match"},{"text":" mipmapped: false)"},{"text":"descriptor.usage = .shaderWrite // Required for copy"},{"text":""},{"text":"guard let texture = device.makeTexture(descriptor: descriptor)"},{"text":"else { throw ... }"},{"text":"try resource.copy(to: texture)"},{"text":""},{"text":"#if os(OSX) // Managed mode exists only in OSX"},{"text":"if texture.storageMode == .managed {"},{"text":" // Managed textures need to be synchronized before accessing their data"},{"text":" guard let commandBuffer = device.makeCommandQueue()?.makeCommandBuffer(),"},{"text":" let blitEncoder = commandBuffer.makeBlitCommandEncoder()"},{"text":" else { throw ... }"},{"text":""},{"text":" blitEncoder.synchronize(resource: texture)"},{"text":" blitEncoder.endEncoding()"},{"text":" commandBuffer.commit()"},{"text":" commandBuffer.waitUntilCompleted()"},{"text":"}"},{"text":"#endif"},{"text":""},{"text":"// Getting raw pixel bytes"},{"text":"let bytesPerRow = 4 * texture.width"},{"text":"var bytes = [UInt8](repeating: 0, count: texture.height * bytesPerRow)"},{"text":"bytes.withUnsafeMutableBytes { bytesPtr in"},{"text":" texture.getBytes("},{"text":" bytesPtr.baseAddress!,"},{"text":" bytesPerRow: bytesPerRow,"},{"text":" from: .init(origin: .init(), size: .init(width: texture.width, height: texture.height, depth: 1)),"},{"text":" mipmapLevel: 0"},{"text":" )"},{"text":"}"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - texture: Target texture for copying the data. It must have the same width and height as the TextureResource, and .shaderWrite usage."},{"text":""}]},"functionSignature":{"parameters":[{"name":"to","internalName":"texture","declarationFragments":[{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsMotion","physicsMotion"],"names":{"title":"physicsMotion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics motion component used by physics simulations of the model"},{"text":"entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","sink(receiveValue:)"],"names":{"title":"sink(receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior to a publisher that never fails."},{"text":""},{"text":"Use ``Publisher/sink(receiveValue:)`` to observe values received by the publisher and print them to the console. This operator can only be used when the stream doesn’t fail, that is, when the publisher’s ``Publisher/Failure`` type is ."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveValue:)`` operator’s"},{"text":"`receiveValue` closure that prints them to the console:"},{"text":""},{"text":" let integers = (0...3)"},{"text":" integers.publisher"},{"text":" .sink { print(\"Received \\($0)\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Received 0"},{"text":" // Received 1"},{"text":" // Received 2"},{"text":" // Received 3"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect(_:options:)"],"names":{"title":"collect(_:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects elements by a given time-grouping strategy, and emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:options:)`` to emit arrays of elements on a schedule specified by a ``Scheduler`` and `Stride` that you provide. At the end of each scheduled interval, the publisher sends an array that contains the items it collected. If the upstream publisher finishes before filling the buffer, the publisher sends an array that contains items it received. This may be fewer than the number of elements specified in the requested `Stride`."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"The example above collects timestamps generated on a one-second in groups (`Stride`) of five."},{"text":""},{"text":" let sub = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .collect(.byTime(RunLoop.main, .seconds(5)))"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\\n\") }"},{"text":""},{"text":" // Prints: \"[2020-01-24 00:54:46 +0000, 2020-01-24 00:54:47 +0000,"},{"text":" // 2020-01-24 00:54:48 +0000, 2020-01-24 00:54:49 +0000,"},{"text":" // 2020-01-24 00:54:50 +0000]\""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - strategy: The timing group strategy used by the operator to collect and publish elements."},{"text":" - options: Scheduler options to use for the strategy."},{"text":"- Returns: A publisher that collects elements by a given strategy, and emits a single array of the collection."}]},"functionSignature":{"parameters":[{"name":"strategy","declarationFragments":[{"kind":"identifier","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV6shapes7density8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(shapes:density:material:mode:)"],"names":{"title":"init(shapes:density:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component deriving mass properties from shape and"},{"text":"density."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The shape for which to estimate the mass, rotational inertia,"},{"text":"and center of mass."},{"text":""},{"text":" - density: The density of the object in kilograms per cubic meter."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":" - mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","children"],"names":{"title":"children","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The child entities that the entity manages."},{"text":""},{"text":"An entity can have any number of child entities."},{"text":""},{"text":"Use the ``HasHierarchy/addChild(_:preservingWorldTransform:)`` method to"},{"text":"add a child to an entity. Use the"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` method to"},{"text":"remove one from an entity. These methods automatically update the"},{"text":"``HasHierarchy/parent`` properties of the child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15HasBodyTrackingPAAE04bodyE0AA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","interfaceLanguage":"swift"},"pathComponents":["BodyTrackedEntity","bodyTracking"],"names":{"title":"bodyTracking","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bodyTracking"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The body-tracking component for the body-tracked entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bodyTracking"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"HasBodyTracking is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation2aaoiyAA14QueryPredicateVyxGAE_AEtlF","interfaceLanguage":"swift"},"pathComponents":["&&(_:_:)"],"names":{"title":"&&(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `left` AND `right` evaluate to `true`."}]},"functionSignature":{"parameters":[{"name":"left","declarationFragments":[{"kind":"identifier","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},{"name":"right","declarationFragments":[{"kind":"identifier","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"internalParam","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV_4name10isAdditive10bindTarget10blendLayer10repeatMode04fillN09trimStart0P3End0P8Duration6offset5delay5speedACyxGAA0cD4Node_p_SSSbAA04BindJ0OSgs5Int32VAA0e6RepeatN0OAA0e4FillN0VSdSgA_A_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","init(_:name:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(_:name:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a unique animation from a combination of other animations in the"},{"text":"form of a tree."},{"text":""},{"text":"- Parameters:"},{"text":" - root: The first node in a tree of animations."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The behavior when the animated property reaches its end"},{"text":"value."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the source"},{"text":"animation plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the source animation"},{"text":"stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(direction:to:)"],"names":{"title":"convert(direction:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of the entity on which"},{"text":"you called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform of an entity relative to its parent."},{"text":""},{"text":"For an ``AnchorEntity`` instance, the transform is relative to the AR"},{"text":"anchor."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryFilter(_:)"],"names":{"title":"tryFilter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryFilter(_:)`` to filter elements evaluated in an error-throwing closure. If the `isIncluded` closure throws an error, the publisher fails with that error."},{"text":""},{"text":"In the example below, ``Publisher/tryFilter(_:)`` checks to see if the element provided by the publisher is zero, and throws a `ZeroError` before terminating the publisher with the thrown error. Otherwise, it republishes the element only if it's even:"},{"text":""},{"text":" struct ZeroError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"2 4 failure(DivisionByZeroError())\"."},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value that indicated whether to republish the element or throws an error."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV5tableAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","table"],"names":{"title":"table","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"table"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for tables."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"table"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV4next7ElementQzSgyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormat5width6height5usage11mipmapsModeAGSo08MTLPixelI0V_S2iSo15MTLTextureUsageVAC07MipmapsN0Otcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","init(pixelFormat:width:height:usage:mipmapsMode:)"],"names":{"title":"init(pixelFormat:width:height:usage:mipmapsMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9inputModeAC05InputF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AudioResource","inputMode"],"names":{"title":"inputMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The input mode used by an audio resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO6boundsyAeA11BoundingBoxVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","bounds(_:)"],"names":{"title":"PhotogrammetrySession.Result.bounds(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of a request for a bounding box."},{"text":""},{"text":"- Parameters:"},{"text":" - BoundingBox: The bounds of the created object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the animated property."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity"],"names":{"title":"ModelEntity","navigator":[{"kind":"identifier","spelling":"ModelEntity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a physical object that RealityKit renders and optionally"},{"text":"simulates."},{"text":""},{"text":"Use one or more model entities to place physical objects in a scene. In"},{"text":"addition to the components they inherit from the ``Entity`` class, model"},{"text":"entities have geometry, described by their ``ModelComponent``. Model"},{"text":"entities acquire the model component by conforming to the ``HasModel``"},{"text":"protocol. You specify meshes and materials to control how a model entity"},{"text":"appears."},{"text":""},{"text":"![Diagram showing the components present in the model"},{"text":"entity.](ModelEntity-1)"},{"text":""},{"text":"Models respond to physics simulations because they conform to the"},{"text":"``HasPhysics`` protocol. You give them mass and other physical properties"},{"text":"with a ``PhysicsBodyComponent`` instance, and then apply forces or impulses."},{"text":"The simulator uses a ``PhysicsMotionComponent`` to manage the linear and"},{"text":"angular velocity of the object. Alternatively, you can selectively"},{"text":"circumvent the simulation to control position and velocity yourself. Do this"},{"text":"for a given model by setting its physics body ``PhysicsBodyComponent/mode``"},{"text":"to ``PhysicsBodyMode/kinematic``."},{"text":""},{"text":"Models can also collide with one another, and with other entities that"},{"text":"conform to the ``HasCollision`` protocol. The ``CollisionComponent``"},{"text":"provides parameters that let you manage which models collide with each"},{"text":"other. It also lets you control the collision shape, which for performance"},{"text":"reasons, is typically simpler than the visual geometry."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":""},{"text":" let s = \"Swift\""},{"text":" let i = s.index(s.startIndex, offsetBy: 4)"},{"text":" print(s[i])"},{"text":" // Prints \"t\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":"- Returns: An index offset by `distance` from the index `i`. If"},{"text":" `distance` is positive, this is the same value as the result of"},{"text":" `distance` calls to `index(after:)`. If `distance` is negative, this"},{"text":" is the same value as the result of `abs(distance)` calls to"},{"text":" `index(before:)`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","mapError(_:)"],"names":{"title":"mapError(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Converts any failure from the upstream publisher into a new error."},{"text":""},{"text":"Use the ``Publisher/mapError(_:)`` operator when you need to replace one error type with another, or where a downstream operator needs the error types of its inputs to match."},{"text":""},{"text":"The following example uses a ``Publisher/tryMap(_:)`` operator to divide `1` by each element produced by a sequence publisher. When the publisher produces a `0`, the ``Publisher/tryMap(_:)`` fails with a"},{"text":"`DivisionByZeroError`. The ``Publisher/mapError(_:)`` operator converts this into a `MyGenericError`."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" struct MyGenericError: Error { var wrappedError: Error }"},{"text":""},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" let divisors: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" divisors.publisher"},{"text":" .tryMap { try myDivide(1, $0) }"},{"text":" .mapError { MyGenericError(wrappedError: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") ,"},{"text":" receiveValue: { print (\"value: \\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0.2 0.25 0.3333333333333333 0.5 1.0 completion: failure(MyGenericError(wrappedError: DivisionByZeroError()))\""},{"text":""},{"text":"- Parameter transform: A closure that takes the upstream failure as a parameter and returns a new error for the publisher to terminate with."},{"text":"- Returns: A publisher that replaces any upstream failure with a new error produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC6results6ResultOyxs5Error_pGSgvp","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","result"],"names":{"title":"result","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"result"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:s6ResultO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of the load operation."},{"text":""},{"text":"A load operation can have the following results:"},{"text":"- `success(Output)` ... The load operation has completed successfully."},{"text":"- `failure(Error)` ... The load operation failed."},{"text":"- `nil` ... The load operation is still in progress."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"result"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:s6ResultO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationDefinition/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO11modelEntityyAeA05ModelG0CcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","modelEntity(_:)"],"names":{"title":"PhotogrammetrySession.Result.modelEntity(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of a request for an in-memory entity."},{"text":""},{"text":"- Parameters:"},{"text":" - ModelEntity: The created object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offset5scale8rotationAEs5SIMD2VySfG_AKSftcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","init(offset:scale:rotation:)"],"names":{"title":"init(offset:scale:rotation:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a texture coordinate transform object."},{"text":""},{"text":"- Parameters:"},{"text":" - offset: The amount to offset the UV texture coordinates."},{"text":""},{"text":" - scale: The amount to scale the UV texture coordinates."},{"text":""},{"text":"- rotation: The amount to rotate the UV texture coordinates in"},{"text":"radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(), "},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(1, 1), "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationVAEycfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a configuration using default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD3VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point triplets in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point triplets."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","RawValue"],"names":{"title":"AccessibilityComponent.SupportedActions.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO9modelFileyAE0B03URLVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","modelFile(_:)"],"names":{"title":"PhotogrammetrySession.Result.modelFile(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelFile"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of a request for a USDZ file."},{"text":""},{"text":"- Parameters:"},{"text":" - URL: A file URL pointing to the created USDZ file."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelFile"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component with default settings."},{"text":""},{"text":"For the default settings used in a new physics body component, see the"},{"text":"discussions of the component’s individual properties."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO","interfaceLanguage":"swift"},"pathComponents":["SceneEvents"],"names":{"title":"SceneEvents","navigator":[{"kind":"identifier","spelling":"SceneEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events the scene triggers."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV2IDa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","ID"],"names":{"title":"PhotogrammetrySample.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of specular for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueSivp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity"],"names":{"title":"PhotogrammetrySession.Configuration.FeatureSensitivity","navigator":[{"kind":"identifier","spelling":"FeatureSensitivity"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FeatureSensitivity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The sensitivity to sample landmarks."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FeatureSensitivity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE24characterControllerStateAA09CharactereF9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","characterControllerState"],"names":{"title":"characterControllerState","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterControllerState"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerStateComponent","preciseIdentifier":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character controller state for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterControllerState"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerStateComponent","preciseIdentifier":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animations repeat."},{"text":""},{"text":"If you call ``FromToByAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationGroup/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV10identifiers6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","identifier"],"names":{"title":"identifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A unique identifier of an entity within a network session."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV14massProperties8material4modeAcA0c4MassG0V_AA0C16MaterialResourceCSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(massProperties:material:mode:)"],"names":{"title":"init(massProperties:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component with the given mass properties,"},{"text":"material, and mode."},{"text":""},{"text":"- Parameters:"},{"text":" - massProperties: The mass properties, like inertia."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":"- mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":" = .default, "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the predicate closure."},{"text":""},{"text":"Use ``Publisher/contains(where:)`` to find the first element in an upstream that satisfies the closure you provide. This operator consumes elements produced from the upstream publisher until the upstream publisher produces a matching element."},{"text":""},{"text":"This operator is useful when the upstream publisher produces elements that don’t conform to `Equatable`."},{"text":""},{"text":"In the example below, the ``Publisher/contains(where:)`` operator tests elements against the supplied closure and emits `true` for the first elements that’s greater than `4`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains {$0 > 4}"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","decode(type:decoder:)"],"names":{"title":"decode(type:decoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Decodes the output from the upstream using a specified decoder."},{"text":""},{"text":"Use ``Publisher/decode(type:decoder:)`` with a (or a for property lists) to decode data received from a or other data source using the protocol."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes a JSON string. The JSON decoder parses the string, converting its fields according to the protocol implemented by `Article`, and successfully populating a new `Article`. The ``Publishers/Decode`` publisher then publishes the `Article` to the downstream. If a decoding operation fails, which happens in the case of missing or malformed data in the source JSON string, the stream terminates and passes the error to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" cancellable = dataProvider"},{"text":" .decode(type: Article.self, decoder: JSONDecoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\")},"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" dataProvider.send(Data(\"{\\\"pubDate\\\":1574273638.575666, \\\"title\\\" : \\\"My First Article\\\", \\\"author\\\" : \\\"Gita Kumar\\\" }\".utf8))"},{"text":""},{"text":" // Prints: \".sink() data received Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: 2050-11-20 18:13:58 +0000)\""},{"text":""},{"text":"- Parameters:"},{"text":" - type: The encoded data to decode into a struct that conforms to the protocol."},{"text":" - decoder: A decoder that implements the ``TopLevelDecoder`` protocol."},{"text":"- Returns: A publisher that decodes a given type using a specified decoder and publishes the result."}]},"functionSignature":{"parameters":[{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type"}]},{"name":"decoder","declarationFragments":[{"kind":"identifier","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Item","index":0,"depth":1},{"name":"Coder","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Item","rhs":"Decodable","rhsPrecise":"s:Se"},{"kind":"conformance","lhs":"Coder","rhs":"TopLevelDecoder","rhsPrecise":"s:7Combine15TopLevelDecoderP"},{"kind":"sameType","lhs":"Self.Output","rhs":"Coder.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Decodable","preciseIdentifier":"s:Se"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelDecoder","preciseIdentifier":"s:7Combine15TopLevelDecoderP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV2idSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Unique identifier for the sample."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(position:to:)"],"names":{"title":"convert(position:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV7ceilingAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","ceiling"],"names":{"title":"ceiling","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ceiling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for ceilings."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ceiling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Transform","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE7isValidSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isValid"],"names":{"title":"isValid","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isValid"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation controller is"},{"text":"functional."},{"text":""},{"text":"This function returns `false` for stopped animations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isValid"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueAESi_tcfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE21defaultAnimationClockyXlvp","interfaceLanguage":"swift"},"pathComponents":["Entity","defaultAnimationClock"],"names":{"title":"defaultAnimationClock","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultAnimationClock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the default animation clock for this entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultAnimationClock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","debugModel"],"names":{"title":"debugModel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"modelDebugOptions","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","withUnsynchronized(_:)"],"names":{"title":"withUnsynchronized(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"(() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calls the given closure in a way such that component changes that the"},{"text":"closure makes don’t trigger synchronization."},{"text":""},{"text":"Use this method to make local changes that don’t affect remote peers,"},{"text":"like aligning a billboard component to face the local camera."},{"text":""},{"text":"Using this method doesn’t permanently prevent changes from being"},{"text":"synchronized. If you modify the same components immediately before the"},{"text":"call to ``HasSynchronization/withUnsynchronized(_:)``, or anytime"},{"text":"afterward, the changes are synchronized."},{"text":""},{"text":"If the local peer doesn’t own the associated entity, changes that the"},{"text":"remote owner makes continue to synchronize, overwriting local,"},{"text":"unsynchronized changes."},{"text":""},{"text":"- Parameters:"},{"text":"- changes: A closure that the method calls while suppressing"},{"text":"synchronization triggers."}]},"functionSignature":{"parameters":[{"name":"changes","declarationFragments":[{"kind":"identifier","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this instance."},{"text":""},{"text":"Calling this property directly is discouraged. Instead, convert an"},{"text":"instance of any type to a string by using the `String(describing:)`"},{"text":"initializer. This initializer works with any type, and uses the custom"},{"text":"`description` property for types that conform to"},{"text":"`CustomStringConvertible`:"},{"text":""},{"text":" struct Point: CustomStringConvertible {"},{"text":" let x: Int, y: Int"},{"text":""},{"text":" var description: String {"},{"text":" return \"(\\(x), \\(y))\""},{"text":" }"},{"text":" }"},{"text":""},{"text":" let p = Point(x: 21, y: 30)"},{"text":" let s = String(describing: p)"},{"text":" print(s)"},{"text":" // Prints \"(21, 30)\""},{"text":""},{"text":"The conversion of `p` to a string in the assignment to `s` uses the"},{"text":"`Point` type's `description` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from five other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 2 50 100 -2 33 33\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and invokes a closure upon receiving output from either publisher."},{"text":""},{"text":"Use `combineLatest(_:)` to combine the current and one additional publisher and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by the two publishers, it multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2) { (first, second) in"},{"text":" return first * second"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(9)"},{"text":" pub1.send(3)"},{"text":" pub2.send(12)"},{"text":" pub1.send(13)"},{"text":" //"},{"text":" // Prints:"},{"text":" //Result: 4. (pub1 latest = 2, pub2 latest = 2)"},{"text":" //Result: 18. (pub1 latest = 9, pub2 latest = 2)"},{"text":" //Result: 6. (pub1 latest = 3, pub2 latest = 2)"},{"text":" //Result: 36. (pub1 latest = 3, pub2 latest = 12)"},{"text":" //Result: 156. (pub1 latest = 13, pub2 latest = 12)"},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher to combine with this one."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode"],"names":{"title":"TextureResource.MipmapsMode","navigator":[{"kind":"identifier","spelling":"MipmapsMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MipmapsMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An enumeration used to specify how mipmaps are allocated and generated"},{"text":"for this texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MipmapsMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV4name4from2to2by8duration6timing10isAdditive10bindTarget10blendLayer10repeatMode04fillT09trimStart0V3End0V8Duration6offset5delay5speedACyxGSS_xSgA2VSdAA0F14TimingFunctionVSbAA04BindP0OSgs5Int32VAA0f6RepeatT0OAA0f4FillT0VSdSgA6_A6_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two values for a property"},{"text":"of the target entity."},{"text":""},{"text":"- Parameters:"},{"text":" - name: A unique name for the animation."},{"text":""},{"text":" - from: The state of the animated property before the animation starts."},{"text":""},{"text":" - to: The state of the animated property after the animation ends."},{"text":""},{"text":" - by: An amount that increments the animated property during the"},{"text":"animation."},{"text":""},{"text":" - duration: The total playback time."},{"text":""},{"text":" - timing: An option that determines the animation’s pace over time."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"blends additively with concurrent animations."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The time, in seconds, at which the animation plays."},{"text":""},{"text":" - trimEnd: The time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO9trianglesyAESays6UInt32VGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","triangles(_:)"],"names":{"title":"MeshDescriptor.Primitives.triangles(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangles"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All triangles given by indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangles"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6normalAC6NormalVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The normal map for the entity."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures fine"},{"text":"surface details for a model using a texture instead of increasing the"},{"text":"number of polygons in the model. It works by storing _surface normals_,"},{"text":"which are vectors perpendicular to the surface of the model, from a much"},{"text":"higher resolution version of the same 3D object. A normal map stores"},{"text":"each vector in the image by storing the vectors’ `X`, `Y`, and `Z`"},{"text":"values as the `R`, `G`, and `B` components of the corresponding pixel in"},{"text":"the UV-mapped image."},{"text":""},{"text":"If you provide a normal map, RealityKit uses the normals stored in the"},{"text":"image to do lighting calculations. This results in much more realistic"},{"text":"highlights, shadows, and reflections without incurring the computational"},{"text":"cost of using a much higher resolution 3D model. RealityKit uses"},{"text":"tangent-space normal maps."},{"text":""},{"text":"The following code loads a normal map texture and uses it to set this"},{"text":"property:"},{"text":""},{"text":"```swift"},{"text":"if let normalResource = try? TextureResource.load(named:"},{"text":"\"entity_normals\") {"},{"text":" let normalMap = MaterialParameters.Texture(normalResource)"},{"text":" material.normal = PhysicallyBasedMaterial.Normal(texture:normalMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","addChild(_:preservingWorldTransform:)"],"names":{"title":"addChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the given entity to the collection of child entities."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/addChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP6entity3forAA6EntityCSgs6UInt64V_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","entity(for:)"],"names":{"title":"entity(for:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the entity with the given identifier."},{"text":""},{"text":"- Parameters:"},{"text":" - identifier: The identifier."},{"text":""},{"text":"- Returns: The entity with the corresponding identifier."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"identifier","declarationFragments":[{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC7replace13withDrawablesyAC13DrawableQueueC_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replace(withDrawables:)"],"names":{"title":"replace(withDrawables:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withDrawables"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Dynamically replaces the texture with a drawable queue."}]},"functionSignature":{"parameters":[{"name":"withDrawables","internalName":"drawableQueue","declarationFragments":[{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withDrawables"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryContains(where:)"],"names":{"title":"tryContains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the throwing predicate closure."},{"text":""},{"text":"Use ``Publisher/tryContains(where:)`` to find the first element in an upstream that satisfies the error-throwing closure you provide."},{"text":""},{"text":"This operator consumes elements produced from the upstream publisher until the upstream publisher either:"},{"text":""},{"text":"- Produces a matching element, after which it emits `true` and the publisher finishes normally."},{"text":"- Emits `false` if no matching element is found and the publisher finishes normally."},{"text":""},{"text":"If the predicate throws an error, the publisher fails, passing the error to its downstream."},{"text":""},{"text":"In the example below, the ``Publisher/tryContains(where:)`` operator tests values to find an element less than `10`; when the closure finds an odd number, like `3`, the publisher terminates with an `IllegalValueError`."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers = [3, 2, 10, 5, 0, 9]"},{"text":" numbers.publisher"},{"text":" .tryContains {"},{"text":" if ($0 % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return $0 < 10"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV6centers5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","center"],"names":{"title":"center","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"center"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The center of the bounding box."},{"text":""},{"text":"This value is (0, 0, 0) if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"center"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(transform:from:)"],"names":{"title":"convert(transform:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of a reference entity to the local space of the entity on which"},{"text":"you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture parameter."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasPointLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A point light component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of specular as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP10Identifiera","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","Identifier"],"names":{"title":"SynchronizationService.Identifier","navigator":[{"kind":"identifier","spelling":"Identifier"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a synchronization service identifier."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAeA0E10ParametersV7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from an image texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The ambient occlusion texture map."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO5posesyAeC5PosesVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","poses(_:)"],"names":{"title":"PhotogrammetrySession.Result.poses(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"poses"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Poses","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Once initial photogrammetric calculations are complete, a data structure mapping each sample ID"},{"text":"(or index if a folder was used) to the 6DOF algorithmically estimated pose of that sample is returned."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"poses"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Poses","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation13HasPointLightP","interfaceLanguage":"swift"},"pathComponents":["HasPointLight"],"names":{"title":"HasPointLight","navigator":[{"kind":"identifier","spelling":"HasPointLight"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPointLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that defines a point light source component."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPointLight"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6remove2at24preservingWorldTransformySi_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","remove(at:preservingWorldTransform:)"],"names":{"title":"remove(at:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified child from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - index: The index of the child entity to remove from the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation2oooiyAA14QueryPredicateVyxGAE_AEtlF","interfaceLanguage":"swift"},"pathComponents":["||(_:_:)"],"names":{"title":"||(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"||"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `left` OR `right` evaluates to `true`."}]},"functionSignature":{"parameters":[{"name":"left","declarationFragments":[{"kind":"identifier","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},{"name":"right","declarationFragments":[{"kind":"identifier","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"||"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"internalParam","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","removeDuplicates(by:)"],"names":{"title":"removeDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided closure."},{"text":""},{"text":"Use ``Publisher/removeDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of the current and previously published elements using a closure you provide."},{"text":""},{"text":"Use the ``Publisher/removeDuplicates(by:)`` operator when comparing types that don’t themselves implement `Equatable`, or if you need to compare values differently than the type’s `Equatable` implementation."},{"text":""},{"text":"In the example below, the ``Publisher/removeDuplicates(by:)`` functionality triggers when the `x` property of the current and previous elements are equal, otherwise the operator publishes the current `Point` to the downstream subscriber:"},{"text":""},{"text":" struct Point {"},{"text":" let x: Int"},{"text":" let y: Int"},{"text":" }"},{"text":""},{"text":" let points = [Point(x: 0, y: 0), Point(x: 0, y: 1),"},{"text":" Point(x: 1, y: 1), Point(x: 2, y: 1)]"},{"text":" cancellable = points.publisher"},{"text":" .removeDuplicates { prev, current in"},{"text":" // Considers points to be duplicate if the x coordinate"},{"text":" // is equal, and ignores the y coordinate"},{"text":" prev.x == current.x"},{"text":" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: Point(x: 0, y: 0) Point(x: 1, y: 1) Point(x: 2, y: 1)"},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV8rotationSfvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","rotation"],"names":{"title":"rotation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework rotates the UV texture coordinates"},{"text":"you specify in radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV7inertias5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","inertia"],"names":{"title":"inertia","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The inertia in kilograms per square meter."},{"text":""},{"text":"The vector contains the diagonal elements of the diagonalized inertia"},{"text":"matrix."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationPeerIDP","interfaceLanguage":"swift"},"pathComponents":["SynchronizationPeerID"],"names":{"title":"SynchronizationPeerID","navigator":[{"kind":"identifier","spelling":"SynchronizationPeerID"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationPeerID"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a peer among a group of networked devices."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationPeerID"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue"],"names":{"title":"TextureResource.DrawableQueue","navigator":[{"kind":"identifier","spelling":"DrawableQueue"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DrawableQueue"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A drawable queue that may be used to update a texture resource dynamically"}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DrawableQueue"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV16isRealWorldProxySbvp","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","isRealWorldProxy"],"names":{"title":"isRealWorldProxy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRealWorldProxy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that you use to control whether the directional light operates"},{"text":"as a proxy for a real-world light."},{"text":""},{"text":"Set the value to `true` when you want the light to cast shadows on"},{"text":"virtual content without illuminating anything in the scene. You can use"},{"text":"this to create shadows on occlusion materials that accept dynamic"},{"text":"lighting."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRealWorldProxy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(normal:from:)"],"names":{"title":"convert(normal:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of a reference entity to"},{"text":"the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, specified"},{"text":"relative to specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","removeChild(_:preservingWorldTransform:)"],"names":{"title":"removeChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the given child from the entity."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``AnimationDefinition/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationDefinition/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount that an animation impacts the entity it applies to."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","removeFromParent(preservingWorldTransform:)"],"names":{"title":"removeFromParent(preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from its current parent or from the scene if it is a"},{"text":"root entity."},{"text":""},{"text":"This method behaves like the"},{"text":"``HasHierarchy/setParent(_:preservingWorldTransform:)`` method with a"},{"text":"value of `nil` for the `parent` parameter, except that method has no"},{"text":"effect on root entities. A root entity is one that is stored in a"},{"text":"scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of any modified parent"},{"text":"entities are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom clearcoat object from a physically based material’s"},{"text":"clearcoat property."},{"text":""},{"text":"This initializer creates an object by copying the scale and texture"},{"text":"values from the ``PhysicallyBasedMaterial/clearcoat-swift.property``"},{"text":"property of a ``PhysicallyBasedMaterial``."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The copied values for"},{"text":"``CustomMaterial/Clearcoat-swift.struct/scale`` and"},{"text":"``CustomMaterial/Clearcoat-swift.struct/texture`` are available in"},{"text":"the material’s surface shader function, regardless of the material’s"},{"text":"lighting model; however RealityKit only renders a clearcoat when"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"material’s surface shader function calls"},{"text":"`params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the clearcoat"},{"text":"`scale` and `texture` values in a surface shader, and use them to"},{"text":"calculate the final clearcoat value for rendering:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the base color tint from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":""},{"text":" // Retrieve the entity's primary texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from a USDZ of .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the clearcoat texture to get the value UV-mapped to this pixel."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture, and assign it"},{"text":" // to the shader's base color property."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The ``PhysicallyBasedMaterial/clearcoat-swift.property``"},{"text":"property from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations begin within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``AnimationGroup/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP5owner2ofAA0C6PeerID_pSgAA6EntityC_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","owner(of:)"],"names":{"title":"owner(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"owner"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the device that owns a given entity, if any."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity for which you want the owner."},{"text":""},{"text":"- Returns: The networked device that owns the entity. The value is `nil`"},{"text":"if the entity isn’t synchronized or is owned locally."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"owner"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO17trianglesAndQuadsyAESays6UInt32VG_AItcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","trianglesAndQuads(triangles:quads:)"],"names":{"title":"MeshDescriptor.Primitives.trianglesAndQuads(triangles:quads:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trianglesAndQuads"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"triangles"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"quads"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A combination of triangles and quads."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trianglesAndQuads"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"triangles"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"quads"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9decrementAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","decrement"],"names":{"title":"decrement","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decrement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to decrement the value of its content."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decrement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE19characterControllerAA09CharacterE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","characterController"],"names":{"title":"characterController","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character controller component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a body-tracking component."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll12keepCapacity25preservingWorldTransformsySb_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","removeAll(keepCapacity:preservingWorldTransforms:)"],"names":{"title":"removeAll(keepCapacity:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - keepCapacity: `true` to keep the memory reserved for storing the children."},{"text":" `false` to free the reserved memory."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"keepCapacity","declarationFragments":[{"kind":"identifier","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV12boundsMarginSfvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","boundsMargin"],"names":{"title":"boundsMargin","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundsMargin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A margin applied to an entity’s bounding box that determines object"},{"text":"visibility."},{"text":""},{"text":"When determining which entities are currently visible, RealityKit tests"},{"text":"each entity’s bounding box to see if it overlaps with the camera’s field"},{"text":"of view (also known as the camera’s _frustum_). For efficiency, entities"},{"text":"with a bounding box that don’t overlap the camera’s frustum aren’t"},{"text":"rendered. Use this property to prevent RealityKit from incorrectly"},{"text":"culling entities that use a ``CustomMaterial`` with a geometry modifier"},{"text":"that moves vertices outside of the entity’s bounding box."},{"text":""},{"text":"RealityKit adds the value of `boundsMargin` to the bounding box before"},{"text":"determining which entities are visible."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundsMargin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(direction:from:)"],"names":{"title":"convert(direction:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of a reference entity"},{"text":"to the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector specified relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV7cgColor9intensity17attenuationRadiusACSo10CGColorRefa_S2ftcfc","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","init(cgColor:intensity:attenuationRadius:)"],"names":{"title":"init(cgColor:intensity:attenuationRadius:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"cgColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new instance with the specified color, intensity and attenuation."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"cgColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 26963.76, "},{"kind":"externalParam","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 10.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO10pointCloudyAeC05PointG0VcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","pointCloud(_:)"],"names":{"title":"PhotogrammetrySession.Result.pointCloud(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloud"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PointCloud","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of a request for a point cloud."},{"text":""},{"text":"- Parameters:"},{"text":" - PointCloud: The created point cloud."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloud"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PointCloud","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV19checkpointDirectory0B03URLVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","checkpointDirectory"],"names":{"title":"checkpointDirectory","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"checkpointDirectory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"For macOS reconstruction, the checkpoint directory is used as a temporary reconstruction space if it is not nil."},{"text":"Reconstruction always starts from scratch, there is no resuming."},{"text":""},{"text":"For iOS reconstruction, if the same checkpoint directory used by ObjectCaptureSession or a previous"},{"text":"interrupted PhotogrammetrySession is passed in, PhotogrammetrySession will try to use the previously"},{"text":"saved checkpoint for this reconstruction rather than starting from scratch on the images."},{"text":"A `checkpointDirectory` should be unique for each images folder."},{"text":""},{"text":"If set to an empty folder, the `checkpointDirectory` will be used to save checkpoints during processing to be"},{"text":"reused in a subsequent restart. If it is nil, no checkpoints will be used or saved and every reconstruction"},{"text":"will start from scratch on the images folder."},{"text":""},{"text":"If `checkpointDirectory` is set but a found checkpoint is not compatible with the image folder or"},{"text":"other configuration settings, the session will also start from scratch and write new checkpoints into this"},{"text":"folder."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"checkpointDirectory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties"],"names":{"title":"PhysicsMassProperties","navigator":[{"kind":"identifier","spelling":"PhysicsMassProperties"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMassProperties"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mass properties of a physics body."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMassProperties"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO8polygonsyAESays5UInt8VG_Says6UInt32VGtcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","polygons(_:_:)"],"names":{"title":"MeshDescriptor.Primitives.polygons(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"polygons"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":"], ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Polygons given by counts and indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"polygons"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":"], ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents"],"names":{"title":"ComponentEvents","navigator":[{"kind":"identifier","spelling":"ComponentEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides the events related to components."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt16","preciseIdentifier":"s:s6UInt16V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentVyA2C6TargetOcfc","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a body-tracking component for the given target."},{"text":""},{"text":"- Parameters:"},{"text":" - target: An indication of the person to track."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of all the joints in the model entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","FloatLiteralType"],"names":{"title":"CustomMaterial.Clearcoat.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","sink(receiveCompletion:receiveValue:)"],"names":{"title":"sink(receiveCompletion:receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior."},{"text":""},{"text":"Use ``Publisher/sink(receiveCompletion:receiveValue:)`` to observe values received by the publisher and process them using a closure you specify."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveValue` closure that prints them to the console. Upon completion the ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveCompletion` closure indicates the successful termination of the stream."},{"text":""},{"text":" let myRange = (0...3)"},{"text":" cancellable = myRange.publisher"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" // Prints:"},{"text":" // value: 0"},{"text":" // value: 1"},{"text":" // value: 2"},{"text":" // value: 3"},{"text":" // completion: finished"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveComplete: The closure to execute on completion."},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryRemoveDuplicates(by:)"],"names":{"title":"tryRemoveDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryRemoveDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of elements using an error-throwing closure you provide. If your closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, the closure provided to ``Publisher/tryRemoveDuplicates(by:)`` returns `true` when two consecutive elements are equal, thereby filtering out `0`,"},{"text":"`1`, `2`, and `3`. However, the closure throws an error when it encounters `4`. The publisher then terminates with this error."},{"text":""},{"text":" struct BadValuesError: Error {}"},{"text":" let numbers = [0, 0, 0, 0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryRemoveDuplicates { first, second -> Bool in"},{"text":" if (first == 4 && second == 4) {"},{"text":" throw BadValuesError()"},{"text":" }"},{"text":" return first == second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 failure(BadValuesError()\""},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first. If this closure throws an error, the publisher terminates with the thrown error."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9incrementAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","increment"],"names":{"title":"increment","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increment"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to increment the value of its content."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increment"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource"],"names":{"title":"PhysicsMaterialResource","navigator":[{"kind":"identifier","spelling":"PhysicsMaterialResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMaterialResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material properties, like friction, of a physically simulated object."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMaterialResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two physics body components are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first physics body component to compare."},{"text":""},{"text":" - rhs: The second physics body component to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two physics body"},{"text":"components are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO4faceyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","face"],"names":{"title":"MeshBuffers.Rate.face","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the face rate. The buffer count must match the number of polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE17teleportCharacter2to10relativeToys5SIMD3VySfG_ACSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","teleportCharacter(to:relativeTo:)"],"names":{"title":"teleportCharacter(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"teleportCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves the character instantly to a new position."},{"text":""},{"text":"This method moves the character to a location specified relative to another entity. Pass `nil` in"},{"text":"`relativeTo` to specify a position in world coordinates. A teleport move happens instantly."},{"text":"RealityKit does no collision checking when it moves the entity."},{"text":""},{"text":"- Parameters:"},{"text":" - newPosition:The position, relative to `relativeTo` to move the character."},{"text":" - relativeTo: Reference Entity which defines the frame of reference of the new position."},{"text":" Can be `nil`, which is equivalent to \"world space\"."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"teleportCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV11orientation08boundingE0ACSo10simd_quatfa_AA0dE0Vtcfc","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","init(orientation:boundingBox:)"],"names":{"title":"init(orientation:boundingBox:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" = simd_quatf(ix: 0, iy: 0, iz: 0, r: 1), "},{"kind":"externalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" = BoundingBox.empty)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO7ambientyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","ambient"],"names":{"title":"AudioResource.InputMode.ambient","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambient"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Spatialized, but ignoring listener position, and accounting only for"},{"text":"user orientation."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambient"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation10PointLightC","interfaceLanguage":"swift"},"pathComponents":["PointLight"],"names":{"title":"PointLight","navigator":[{"kind":"identifier","spelling":"PointLight"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity that produces an omnidirectional light for virtual objects."},{"text":""},{"text":"During an AR session, RealityKit automatically lights your virtual objects"},{"text":"to match real-world lighting. You can also explicitly add virtual lights"},{"text":"that act upon your virtual content. This is typically most useful outside of"},{"text":"an AR session (with the view’s ``ARView/cameraMode-swift.property`` property"},{"text":"set to ``ARView/CameraMode-swift.enum/nonAR``)."},{"text":""},{"text":"The point light is an omnidirectional light that illuminates all the virtual"},{"text":"content within a configurable radius from the light. You can configure the"},{"text":"light’s color and intensity."},{"text":""},{"text":"A RealityKit scene can contain up to eight dynamic lights, which are"},{"text":"``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit"},{"text":"doesn’t include light from image-based lighting."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointLight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO6vertexyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","vertex"],"names":{"title":"MeshBuffers.Rate.vertex","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertex"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the vertex rate. The buffer count must match the number of points."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertex"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic"],"names":{"title":"TextureResource.Semantic","navigator":[{"kind":"identifier","spelling":"Semantic"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object used to specify the intended usage of a texture."},{"text":""},{"text":"RealityKit uses image textures to transmit different types of data Metal"},{"text":"shaders. For example, it uses textures to send RGB images with the base"},{"text":"color of the entity, to send grayscale images holding roughness and"},{"text":"metallic information, and to send surface normals for doing lighting"},{"text":"calculations."},{"text":""},{"text":"This object specifies the intended use of the texture by an individual"},{"text":"property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the bounding box is empty."},{"text":""},{"text":"This value is `true` if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:)-5crqg`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:)-8d7k7`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In this example, three instances of ``PassthroughSubject`` emit values; as ``Publisher/combineLatest(_:_:)-5crqg`` receives input from any of the upstream publishers, it combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9)."},{"text":" // Result: (3, 2, 9)."},{"text":" // Result: (3, 12, 9)."},{"text":" // Result: (13, 12, 9)."},{"text":" // Result: (13, 12, 19)."},{"text":""},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll25preservingWorldTransformsySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","removeAll(preservingWorldTransforms:)"],"names":{"title":"removeAll(preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation5SceneC","interfaceLanguage":"swift"},"pathComponents":["Scene"],"names":{"title":"Scene","navigator":[{"kind":"identifier","spelling":"Scene"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Scene"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container that holds the collection of entities rendered by an AR view."},{"text":""},{"text":"You don’t create a ``Scene`` instance directly. Instead, you get the one and"},{"text":"only scene associated with a view from the ``ARView/scene`` property of an"},{"text":"``ARView`` instance."},{"text":""},{"text":"![Block diagram showing the scene as a property of an AR view, with anchor"},{"text":"entities as the scene’s children.](Scene-1)"},{"text":""},{"text":"To add content to the view’s scene, you first create and add one or more"},{"text":"``AnchorEntity`` instances to the scene’s ``RealityKit/Scene/anchors`` collection."},{"text":"Anchors tell RealityKit how to pin virtual content to real world objects,"},{"text":"like flat surfaces or images. You then add a hierarchy of other ``RealityKit/Entity``"},{"text":"instances to each anchor to indicate the geometry and behaviors that"},{"text":"RealityKit should render at a given anchor point."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Scene"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(position:from:)"],"names":{"title":"convert(position:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of a reference entity to the"},{"text":"local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO11faceVaryingyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","faceVarying"],"names":{"title":"MeshBuffers.Rate.faceVarying","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceVarying"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the index rate. The buffer count must match the number of indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceVarying"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO7spatialyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","spatial"],"names":{"title":"AudioResource.InputMode.spatial","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spatial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Spatialized, taking into account both listener position and"},{"text":"orientation."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spatial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default mass properties, equivalent to a unit sphere with a mass of"},{"text":"1 kilogram."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output"],"names":{"title":"PhotogrammetrySession.Output","navigator":[{"kind":"identifier","spelling":"Output"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Status updates on the object-creation process."},{"text":""},{"text":"RealityKit’s Object Capture is a long-running background task. The session publishes"},{"text":"messages status and error messages to ``RealityKit/PhotogrammetrySession/outputs-swift.property``,"},{"text":"a Swift ."},{"text":""},{"text":"Your app can respond to these updates using a `for`-`await`-`in` loop inside of a"},{"text":"`Task`, as this example demonstrates."},{"text":""},{"text":"```swift"},{"text":"let waiter = Task {"},{"text":" do {"},{"text":" for try await output in session.outputs {"},{"text":" switch output {"},{"text":" case .processingComplete:"},{"text":" // RealityKit has processed all requests."},{"text":" case .requestError(let request, let error):"},{"text":" // Request encountered an error."},{"text":" case .requestComplete(let request, let result):"},{"text":" // RealityKit has finished processing a request."},{"text":" case .requestProgress(let request, let fractionComplete):"},{"text":" // Periodic progress update. Update UI here."},{"text":" case requestProgressInfo(let request, let progressInfo):"},{"text":" // Periodic progress info update."},{"text":" case .inputComplete:"},{"text":" // Ingestion of images is complete and processing begins."},{"text":" case .invalidSample(let id, let reason):"},{"text":" // RealityKit deemed a sample invalid and didn't use it."},{"text":" case .skippedSample(let id):"},{"text":" // RealityKit was unable to use a provided sample."},{"text":" case .automaticDownsampling:"},{"text":" // RealityKit downsampled the input images because of"},{"text":" // resource constraints."},{"text":" case .processingCancelled"},{"text":" // Processing was canceled."},{"text":" @unknown default:"},{"text":" // Unrecognized output."},{"text":" }"},{"text":" }"},{"text":" } catch {"},{"text":" print(\"Output: ERROR = \\(String(describing: error))\")"},{"text":" // Handle error."},{"text":" }"},{"text":"}"},{"text":""},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents"],"names":{"title":"SynchronizationEvents","navigator":[{"kind":"identifier","spelling":"SynchronizationEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with network synchronization of scene information."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat"],"names":{"title":"PhysicallyBasedMaterial.Clearcoat","navigator":[{"kind":"identifier","spelling":"Clearcoat"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the intensity of an entity’s clear, shiny"},{"text":"coating."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights used"},{"text":"to simulate a clear coating, like on a car or the surface of lacquered"},{"text":"objects."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP13giveOwnership2of6toPeerSbAA6EntityC_AA0cI2ID_ptF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","giveOwnership(of:toPeer:)"],"names":{"title":"giveOwnership(of:toPeer:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"giveOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transfers ownership of the given entity to the named network device."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity whose ownership is transferred."},{"text":""},{"text":" - toPeer: The networked device receiving ownership."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the ownership transfer succeeds."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"toPeer","declarationFragments":[{"kind":"identifier","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"giveOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent"],"names":{"title":"PhysicsBodyComponent","navigator":[{"kind":"identifier","spelling":"PhysicsBodyComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines an entity’s behavior in physics body simulations."},{"text":""},{"text":"To participate in a scene's physics simulation, an entity must have a ``RealityKit/PhysicsBodyComponent``"},{"text":"and a ``RealityKit/CollisionComponent``. If you need to move an entity that participates"},{"text":"in the physics system, it also needs a ``RealityKit/PhysicsMotionComponent``."},{"text":""},{"text":"Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which"},{"text":"allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body,"},{"text":"following basic rules of Newtonian mechanics."},{"text":""},{"text":"- Note: Model entities have a physics body component by default."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8blendingAC8BlendingOvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","blending"],"names":{"title":"blending","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparency of an entity."},{"text":""},{"text":"Use this property to specify whether an entity is opaque or transparent."},{"text":"To create an entity that’s opaque, assign"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/opaque`` to this property."},{"text":""},{"text":"```swift"},{"text":"material.blending = .opaque"},{"text":"```"},{"text":""},{"text":"To create a translucent or transparent object using a single opacity"},{"text":"value for the entire material, initialize"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/transparent(opacity:)``"},{"text":"using a `Float` value."},{"text":""},{"text":"```swift"},{"text":"material.blending = .transparent(opacity: .init(floatLiteral:0.5))"},{"text":"```"},{"text":""},{"text":"To use a UV-mapped grayscale image texture to specify different opacity"},{"text":"values for different parts of an entity, initialize"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/transparent(opacity:)``"},{"text":"using a texture. If you provide a color image, RealityKit only uses the"},{"text":"intensity of the red channel."},{"text":""},{"text":"```swift"},{"text":"if let opacityResource = try? TextureResource.load(named:"},{"text":"\"entity_opacity\") {"},{"text":" let opacityMap = MaterialParameterTypes.Texture(opacityResource)"},{"text":" material.blending = .transparent(opacity: .init(texture: opacityMap))"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The relative joint transforms of the model entity."},{"text":""},{"text":"Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints."},{"text":""},{"text":"- Note: Active animations may override the joint transforms set using this property.."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV5scales5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework scale the UV texture coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV9transformAA9TransformVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Pose","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A unit scale ``Transform`` representing the 6DOF pose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationView/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","ArrayLiteralElement"],"names":{"title":"AnchoringComponent.Target.Classification.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV4massSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","mass"],"names":{"title":"mass","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The mass in kilograms."},{"text":""},{"text":"For a mass of `0` or infinity, the simulation treats the object as"},{"text":"``PhysicsBodyMode/kinematic``. That is, the object doesn’t respond to"},{"text":"forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters"],"names":{"title":"MaterialParameters","navigator":[{"kind":"identifier","spelling":"MaterialParameters"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameters"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameters"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(on:options:)"],"names":{"title":"subscribe(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to perform subscribe, cancel, and request operations."},{"text":""},{"text":"In contrast with ``Publisher/receive(on:options:)``, which affects downstream messages, ``Publisher/subscribe(on:options:)`` changes the execution context of upstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `ioPerformingPublisher` to receive requests on `backgroundQueue`, while the ``Publisher/receive(on:options:)`` causes `uiUpdatingSubscriber` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let ioPerformingPublisher == // Some publisher."},{"text":" let uiUpdatingSubscriber == // Some subscriber that updates the UI."},{"text":""},{"text":" ioPerformingPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(uiUpdatingSubscriber)"},{"text":""},{"text":""},{"text":"Using ``Publisher/subscribe(on:options:)`` also causes the upstream publisher to perform ``Cancellable/cancel()`` using the specfied scheduler."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler used to send messages to upstream publishers."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher which performs upstream operations on the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsySayACG_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","replaceAll(_:preservingWorldTransforms:)"],"names":{"title":"replaceAll(_:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity and adds the specified list of entities as the new"},{"text":"children."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The list of the new children."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"]"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Always call this function instead of ``Publisher/receive(subscriber:)``."},{"text":"Adopters of ``Publisher`` must implement ``Publisher/receive(subscriber:)``. The implementation of ``Publisher/subscribe(_:)-4u8kn`` provided by ``Publisher`` calls through to ``Publisher/receive(subscriber:)``."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this publisher. After attaching, the subscriber can start to receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10PointLightCACycfc","interfaceLanguage":"swift"},"pathComponents":["PointLight","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASdRszrlE6framesSaySdGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of double-precision values in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of `Double` values."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``AnimationDefinition/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation1nopyAA14QueryPredicateVyxGAElF","interfaceLanguage":"swift"},"pathComponents":["!(_:)"],"names":{"title":"!(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `operand` evaluates to `false`."}]},"functionSignature":{"parameters":[{"name":"operand","declarationFragments":[{"kind":"identifier","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationGroup/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","Element"],"names":{"title":"AnchoringComponent.Target.Classification.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value or a texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The copied values for"},{"text":"``CustomMaterial/Clearcoat-swift.struct/scale`` and"},{"text":"``CustomMaterial/Clearcoat-swift.struct/texture`` are available in"},{"text":"the material’s surface shader function, regardless of the material’s"},{"text":"lighting model; however RealityKit only renders a clearcoat when"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"material’s surface shader function calls"},{"text":"`params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the clearcoat"},{"text":"`scale` and `texture` in a surface shader function and use them to"},{"text":"calculate the final clearcoat value for rendering:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the base color tint from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":""},{"text":" // Retrieve the entity's primary texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from a USDZ of .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the clearcoat texture to get the value UV-mapped to this pixel."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture, and assign it"},{"text":" // to the shader's base color property."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat value for the entire material."},{"text":""},{"text":"- texture: The clearcoat values as the texture of a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO8allFacesyAEs6UInt32VcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials","allFaces(_:)"],"names":{"title":"MeshDescriptor.Materials.allFaces(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allFaces"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A single material index for the whole mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allFaces"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setTransformMatrix(_:relativeTo:)"],"names":{"title":"setTransformMatrix(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the transform of the entity relative to the given reference entity"},{"text":"using a 4x4 matrix representation."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Setting a ``HasTransform/transform``"},{"text":"using a 4x4 matrix is therefore a lossy event that might result in"},{"text":"certain transformations, like shear, being dropped."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 transform matrix, given relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19OrientedBoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV9intensitySfvp","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","intensity"],"names":{"title":"intensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of the directional light, measured in lumen per square"},{"text":"meter."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV6frames4name9tweenMode13frameInterval10isAdditive10bindTarget10blendLayer06repeatH004fillH09trimStart0S3End0S8Duration6offset5delay5speedACyxGSayxG_SSAA05TweenH0OSfSbAA04BindN0OSgs5Int32VAA0d6RepeatH0OAA0d4FillH0VSdSgA4_A4_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","init(frames:name:tweenMode:frameInterval:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(frames:name:tweenMode:frameInterval:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation with a collection of frames that represent"},{"text":"incremental steps in the overall timeline."},{"text":""},{"text":"- Parameters:"},{"text":" - frames: An array of values in which each element represents a discrete"},{"text":"state of the animated property at a given point in the animation’s"},{"text":"timeline."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - tweenMode: An option that determines how animation frames transition."},{"text":""},{"text":" - frameInterval: The duration within the animation timeline for each"},{"text":"frame in the frames array."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0 / 30.0, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV8isPausedSbvp","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","isPaused"],"names":{"title":"isPaused","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that you can set to temporarily stop applying body tracking to"},{"text":"the model and freeze the model in its current pose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO7perFaceyAESays6UInt32VGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials","perFace(_:)"],"names":{"title":"MeshDescriptor.Materials.perFace(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"perFace"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A different material index for each face."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"perFace"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE13moveCharacter2by9deltaTime10relativeTo16collisionHandlerAA0E19ControllerComponentV14CollisionFlagsVs5SIMD3VySfG_SfACSgyAJ0O0VcSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","moveCharacter(by:deltaTime:relativeTo:collisionHandler:)"],"names":{"title":"moveCharacter(by:deltaTime:relativeTo:collisionHandler:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves the character along a specified vector over a period of time."},{"text":""},{"text":"Moves the character in the collision world, with continuous collision checking and response."},{"text":"This will create character collision events."},{"text":"Entity.transform will be updated on the next engine tick."},{"text":"Use `CharacterControllerStateComponent` to get additional information about the state of the character after the move."},{"text":""},{"text":"- Parameters:"},{"text":" - moveDelta: Delta vector to attempt to move capsule in collision world."},{"text":" - deltaTime: Time between last frame and current."},{"text":" - referenceEntity: Reference entity that defines the frame of reference of the move delta."},{"text":" Can be `nil`, which is equivalent to \"world space\"."},{"text":" - collisionHandler: Optional callback when an entity was hit. One call per each hit entity."},{"text":"- Returns: Collision flags that indicate the location of the collision."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"moveDelta","declarationFragments":[{"kind":"identifier","spelling":"moveDelta"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"deltaTime","declarationFragments":[{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"collisionHandler","declarationFragments":[{"kind":"identifier","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"moveDelta"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV8rotationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Pose","rotation"],"names":{"title":"rotation","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Rotation (orientation) of the pose relative to the reference coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the entity by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"entity."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV14boundingRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","boundingRadius"],"names":{"title":"boundingRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The radius of a bounding sphere that encompasses the bounding box."},{"text":""},{"text":"This value is 0 if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"that applies to the entire material."},{"text":""},{"text":"The clearcoat value is available in the material’s surface shader"},{"text":"function, but RealityKit doesn’t render a clearcoat unless the"},{"text":"material’s ``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its"},{"text":"surface shader function calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the clearcoat"},{"text":"``CustomMaterial/Clearcoat-swift.struct/scale`` in a surface shader"},{"text":"function and use it to set the final clearcoat value for rendering:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the base color tint from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":""},{"text":" // Assign the scale value as the clearcoat value for this pixel."},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The clearcoat value to use for the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV9materialsSayAA8Material_pGvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","materials"],"names":{"title":"materials","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The materials used by the model."},{"text":""},{"text":"Each ``RealityKit/MeshResource`` requires a set of materials. An entity that has no materials"},{"text":"renders using a pink, striped material. To determine the number of materials a model entity requires"},{"text":", use `MeshResource.expectedMaterialCount`"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18featureSensitivityAE07FeatureG0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","featureSensitivity"],"names":{"title":"featureSensitivity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"featureSensitivity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The precision of landmark detection."},{"text":""},{"text":"The photogrammetry process relies on finding identifiable landmarks in the overlap"},{"text":"between images. Landmarks can be hard to identify if the images don’t have enough"},{"text":"contrast, aren’t in focus, or if the object is all one color and lacks surface detail."},{"text":""},{"text":"When ``PhotogrammetrySession/Configuration-swift.struct/featureSensitivity-swift.property``"},{"text":"is set to ``PhotogrammetrySession/Configuration-swift.struct/FeatureSensitivity-swift.enum/high``,"},{"text":"it instructs RealityKit to search an image for landmarks using an algorithm that"},{"text":"analyzes an image closely and in detail. This slower, more sensitive process can"},{"text":"produce an accurate 3D object even when landmarks are difficult to discern."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"featureSensitivity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryAllSatisfy(_:)"],"names":{"title":"tryAllSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given error-throwing predicate."},{"text":""},{"text":"Use the ``Publisher/tryAllSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria in an error-throwing predicate you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes. If the predicate throws an error, the publisher fails and passes the error to its downstream subscriber."},{"text":""},{"text":"In the example below, an error-throwing predicate tests if each of an integer array publisher’s elements fall into the `targetRange`; the predicate throws an error if an element is zero and terminates the stream."},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 10, 5, 0]"},{"text":""},{"text":" numbers.publisher"},{"text":" .tryAllSatisfy { anInt in"},{"text":" guard anInt != 0 else { throw RangeError() }"},{"text":" return targetRange.contains(anInt)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(RangeError())\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete. The closure may throw an error, in which case the publisher cancels the upstream publisher and fails with the thrown error."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationDefinition/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO10nonSpatialyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","nonSpatial"],"names":{"title":"AudioResource.InputMode.nonSpatial","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonSpatial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Not spatialized."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonSpatial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation6EntityC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two entities are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first entity to compare."},{"text":""},{"text":" - rhs: The second entity to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scenes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage","navigator":[{"kind":"identifier","spelling":"ProcessingStage"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ProcessingStage"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Processing stages during reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ProcessingStage"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","synchronization"],"names":{"title":"synchronization","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s synchronization component."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","transformMatrix(relativeTo:)"],"names":{"title":"transformMatrix(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the 4 x 4 transform matrix of an entity relative to the given"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents"],"names":{"title":"CollisionEvents","navigator":[{"kind":"identifier","spelling":"CollisionEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with collisions."},{"text":""},{"text":"To subscribe to a collision event, import Combine, create a property of type "},{"text":"so that you maintain a reference to the subscription, then call ``RealityKit/Scene/subscribe(to:on:_:)``"},{"text":"or ``RealityKit/Scene/subscribe(to:on:componentType:_:)`` and provide a closure."},{"text":""},{"text":"The closure is passed an ``RealityKit/Scene/Event`` object that contains information relevant to the type of event you subscribed to."},{"text":""},{"text":"Here's an example of subscribing to the collision begain event and retrieving the two entities involved in the collision:"},{"text":""},{"text":"```swift"},{"text":" import AppKit"},{"text":" import RealityKit"},{"text":" import Combine"},{"text":""},{"text":" class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.subscribe("},{"text":" to: CollisionEvents.Began.self,"},{"text":" on: boxAnchor"},{"text":" ) { event in"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":" }"},{"text":" }"},{"text":"```"},{"text":""},{"text":"You can also create a function to respond to the event rather than a closure by using"},{"text":"."},{"text":"Here's an example of using a function to respond to a collision event:"},{"text":""},{"text":"```swift"},{"text":"import AppKit"},{"text":"import RealityKit"},{"text":"import Combine"},{"text":""},{"text":"class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.publisher(for: CollisionEvents.Began.self,"},{"text":" on:nil).sink(receiveValue: onCollisionBegan)"},{"text":" }"},{"text":""},{"text":" private func onCollisionBegan(_ event:"},{"text":" CollisionEvents.Began) {"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV35secondaryTextureCoordinateTransformAA0D14ParameterTypesV0fgH0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","secondaryTextureCoordinateTransform"],"names":{"title":"secondaryTextureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation RealityKit applies to the entity’s"},{"text":"secondary texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates define how RealityKit maps image"},{"text":"textures onto an entity. Use this property to transform the secondary"},{"text":"texture coordinates and change the way this material maps textures onto"},{"text":"an entity. If an entity has multiple materials assigned to it, the"},{"text":"transformation doesn’t affect how the other materials map their"},{"text":"textures."},{"text":""},{"text":"For example, you might change the scale of the UV coordinates to apply a"},{"text":"tiled, repeating pattern to the surface of your entity, or continuously"},{"text":"rotate or translate the texture coordinates to animate materials and"},{"text":"create special effects, such as fire or flowing liquids."},{"text":""},{"text":"The following example demonstrates how to set a material’s UV"},{"text":"transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees"},{"text":"converted to radians. secondaryTextureCoordinateTransform ="},{"text":".init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"The material’s shader function doesn’t have to do anything to apply the"},{"text":"transformation. When the shader calls `params.geometry().uv1()`,"},{"text":"RealityKit already transforms the returned coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use `combineLatest(_:,_:)` to combine the current and two additional publishers and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by three publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3) { firstValue, secondValue, thirdValue in"},{"text":" return firstValue * secondValue * thirdValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(10)"},{"text":""},{"text":" pub.send(9)"},{"text":" pub3.send(4)"},{"text":" pub2.send(12)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 40. // pub = 2, pub2 = 2, pub3 = 10"},{"text":" // Result: 180. // pub = 9, pub2 = 2, pub3 = 10"},{"text":" // Result: 72. // pub = 9, pub2 = 2, pub3 = 4"},{"text":" // Result: 432. // pub = 9, pub2 = 12, pub3 = 4"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","replaceAll(_:preservingWorldTransforms:)"],"names":{"title":"replaceAll(_:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity and adds the specified list of entities as the new"},{"text":"children."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The list of the new children."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode"],"names":{"title":"PhysicsBodyMode","navigator":[{"kind":"identifier","spelling":"PhysicsBodyMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ways that a physics body can move in response to physical forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV17attenuationRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","attenuationRadius"],"names":{"title":"attenuationRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The point light attenuation radius in meters."},{"text":""},{"text":"At any distance greater from the light that's greater than this value, the light's"},{"text":"intensity is zero."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable"],"names":{"title":"TextureResource.Drawable","navigator":[{"kind":"identifier","spelling":"Drawable"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Drawable"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A drawable associated with a drawable queue"}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Drawable"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","retry(_:)"],"names":{"title":"retry(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Attempts to recreate a failed subscription with the upstream publisher up to the number of times you specify."},{"text":""},{"text":"Use ``Publisher/retry(_:)`` to try a connecting to an upstream publisher after a failed connection attempt."},{"text":""},{"text":"In the example below, a attempts to connect to a remote URL. If the connection attempt succeeds, it publishes the remote service’s HTML to the downstream publisher and completes normally. Otherwise, the retry operator attempts to reestablish the connection. If after three attempts the publisher still can’t connect to the remote URL, the ``Publisher/catch(_:)`` operator replaces the error with a new publisher that publishes a “connection timed out” HTML page. After the downstream subscriber receives the timed out message, the stream completes normally."},{"text":""},{"text":" struct WebSiteData: Codable {"},{"text":" var rawHTML: String"},{"text":" }"},{"text":""},{"text":" let myURL = URL(string: \"https://www.example.com\")"},{"text":""},{"text":" cancellable = URLSession.shared.dataTaskPublisher(for: myURL!)"},{"text":" .retry(3)"},{"text":" .map({ (page) -> WebSiteData in"},{"text":" return WebSiteData(rawHTML: String(decoding: page.data, as: UTF8.self))"},{"text":" })"},{"text":" .catch { error in"},{"text":" return Just(WebSiteData(rawHTML: \"Unable to load page - timed out.\"))"},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: The HTML content from the remote URL upon a successful connection,"},{"text":" // or returns \"Unable to load page - timed out.\" if the number of retries exceeds the specified value."},{"text":""},{"text":"After exceeding the specified number of retries, the publisher passes the failure to the downstream receiver."},{"text":"- Parameter retries: The number of times to attempt to recreate the subscription."},{"text":"- Returns: A publisher that attempts to recreate its subscription to a failed upstream publisher."}]},"functionSignature":{"parameters":[{"name":"retries","declarationFragments":[{"kind":"identifier","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceNil(with:)"],"names":{"title":"replaceNil(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces nil elements in the stream with the provided element."},{"text":""},{"text":"The ``Publisher/replaceNil(with:)`` operator enables replacement of `nil` values in a stream with a substitute value. In the example below, a collection publisher contains a nil value. The ``Publisher/replaceNil(with:)`` operator replaces this with `0.0`."},{"text":""},{"text":" let numbers: [Double?] = [1.0, 2.0, nil, 3.0]"},{"text":" numbers.publisher"},{"text":" .replaceNil(with: 0.0)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"Optional(1.0) Optional(2.0) Optional(0.0) Optional(3.0)\""},{"text":""},{"text":"- Parameter output: The element to use when replacing `nil`."},{"text":"- Returns: A publisher that replaces `nil` elements from the upstream publisher with the provided element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"T?","rhsPrecise":"s:Sq"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV7extentss5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","extents"],"names":{"title":"extents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"extents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The extents of the bounding box."},{"text":""},{"text":"This value is (0, 0, 0) if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"extents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV11translations5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Pose","translation"],"names":{"title":"translation","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Position of the pose relative to the reference coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of ambient occlusion specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC6entityAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity from which the audio stream emanates."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"weak"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","errorDescription"],"names":{"title":"errorDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing what error occurred."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append_24preservingWorldTransformyAC_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(_:preservingWorldTransform:)"],"names":{"title":"append(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity as a child to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - child: The child entity to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" model should keep its effective location and size in the"},{"text":" scene!)"}]},"functionSignature":{"parameters":[{"name":"child","declarationFragments":[{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO6normalyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","normal"],"names":{"title":"TextureResource.Semantic.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store surface normals."},{"text":""},{"text":"Properties that specify a semantic of `normal` use the texture to"},{"text":"store tangent-space surface normal vectors for use in lighting"},{"text":"calculations. Each pixel’s `R` channel stores the `X` value from the"},{"text":"vector. The `G` channel stores the `Y` value from the vector, and"},{"text":"the `B` channel stores the `Z` value from the vector. All values are"},{"text":"between `-1.0` and `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","anchorIdentifier"],"names":{"title":"anchorIdentifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identifier of the AR anchor with which the anchor entity is"},{"text":"associated, or `nil` if it isn’t currently anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags"],"names":{"title":"CharacterControllerComponent.CollisionFlags","navigator":[{"kind":"identifier","spelling":"CollisionFlags"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFlags"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option set that specifies which parts of the character capsule have collided with other objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFlags"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:)"],"names":{"title":"merge(with:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from three other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 2 50 100 -2 \""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8rawValues4Int8Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO18textureCoordinatesAC8SemanticVy_s5SIMD2VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8rawValueAGs5UInt8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGSaySfGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyAngularImpulse(_:relativeTo:)"],"names":{"title":"applyAngularImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an angular (torque) impulse to the physics body at its center of"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An angular impulse in kilogram square meters per second."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the value of a key path."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:)-6sm0a`` operator uses the Swift key path syntax to access the `die` member of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only the value of this `Int`, not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die:Int.random(in:1...6)))"},{"text":" .map(\\.die)"},{"text":" .sink {"},{"text":" print (\"Rolled: \\($0)\")"},{"text":" }"},{"text":" // Prints \"Rolled: 3\" (or some other random value)."},{"text":""},{"text":"- Parameter keyPath: The key path of a property on `Output`."},{"text":"- Returns: A publisher that publishes the value of the key path."}]},"functionSignature":{"parameters":[{"name":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO6linearyA2CmF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","linear"],"names":{"title":"TweenMode.linear","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates that a keyframe changes to the next gradually."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO6scalaryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","scalar"],"names":{"title":"TextureResource.Semantic.scalar","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scalar"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store a single value in each pixel."},{"text":""},{"text":"Properties that specify a semantic of `scalar` use the texture to"},{"text":"store a single floating point value in each pixel. If the texture’s"},{"text":"source is an RGB image, the property uses only the red channel"},{"text":"value."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scalar"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV7librarySo10MTLLibrary_pvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","SurfaceShader","library"],"names":{"title":"library","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The Metal library that contains this surface shader function."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation"],"names":{"title":"OrbitAnimation","navigator":[{"kind":"identifier","spelling":"OrbitAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrbitAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that revolves an entity around its origin."},{"text":""},{"text":"This class moves an entity in a circular path by gradually adjusting its"},{"text":"local transform. The animation sets the entity's initial position with"},{"text":"``OrbitAnimation/startTransform`` and rotates it around the point `(0,` `0,`"},{"text":"`0)`. The ``OrbitAnimation/axis`` specifies which cartesian axis around"},{"text":"which to rotate. The full orbit completes after ``OrbitAnimation/duration``"},{"text":"lapses."},{"text":""},{"text":"If the target entity contains child entities, the target entity orbits the"},{"text":"children."},{"text":""},{"text":"## Revolve an Entity Around its Origin"},{"text":""},{"text":"The following code turns a model in a half circle, orbiting around the"},{"text":"x-axis for `5` seconds."},{"text":""},{"text":"```swift"},{"text":"let orbit = OrbitAnimation(name: \"orbit\","},{"text":" duration: 10.0,"},{"text":" axis: SIMD3(x: 1.0, y: 0.0, z: 0.0),"},{"text":" startTransform: Transform(scale: simd_float3(10,10,10),"},{"text":" rotation: simd_quatf(ix: 10, iy: 20, iz: 20, r: 100),"},{"text":" translation: simd_float3(11, 2, 3)),"},{"text":" spinClockwise: false,"},{"text":" orientToPath: true,"},{"text":" rotationCount: 100.0,"},{"text":" bindTarget: nil)"},{"text":""},{"text":"// Create an animation clip for just the second half of the orbit."},{"text":"let trimmed = orbit.trimmed(start: 5.0, end: 10.0)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrbitAnimation"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC5localACvpZ","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","local"],"names":{"title":"local","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A token containing the local peer’s networking compatibility info."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO4holdyA2CmF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hold"],"names":{"title":"TweenMode.hold","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hold"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates a keyframe changes to the next abruptly."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hold"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent"],"names":{"title":"PointLightComponent","navigator":[{"kind":"identifier","spelling":"PointLightComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointLightComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines a point light source."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointLightComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO5coloryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","color"],"names":{"title":"TextureResource.Semantic.color","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store colors data."},{"text":""},{"text":"Properties that specify a semantic of `color` use the RGB color data"},{"text":"from the texture. If the source image contains color space"},{"text":"information, RealityKit modifies the individual pixels to fit the"},{"text":"color space. If the source image is grayscale, RealityKit converts"},{"text":"it to an RGB image first."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setOrientation(_:relativeTo:)"],"names":{"title":"setOrientation(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the orientation of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - orientation: A new orientation, relative to `referenceEntity`."},{"text":""},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"orientation","declarationFragments":[{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:_:)"],"names":{"title":"combineLatest(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:_:)`` when you need to combine the current and 3 additional publishers and transform the values using a closure in which you specify the published elements, to publish a new element."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, as ``Publisher/combineLatest(_:_:_:_:)`` receives the most-recent values published by four publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4) { firstValue, secondValue, thirdValue, fourthValue in"},{"text":" return firstValue * secondValue * thirdValue * fourthValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 36. // pub = 2, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 54. // pub = 3, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 324. // pub = 3, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 1404. // pub = 13, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 2964. // pub = 13, pub2 = 12, pub3 = 19, pub4 = 1"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offsets5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework offsets the entity’s UV texture"},{"text":"coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV12urlsBySampleSDySi0B03URLVGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Poses","urlsBySample"],"names":{"title":"urlsBySample","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"urlsBySample"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mapping from the sample ID to the image URL in the input folder corresponding to that sample ID. This simplifies the"},{"text":"visualization of which image in the input folder corresponds to a given computed pose."},{"text":""},{"text":"Note: the dictionary is empty unless a folder of images was used to create this session. If the session is created from"},{"text":"a custom `Sequence` it is expected that the caller has maintained the map from provided sample ID to original image"},{"text":"location."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"urlsBySample"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO8hdrColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hdrColor"],"names":{"title":"TextureResource.Semantic.hdrColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hdrColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store a high-dynamic range image."},{"text":""},{"text":"Properties that specify a semantic of `hdrColor` use the texture to"},{"text":"store high-dynamic range RGB color data. If the source image"},{"text":"contains color space information, RealityKit modifies the individual"},{"text":"pixels to fit the color space. If the source image is grayscale,"},{"text":"RealityKit converts it to an RGB image first."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hdrColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","failureReason"],"names":{"title":"failureReason","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing the reason for the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV7gravitySo14CMAccelerationaSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","gravity"],"names":{"title":"gravity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gravity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMAcceleration","preciseIdentifier":"c:@SA@CMAcceleration"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An image’s gravity vector."},{"text":""},{"text":"Some cameras, including iPhone cameras, capture a gravity vector for"},{"text":"each image. This vector indicates the orientation of the camera at the"},{"text":"moment you took the picture. RealityKit uses this gravity vector to"},{"text":"improve landmark matching with the other images in the session."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gravity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMAcceleration","preciseIdentifier":"c:@SA@CMAcceleration"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","RawValue"],"names":{"title":"AnchoringComponent.Target.Alignment.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8rawValues5UInt8Vvp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation14ModelComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy level specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given predicate."},{"text":""},{"text":"Use the ``Publisher/allSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/allSatisfy(_:)`` operator tests if each an integer array publisher’s elements fall into the `targetRange`:"},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .allSatisfy { targetRange.contains($0) }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","clearForcesAndTorques()"],"names":{"title":"clearForcesAndTorques()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Clears all forces previously added to the physics body."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["Entity","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9clearcoatAC9ClearcoatVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","clearcoat"],"names":{"title":"clearcoat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparent highlights that simulate a clear, shiny coating on an"},{"text":"entity."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"transparent coating, like the paint on a car, or the surface of"},{"text":"lacquered objects. By default, materials don’t have clearcoat enabled."},{"text":""},{"text":"Use this property to enable clearcoat rendering. Specifying any value"},{"text":"greater than `0.0` turns clearcoat rendering on. A value of `1.0`"},{"text":"indicates a full clearcoat. RealityKit treats values above `1.0` as if"},{"text":"they’re `1.0`."},{"text":""},{"text":"You can specify ``PhysicallyBasedMaterial/clearcoat-swift.property``"},{"text":"using a single `Float` that applies to the entire material, or a"},{"text":"UV-mapped grayscale image to provide different values for different"},{"text":"parts of an entity."},{"text":""},{"text":"The following example specifies `clearcoat` using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoat = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"And this example shows how to specify `clearcoat` using a UV-mapped"},{"text":"image texture:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatResource = try? TextureResource.load(named:\"entity_clearcoat\") {"},{"text":" let clearcoatMap = MaterialParameters.Texture(clearcoatResource)"},{"text":" material.clearcoat = .init(texture: clearcoatMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Writes the token’s data into an encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container. This function throws an"},{"text":" if any values"},{"text":"are invalid for the given encoder’s format."},{"text":""},{"text":"- Parameters:"},{"text":" - encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsySayACG_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified list of entity as children to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - array: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"array","declarationFragments":[{"kind":"identifier","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"]"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction","library"],"names":{"title":"library","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Metal Library containing the given function. Most often this is your"},{"text":"app's default library."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationDefinition/trimStart`` instead and choose a"},{"text":"``AnimationDefinition/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index,"},{"text":"unless that distance is beyond a given limiting index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":"The operation doesn't require going beyond the limiting `s.endIndex`"},{"text":"value, so it succeeds."},{"text":""},{"text":" let s = \"Swift\""},{"text":" if let i = s.index(s.startIndex, offsetBy: 4, limitedBy: s.endIndex) {"},{"text":" print(s[i])"},{"text":" }"},{"text":" // Prints \"t\""},{"text":""},{"text":"The next example attempts to retrieve an index six positions from"},{"text":"`s.startIndex` but fails, because that distance is beyond the index"},{"text":"passed as `limit`."},{"text":""},{"text":" let j = s.index(s.startIndex, offsetBy: 6, limitedBy: s.endIndex)"},{"text":" print(j)"},{"text":" // Prints \"nil\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: An index offset by `distance` from the index `i`, unless that"},{"text":" index would be beyond `limit` in the direction of movement. In that"},{"text":" case, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``FromToByAnimation/trimStart`` instead and choose a"},{"text":"``FromToByAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMap(_:)"],"names":{"title":"tryMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided error-throwing closure."},{"text":""},{"text":"Combine’s ``Publisher/tryMap(_:)`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/tryMap(_:)`` to transform from one kind of element to another, and to terminate publishing when the map’s closure throws an error."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/tryMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/tryMap(_:)``’s closure fails to look up a Roman numeral, it throws an error. The ``Publisher/tryMap(_:)`` operator catches this error and terminates publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from:Int) throws -> String {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" guard let numeral = romanNumeralDict[from] else {"},{"text":" throw ParseError()"},{"text":" }"},{"text":" return numeral"},{"text":" }"},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"V IV III II I completion: failure(ParseError())\""},{"text":""},{"text":"If your closure doesn’t throw, use ``Publisher/map(_:)-99evh`` instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element. If the closure throws an error, the publisher fails with the thrown error."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV6Outputa","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","Output"],"names":{"title":"Scene.Publisher.Output","navigator":[{"kind":"identifier","spelling":"Output"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of values published by this publisher."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"E"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation33CharacterControllerStateComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Joint names that define the joints in the skeletal pose."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``SampledAnimation/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``SampledAnimation/trimStart``, ``SampledAnimation/trimEnd``, or"},{"text":"``SampledAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV4noneACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","none"],"names":{"title":"none","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates an animation doesn't display frame data outside"},{"text":"of its normal duration."},{"text":""},{"text":"For example, if you rewind an animation of a hand waving for one second"},{"text":"by setting ``SampledAnimation/trimStart`` to `-1.0`, a"},{"text":"``SampledAnimation/fillMode`` of `none` determines that the hand is"},{"text":"invisible for one second before appearing and waving."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO15triangleIndicesAC8SemanticVy_s6UInt32VGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","recoverySuggestion"],"names":{"title":"recoverySuggestion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing how one might recover from the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlE8elements7indicesACyAEGSayAEG_AItcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","share()"],"names":{"title":"share()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Shares the output of an upstream publisher with multiple subscribers."},{"text":""},{"text":"The publisher returned by this operator supports multiple subscribers, all of whom receive unchanged elements and completion states from the upstream publisher."},{"text":""},{"text":" - Tip: ``Publishers/Share`` is effectively a combination of the ``Publishers/Multicast`` and ``PassthroughSubject`` publishers, with an implicit ``ConnectablePublisher/autoconnect()``."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator. It uses a ``Publisher/share()`` operator to share the same random number to each of two subscribers. This example uses a ``Publisher/delay(for:tolerance:scheduler:options:)`` operator only to prevent the first subscriber from exhausting the sequence publisher immediately; an asynchronous publisher wouldn’t need this."},{"text":""},{"text":" let pub = (1...3).publisher"},{"text":" .delay(for: 1, scheduler: DispatchQueue.main)"},{"text":" .map( { _ in return Int.random(in: 0...100) } )"},{"text":" .print(\"Random\")"},{"text":" .share()"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: (20)"},{"text":" // Stream 1 received: 20"},{"text":" // Stream 2 received: 20"},{"text":" // Random: receive value: (85)"},{"text":" // Stream 1 received: 85"},{"text":" // Stream 2 received: 85"},{"text":" // Random: receive value: (98)"},{"text":" // Stream 1 received: 98"},{"text":" // Stream 2 received: 98"},{"text":""},{"text":""},{"text":"Without the ``Publisher/share()`` operator, stream 1 receives three random values, followed by stream 2 receiving three different random values."},{"text":""},{"text":"Also note that ``Publishers/Share`` is a class rather than a structure like most other publishers. This means you can use this operator to create a publisher instance that uses reference semantics."},{"text":"- Returns: A class instance that shares elements received from its upstream to multiple subscribers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","ArrayLiteralElement"],"names":{"title":"AnchoringComponent.Target.Alignment.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyLinearImpulse(_:relativeTo:)"],"names":{"title":"applyLinearImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at its center of mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":""},{"text":" let s = \"Swift\""},{"text":" let i = s.index(s.startIndex, offsetBy: 4)"},{"text":" print(s[i])"},{"text":" // Prints \"t\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":"- Returns: An index offset by `distance` from the index `i`. If"},{"text":" `distance` is positive, this is the same value as the result of"},{"text":" `distance` calls to `index(after:)`. If `distance` is negative, this"},{"text":" is the same value as the result of `abs(distance)` calls to"},{"text":" `index(before:)`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","orientation(relativeTo:)"],"names":{"title":"orientation(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the orientation of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The orientation of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC4fromACs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new instance from a decoder."},{"text":""},{"text":"Throws an error if reading from `decoder` fails, or if the data is"},{"text":"corrupted or otherwise invalid."},{"text":""},{"text":"- Parameters:"},{"text":" - decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC16debugDescriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","debugDescription"],"names":{"title":"debugDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A human readable description of the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV13posesBySampleSDySiAC4PoseVGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Poses","posesBySample"],"names":{"title":"posesBySample","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"posesBySample"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Pose","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mapping from the sample ID to the 6DOF algorithmically estimated pose"},{"text":"of that sample. Each `Pose` will have a world translation and rotation representing that shot's estimated"},{"text":"pose (position and orientation in space) with respect to the estimated coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"posesBySample"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Pose","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC17completionHandleryycSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","completionHandler"],"names":{"title":"completionHandler","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A closure that the playback controller executes when it comes to the end"},{"text":"of the audio stream."},{"text":""},{"text":"The controller doesn’t call the closure if you manually stop the audio"},{"text":"by calling the ``AudioPlaybackController/stop()`` or the"},{"text":"``AudioPlaybackController/pause()`` method."},{"text":""},{"text":"You can only register one handler at a time. If you set a new handler,"},{"text":"the controller discards the old one."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC2IDa","interfaceLanguage":"swift"},"pathComponents":["Entity","ID"],"names":{"title":"Entity.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","measureInterval(using:options:)"],"names":{"title":"measureInterval(using:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Measures and emits the time interval between events received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/measureInterval(using:options:)`` to measure the time between events delivered from an upstream publisher."},{"text":""},{"text":"In the example below, a 1-second is used as the data source for an event publisher; the ``Publisher/measureInterval(using:options:)`` operator reports the elapsed time between the reception of events on the main run loop:"},{"text":""},{"text":" cancellable = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .measureInterval(using: RunLoop.main)"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Stride(magnitude: 1.0013610124588013)"},{"text":" // Stride(magnitude: 0.9992760419845581)"},{"text":""},{"text":"The output type of the returned publisher is the time interval of the provided scheduler."},{"text":""},{"text":"This operator uses the provided scheduler’s ``Scheduler/now`` property to measure intervals between events."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: A scheduler to use for tracking the timing of events."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher that emits elements representing the time interval between the elements it receives."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","helpAnchor"],"names":{"title":"helpAnchor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message providing \"help\" text if the user requests help."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","anchoring"],"names":{"title":"anchoring","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified list of entity as children to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14sampleOrderingAE06SampleG0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","sampleOrdering"],"names":{"title":"sampleOrdering","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampleOrdering"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order of the image samples."},{"text":""},{"text":"By default, RealityKit assumes that image samples aren’t in any particular order. If you’re"},{"text":"providing the images in order, with adjacent images next to each other, specifying"},{"text":"``PhotogrammetrySession/Configuration-swift.struct/SampleOrdering-swift.enum/sequential``"},{"text":"for this value may result in better performance."},{"text":""},{"text":"This setting has no impact on the quality of the produced object."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampleOrdering"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud","Point","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"3D position of the point"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume"],"names":{"title":"TriggerVolume","navigator":[{"kind":"identifier","spelling":"TriggerVolume"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriggerVolume"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An invisible 3D shape that detects when objects enter or exit a given region"},{"text":"of space."},{"text":""},{"text":"A trigger volume is an entity that can participate in collisions because it"},{"text":"has a ``CollisionComponent``. You use a trigger volume as a sensor that"},{"text":"indicates when another collision-capable entity, like a ``ModelEntity``,"},{"text":"enters the region of space occupied by the trigger volume. You can use the"},{"text":"generated ``CollisionEvents`` between the trigger volume and the other"},{"text":"entity to trigger an action, like indicating to the user that a projectile"},{"text":"hit its target."},{"text":""},{"text":"![Diagram showing the components present in the trigger volume"},{"text":"entity.](TriggerVolume-1)"},{"text":""},{"text":"The trigger volume itself is very simple. It lacks any physical appearance,"},{"text":"and doesn’t participate in physics simulations. This makes it very efficient"},{"text":"for tasks that require only collision detection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriggerVolume"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO18IntegerLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","IntegerLiteralType"],"names":{"title":"MaterialScalarParameter.IntegerLiteralType","navigator":[{"kind":"identifier","spelling":"IntegerLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IntegerLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents an integer literal."},{"text":""},{"text":"The standard library integer and floating-point types are all valid types"},{"text":"for `IntegerLiteralType`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IntegerLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","physicsBody"],"names":{"title":"physicsBody","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that is used for physics simulations of the model entity in"},{"text":"accordance with the laws of Newtonian mechanics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","last()"],"names":{"title":"last()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/last()`` when you need to emit only the last element from an upstream publisher."},{"text":""},{"text":"In the example below, the range publisher only emits the last element from the sequence publisher, `10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the last element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8verticalAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","vertical"],"names":{"title":"vertical","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertical"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Vertical surfaces."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertical"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","orientation"],"names":{"title":"orientation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s rotation relative to its parent. To get the"},{"text":"world-space orientation of the entity, use"},{"text":"``HasTransform/orientation(relativeTo:)``, passing `nil` as the"},{"text":"reference entity."},{"text":""},{"text":"This is the same as the ``Transform/rotation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult","navigator":[{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of an ownership transfer request."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:_:)"],"names":{"title":"map(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of two key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:)`` operator uses the Swift key path syntax to access the `die1` and `die2` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these two values (as an `(Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1) (total: \\(values.0 + values.1))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 6, 4 (total: 10)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of another property on `Output`."},{"text":"- Returns: A publisher that publishes the values of two key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV7Failurea","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","Failure"],"names":{"title":"Scene.Publisher.Failure","navigator":[{"kind":"identifier","spelling":"Failure"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of errors this publisher might publish."},{"text":""},{"text":"Use `Never` if this `Publisher` does not publish errors."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:)-48buc`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:_:)-16rcy`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, ``Publisher/combineLatest(_:_:_:)-48buc`` receives input from any of the publishers, combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":" //"},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9, 1)."},{"text":" // Result: (3, 2, 9, 1)."},{"text":" // Result: (3, 12, 9, 1)."},{"text":" // Result: (13, 12, 9, 1)."},{"text":" // Result: (13, 12, 19, 1)."},{"text":""},{"text":"If any individual publisher of the combined set terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV6targetAC6TargetOvp","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","target"],"names":{"title":"target","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The body-tracking setting."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BodyTrackingComponent","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance between two indices."},{"text":""},{"text":"Unless the collection conforms to the `BidirectionalCollection` protocol,"},{"text":"`start` must be less than or equal to `end`."},{"text":""},{"text":"- Parameters:"},{"text":" - start: A valid index of the collection."},{"text":" - end: Another valid index of the collection. If `end` is equal to"},{"text":" `start`, the result is zero."},{"text":"- Returns: The distance between `start` and `end`. The result can be"},{"text":" negative only if the collection conforms to the"},{"text":" `BidirectionalCollection` protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the"},{"text":" resulting distance."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO6custom_4typeAC8SemanticVy_xGSS_xmtlFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","custom(_:type:)"],"names":{"title":"custom(_:type:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8forwardsACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","forwards"],"names":{"title":"forwards","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that freezes the last frame of the animation until it stops."},{"text":""},{"text":"For example, if you increase a hand-waving animation’s duration one"},{"text":"second by setting ``SampledAnimation/trimEnd`` to"},{"text":"``SampledAnimation/duration`` + `1.0`, a ``SampledAnimation/fillMode``"},{"text":"of `forwards` determines that the hand waves and then freezes on its"},{"text":"final animation frame for one second before disappearing."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV3anyAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","any"],"names":{"title":"any","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Surfaces of any alignment."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13drawableQueueAC08DrawableF0CSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","drawableQueue"],"names":{"title":"drawableQueue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The drawable queue that was used to replace the texture."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC17compatibilityWithyAC0D0OACF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","compatibilityWith(_:)"],"names":{"title":"compatibilityWith(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatibilityWith"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Compares network compatibility tokens between the local device and"},{"text":"another device."},{"text":""},{"text":"- Parameters:"},{"text":"- otherToken: The token for the remote client against which the local"},{"text":"device checks compatibility"},{"text":""},{"text":"- Returns: Returns"},{"text":"``NetworkCompatibilityToken/Compatibility/compatible`` if the local"},{"text":"client and the remote client represented by `otherToken` can be synced."},{"text":"Any other result indicates that the two devices are incompatible and you"},{"text":"shouldn’t proceed with the connection."}]},"functionSignature":{"parameters":[{"name":"otherToken","declarationFragments":[{"kind":"identifier","spelling":"otherToken"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatibilityWith"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"otherToken"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","SurfaceShader","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the surface shader function."},{"text":""},{"text":"This is the name of the Metal function the custom material uses as"},{"text":"its surface shader. The name must match the name of a Metal function"},{"text":"in your Xcode project and can’t include parameters or parentheses."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV10importanceSo08AXCustomF10ImportanceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","importance"],"names":{"title":"importance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Determines when to output custom accessibility content."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4backyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","back"],"names":{"title":"MaterialParameterTypes.FaceCulling.back","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"back"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system culls back-facing polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"back"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASfRszrlE6framesSaySfGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point values in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of `Float` values."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21BodyTrackingComponentV6TargetO","interfaceLanguage":"swift"},"pathComponents":["BodyTrackingComponent","Target"],"names":{"title":"BodyTrackingComponent.Target","navigator":[{"kind":"identifier","spelling":"Target"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Target"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Body-tracking settings for selecting a person to track."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Target"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"BodyTrackingComponent is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC5clone9recursiveACXDSb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","clone(recursive:)"],"names":{"title":"clone(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Duplicates an entity to create a new entity."},{"text":""},{"text":"All component data is cloned automatically. If you clone an entity that"},{"text":"stores custom data that’s not part of a component, override the"},{"text":"``Entity/didClone(from:)`` method to copy that data manually."},{"text":""},{"text":"- Parameters:"},{"text":"- recursive: A Boolean that you set to `true` to recursively copy all"},{"text":"the children of the entity. Otherwise, no descendants are copied."},{"text":""},{"text":"- Returns: The duplicate."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","FloatLiteralType"],"names":{"title":"MaterialScalarParameter.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO5frontyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","front"],"names":{"title":"MaterialParameterTypes.FaceCulling.front","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"front"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system culls front-facing polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"front"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor"],"names":{"title":"MeshDescriptor","navigator":[{"kind":"identifier","spelling":"MeshDescriptor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshDescriptor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines a mesh."},{"text":""},{"text":"This struct contains all the mesh data for a model entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshDescriptor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV4bothACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","both"],"names":{"title":"both","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"both"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that displays the animation's initial frame or final frame"},{"text":"when playback occurs outside of the normal duration."},{"text":""},{"text":"For example, if you extend a hand-waving animation’s duration by one"},{"text":"second in both directions by setting ``SampledAnimation/trimStart`` to"},{"text":"`-1.0`, and ``SampledAnimation/trimEnd`` to"},{"text":"``SampledAnimation/duration`` + `1.0`, a ``SampledAnimation/fillMode``"},{"text":"of `both` determines that the hand holds its initial appearance for one"},{"text":"second before continuing to wave. Then, the animation freezes on its"},{"text":"final hand-waving frame for one second before disappearing."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"both"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","position(relativeTo:)"],"names":{"title":"position(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the position of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV17attenuationRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","attenuationRadius"],"names":{"title":"attenuationRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The attenuation radius in meters, after which the intensity of the"},{"text":"spotlight is zero."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","none"],"names":{"title":"MaterialParameterTypes.FaceCulling.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system doesn’t cull polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","TextureCoordinates"],"names":{"title":"MeshBuffers.TextureCoordinates","navigator":[{"kind":"identifier","spelling":"TextureCoordinates"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinates"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinates"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV6pointsSayAE0E0VGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud","points"],"names":{"title":"points","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PointCloud","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Point","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The fixed array of points describing the point cloud."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PointCloud","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Point","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC8resourceAA0C8ResourceCvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The resource that provides the audio stream."},{"text":""},{"text":"You create a playback controller configured with a particular resource"},{"text":"by calling an entity’s ``Entity/prepareAudio(_:)`` method."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyImpulse(_:at:relativeTo:)"],"names":{"title":"applyImpulse(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":" - position: The position at which to apply the impulse."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `impulse` are defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/map(_:)-99evh`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/map(_:)-99evh`` to transform from one kind of element to another."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/map(_:)-99evh`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/map(_:)-99evh``’s closure fails to look up a Roman numeral, it returns the string `(unknown)`."},{"text":""},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" cancellable = numbers.publisher"},{"text":" .map { romanNumeralDict[$0] ?? \"(unknown)\" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"V IV III II I (unknown)\""},{"text":""},{"text":"If your closure can throw an error, use Combine’s ``Publisher/tryMap(_:)`` operator instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O10compatibleyA2EmF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","compatible"],"names":{"title":"NetworkCompatibilityToken.Compatibility.compatible","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatible"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An indication that the compared devices are running compatible"},{"text":"versions of RealityKit."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatible"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["TweenMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV3endSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","end"],"names":{"title":"end","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An integer multiple of the frame interval at which the animation stops."},{"text":""},{"text":"When calculating the visual beginning of a sampled animation, the"},{"text":"framework first evaluates this property, and then applies the optional"},{"text":"``SampledAnimation/trimEnd``, in seconds."},{"text":""},{"text":"The framework requires this property to contain an integer multiple of"},{"text":"``SampledAnimation/frameInterval``. Note that the value of this property"},{"text":"can be irrational because frame interval is of type"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","trimmingPrefix(_:)"],"names":{"title":"trimmingPrefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Returns a new collection of the same type by removing initial elements"},{"text":"that satisfy the given predicate from the start."},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":"as its argument and returns a Boolean value indicating whether the"},{"text":"element should be removed from the collection."},{"text":"- Returns: A collection containing the elements of the collection that are"},{"text":" not removed by `predicate`."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Prefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Prefix","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"Prefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa","interfaceLanguage":"swift"},"pathComponents":["Material","Parameters"],"names":{"title":"Material.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O30sessionProtocolVersionMismatchyA2EmF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","sessionProtocolVersionMismatch"],"names":{"title":"NetworkCompatibilityToken.Compatibility.sessionProtocolVersionMismatch","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sessionProtocolVersionMismatch"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An indication that two peers running incompatible versions of"},{"text":"RealityKit can’t sync."},{"text":""},{"text":"The ``NetworkCompatibilityToken/compatibilityWith(_:)`` method"},{"text":"returns this value when two devices have different OS versions and"},{"text":"there has been a significant change in networking protocol between"},{"text":"those releases."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sessionProtocolVersionMismatch"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO3rawyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","raw"],"names":{"title":"TextureResource.Semantic.raw","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture unmodified."},{"text":""},{"text":"For texture properties that use the `raw` semantic, the number of"},{"text":"channels and values is the same as the source image. If the source"},{"text":"image contains color space information, RealityKit ignores it. For"},{"text":"`raw` textures, each individual pixel containes one floating-point"},{"text":"value between `0.0` and `1.0` for each channel in the source image."},{"text":"For example, a grayscale source image results in a texture that"},{"text":"contains one value per pixel, and an RGB source image results in"},{"text":"three values per pixel."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the scalar parameter by feeding them"},{"text":"into the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scalar parameter."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8Tangentsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Tangents"],"names":{"title":"MeshBuffers.Tangents","navigator":[{"kind":"identifier","spelling":"Tangents"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Tangents"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Tangents"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyAE_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves all `children` to be children of this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a custom material’s ambient occlusion"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The ambient occlusion property from a `CustomMaterial`."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6remove_24preservingWorldTransformyAC_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","remove(_:preservingWorldTransform:)"],"names":{"title":"remove(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified child from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - child: The child entity to remove from the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"child","declarationFragments":[{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setPosition(_:relativeTo:)"],"names":{"title":"setPosition(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the position of the entity relative to the given reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: A new position, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:)"],"names":{"title":"merge(with:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from four other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 33 2 50 100 -2 33\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV10horizontalAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","horizontal"],"names":{"title":"horizontal","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"horizontal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Horizontal surfaces."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"horizontal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV3topAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","top"],"names":{"title":"top","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"top"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The top of capsule was hit when moving in the up direction."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"top"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO7Normalsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Normals"],"names":{"title":"MeshBuffers.Normals","navigator":[{"kind":"identifier","spelling":"Normals"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normals"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normals"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation21HasSceneUnderstandingP","interfaceLanguage":"swift"},"pathComponents":["HasSceneUnderstanding"],"names":{"title":"HasSceneUnderstanding","navigator":[{"kind":"identifier","spelling":"HasSceneUnderstanding"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSceneUnderstanding"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A specification that detects and reacts to features of the physical"},{"text":"environment."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSceneUnderstanding"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to find the minimum value in a stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/min(by:)`` operator emits a value when the publisher finishes, that value is the minimum of the values received from upstream, which is `-1`."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .min()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"-1\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TweenModeO","interfaceLanguage":"swift"},"pathComponents":["TweenMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud","Point"],"names":{"title":"PhotogrammetrySession.PointCloud.Point","navigator":[{"kind":"identifier","spelling":"Point"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Point"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Point"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two scalar parameters are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first scalar parameter to compare."},{"text":""},{"text":" - rhs: The second scalar parameter to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scalar parameters"},{"text":"are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO9Positionsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Positions"],"names":{"title":"MeshBuffers.Positions","navigator":[{"kind":"identifier","spelling":"Positions"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Positions"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Positions"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV9backwardsACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","backwards"],"names":{"title":"backwards","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"backwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that shows the first animation frame while playback progresses"},{"text":"to the beginning position."},{"text":""},{"text":"For example, if you wind a hand-waving animation’s duration back one"},{"text":"second by setting ``SampledAnimation/trimStart`` to `-1.0`, a"},{"text":"``SampledAnimation/fillMode`` of `backwards` determines that the hand"},{"text":"holds its initial appearance for one second before waving."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"backwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO12floatLiteralACSf_tcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a scalar parameter from a floating-point literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent"],"names":{"title":"SpotLightComponent","navigator":[{"kind":"identifier","spelling":"SpotLightComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpotLightComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines a spotlight source."},{"text":""},{"text":"A spot light illuminates a cone-shaped volume in the entity's forward direction (0, 0, -1) . To orient a"},{"text":"spot light, use `HasTransform.look(at:from:upVector:)`."},{"text":""},{"text":"To enable shadows, create a ``RealityKit/DirectionalLightComponent/Shadow``"},{"text":"and assign it to `HasDirectionalLight.shadow`. To disable shadows set"},{"text":"`HasDirectionalLight.shadow` to `nil`."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpotLightComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27AnimationPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10primitivesAC10PrimitivesOSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","primitives"],"names":{"title":"primitives","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"primitives"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Primitives","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The primitives that make up the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"primitives"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Primitives","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16opacityThresholdSfSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A threshold below which RealityKit ignores opacity."},{"text":""},{"text":"When ``PhysicallyBasedMaterial/blending-swift.property`` is transparent,"},{"text":"this value controls how the opacity value affects rendering. The default"},{"text":"`opacityThreshold` value of `0.0` indicates that the opacity values"},{"text":"render at the specified transparency, with `0.0` rendered fully"},{"text":"transparent, `1.0` rendered fully opaque, and values between `0.0` and"},{"text":"`1.0` rendering partially transparent."},{"text":""},{"text":"If `opacityThreshold` is greater than `0.0`, RealityKit doesn’t render"},{"text":"opacity values less than the `opacityThreshold` at all, and renders"},{"text":"opacity values greater than or equal to `opacityThreshold` fully opaque."},{"text":""},{"text":"When ``PhysicallyBasedMaterial/blending-swift.property`` is opaque,"},{"text":"RealityKit ignores this value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Element"],"names":{"title":"JointTransforms.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An individual joint transform in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","visualBounds(recursive:relativeTo:excludeInactive:)"],"names":{"title":"visualBounds(recursive:relativeTo:excludeInactive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Computes a bounding box for the entity in the specified space,"},{"text":"optionally including child entities."},{"text":""},{"text":"The method has complexity `O(n)`, where `n` is the number of entities in"},{"text":"the hierarchy."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to incorporate the bounds"},{"text":"of all descendants."},{"text":""},{"text":" - referenceEntity: An entity that defines a frame of reference. Set to"},{"text":"`nil` to indicate world space."},{"text":""},{"text":"- excludeInactive: A Boolean that you set to `true` to exclude inactive"},{"text":"entities."},{"text":""},{"text":"- Returns: The bounding box."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"excludeInactive","declarationFragments":[{"kind":"identifier","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO32geometryModifierFunctionNotFoundyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","geometryModifierFunctionNotFound"],"names":{"title":"CustomMaterialError.geometryModifierFunctionNotFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"geometryModifierFunctionNotFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"geometryModifierFunctionNotFound"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction"],"names":{"title":"MaterialFunction","navigator":[{"kind":"identifier","spelling":"MaterialFunction"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialFunction"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The abstract superclass for objects representing compute functions for RealityKit custom materials ."},{"text":""},{"text":"This class is the parent of, and contains common properties and methods for ``GeometryModifier``"},{"text":"and ``SurfaceShader``. Don’t create an instance of this superclass yourself."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialFunction"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","multicast(subject:)"],"names":{"title":"multicast(subject:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Provides a subject to deliver elements to multiple subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(_:)``, this method produces a publisher that shares the provided ``Subject`` among all the downstream subscribers."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(subject:)`` operator with a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast(subject: PassthroughSubject<(String, Int), Never>())"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 78))"},{"text":" // Stream 2 received: (\"First\", 78)"},{"text":" // Stream 1 received: (\"First\", 78)"},{"text":" // Random: receive value: ((\"Second\", 98))"},{"text":" // Stream 2 received: (\"Second\", 98)"},{"text":" // Stream 1 received: (\"Second\", 98)"},{"text":" // Random: receive value: ((\"Third\", 61))"},{"text":" // Stream 2 received: (\"Third\", 61)"},{"text":" // Stream 1 received: (\"Third\", 61)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter subject: A subject to deliver elements to downstream subscribers."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12requestErroryAeC7RequestO_s0G0_ptcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","requestError(_:_:)"],"names":{"title":"PhotogrammetrySession.Output.requestError(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestError"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session aborted a request due to an error."},{"text":""},{"text":"- Parameters:"},{"text":" - Request: The request in progress."},{"text":" - Error: Details of the error."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestError"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4sideAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","side"],"names":{"title":"side","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"side"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The side of capsule was hit when moving in the direction tangent to the up vector."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"side"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation10BindTargetO","interfaceLanguage":"swift"},"pathComponents":["BindTarget","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness"],"names":{"title":"PhysicallyBasedMaterial.ClearcoatRoughness","navigator":[{"kind":"identifier","spelling":"ClearcoatRoughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the degree to which an entity’s clear, shiny"},{"text":"coating scatters light to create soft highlights."},{"text":""},{"text":"This object specifies clearcoat roughness for entities that have"},{"text":"clearcoat enabled. A clearcoat is a separate layer of transparent"},{"text":"specular highlights used to simulate a clear coating, like on a car or"},{"text":"the surface of lacquered objects. When you enable clearcoat rendering"},{"text":"for a material, RealityKit renders the clearcoat as a separate layer"},{"text":"just above the surface of the entity. You can specify a clearcoat"},{"text":"roughness value to indicate how much the clearcoat scatters light that"},{"text":"bounces off of it, which softens and spreads out the highlights."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements up to the specified maximum count."},{"text":""},{"text":"Use ``Publisher/prefix(_:)`` to limit the number of elements republished to the downstream subscriber."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(_:)`` operator limits its output to the first two elements before finishing normally:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .prefix(2)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to republish."},{"text":"- Returns: A publisher that publishes up to the specified number of elements."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","timeout(_:scheduler:options:customError:)"],"names":{"title":"timeout(_:scheduler:options:customError:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Terminates publishing if the upstream publisher exceeds the specified time interval without producing an element."},{"text":""},{"text":"Use ``Publisher/timeout(_:scheduler:options:customError:)`` to terminate a publisher if an element isn’t delivered within a timeout interval you specify."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes elements and is configured to time out if no new elements are received within its `TIME_OUT` window of 5 seconds. A single value is published after the specified 2-second `WAIT_TIME`, after which no more elements are available; the publisher then times out and completes normally."},{"text":""},{"text":" var WAIT_TIME : Int = 2"},{"text":" var TIMEOUT_TIME : Int = 5"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" let cancellable = subject"},{"text":" .timeout(.seconds(TIMEOUT_TIME), scheduler: DispatchQueue.main, options: nil, customError:nil)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0) at \\(Date())\") },"},{"text":" receiveValue: { print (\"value: \\($0) at \\(Date())\") }"},{"text":" )"},{"text":""},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(WAIT_TIME),"},{"text":" execute: { subject.send(\"Some data - sent after a delay of \\(WAIT_TIME) seconds\") } )"},{"text":""},{"text":" // Prints: value: Some data - sent after a delay of 2 seconds at 2020-03-10 23:47:59 +0000"},{"text":" // completion: finished at 2020-03-10 23:48:04 +0000"},{"text":""},{"text":""},{"text":"If `customError` is `nil`, the publisher completes normally; if you provide a closure for the `customError` argument, the upstream publisher is instead terminated upon timeout, and the error is delivered to the downstream."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The maximum time interval the publisher can go without emitting an element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to deliver events."},{"text":" - options: Scheduler options that customize the delivery of elements."},{"text":" - customError: A closure that executes if the publisher times out. The publisher sends the failure returned by this closure to the subscriber as the reason for termination."},{"text":"- Returns: A publisher that terminates if the specified interval elapses with no events received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]},{"name":"customError","declarationFragments":[{"kind":"identifier","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Iterator"],"names":{"title":"JointTransforms.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the collection's iteration interface and"},{"text":"encapsulates its iteration state."},{"text":""},{"text":"By default, a collection conforms to the `Sequence` protocol by"},{"text":"supplying `IndexingIterator` as its associated `Iterator`"},{"text":"type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","removeDuplicates()"],"names":{"title":"removeDuplicates()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element."},{"text":""},{"text":"Use ``Publisher/removeDuplicates()`` to remove repeating elements from an upstream publisher. This operator has a two-element memory: the operator uses the current and previously published elements as the basis for its comparison."},{"text":""},{"text":"In the example below, ``Publisher/removeDuplicates()`` triggers on the doubled, tripled, and quadrupled occurrences of `1`, `3`, and `4` respectively. Because the two-element memory considers only the current element and the previous element, the operator prints the final `0` in the example data since its immediate predecessor is `4`."},{"text":""},{"text":" let numbers = [0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .removeDuplicates()"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 0\""},{"text":""},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO29surfaceShaderFunctionNotFoundyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","surfaceShaderFunctionNotFound"],"names":{"title":"CustomMaterialError.surfaceShaderFunctionNotFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"surfaceShaderFunctionNotFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"surfaceShaderFunctionNotFound"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV15maximumDistanceSfvp","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","maximumDistance"],"names":{"title":"maximumDistance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum distance for the shadow."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO14integerLiteralACSi_tcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a scalar parameter from an integer literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsVAEycfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addForce(_:relativeTo:)"],"names":{"title":"addForce(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `force` is defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO023defaultSurfaceShaderForD8NotFoundyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","defaultSurfaceShaderForMaterialNotFound"],"names":{"title":"CustomMaterialError.defaultSurfaceShaderForMaterialNotFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSurfaceShaderForMaterialNotFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSurfaceShaderForMaterialNotFound"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the collection are not returned as part"},{"text":"of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \"))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the collection and for each instance of `separator` at"},{"text":" the start or end of the collection. If `true`, only nonempty"},{"text":" subsequences are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a 4x4"},{"text":"matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryV","interfaceLanguage":"swift"},"pathComponents":["EntityQuery"],"names":{"title":"EntityQuery","navigator":[{"kind":"identifier","spelling":"EntityQuery"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityQuery"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that retrieves entities from a scene."},{"text":""},{"text":"Use entity queries to iterate through all entities in a RealityKit scene"},{"text":"that meet certain criteria. To specify which entities to retrieve, use a"},{"text":"``QueryPredicate``."},{"text":""},{"text":"To execute the query, pass it into the scene’s ``RealityKit/Scene/performQuery(_:)``"},{"text":"method and then iterate over the results."},{"text":""},{"text":"```swift"},{"text":"// Build a query to retrieve all anchor components."},{"text":"let query = EntityQuery(where: .has(AnchorComponent.self)"},{"text":""},{"text":"// Ask the scene to perform the query and iterate over the returned"},{"text":"entities. scene.performQuery(query).forEach { entity in"},{"text":" // Make any needed changes to entities."},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityQuery"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4name8duration4axis14startTransform13spinClockwise12orientToPath13rotationCount10bindTarget10blendLayer10repeatMode04fillV010isAdditive9trimStart0Z3End0Z8Duration6offset5delay5speedACSS_Sds5SIMD3VySfGAA0I0VS2bSfAA04BindR0OSgs5Int32VAA0d6RepeatV0OAA0d4FillV0VSbSdSgA8_A8_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","init(name:duration:axis:startTransform:spinClockwise:orientToPath:rotationCount:bindTarget:blendLayer:repeatMode:fillMode:isAdditive:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(name:duration:axis:startTransform:spinClockwise:orientToPath:rotationCount:bindTarget:blendLayer:repeatMode:fillMode:isAdditive:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that revolves an entity around its origin."},{"text":""},{"text":"- Parameters:"},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - duration: The elapsed time for one complete rotation."},{"text":""},{"text":" - axis: A 3D vector that points in the direction of the axis around"},{"text":"which to rotate."},{"text":""},{"text":" - startTransform: The orbiting entity's beginning position."},{"text":""},{"text":" - spinClockwise: A Boolean value that indicates whether the object"},{"text":"orbits the center point in the clockwise direction."},{"text":""},{"text":" - orientToPath: A Boolean value that indicates whether the orbiting"},{"text":"object updates its orientation during the animation to orient itself"},{"text":"along the rotation path."},{"text":""},{"text":" - rotationCount: The number of times to rotate the target entity before"},{"text":"stopping."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(x: 0.0, y: 1.0, z: 0.0), "},{"kind":"externalParam","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" = .identity, "},{"kind":"externalParam","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier"],"names":{"title":"MeshBuffers.Identifier","navigator":[{"kind":"identifier","spelling":"Identifier"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV22isObjectMaskingEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","isObjectMaskingEnabled"],"names":{"title":"isObjectMaskingEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isObjectMaskingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the session uses object masks."},{"text":""},{"text":"If this value is true, but the samples don’t contain object masks, RealityKit attempts to"},{"text":"automatically create a mask algorithmically. If it’s unable to create a mask, RealityKit reverts to"},{"text":"reconstructing the object using the entire image."},{"text":""},{"text":"If this value is true and the request’s samples do include object masks, RealityKit uses the"},{"text":"provided masks to separate the foreground object from the background."},{"text":""},{"text":"If this value is false, RealityKit doesn’t attempt to separate the sample foreground from the"},{"text":"background, even if the samples have object masks."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isObjectMaskingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label5value10importanceAE0B023LocalizedStringResourceV_AKSo08AXCustomF10ImportanceVtcfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","init(label:value:importance:)"],"names":{"title":"init(label:value:importance:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new CustomContent with the given label, value, and importance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO7textureyAcA15TextureResourceCcACmF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","texture(_:)"],"names":{"title":"MaterialScalarParameter.texture(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A one-channel texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC22isAccessibilityElementSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isAccessibilityElement"],"names":{"title":"isAccessibilityElement","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value indicating whether the receiver is an accessibility"},{"text":"element that an assistive application can access."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","multicast(_:)"],"names":{"title":"multicast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">(() -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure to create a subject that delivers elements to subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(subject:)``, this method produces a publisher that creates a separate ``Subject`` for each subscriber."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(_:)`` operator whose closure creates a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast { PassthroughSubject<(String, Int), Never>() }"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 9))"},{"text":" // Stream 2 received: (\"First\", 9)"},{"text":" // Stream 1 received: (\"First\", 9)"},{"text":" // Random: receive value: ((\"Second\", 46))"},{"text":" // Stream 2 received: (\"Second\", 46)"},{"text":" // Stream 1 received: (\"Second\", 46)"},{"text":" // Random: receive value: ((\"Third\", 26))"},{"text":" // Stream 2 received: (\"Third\", 26)"},{"text":" // Stream 1 received: (\"Third\", 26)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter createSubject: A closure to create a new ``Subject`` each time a subscriber attaches to the multicast publisher."}]},"functionSignature":{"parameters":[{"name":"createSubject","declarationFragments":[{"kind":"identifier","spelling":"createSubject"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"createSubject"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" () -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV6ShadowV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC5sceneAA5SceneCSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scene that owns the entity."},{"text":""},{"text":"An entity belongs to a scene if the entity is part of a hierarchy that’s"},{"text":"rooted in the scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The value of the property is `nil` if the entity isn’t currently"},{"text":"attached to any scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13inputCompleteyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","inputComplete"],"names":{"title":"PhotogrammetrySession.Output.inputComplete","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inputComplete"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The data ingestion portion of the process is complete."},{"text":""},{"text":"Once the session sends this messagae, processing on the actual requests begins."},{"text":"It only sends this on the first `process()` call after which the data from the original"},{"text":"processing is reused."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inputComplete"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","TriangleIndices"],"names":{"title":"MeshBuffers.TriangleIndices","navigator":[{"kind":"identifier","spelling":"TriangleIndices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleIndices"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleIndices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGqd__cSTRd__Sd7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from six other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers; it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubE, pubG)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 2 50 100 -2 33 33 54\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom clearcoat object from a physically based material’s"},{"text":"clearcoat property."},{"text":""},{"text":"This initializer creates a new object by copying the"},{"text":"``PhysicallyBasedMaterial/ClearcoatRoughness-swift.struct/scale``"},{"text":"and"},{"text":"``PhysicallyBasedMaterial/ClearcoatRoughness-swift.struct/texture``"},{"text":"values from an existing"},{"text":"``PhysicallyBasedMaterial/ClearcoatRoughness-swift.struct`` object."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The values from this property are available in the custom material’s"},{"text":"surface shader function regardless of the value of"},{"text":"``CustomMaterial/lightingModel-swift.property`` , but clearcoat"},{"text":"isn’t drawn unless the custom material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"surface shader calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve `scale` and"},{"text":"`texture` in a surface shader, and use them to specify the clearcoat"},{"text":"and clearcoat roughness values:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the clearcoat scale and roughness from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":" float clearcoatRoughnessScale = params.material_constants().clearcoat_roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample a value from the clearcoat and clearcoat roughness textures."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":" half clearcoatRoughess = tex.clearcoat_roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat,"},{"text":" // and assign the result."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat roughness,"},{"text":" // and assign the result."},{"text":" clearcoatRoughess *= clearcoatRoughnessScale;"},{"text":" params.surface().set_clearcoat_roughness(clearcoatRoughess);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The"},{"text":"``PhysicallyBasedMaterial/clearcoatRoughness-swift.property``"},{"text":"property from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5group4name10repeatMode04fillH09trimStart0J3End0J8Duration6offset5delay5speedACSayAA0C10Definition_pG_SSAA0c6RepeatH0OAA0c4FillH0VSdSgA2TS2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","init(group:name:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(group:name:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collection of animations that play simultaneously."},{"text":""},{"text":"- Parameters:"},{"text":" - group: A collection of animations to run."},{"text":""},{"text":" - name: A textual name for the group."},{"text":""},{"text":" - repeatMode: An option that determines how the animations repeat."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The time, in seconds, at which the animations play."},{"text":""},{"text":" - trimEnd: The time, in seconds, at which the animations stop."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel"],"names":{"title":"CustomMaterial.LightingModel","navigator":[{"kind":"identifier","spelling":"LightingModel"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LightingModel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines how the framework renders a custom material."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LightingModel"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setScale(_:relativeTo:)"],"names":{"title":"setScale(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the scale factor of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A new scale factor, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"scale","declarationFragments":[{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationGroup/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationGroup/trimStart``, ``AnimationGroup/trimEnd``, or"},{"text":"``AnimationGroup/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:_:_:)"],"names":{"title":"map(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of three key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:_:)`` operator uses the Swift key path syntax to access the `die1`, `die2`, and `die3` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these three values (as an `(Int, Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" let die3: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6),"},{"text":" die3: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2, \\.die3)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1), \\(values.2) (total \\(values.0 + values.1 + values.2))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 5, 4, 2 (total 11)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of a second property on `Output`."},{"text":" - keyPath2: The key path of a third property on `Output`."},{"text":"- Returns: A publisher that publishes the values of three key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},{"name":"keyPath2","declarationFragments":[{"kind":"identifier","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1},{"name":"T2","index":2,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semanticAC8SemanticOSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","semantic"],"names":{"title":"semantic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until a given closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/drop(while:)`` to omit elements from an upstream publisher until the element received meets a condition you specify."},{"text":""},{"text":"In the example below, the operator omits all elements in the stream until the first element arrives that’s a positive integer, after which the operator publishes all remaining elements:"},{"text":""},{"text":" let numbers = [-62, -1, 0, 10, 0, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .drop { $0 <= 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10 0, 22 41 -1 5\""},{"text":""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError"],"names":{"title":"CustomMaterialError","navigator":[{"kind":"identifier","spelling":"CustomMaterialError"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterialError"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Errors generated when loading custom material functions."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterialError"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Indices"],"names":{"title":"JointTransforms.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents the indices that are valid for subscripting the"},{"text":"collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlE8elements7indicesACySdGSaySdG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV3farSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","far"],"names":{"title":"far","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum distance in meters from the camera that the camera can see."},{"text":""},{"text":"The value defaults to infinity. Always use a value greater than the"},{"text":"value of ``PerspectiveCameraComponent/near``. The renderer clips any"},{"text":"surface beyond the ``PerspectiveCameraComponent/far`` point."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionP","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsMotion"],"names":{"title":"HasPhysicsMotion","navigator":[{"kind":"identifier","spelling":"HasPhysicsMotion"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsMotion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides velocity properties for physics simulations."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsMotion"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO4bodyyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","body"],"names":{"title":"AnchoringComponent.Target.body","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"body"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The user’s body."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"body"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"Body anchoring is not available on visionOS.","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The values from this property are available in the custom material’s"},{"text":"surface shader function regardless of the value of"},{"text":"``CustomMaterial/lightingModel-swift.property`` , but clearcoat"},{"text":"isn’t drawn unless the custom material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"surface shader calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the scale and"},{"text":"texture values from this property and use them to enable clearcoat"},{"text":"rendering."},{"text":""},{"text":"```other"},{"text":" // Retrieve the clearcoat scale and roughness from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":" float clearcoatRoughnessScale = params.material_constants().clearcoat_roughness_scale();"},{"text":""},{"text":" // Assign the clearcoat scale to enable clearcoat rendering (if"},{"text":" // lightingModel is .clearcoat)."},{"text":" params.surface().set_clearcoat(clearcoatScale);"},{"text":""},{"text":" // Assign the clearcoat roughness from the scale property set"},{"text":" // on the custom material."},{"text":" params.surface().set_clearcoat_roughness(clearcoatRoughnessScale);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The clearcoat value to use for the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV37isContinuousCollisionDetectionEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isContinuousCollisionDetectionEnabled"],"names":{"title":"isContinuousCollisionDetectionEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isContinuousCollisionDetectionEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that controls whether the physics simulation performs"},{"text":"continuous collision detection."},{"text":""},{"text":"Set the value to `true` to perform continuous collision detection. The"},{"text":"value is `false` by default, indicating the simulation should apply"},{"text":"discrete collision detection."},{"text":""},{"text":"Discrete collision detection considers only the position of a body once"},{"text":"per rendered frame, or about every 16 milliseconds at 60 frames per"},{"text":"second. Continuous collision detection considers the position of the"},{"text":"body throughout the frame interval. The latter is more computationally"},{"text":"expensive, but can help to avoid missing a collision for a quickly"},{"text":"moving object, like a projectile."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isContinuousCollisionDetectionEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO5floatyACSfcACmF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","float(_:)"],"names":{"title":"MaterialScalarParameter.float(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A scalar, single-precision value."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5startSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","start"],"names":{"title":"start","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An integer multiple of the frame interval at which the animation plays."},{"text":""},{"text":"When calculating the visual beginning of a sampled animation, the"},{"text":"framework first evaluates this property, and then applies the optional"},{"text":"``SampledAnimation/trimStart``, in seconds."},{"text":""},{"text":"The framework requires this property to contain an integer multiple of"},{"text":"``SampledAnimation/frameInterval``. Note that the value of this property"},{"text":"can be irrational because frame interval is of type"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV5named2inAESS_So10MTLLibrary_ptcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","GeometryModifier","init(named:in:)"],"names":{"title":"init(named:in:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a geometry modifier object from a named function in a Metal"},{"text":"library."},{"text":""},{"text":"To create a geometry modifier function for a custom material, create"},{"text":"a Metal file in your Xcode project. Prefix the function with the"},{"text":"keyword `[[visible]]`. The function must take a single parameter of"},{"text":"type `realitykit::geometry_parameters`."},{"text":""},{"text":"Here’s what a minimal geometry modifier function looks like:"},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"[[visible]] void myGeometryModifier(realitykit::geometry_parameters"},{"text":"params) {"},{"text":" // User params.geometry().set_model_position_offset() to move the vertex."},{"text":"} ```"},{"text":""},{"text":"To create a custom material using this shader, get a reference to"},{"text":"your app’s Metal library. You can do that like this:"},{"text":""},{"text":"```swift"},{"text":"guard let device = MTLCreateSystemDefaultDevice() else {"},{"text":" fatalError(\"Error creating default metal device.\")"},{"text":"}"},{"text":"guard let library = maybeDevice.makeDefaultLibrary() else {"},{"text":" fatalError(\"Error creating default metal library\")"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Once you’ve got a reference to your Metal library, use it to create"},{"text":"the surface shader reference like this:"},{"text":""},{"text":"```swift"},{"text":"let geometryModifier = CustomMaterial.GeometryModifier("},{"text":" named: \"myGeometryModifier\","},{"text":" in: library)"},{"text":"```"},{"text":""},{"text":"- Important: RealityKit loads surface shader functions by name, so"},{"text":"the name of your surface shader function must be unique and must"},{"text":"exactly match the `named` parameter."},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the geometry modifier function."},{"text":""},{"text":" - library: The Metal library that contains the function."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a"},{"text":"transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGSaySdGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the entity."},{"text":""},{"text":"You can find an entity by name in a scene by calling the scene’s"},{"text":"``Scene/findEntity(named:)`` method. Or you can recursively search among"},{"text":"the children of a given entity by calling the entity’s"},{"text":"``Entity/findEntity(named:)`` method."},{"text":""},{"text":"Entity names are not guaranteed to be unique. When you search by name,"},{"text":"these methods return the first entity encountered with the given name."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the target by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of"},{"text":"the target."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV12depthDataMapSo11CVBufferRefaSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","depthDataMap"],"names":{"title":"depthDataMap","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthDataMap"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image’s depth data."},{"text":""},{"text":"Some cameras, including iPhone cameras, capture depth data in addition"},{"text":"to image data. Providing this data can help ``PhotogrammetrySession``"},{"text":"determine the real-world scale of the photographed object and result in"},{"text":"a correctly sized 3D object for placement in an AR scene. This property"},{"text":"is read-only."},{"text":""},{"text":"Depth data can be in either"},{"text":""},{"text":"or"},{"text":""},{"text":"format."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthDataMap"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s position relative to its parent. To get the"},{"text":"world-space position of the entity in the scene, use"},{"text":"``HasTransform/position(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/translation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO19insufficientStorageyAEs5Int64V_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","insufficientStorage(requiredBytes:)"],"names":{"title":"PhotogrammetrySession.Error.insufficientStorage(requiredBytes:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insufficientStorage"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"requiredBytes"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int64","preciseIdentifier":"s:s5Int64V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"There is insufficient storage available to begin the computation which requires"},{"text":"`requiredBytes` estimated bytes."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insufficientStorage"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"requiredBytes"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int64","preciseIdentifier":"s:s5Int64V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode","navigator":[{"kind":"identifier","spelling":"OwnershipTransferMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Modes of ownership transfer."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation11EventSourceP","interfaceLanguage":"swift"},"pathComponents":["EventSource"],"names":{"title":"EventSource","navigator":[{"kind":"identifier","spelling":"EventSource"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EventSource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type on which events can be published and subscribed."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EventSource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV6bottomAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","bottom"],"names":{"title":"bottom","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bottom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bottom of capsule was hit when moving in the down direction."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bottom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidOutputyAE0B03URLVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","invalidOutput(_:)"],"names":{"title":"PhotogrammetrySession.Error.invalidOutput(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidOutput"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The output location specified was invalid for some reason."},{"text":"It must be an empty directory or a non-existent file ending with '.usdz'."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidOutput"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V5colors5SIMD4Vys5UInt8VGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud","Point","color"],"names":{"title":"color","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Color of the point ordered as RGBA."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4noneAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","none"],"names":{"title":"none","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"No collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV9depthBiasSfvp","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","depthBias"],"names":{"title":"depthBias","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthBias"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The depth bias for the shadow."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthBias"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","reanchor(_:preservingWorldTransform:)"],"names":{"title":"reanchor(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Changes the entity’s anchoring, preserving either the world transform or"},{"text":"the local transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: Describes how the entity should be anchored in AR."},{"text":""},{"text":"- preservingWorldTransform: A Boolean you set to `true` to preserve the"},{"text":"current world space position, or `false` to use the position relative to"},{"text":"the previous anchor for the new anchor."}]},"functionSignature":{"parameters":[{"name":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9materialsAC9MaterialsOvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","materials"],"names":{"title":"materials","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Materials","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material assignments."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Materials","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView"],"names":{"title":"AnimationView","navigator":[{"kind":"identifier","spelling":"AnimationView"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationView"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that represents a variation of another animation."},{"text":""},{"text":"This structure creates a variation of an existing animation by overriding"},{"text":"its configuration. The term _view_ in the name signifies that the variation"},{"text":"represents a new visual perspective of the existing animation."},{"text":""},{"text":"## Create a Clip of an Animation"},{"text":""},{"text":"By supplying a new beginning time (``AnimationView/trimStart``) and ending"},{"text":"time (``AnimationView/trimEnd``), the following code creates a shorter clip"},{"text":"of an existing animation. With ``AnimationView/trimStart`` set to `1.0` and"},{"text":"``AnimationView/trimEnd`` at `2.0`, the clip spans a one-second duration."},{"text":""},{"text":"```swift"},{"text":"// Create or access an existing animation."},{"text":"let anim1 = FromToByAnimation(name: \"Anim1\","},{"text":" from: 100.0, to: 200.0, duration: 10.0)"},{"text":""},{"text":"// Use a view to create a clip of the original animation."},{"text":"let view = AnimationView(source: anim1,"},{"text":" name: \"clip\","},{"text":" bindTarget: nil,"},{"text":" blendLayer: 0,"},{"text":" repeatMode: .autoReverse,"},{"text":" fillMode: [],"},{"text":" trimStart: 1.0,"},{"text":" trimEnd: 2.0,"},{"text":" trimDuration: nil,"},{"text":" offset: 0,"},{"text":" delay: 0,"},{"text":" speed: 1.0)"},{"text":""},{"text":"// Create an animation resource from the clip."},{"text":"clipResource = try? AnimationResource.generate(with: view)"},{"text":""},{"text":"// Play the clip."},{"text":"myModelEntity.playAnimation(clipResource)"},{"text":"```"},{"text":""},{"text":"## Define a View in Relation to the Animation Source"},{"text":""},{"text":"The source animation's timing properties define a _timeline_ on which the"},{"text":"``AnimationView/trimDuration``, ``AnimationView/delay``, and"},{"text":"``AnimationView/speed`` properties operate to derive the view. The"},{"text":"``AnimationView/trimDuration`` property specifies which animation data the"},{"text":"view displays. If ``AnimationView/trimDuration`` exceeds the length of the"},{"text":"source animation’s timeline, the animation plays according to the"},{"text":"characteristics of ``AnimationView/repeatMode``. The ``AnimationView/delay``"},{"text":"property defines a waiting period before the animation begins, and the"},{"text":"``AnimationView/speed`` determines how fast the view plays in relation to"},{"text":"the original pace."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationView"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An index to the first joint transform in the collection."},{"text":""},{"text":"For more on the sequence's beginning index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","throttle(for:scheduler:latest:)"],"names":{"title":"throttle(for:scheduler:latest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes either the most-recent or first element published by the upstream publisher in the specified time interval."},{"text":""},{"text":"Use ``Publisher/throttle(for:scheduler:latest:)`` to selectively republish elements from an upstream publisher during an interval you specify. Other elements received from the upstream in the throttling interval aren’t republished."},{"text":""},{"text":"In the example below, a produces elements on one-second intervals; the ``Publisher/throttle(for:scheduler:latest:)`` operator delivers the first event, then republishes only the latest event in the following ten second intervals:"},{"text":""},{"text":" cancellable = Timer.publish(every: 3.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .print(\"\\(Date().description)\")"},{"text":" .throttle(for: 10.0, scheduler: RunLoop.main, latest: true)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print(\"Received Timestamp \\($0).\") }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:26:57 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:26:57 +0000."},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:00 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:03 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:06 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:09 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:27:09 +0000."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The interval at which to find and emit either the most recent or the first element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to publish elements."},{"text":" - latest: A Boolean value that indicates whether to publish the most recent element. If `false`, the publisher emits the first element received during the interval."},{"text":"- Returns: A publisher that emits either the most-recent or first element received during the specified interval."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"latest","declarationFragments":[{"kind":"identifier","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13invalidSampleyAESi_SStcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","invalidSample(id:reason:)"],"names":{"title":"PhotogrammetrySession.Output.invalidSample(id:reason:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidSample"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"reason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A provided sample was invalid."},{"text":""},{"text":"- Parameters:"},{"text":" - id: The sample ID."},{"text":" - reason: The reason the sample is invalid."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidSample"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"reason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValueAEs5UInt8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes collisions flags from a raw value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation10HasPhysicsP","interfaceLanguage":"swift"},"pathComponents":["HasPhysics"],"names":{"title":"HasPhysics","navigator":[{"kind":"identifier","spelling":"HasPhysics"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysics"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that combines the physics body and physics motion interfaces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysics"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasPhysicsBody","preciseIdentifier":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"HasPhysicsMotion","preciseIdentifier":"s:17RealityFoundation16HasPhysicsMotionP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addTorque(_:relativeTo:)"],"names":{"title":"addTorque(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a torque to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added torque until the end of the"},{"text":"frame interval. To continue exerting the torque after that time, add the"},{"text":"torque again with another call to the method. Handle the"},{"text":"``SceneEvents/Update`` event to receive an indication of when the frame"},{"text":"interval ends. For an app that renders at 60 frames per second (fps),"},{"text":"this event occurs about once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - torque: A torque in newton meters per radian."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `torque` is defined."}]},"functionSignature":{"parameters":[{"name":"torque","declarationFragments":[{"kind":"identifier","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV8isCustomSbvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","isCustom"],"names":{"title":"isCustom","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isCustom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isCustom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of function found in library"},{"text":""},{"text":"This function should exist in the given library and be declared"},{"text":"with the `[[visible]]` attribute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV6group_SayAA0C10Definition_pGSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","group_"],"names":{"title":"group_","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group_"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional collection of animations to run."},{"text":""},{"text":"Don't use this property. Use ``AnimationGroup/group`` instead."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group_"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"*","message":"Use .group variable in AnimationGroup instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent"],"names":{"title":"SceneUnderstandingComponent","navigator":[{"kind":"identifier","spelling":"SceneUnderstandingComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUnderstandingComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that maps features of the physical environment."},{"text":""},{"text":"Example features include faces and the shape of arbitrary regions."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUnderstandingComponent"}],"accessLevel":"public","availability":[{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation5EventP","interfaceLanguage":"swift"},"pathComponents":["Event"],"names":{"title":"Event","navigator":[{"kind":"identifier","spelling":"Event"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Event"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that can be sent as an event."},{"text":""},{"text":"RealityKit provides a number of events you can subscribe to to get notified when"},{"text":"things happens in a scene. For example, you can subscribe to ``RealityKit/CollisionEvents/Began``"},{"text":"to get notified when two objects begin colliding, or ``RealityKit/SceneEvents/Update`` to get notified"},{"text":"when the scene redraws."},{"text":""},{"text":" ## Subscribe with a closure"},{"text":""},{"text":"To subscribe to a scene event, import Combine, create a property of type "},{"text":"to maintain a reference to the subscription, then call ``RealityKit/Scene/subscribe(to:on:_:)``"},{"text":"or ``RealityKit/Scene/subscribe(to:on:componentType:_:)`` and provide a closure."},{"text":""},{"text":"The closure is passed an ``RealityKit/Scene/Event`` object that contains information relevant to the type of event you subscribed to."},{"text":""},{"text":"Here's an example of subscribing to the collision begain event and retrieving the two entities involved in the collision:"},{"text":""},{"text":"```swift"},{"text":" import AppKit"},{"text":" import RealityKit"},{"text":" import Combine"},{"text":""},{"text":" class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.subscribe("},{"text":" to: CollisionEvents.Began.self,"},{"text":" on: boxAnchor"},{"text":" ) { event in"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":" }"},{"text":" }"},{"text":"```"},{"text":""},{"text":" ## Subscribe using a method"},{"text":""},{"text":"You can also subscribe to events using a function rather than a closure by using"},{"text":"."},{"text":"Here's an example of using a function to respond to that same event:"},{"text":""},{"text":"```swift"},{"text":"import AppKit"},{"text":"import RealityKit"},{"text":"import Combine"},{"text":""},{"text":"class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.publisher(for: CollisionEvents.Began.self,"},{"text":" on:nil).sink(receiveValue: onCollisionBegan)"},{"text":" }"},{"text":""},{"text":" private func onCollisionBegan(_ event:"},{"text":" CollisionEvents.Began) {"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Event"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidImagesyAE0B03URLVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","invalidImages(_:)"],"names":{"title":"PhotogrammetrySession.Error.invalidImages(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidImages"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"There was a problem with the image folder URL provided."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidImages"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect()"],"names":{"title":"collect()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects all received elements, and emits a single array of the collection when the upstream publisher finishes."},{"text":""},{"text":"Use ``Publisher/collect()`` to gather elements into an array that the operator emits after the upstream publisher finishes."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"This publisher requests an unlimited number of elements from the upstream publisher and uses an unbounded amount of memory to store the received values. The publisher may exert memory pressure on the system for very large sets of elements."},{"text":""},{"text":"The ``Publisher/collect()`` operator only sends the collected array to its downstream receiver after a request whose demand is greater than 0 items. Otherwise, ``Publisher/collect()`` waits until it receives a non-zero request."},{"text":""},{"text":"In the example below, an Integer range is a publisher that emits an array of integers:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\""},{"text":""},{"text":"- Returns: A publisher that collects all received items and returns them as an array upon completion."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV9instancesAA0C18InstanceCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","instances"],"names":{"title":"instances","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"instances"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"instances"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","scale(relativeTo:)"],"names":{"title":"scale(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the scale of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5Indexa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Index"],"names":{"title":"JointTransforms.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position of an individual joint transform in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO18processingCompleteyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","processingComplete"],"names":{"title":"PhotogrammetrySession.Output.processingComplete","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingComplete"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session completed a request successfully."},{"text":""},{"text":"- Parameters:"},{"text":" - Request: The request in progress."},{"text":" - Result: The result of the Object Capture session."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingComplete"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","Element"],"names":{"title":"AnchoringComponent.Target.Alignment.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18clearcoatRoughnessAC09ClearcoatG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","clearcoatRoughness"],"names":{"title":"clearcoatRoughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The degree to which an entity’s clear, shiny coating scatters light to"},{"text":"create soft highlights."},{"text":""},{"text":"When you enable clearcoat rendering for a material, RealityKit renders"},{"text":"the clearcoat as a separate layer just above the surface of the entity."},{"text":"You can specify a clearcoat roughness value for the clearcoat to"},{"text":"indicate how much the clearcoat scatters light that bounces off of it,"},{"text":"which softens and spreads out the highlights."},{"text":""},{"text":"You can specify a single value that applies to the entire material, or"},{"text":"you can supply a UV-mapped image texture containing different roughness"},{"text":"values for different parts of the entity."},{"text":""},{"text":"The following example sets the `clearcoatRoughness` using a single"},{"text":"value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoatRoughness = .init(floatLiteral: 0.5)"},{"text":"```"},{"text":""},{"text":"This example shows how to set the `clearcoatRoughness` using a UV-mapped"},{"text":"image:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatRoughnessResource = try?"},{"text":"TextureResource.load(named: \"entity_cc_roughness\") {"},{"text":" let ccRoughnessMap = MaterialParameters.Texture(clearcoatRoughnessResource)"},{"text":" material.clearcoat = .init(texture: ccRoughnessMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGqd__cSTRd__Sf7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValues5UInt8Vvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bitmask representation of the option set."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV10controllerAA0C18PlaybackControllerCvp","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","controller"],"names":{"title":"controller","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"controller"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that configures framework-specific video options."},{"text":""},{"text":"Use this property to configure AR-specific properties of the texture’s"},{"text":"video, such as whether the material should use spatial audio."},{"text":""},{"text":"The following example demonstrates enabling spatial audio for a video"},{"text":"material:"},{"text":""},{"text":"```swift"},{"text":"material.controller.audioInputMode = .spatial"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"controller"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyP","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody"],"names":{"title":"HasPhysicsBody","navigator":[{"kind":"identifier","spelling":"HasPhysicsBody"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsBody"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables physics simulations based on the rules of"},{"text":"Newtonian mechanics."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsBody"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasCollision","preciseIdentifier":"s:17RealityFoundation12HasCollisionP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV6ShadowVAEycfc","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new spot light shadow object."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","SubSequence"],"names":{"title":"JointTransforms.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"A collection representing a contiguous subrange of this collection's"},{"text":"elements. The subsequence shares indices with the original collection."},{"text":""},{"text":"The default subsequence type for collections that don't define their own"},{"text":"is `Slice`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value or a texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The values from this property are available in the custom material’s"},{"text":"surface shader function regardless of the value of"},{"text":"``CustomMaterial/lightingModel-swift.property`` , but clearcoat"},{"text":"isn’t drawn unless the custom material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"surface shader calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates retrieving `scale` and"},{"text":"`texture` in a surface shader, and using them to specify the"},{"text":"clearcoat and clearcoat roughness values:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the clearcoat scale and roughness from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":" float clearcoatRoughnessScale = params.material_constants().clearcoat_roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample a value from the clearcoat and clearcoat roughness textures."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":" half clearcoatRoughess = tex.clearcoat_roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat"},{"text":" // and assign the result."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat roughness"},{"text":" // and assign the result."},{"text":" clearcoatRoughess *= clearcoatRoughnessScale;"},{"text":" params.surface().set_clearcoat_roughness(clearcoatRoughess);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat value for the entire material."},{"text":""},{"text":"- texture: The clearcoat values as the texture of a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC10componentsAC12ComponentSetVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","components"],"names":{"title":"components","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ComponentSet","preciseIdentifier":"s:17RealityFoundation6EntityC12ComponentSetV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All the components stored on the entity."},{"text":""},{"text":"You can only store one component of a given type on an entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ComponentSet","preciseIdentifier":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a 4x4 matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The model component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO20localizedDescriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV7normalsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV13frameIntervalSfvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frameInterval"],"names":{"title":"frameInterval","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The duration within the animation timeline for each frame in the frames"},{"text":"array."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO22allocateAndGenerateAllyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","allocateAndGenerateAll"],"names":{"title":"TextureResource.MipmapsMode.allocateAndGenerateAll","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAndGenerateAll"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Allocate and generate all mipmaps for the texture resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAndGenerateAll"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV7librarySo10MTLLibrary_pvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","GeometryModifier","library"],"names":{"title":"library","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The Metal library that contains this surface shader function."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVyAA9TransformVSicip","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses a single joint transform in the collection at the given index."},{"text":""},{"text":"For more on accessing elements by index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19processingCancelledyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","processingCancelled"],"names":{"title":"PhotogrammetrySession.Output.processingCancelled","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingCancelled"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All pending requests are canceled."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingCancelled"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryDrop(while:)"],"names":{"title":"tryDrop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until an error-throwing closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/tryDrop(while:)`` to omit elements from an upstream until an error-throwing closure you provide returns false, after which the remaining items in the stream are published. If the closure throws, no elements are emitted and the publisher fails with an error."},{"text":""},{"text":"In the example below, elements are ignored until `-1` is encountered in the stream and the closure returns `false`. The publisher then republishes the remaining elements and finishes normally. Conversely, if the `guard` value in the closure had been encountered, the closure would throw and the publisher would fail with an error."},{"text":""},{"text":" struct RangeError: Error {}"},{"text":" var numbers = [1, 2, 3, 4, 5, 6, -1, 7, 8, 9, 10]"},{"text":" let range: CountableClosedRange = (1...100)"},{"text":" cancellable = numbers.publisher"},{"text":" .tryDrop {"},{"text":" guard $0 != 0 else { throw RangeError() }"},{"text":" return range.contains($0)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 7 8 9 10 completion: finished\""},{"text":" // If instead numbers was [1, 2, 3, 4, 5, 6, 0, -1, 7, 8, 9, 10], tryDrop(while:) would fail with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`, and then republishes all remaining elements. If the predicate closure throws, the publisher fails with an error."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC18accessibilityLabelSSSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","accessibilityLabel"],"names":{"title":"accessibilityLabel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityLabel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A succinct label that identifies the purpose of the image."},{"text":""},{"text":"The default value for this property is `false`."},{"text":""},{"text":"For entities with ``Entity/isAccessibilityElement`` set to"},{"text":", iOS uses this"},{"text":"string to provide information to users of assistive technologies like"},{"text":"VoiceOver. Set this property to a name or short description that"},{"text":"accurately describes the entity. If you wish to provide additional"},{"text":"information or a longer description of the entity, you can use"},{"text":"``Entity/accessibilityDescription``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityLabel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"*","message":"Use accessibilityLabelKey instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15requestProgressyAeC7RequestO_SdtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","requestProgress(_:fractionComplete:)"],"names":{"title":"PhotogrammetrySession.Output.requestProgress(_:fractionComplete:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestProgress"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fractionComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A progress update provided by the session."},{"text":""},{"text":"- Parameters:"},{"text":" - Request: The request in progress."},{"text":" - fractionComplete: A number from `0.0` to `1.0` indicating the current progress for the request."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestProgress"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fractionComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect(_:)"],"names":{"title":"collect(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects up to the specified number of elements, and then emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:)`` to emit arrays of at most `count` elements from an upstream publisher. If the upstream publisher finishes before collecting the specified number of elements, the publisher sends an array of only the items it received. This may be fewer than `count` elements."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"In the example below, the ``Publisher/collect(_:)`` operator emits one partial and two full arrays based on the requested collection size of `5`:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect(5)"},{"text":" .sink { print(\"\\($0), terminator: \" \"\") }"},{"text":""},{"text":" // Prints \"[0, 1, 2, 3, 4] [5, 6, 7, 8, 9] [10] \""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameter count: The maximum number of received elements to buffer before publishing."},{"text":"- Returns: A publisher that collects up to the specified number of elements, and then publishes them as an array."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a transform."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","RawValue"],"names":{"title":"CharacterControllerComponent.CollisionFlags.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV8metadataSDySSypGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","metadata"],"names":{"title":"metadata","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metadata"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" : "},{"kind":"keyword","spelling":"Any"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An image’s EXIF metadata."},{"text":""},{"text":"You can provide EXIF metadata captured by your digital camera to assist"},{"text":"in the object-creation process. During object creation, RealityKit can"},{"text":"use data from the EXIF keys listed below."},{"text":""},{"text":"- `TIFFMake`"},{"text":"- `TIFFModel`"},{"text":"- `TIFFOrientation`"},{"text":"- `ExifBodySerialNumber`"},{"text":"- `ExifLensMake`"},{"text":"- `ExifLensModel`"},{"text":"- `ExifLensSerialNumber`"},{"text":"- `ExifFocalLength`"},{"text":"- `ExifFocalLengthIn35mmFilm`"},{"text":"- `GPSAltitude`"},{"text":"- `GPSAltitudeRef`"},{"text":"- `GPSLatitude`"},{"text":"- `GPSLatitudeRef`"},{"text":"- `GPSLongitude`"},{"text":"- `GPSLongitudeRef`"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metadata"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" : "},{"kind":"keyword","spelling":"Any"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV7sourcesSayAA0cdE0_pGvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","sources"],"names":{"title":"sources","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The nodes that branch from a node to form part of a blend tree."},{"text":""},{"text":"This node combines the animations of each member of this array to a"},{"text":"single animation that represents a _blend_ of the sources. If a source"},{"text":"is a ``BlendTreeSourceNode``, this structure blends its animation into"},{"text":"the output. If a source is a ``BlendTreeBlendNode``, this structure"},{"text":"blends the output of its sources into this structure's output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addForce(_:at:relativeTo:)"],"names":{"title":"addForce(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at the specified position."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":" - position: The position at which to apply the force."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `force` are defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","receive(on:options:)"],"names":{"title":"receive(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to receive elements from the publisher."},{"text":""},{"text":"You use the ``Publisher/receive(on:options:)`` operator to receive results and completion on a specific scheduler, such as performing UI work on the main run loop. In contrast with ``Publisher/subscribe(on:options:)``, which affects upstream messages, ``Publisher/receive(on:options:)`` changes the execution context of downstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `jsonPublisher` to receive requests on `backgroundQueue`, while the"},{"text":"``Publisher/receive(on:options:)`` causes `labelUpdater` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let jsonPublisher = MyJSONLoaderPublisher() // Some publisher."},{"text":" let labelUpdater = MyLabelUpdateSubscriber() // Some subscriber that updates the UI."},{"text":""},{"text":" jsonPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(labelUpdater)"},{"text":""},{"text":""},{"text":"Prefer ``Publisher/receive(on:options:)`` over explicit use of dispatch queues when performing work in subscribers. For example, instead of the following pattern:"},{"text":""},{"text":" pub.sink {"},{"text":" DispatchQueue.main.async {"},{"text":" // Do something."},{"text":" }"},{"text":" }"},{"text":""},{"text":"Use this pattern instead:"},{"text":""},{"text":" pub.receive(on: DispatchQueue.main).sink {"},{"text":" // Do something."},{"text":" }"},{"text":""},{"text":" > Note: ``Publisher/receive(on:options:)`` doesn’t affect the scheduler used to call the subscriber’s ``Subscriber/receive(subscription:)`` method."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler the publisher uses for element delivery."},{"text":" - options: Scheduler options used to customize element delivery."},{"text":"- Returns: A publisher that delivers elements using the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10repeatModeAA0f6RepeatH0Ovp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``FromToByAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``FromToByAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14CustomMaterialV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Parameters"],"names":{"title":"CustomMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15requestCompleteyAeC7RequestO_AC6ResultOtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","requestComplete(_:_:)"],"names":{"title":"PhotogrammetrySession.Output.requestComplete(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestComplete"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session finished handling all pending requests."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestComplete"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","ArrayLiteralElement"],"names":{"title":"CharacterControllerComponent.CollisionFlags.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV9positionsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO11allocateAllyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","allocateAll"],"names":{"title":"TextureResource.MipmapsMode.allocateAll","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAll"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Allocate memory for all mipmaps, but don’t generate them."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAll"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions"],"names":{"title":"TextureResource.CreateOptions","navigator":[{"kind":"identifier","spelling":"CreateOptions"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CreateOptions"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds texture resource creation options."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CreateOptions"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionP","interfaceLanguage":"swift"},"pathComponents":["HasCollision"],"names":{"title":"HasCollision","navigator":[{"kind":"identifier","spelling":"HasCollision"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasCollision"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface used for ray casting and collision detection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasCollision"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController"],"names":{"title":"AudioPlaybackController","navigator":[{"kind":"identifier","spelling":"AudioPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A controller that manages audio playback of a resource."},{"text":""},{"text":"You receive an audio playback controller by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` method. You typically pass an"},{"text":"``AudioFileResource`` instance to this call that tells the playback"},{"text":"controller how to stream the contents of an audio file from disk, or from a"},{"text":"URL."},{"text":""},{"text":"During playback, the audio appears to come from the entity that you used to"},{"text":"create the controller. As the user moves around the AR scene, RealityKit"},{"text":"modulates the characteristics of the audio to account for the user’s"},{"text":"location."},{"text":""},{"text":"After playback completes, or if you call the"},{"text":"``AudioPlaybackController/stop()`` method, the audio controller resets so"},{"text":"that you can play the resource from the beginning. Alternatively, you can"},{"text":"configure the audio to loop indefinitely by setting the `loops` property of"},{"text":"the audio resource to `true`."},{"text":""},{"text":"Look for one of the events in ``AudioEvents`` if you want to be alerted when"},{"text":"certain aspects of audio playback occur."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An index to the last joint transform in the collection."},{"text":""},{"text":"For more more on the sequence's final index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlE8elements7indicesACySfGSaySfG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anisotropy level values specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","none"],"names":{"title":"TextureResource.MipmapsMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Do not allocate mipmaps for the texture resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]}],"relationships":[{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV6timingAA0F14TimingFunctionVvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeC5shape6filterAcA13ShapeResourceC_AA15CollisionFilterVtcfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6targetAC6TargetOvp","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21BodyTrackingComponentV","target":"s:17RealityFoundation21BodyTrackingComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC13playAnimation5named18transitionDuration12startsPaused9recursiveAA0E18PlaybackControllerCSS_SdS2btF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV4nameSSvp","target":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","sourceOrigin":{"identifier":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","displayName":"MaterialFunction.name"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"conformsTo","source":"s:17RealityFoundation16CollisionCastHitV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.tangents"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.tangents"}},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeC6shapes6filterACSayAA13ShapeResourceCG_AA15CollisionFilterVtcfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"conformsTo","source":"s:17RealityFoundation16SystemDependencyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6limitsAC6LimitsVvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionFilterV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:17RealityFoundation18SpotLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV11faceCullingAA0D14ParameterTypesV04FaceF0Ovp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV","target":"s:17RealityFoundation18SpotLightComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryReduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV","target":"s:17RealityFoundation25DirectionalLightComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV","target":"s:17RealityFoundation27SceneUnderstandingComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryReduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation19PointLightComponentV","target":"s:17RealityFoundation19PointLightComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation33CharacterControllerStateComponentV","target":"s:17RealityFoundation33CharacterControllerStateComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation14ModelComponentV","target":"s:17RealityFoundation14ModelComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6offsetSdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8additiveSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"conformsTo","source":"s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF","displayName":"Publisher.contains(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV","target":"s:17RealityFoundation22AccessibilityComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16ambientOcclusionAC07AmbientG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offset5scale8rotationAEs5SIMD2VySfG_AKSftcfc","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP5scenexAA5SceneC_tcfc","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF","displayName":"Publisher.contains(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV2id5imageACSi_So11CVBufferRefatcfc","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV13posesBySampleSDySiAC4PoseVGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC13playAnimation_18transitionDuration12startsPausedAA0E18PlaybackControllerCAA0E8ResourceC_SdSbtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV","target":"s:17RealityFoundation28CharacterControllerComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.bitangents"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAeA0E10ParametersV7TextureVSg_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.bitangents"}},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF","displayName":"Publisher.ignoreOutput()"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryFirst(where:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation21BodyTrackingComponentV","target":"s:17RealityFoundation21BodyTrackingComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryFirst(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF","displayName":"Publisher.ignoreOutput()"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation21HasSceneUnderstandingPAAE05sceneE0AA0dE9ComponentVvp","target":"s:17RealityFoundation21HasSceneUnderstandingP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:17RealityFoundation13AudioResourceC9InputModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.debounce(for:scheduler:options:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.debounce(for:scheduler:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasTransformP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureVyAeA0E8ResourceCcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V","target":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV6pointsSayAE0E0VGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV","target":"s:17RealityFoundation26ModelDebugOptionsComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC17stopAllAnimations9recursiveySb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeCACycfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.reduce(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.reduce(_:_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV12urlsBySampleSDySi0B03URLVGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV9roughnessAA0D15ScalarParameterOvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8fillModeAA0d4FillF0Vvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV12trimDurationSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV16isRotationLockedSb1x_Sb1ySb1ztvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation11BlendWeightO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12prepareAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV4nameSSvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8specularAC8SpecularVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5input13configurationAC0B03URLV_AC13ConfigurationVtKcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC04findC05namedACSgSS_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV10objectMaskSo11CVBufferRefaSgvp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materials14collisionShape4massAcA12MeshResourceC_SayAA8Material_pGAA0hK0CSftcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:SMsSKRzrlE7reverseyyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsSKRzrlE7reverseyyF","displayName":"MutableCollection.reverse()"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV8rotationSfvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12stopAllAudioyyF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.combineLatest(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15HasBodyTrackingPAAE04bodyE0AA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation17BodyTrackedEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation15HasBodyTrackingPAAE04bodyE0AA0dE9ComponentVvp","displayName":"HasBodyTracking.bodyTracking"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO5worldyAESo13simd_float4x4a_tcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.combineLatest(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation10HasPhysicsP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","displayName":"MeshBufferContainer.positions"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","displayName":"MeshBufferContainer.positions"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyLevelAC010AnisotropyG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV_7samplerAeA0E8ResourceC_AE7SamplerVtcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV8identityACvpZ","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21BodyTrackingComponentV6TargetO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO6camerayA2EmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC8didClone4fromyAC_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV5speedSfvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO6anchoryAE0B04UUIDV_tcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV4nameACSS_tcfc","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7toValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation19EnvironmentResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation20HasPerspectiveCameraP"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV_4name10isAdditive10bindTarget10blendLayer10repeatMode04fillN09trimStart0P3End0P8Duration6offset5delay5speedACyxGAA0cD4Node_p_SSSbAA04BindJ0OSgs5Int32VAA0e6RepeatN0OAA0e4FillN0VSdSgA_A_S2dSftcfc","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materials15collisionShapes4massAcA12MeshResourceC_SayAA8Material_pGSayAA05ShapeK0CGSftcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5scales5SIMD3VySfGvp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV4nameSSvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC6anchorAA12HasAnchoring_pSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"conformsTo","source":"s:17RealityFoundation11QueryResultV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO5planeyA2E9AlignmentV_AE14ClassificationVs5SIMD2VySfGtcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9playAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10isAdditiveSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC6resumeyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO9hashValueSivp","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO5imageyAESS_SStcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF","displayName":"Publisher.prefix(untilOutputFrom:)"}},{"kind":"overrides","source":"s:17RealityFoundation11ModelEntityCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF","displayName":"Publisher.prefix(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV5scales5SIMD2VySfGvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"memberOf","source":"s:17RealityFoundation19PointLightComponentV9intensitySfvp","target":"s:17RealityFoundation19PointLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC5pauseyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.normals"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.normals"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7uvIndexSivp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE12performQueryyAA0E6ResultVyAA6EntityCGAA0gE0VF","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO7triggeryA2EmF","target":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7byValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC9hashValueSivp","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV5delaySdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF","displayName":"Publisher.delay(for:tolerance:scheduler:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyAngleAC010AnisotropyG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5input13configurationACx_AC13ConfigurationVtKcSTRzAA0C6SampleV7ElementRtzlufc","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF","displayName":"Publisher.delay(for:tolerance:scheduler:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV8rotationSo10simd_quatfavp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO6objectyAESS_SStcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation23AnimationTimingFunctionV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16opacityThresholdSfSgvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO4faceyA2EmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV4rootAA0cD4Node_pvp","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityCACycfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC4stopyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV8fillModeAA0f4FillH0Vvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGAcAE8ContentsV_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SM","targetFallback":"Swift.MutableCollection"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV5partsAA0C14PartCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","displayName":"HasAnchoring.anchoring"}},{"kind":"conformsTo","source":"s:17RealityFoundation25DirectionalLightComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesVACycfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF","displayName":"BidirectionalCollection.lastIndex(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadModel10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0F4DataRzluip","target":"s:17RealityFoundation6EntityCAAE12ParameterSetV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAeA0E10ParametersV7TextureVSg_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"requirementOf","source":"s:17RealityFoundation18MeshBufferSemanticP7ElementQa","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVyACSicip","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sly7ElementQz5IndexQzcip","displayName":"Collection.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2id13materialIndexAESS_Sitcfc","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offsets5SIMD2VySfGvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation6SystemPAAE6update7contextyAA18SceneUpdateContextV_tF","target":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV7librarySo10MTLLibrary_pvp","target":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","sourceOrigin":{"identifier":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","displayName":"MaterialFunction.library"}},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.catch(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8generate4fromA2cAE8ContentsV_tKFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.catch(_:)"}},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation8HasModelP"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SK","targetFallback":"Swift.BidirectionalCollection"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation13HasPointLightP"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV9depthBiasSfvp","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF","displayName":"Collection.index(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15PhysicsBodyModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC10findEntity5namedAA0E0CSgSS_tF","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"conformsTo","source":"s:17RealityFoundation09BlendTreeC4NodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV3getyAA0dE0VyxGSgxmlF","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF","displayName":"Publisher.append(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV15triangleIndicesAA0C6BufferVys6UInt32VGSgvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:ST","targetFallback":"Swift.Sequence","swiftConstraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},{"kind":"conformsTo","source":"s:17RealityFoundation21BodyTrackingComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"memberOf","source":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE8dropLasty11SubSequenceQzSiF","displayName":"Collection.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE9fromValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV4meshAA12MeshResourceCvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP13giveOwnership2of6toPeerSbAA6EntityC_AA0cI2ID_ptF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6sourceAA0C10Definition_pSgvp","target":"s:17RealityFoundation13AnimationViewV"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF","displayName":"Collection.index(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:17RealityFoundation21SynchronizationEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation19BlendTreeSourceNodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF","displayName":"Publisher.append(_:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"BidirectionalCollection.lastIndex(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"BidirectionalCollection.index(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:10Foundation14LocalizedErrorP","targetFallback":"Foundation.LocalizedError"},{"kind":"conformsTo","source":"s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC14loadModelAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE8dropLasty11SubSequenceQzSiF","displayName":"Collection.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE12replaceAsync4withAA11LoadRequestCyACGAcAE8ContentsV_tF","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF","displayName":"BidirectionalCollection.last(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13emissiveColorAC08EmissiveF0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV6centers5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV5sheenAC10SheenColorVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC22synchronizationServiceAA015SynchronizationE0_pSgvp","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV04baseD0xvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV14massPropertiesAA0c4MassG0Vvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE7replace4withyAcAE8ContentsV_tKF","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation20PhotogrammetrySampleV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"inheritsFrom","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF","displayName":"Publisher.eraseToAnyPublisher()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF","displayName":"Publisher.eraseToAnyPublisher()"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV11translations5SIMD3VySfGvp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","displayName":"HasAnchoring.anchorIdentifier"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id5partsAESS_SayAcAE4PartVGtcfc","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO7defaultyA2EmF","target":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"requirementOf","source":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV_08animatedD0ACyxGx_xSgtcfc","target":"s:17RealityFoundation13BindableValueV"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV08centerOfD0s5SIMD3VySfG8position_So10simd_quatfa11orientationtvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV4nameSSvp","target":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","sourceOrigin":{"identifier":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","displayName":"MaterialFunction.name"}},{"kind":"conformsTo","source":"s:17RealityFoundation10MeshBufferV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV7extentss5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO9parameteryACSS_SftcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"memberOf","source":"s:SKsE4last7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE4last7ElementQzSgvp","displayName":"BidirectionalCollection.last"}},{"kind":"memberOf","source":"s:SKsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE5index_8offsetBy5IndexQzAD_SitF","displayName":"BidirectionalCollection.index(_:offsetBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.tryCatch(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF","displayName":"Publisher.tryCompactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV15maximumDistanceSfvp","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.tryCatch(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:17RealityFoundation21SynchronizationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id11descriptorsAESS_SayAA0C10DescriptorVGtKcfc","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP5owner2ofAA0C6PeerID_pSgAA6EntityC_tF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGSayAA0C10DescriptorVG_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","displayName":"MeshBufferContainer.buffers"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV14boundingRadiusSfvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO10bindTargetyAcA04BindF0O_SftcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"overrides","source":"s:17RealityFoundation13TriggerVolumeCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF","displayName":"Publisher.tryCompactMap(_:)"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.firstRange(of:)"}},{"kind":"memberOf","source":"s:SKsE9formIndex6beforey0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK9formIndex6beforey0B0Qzz_tF","displayName":"BidirectionalCollection.formIndex(before:)"}},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.firstRange(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7toValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"conformsTo","source":"s:17RealityFoundation14HasPhysicsBodyP","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"conformsTo","source":"s:17RealityFoundation21BodyTrackingComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10bindTargetAA04BindH0Ovp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF","displayName":"Publisher.encode(encoder:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF","displayName":"Publisher.encode(encoder:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV5valuexvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25DirectionalLightComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP6entity3forAA6EntityCSgs6UInt64V_tF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV4modeAA0cD4ModeOvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO11faceVaryingyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV7isEmptySbvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartVyAA0C6BufferVy7ElementQzGSgxcAA0cF8SemanticRzluip","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","displayName":"MeshBufferContainer.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8generate4fromACSayAA0C10DescriptorVG_tKFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO4faceyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO5valueyACSfcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation15HasBodyTrackingP"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation19HasDirectionalLightP"},{"kind":"memberOf","source":"s:SKsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE6suffixy11SubSequenceQzSiF","displayName":"BidirectionalCollection.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO6vertexyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"conformsTo","source":"s:17RealityFoundation11LoadRequestC","target":"s:7Combine9PublisherP","targetFallback":"Combine.Publisher"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV6matrixSo13simd_float4x4avp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","displayName":"HasAnchoring.reanchor(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:SKsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8dropLasty11SubSequenceQzSiF","displayName":"BidirectionalCollection.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC2id0B04UUIDVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8metallicAC8MetallicVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation6SystemPAAE12dependenciesSayAA0C10DependencyOGvpZ","target":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF","displayName":"Publisher.compactMap(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.first(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV7Elementa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO9hashValueSivp","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF","displayName":"Publisher.compactMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15loadBodyTracked10contentsOf8withNameAA0efC0C0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","displayName":"MeshBufferContainer.textureCoordinates"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","displayName":"MeshBufferContainer.textureCoordinates"}},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV5named2inAESS_So10MTLLibrary_ptcfc","target":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV12makeIteratorAE08IndexingG0Vy__AEGyF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl12makeIterator0B0QzyF","displayName":"Collection.makeIterator()"}},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation12HasSpotLightP"},{"kind":"conformsTo","source":"s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC7anchorsAC16AnchorCollectionVvp","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2ids6UInt64Vvp","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:Sci","targetFallback":"_Concurrency.AsyncSequence"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV11descriptionSSvp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV26textureCoordinateTransformAA0E14ParameterTypesV07TexturegH0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV7Indicesa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV9transformAA9TransformVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4noneyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC2IDa","target":"s:17RealityFoundation21PhotogrammetrySessionC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC6buffer9inputMode10shouldLoopACSo07AVAudioD0C_AA0cE0C05InputH0OSbtKcfc","target":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO5frontyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO5unlityA2EmF","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7byValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO10WillRemoveV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.ranges(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4backyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.ranges(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO9clearcoatyA2EmF","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV8rotationSo10simd_quatfavp","target":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentVACycfc","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:s27ExpressibleByIntegerLiteralP","targetFallback":"Swift.ExpressibleByIntegerLiteral"},{"kind":"requirementOf","source":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation11BlendWeightO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation21PhysicsMassPropertiesV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5index5afterS2i_tF","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5index5after5IndexQzAD_tF","displayName":"BidirectionalCollection.index(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV7Indicesa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC20loadBodyTrackedAsync10contentsOf8withNameAA11LoadRequestCyAA0efC0CG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV19isTranslationLockedSb1x_Sb1ySb1ztvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF","displayName":"Publisher.breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV11translations5SIMD3VySfGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF","displayName":"Publisher.breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8additiveSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC10shouldLoopSbvp","target":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV12boundsMarginSfvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO10WillRemoveV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV11SubSequencea","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO3lityA2EmF","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2IDa","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV5shape4massAcA13ShapeResourceC_Sftcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformVACycfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO11DidActivateV"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO9hashValueSivp","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV13materialIndexSivp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV5Indexa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl5IndexQa","displayName":"Collection.Index"}},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC12removeAnchoryyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO11DidActivateV"},{"kind":"conformsTo","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF","displayName":"Publisher.prepend(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVAAE7Texturea","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10startIndexSivp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl10startIndex0B0Qzvp","displayName":"Collection.startIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8contentsAcAE8ContentsVvp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV5index5afterS2i_tF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl5index5after5IndexQzAD_tF","displayName":"Collection.index(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadModel5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV4nameSSvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV7librarySo10MTLLibrary_pvp","target":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","sourceOrigin":{"identifier":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","displayName":"MaterialFunction.library"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5scale8rotation11translationACs5SIMD3VySfG_So10simd_quatfaAItcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV5shape7densityAcA13ShapeResourceC_Sftcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF","displayName":"Publisher.prepend(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeAC013VisualizationH0Ovp","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9addAnchoryyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9roughnessAC9RoughnessVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation20BlendTreeInvalidNodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF","displayName":"Publisher.breakpointOnError()"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV8endIndexSivp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl8endIndex0B0Qzvp","displayName":"Collection.endIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV9materialsSayAA8Material_pGvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV8durationSdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"conformsTo","source":"s:17RealityFoundation11QueryResultV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF","displayName":"Publisher.first()"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21ownershipTransferModeAC09OwnershipfG0Ovp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO9DidChangeV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF","displayName":"Publisher.first()"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeA2C013VisualizationH0O_tcfc","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF","displayName":"Publisher.breakpointOnError()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV35secondaryTextureCoordinateTransformAA0E14ParameterTypesV0ghI0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9hashValueSivp","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV8materialAA0C16MaterialResourceCvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8fillModeAA0d4FillF0Vvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:SKsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8distance4from2toSi5IndexQz_AEtF","displayName":"BidirectionalCollection.distance(from:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5pitch3yaw4rollACSf_S2ftcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC14loadModelAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO9DidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV4mass7inertia08centerOfD0ACSf_s5SIMD3VySfGAI8position_So10simd_quatfa11orientationttcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6source4name10bindTarget10blendLayer10repeatMode04fillL09trimStart0N3End0N8Duration6offset5delay5speedAcA0C10Definition_p_SSAA04BindH0OSgs5Int32VAA0c6RepeatL0OAA0c4FillL0VSdSgA2ZS2dSftcfc","target":"s:17RealityFoundation13AnimationViewV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9ComponentP"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO9hashValueSivp","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV4nameSSvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV22estimatedRemainingTimeSdSgvp","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV17makeAsyncIteratorAE0H0VyF","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci17makeAsyncIterator0bC0QzyF","displayName":"AsyncSequence.makeAsyncIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentVACycfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"overrides","source":"s:17RealityFoundation10PointLightCACycfc","target":"s:17RealityFoundation6EntityCACycfc","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV12anchorEntityyAC0hF0VSSF","target":"s:17RealityFoundation10BindTargetO9ScenePathV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV14massProperties8material4modeAcA0c4MassG0V_AA0C16MaterialResourceCSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.removeDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.removeDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC17completionHandleryycSgvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV9deltaTimeSdvp","target":"s:17RealityFoundation11SceneEventsO6UpdateV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5usageSo15MTLTextureUsageVvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15loadAnchorAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV19ArrayLiteralElementa","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV4selfACvp","target":"s:17RealityFoundation10BindTargetO9ScenePathV"},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO6DidAddV"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV19checkpointDirectory0B03URLVSgvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxxtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryContains(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryContains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC13generatePlane5width5depth12cornerRadiusACSf_S2ftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE5group4withACSayACG_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8rawValueACs6UInt32V_tcfc","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE8sequence4withACSayACG_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV4nextAC6OutputOSgyYaKF","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","sourceOrigin":{"identifier":"s:ScI4next7ElementQzSgyYaKF","displayName":"AsyncIteratorProtocol.next()"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV13AsyncIteratora","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci13AsyncIteratorQa","displayName":"AsyncSequence.AsyncIterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE10parametersAcAE12ParameterSetVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:17RealityFoundation22SynchronizationServiceP10Identifiera","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC8resourceAA0C8ResourceCvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation19EnvironmentResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9materialsAC9MaterialsOvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryRemoveDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV6shapes7density8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6prefix5whileAA24AsyncPrefixWhileSequenceVyxGSb7ElementQzYac_tKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6prefix5whileAA24AsyncPrefixWhileSequenceVyxGSb7ElementQzYac_tKF","displayName":"AsyncSequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV15processingStageAE010ProcessingI0OSgvp","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV7Elementa","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","sourceOrigin":{"identifier":"s:ScI7ElementQa","displayName":"AsyncIteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4name8duration4axis14startTransform13spinClockwise12orientToPath13rotationCount10bindTarget10blendLayer10repeatMode04fillV010isAdditive9trimStart0Z3End0Z8Duration6offset5delay5speedACSS_Sds5SIMD3VySfGAA0I0VS2bSfAA04BindR0OSgs5Int32VAA0d6RepeatV0OAA0d4FillV0VSbSdSgA8_A8_S2dSftcfc","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC16mipmapLevelCountSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF","displayName":"BidirectionalCollection.difference(from:by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE15reverbSendLevelSdvp","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7impulseSfvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8rawValues6UInt32Vvp","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryRemoveDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation17BodyTrackedEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","displayName":"HasModel.jointTransforms"}},{"kind":"memberOf","source":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF","displayName":"MutableCollection.partition(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8RawValuea","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV6anchorAA12HasAnchoring_pvp","target":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","displayName":"HasModel.jointTransforms"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE8generate4withAcA0C10Definition_p_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6sourceAA19AnimationDefinition_pSgvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV15jointTransformsACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO4noneyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC13generatePlane5width6height12cornerRadiusACSf_S2ftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionVyAA12HasAnchoring_pSicip","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sly7ElementQz5IndexQzcip","displayName":"Collection.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci7ElementQa","displayName":"AsyncSequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV26textureCoordinateTransformAA0D14ParameterTypesV07TexturefG0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18featureSensitivityAE07FeatureG0Ovp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC6entityAA6EntityCSgvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15loadBodyTracked5named2inAA0efC0CSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox5width6height5depth12cornerRadius10splitFacesACSf_S3fSbtFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV6heightSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV9transformACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV8endIndexSivp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl8endIndex0B0Qzvp","displayName":"Collection.endIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation17BodyTrackedEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","displayName":"HasModel.jointNames"}},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV02isE0Sbvp","target":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","displayName":"HasModel.jointNames"}},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV17attenuationRadiusSfvp","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6reduce4into_qd__qd__n_yqd__z_7ElementQztYaKXEtYaKlF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6reduce4into_qd__qd__n_yqd__z_7ElementQztYaKXEtYaKlF","displayName":"AsyncSequence.reduce(into:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF","displayName":"BidirectionalCollection.difference(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE5store2inyAA6EntityC_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueSSvp","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12ParameterSetV","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV7Elementa","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6source4name6weightAcA19AnimationDefinition_p_SSAA0C6WeightOtcfc","target":"s:17RealityFoundation19BlendTreeSourceNodeV"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV6entityyAESSF","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF","displayName":"Publisher.merge(with:_:_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV6offsetSdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10primitivesAC10PrimitivesOSgvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO6staticyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10startIndexSivp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl10startIndex0B0Qzvp","displayName":"Collection.startIndex"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13customContentSayAC06CustomF0VGvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerC14audioInputModeAA13AudioResourceC0gH0Ovp","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC20loadBodyTrackedAsync5named2inAA11LoadRequestCyAA0efC0CGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0E4DataRzluip","target":"s:17RealityFoundation12ParameterSetV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV11SubSequencea","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8RawValuea","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V5colors5SIMD4Vys5UInt8VGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO7dynamicyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO9kinematicyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV6shapes4mass8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF","displayName":"Publisher.merge(with:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACs5SIMD3VySfG_SftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation16DirectionalLightC","sourceOrigin":{"identifier":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp","displayName":"HasDirectionalLight.light"}},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO6DidAddV"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV5Indexa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl5IndexQa","displayName":"Collection.Index"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6reduceyqd__qd___qd__qd___7ElementQztYaKXEtYaKlF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6reduceyqd__qd___qd__qd___7ElementQztYaKXEtYaKlF","displayName":"AsyncSequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF","displayName":"Publisher.merge(with:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO023defaultSurfaceShaderForD8NotFoundyA2CmF","target":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF","displayName":"Publisher.merge(with:_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV4nameSSvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V8positions5SIMD3VySfGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV19checkpointDirectoryAE0B03URLV_tcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE10definitionAA0C10Definition_pvp","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueAESgSS_tcfc","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO9hashValueSivp","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC4nameSSSgvp","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5widthSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation17BodyTrackedEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp","displayName":"HasModel.debugModel"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV7inertias5SIMD3VySfGvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp","displayName":"HasModel.debugModel"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC12ComponentSetV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE10allSatisfyyS2b7ElementQzYaKXEYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE10allSatisfyyS2b7ElementQzYaKXEYaKF","displayName":"AsyncSequence.allSatisfy(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO32geometryModifierFunctionNotFoundyA2CmF","target":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE14bindableValuesAA08BindableE9ReferenceVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO29surfaceShaderFunctionNotFoundyA2CmF","target":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0C0V7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV0C0V"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10BindTargetO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10loadAnchor5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACSf_SftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO9hashValueSivp","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV6offsetSdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV2idAA0D7BuffersO10IdentifierVvp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10blendLayers5Int32Vvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO9hashValueSivp","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO6repeatyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV11descriptionSSvp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13systemActionsAC09SupportedF0Vvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation10PointLightCACycfc","target":"s:17RealityFoundation10PointLightC","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation17OcclusionMaterialV23receivesDynamicLightingSbvp","target":"s:17RealityFoundation17OcclusionMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO4noneyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV5countSivp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp","target":"s:17RealityFoundation13HasPointLightP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF","displayName":"Publisher.assign(to:on:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE8contains5whereS2b7ElementQzYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE8contains5whereS2b7ElementQzYaKXE_tYaKF","displayName":"AsyncSequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp::SYNTHESIZED::s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation16DirectionalLightC","sourceOrigin":{"identifier":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","displayName":"HasDirectionalLight.shadow"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF","displayName":"Publisher.filter(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF","displayName":"Publisher.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO10cumulativeyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9clearcoatAC9ClearcoatVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV20fieldOfViewInDegreesSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF","displayName":"Publisher.buffer(size:prefetch:whenFull:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF","displayName":"Publisher.buffer(size:prefetch:whenFull:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV5index5afterS2i_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl5index5after5IndexQzAD_tF","displayName":"Collection.index(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO11autoReverseyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8semanticAC8SemanticOSgvp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"requirementOf","source":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","displayName":"HasModel.modelDebugOptions"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV7normalsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23BindableValuesReferenceVyAA0C5ValueVyxGSgAA10BindTargetO_xmtcAA0C4DataRzluip","target":"s:17RealityFoundation23BindableValuesReferenceV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC6heightSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation17BodyTrackedEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","displayName":"HasModel.modelDebugOptions"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17OcclusionMaterialV23receivesDynamicLightingACSb_tcfc","target":"s:17RealityFoundation17OcclusionMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO5sceneyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5NeverO7FailureRtd__lF","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP7receive10subscriberyqd___tAA10SubscriberRd__7FailureQyd__AGRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.receive(subscriber:)"}},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15loadAnchorAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryFilter(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV9positionsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC6results6ResultOyxs5Error_pGSgvp","target":"s:17RealityFoundation11LoadRequestC"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormatSo08MTLPixelI0Vvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation16SystemDependencyO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SMsE6swapAtyy5IndexQz_ACtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsE6swapAtyy5IndexQz_ACtF","displayName":"MutableCollection.swapAt(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryFilter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV5named2inAESS_So10MTLLibrary_ptcfc","target":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF","displayName":"Collection.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV4massSfvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO6opaqueyA2EmF","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC6boundsAA11BoundingBoxVvp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10loadAnchor10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV4rateAA0D7BuffersO4RateOvp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18SpotLightComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO5afteryAcA0C0_pXpcACmF","target":"s:17RealityFoundation16SystemDependencyO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO8blendingAeA06CustomE0VADO_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","swiftConstraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV5sceneAA0C0Cvp","target":"s:17RealityFoundation11SceneEventsO6UpdateV"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6entityAA6EntityCvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV11elementTypeAA0D7BuffersO07ElementG0Ovp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationVAEycfc","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO6entityyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC21expectedMaterialCountSivp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE7Texturea","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC5widthSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semanticAC8SemanticOSgvp","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO9parameteryAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV8isCustomSbvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO7nearestyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO12anchorEntityyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13customActionsSay0B023LocalizedStringResourceVGvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV9requesterAA0C6PeerID_pvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV7defaultACvpZ","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.contains(where:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"conformsTo","source":"s:17RealityFoundation23VideoPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF","displayName":"Publisher.decode(type:decoder:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0C0V5value7textureAEs5SIMD4VySfG_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV0C0V"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO3anyyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV4near3far20fieldOfViewInDegreesACSf_S2ftcfc","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO3allyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF","displayName":"Publisher.decode(type:decoder:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO6beforeyAcA0C0_pXpcACmF","target":"s:17RealityFoundation16SystemDependencyO"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.contains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18clearcoatRoughnessAC09ClearcoatF0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfySayAA12HasAnchoring_pG_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation8BindPathV4PartO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV18textureCoordinatesAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0C0V5values5SIMD4VySfGvp","target":"s:17RealityFoundation14CustomMaterialV0C0V"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV16defaultStepLimitSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6acceptyycvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"memberOf","source":"s:17RealityFoundation19PointLightComponentV7cgColor9intensity17attenuationRadiusACSo10CGColorRefa_S2ftcfc","target":"s:17RealityFoundation19PointLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV17defaultSlopeLimitSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO15jointTransformsyA2EmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"conformsTo","source":"s:17RealityFoundation17OcclusionMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF","displayName":"Publisher.timeout(_:scheduler:options:customError:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF","displayName":"Publisher.timeout(_:scheduler:options:customError:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6appendyyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF","displayName":"Publisher.makeConnectable()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV10bitangentsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO3rawyA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6NormalV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO9transformyA2EmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV8tangentsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd2FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentVACycfc","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV2IDa","target":"s:17RealityFoundation11MeshBuffersO8SemanticV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV3topAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV8newOwnerAA0C6PeerID_pSgvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5floatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6doubleyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation14SimpleMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4nameSSvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO22allocateAndGenerateAllyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation17PerspectiveCameraC","sourceOrigin":{"identifier":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","displayName":"HasPerspectiveCamera.camera"}},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO11allocateAllyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation17BodyTrackedEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","displayName":"HasModel.model"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5speedSfvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV5childAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4noneyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV22isObjectMaskingEnabledSbvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV14previousParentAA0G0CSgvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","displayName":"HasModel.model"}},{"kind":"conformsTo","source":"s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV6entityAA6EntityCvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.drop(while:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd3FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV2idAC10IdentifierVvp","target":"s:17RealityFoundation11MeshBuffersO8SemanticV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshBufferSemanticP","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV16defaultSkinWidthSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation20PhotogrammetrySampleV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV6bottomAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd4FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryDrop(while:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryDrop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt16yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF","displayName":"Publisher.switchToLatest()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt32yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO9hashValueSivp","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE9fromValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV9usingRateyACyxGAA0C7BuffersO0F0OF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5uInt8yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int16yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation9SpotLightC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp","displayName":"HasSpotLight.light"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int32yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF","displayName":"Publisher.collect()"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO9hashValueSivp","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16ambientOcclusionAC07AmbientF0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE3mapyAA16AsyncMapSequenceVyxqd__Gqd__7ElementQzYaclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE3mapyAA16AsyncMapSequenceVyxqd__Gqd__7ElementQzYaclF","displayName":"AsyncSequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19PointLightComponentV17attenuationRadiusSfvp","target":"s:17RealityFoundation19PointLightComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF","displayName":"Publisher.collect()"}},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4int8yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV11descriptionSSvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO6scalaryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV15triangleIndicesAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO5coloryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV08animatedD0xSgvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVACycfc","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV15defaultUpVectors5SIMD3VySfGvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5delaySdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO7reducedyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO8hdrColoryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO6normalyA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF","displayName":"Publisher.collect(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF","displayName":"Publisher.collect(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE3mapyAA24AsyncThrowingMapSequenceVyxqd__Gqd__7ElementQzYaKclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE3mapyAA24AsyncThrowingMapSequenceVyxqd__Gqd__7ElementQzYaKclF","displayName":"AsyncSequence.map(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.receive(on:options:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.receive(on:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8blendingAC8BlendingOvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO4faceyA2EmF","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC14generateSphere6radiusACSf_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValueAEs5UInt8V_tcfc","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15requestProgressyAeC7RequestO_SdtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyyxSTRzAA12HasAnchoring7ElementRpzlF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18clearcoatRoughnessyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9clearcoatyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8emissiveyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV15collisionFilterAA09CollisionG0Vvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9roughnessyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15requestCompleteyAeC7RequestO_AC6ResultOtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV7Elementa","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8RawValuea","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8metallicyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","displayName":"MeshBufferContainer.buffers"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16ambientOcclusionyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp::SYNTHESIZED::s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation9SpotLightC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","displayName":"HasSpotLight.shadow"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6SystemPAAE08registerC0yyFZ","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValues5UInt8Vvp","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation13VideoMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13invalidSampleyAESi_SStcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyySayAA12HasAnchoring_pGF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withName7optionsAC0B03URLV_SSSgAC13CreateOptionsVtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV8metallicAA0D15ScalarParameterOvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV7trimEndSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18textureCoordinatesyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8specularyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO9hashValueSivp","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalColoryA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV4selfACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAllyyF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:SKsE8reverseds18ReversedCollectionVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8reverseds18ReversedCollectionVyxGyF","displayName":"BidirectionalCollection.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO6normalyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV9tweenModeAA05TweenF0Ovp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8elementsSayxGvp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV9parameteryACSSF","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF","displayName":"Publisher.tryMap(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF","displayName":"Publisher.tryMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO7tangentyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO18processingCompleteyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF","displayName":"Publisher.assign(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalAlphayA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9bitangentyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAll12keepCapacityySb_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9baseColoryA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19processingCancelledyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4load5named2inACSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation19OrientedBoundingBoxV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV13defaultHeightSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV19ArrayLiteralElementa","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCACycfc","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV6TargetO3anyyA2EmF","target":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV37isContinuousCollisionDetectionEnabledSbvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"conformsTo","source":"s:17RealityFoundation8ResourceP","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV6TargetO4bodyyAE0B04UUIDV_tcAEmF","target":"s:17RealityFoundation21BodyTrackingComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4sideAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6remove2atySi_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV13defaultRadiusSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV5countSivp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.measureInterval(using:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF","displayName":"Publisher.last()"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:s5ErrorP","targetFallback":"Swift.Error"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6removeyyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF","displayName":"Publisher.last()"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.measureInterval(using:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12requestErroryAeC7RequestO_s0G0_ptcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC6repeat8durationACSd_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"requirementOf","source":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV9trimStartSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation19PointLightComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19PointLightComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF","displayName":"Publisher.removeDuplicates()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV6TargetO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21BodyTrackingComponentV6TargetO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF","displayName":"Publisher.removeDuplicates()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF","displayName":"Publisher.merge(with:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6prefixyAA19AsyncPrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6prefixyAA19AsyncPrefixSequenceVyxGSiF","displayName":"AsyncSequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV4rateAA0C7BuffersO4RateOvp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4noneAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfyx_tSTRzAA12HasAnchoring7ElementRpzlF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV6TargetO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation21BodyTrackingComponentV6TargetO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10repeatModeAA0d6RepeatF0Ovp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO9meshChunkyA2EmF","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation13UnlitMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6normalAC6NormalVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorVyAA0C6BufferVy7ElementQzGSgxcAA0cE8SemanticRzluip","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","displayName":"MeshBufferContainer.subscript(_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC6repeat5countACSi_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF","displayName":"Publisher.merge(with:_:_:_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasTransform.setScale(_:relativeTo:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC7replace13withDrawablesyAC13DrawableQueueC_tF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5startSdvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF","displayName":"Publisher.replaceNil(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC5speedSdvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF","displayName":"Publisher.retry(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10repeatModeAA0e6RepeatG0Ovp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVyAA9TransformVSicip","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKy7ElementQz5IndexQzcip","displayName":"BidirectionalCollection.subscript(_:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryAllSatisfy(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryAllSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23AnimationTimingFunctionV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","displayName":"HasTransform.position"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV12depthDataMapSo11CVBufferRefaSgvp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV8endIndexSivp","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK8endIndex0B0Qzvp","displayName":"BidirectionalCollection.endIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9roughnessAC9RoughnessVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13inputCompleteyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"overrides","source":"s:17RealityFoundation17PerspectiveCameraCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlE8elements7indicesACySfGSaySfG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO9hashValueSivp","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9subscribe2to2on_7Combine11Cancellable_pxm_AA11EventSource_pSgyxctAA0I0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation14HasPhysicsBodyP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O9hashValueSivp","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF","displayName":"Publisher.replaceNil(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO21automaticDownsamplingyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5Indexa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5IndexQa","displayName":"BidirectionalCollection.Index"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.subscribe(on:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV7defaultACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV10startIndexSivp","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK10startIndex0B0Qzvp","displayName":"BidirectionalCollection.startIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11mipmapsModeAC07MipmapsI0Ovp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.subscribe(on:options:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF","displayName":"Publisher.retry(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.addForce(_:relativeTo:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12HasCollisionP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGqd__cSTRd__Sf7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation19PointLightComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV11SubSequencea","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5emptyACvpZ","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE7flatMapyAA09AsyncFlatC8SequenceVyxqd__Gqd__7ElementQzYacSciRd__lF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE7flatMapyAA09AsyncFlatC8SequenceVyxqd__Gqd__7ElementQzYacSciRd__lF","displayName":"AsyncSequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityCACycfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3mins5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV6linearACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV5delaySdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14sampleOrderingAE06SampleG0Ovp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6bounds9transformAgA11BoundingBoxV_AA9TransformVtcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF","displayName":"Publisher.sink(receiveCompletion:receiveValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlE8elements7indicesACySdGSaySdG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO20localizedDescriptionSSvp","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6filteryAA19AsyncFilterSequenceVyxGSb7ElementQzYacF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6filteryAA19AsyncFilterSequenceVyxGSb7ElementQzYacF","displayName":"AsyncSequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8metallicAC8MetallicVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV5speedSfvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19PointLightComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV4nameSSvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV7Indicesa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV15distanceSquared7toPointSfs5SIMD3VySfG_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV6easeInACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV8upVectors5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV13frameIntervalSfvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19stitchingIncompleteyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","displayName":"HasPhysicsBody.addForce(_:at:relativeTo:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGSaySdGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF","displayName":"Publisher.sink(receiveCompletion:receiveValue:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV8metadataSDySSypGvp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13skippedSampleyAESi_tcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO15lightingDiffuseyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocitys5SIMD3VySfGvp","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16lightingSpecularyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV16opacityThresholdSfSgvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV7easeOutACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV8Iteratora","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV11transformed2byACSo13simd_float4x4a_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19requestProgressInfoyAeC7RequestO_AE0gH0VtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"conformsTo","source":"s:17RealityFoundation5EventP","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormat5width6height5usage11mipmapsModeAGSo08MTLPixelI0V_S2iSo15MTLTextureUsageVAC07MipmapsN0Otcfc","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV6sensorACvpZ","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","displayName":"HasTransform.scale(relativeTo:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV7Elementa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK7ElementQa","displayName":"BidirectionalCollection.Element"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9BaseColorVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.addTorque(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9transform2byySo13simd_float4x4a_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO10autoAcceptyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV9easeInOutACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGqd__cSTRd__Sd7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV7Elementa","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV7defaultACvpZ","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO6manualyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVACycfc","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV5speedSfvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"conformsTo","source":"s:17RealityFoundation21BodyTrackingComponentV6TargetO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9stepLimitSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8durationSdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF","displayName":"Publisher.merge(with:_:_:_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV8containsySbACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO9hashValueSivp","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO6normalyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV5groupAA0C5GroupVvp","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV8durationSdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO9unorderedyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.applyLinearImpulse(_:relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC7textureSo10MTLTexture_pvp","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO10sequentialyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV5delaySdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF","displayName":"Publisher.merge(with:_:_:_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE7flatMapyAA017AsyncThrowingFlatC8SequenceVyxqd__Gqd__7ElementQzYaKcSciRd__lF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE7flatMapyAA017AsyncThrowingFlatC8SequenceVyxqd__Gqd__7ElementQzYaKcSciRd__lF","displayName":"AsyncSequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV10intersectsySbACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV11orientation08boundingE0ACSo10simd_quatfa_AA0dE0Vtcfc","target":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","displayName":"HasTransform.orientation(relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation27SceneUnderstandingComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","displayName":"HasPhysicsBody.clearForcesAndTorques()"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9copyAsync2to17completionHandlerySo10MTLTexture_p_ys5Error_pSgctF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV7gravitySo14CMAccelerationaSgvp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF","displayName":"Publisher.mapError(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"conformsTo","source":"s:17RealityFoundation18SpotLightComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF","displayName":"Publisher.mapError(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5unionyA2CF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntity03hitH00I8Position0I6Normal13moveDirection0L8DistanceAeA0H0C_AMs5SIMD3VySfGA2PSftcfc","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.applyAngularImpulse(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:17RealityFoundation18SpotLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC13drawableQueueAC0eG0Cvp","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF","displayName":"Publisher.sink(receiveValue:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV","target":"s:17RealityFoundation25DirectionalLightComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation8BindPathV4PartO","target":"s:17RealityFoundation8BindPathV4PartO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV","target":"s:17RealityFoundation18SpotLightComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation10BindTargetO","target":"s:17RealityFoundation10BindTargetO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BlendWeightO","target":"s:17RealityFoundation11BlendWeightO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10repeatModeAA0d6RepeatF0Ovp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV4name4from2to2by8duration6timing10isAdditive10bindTarget10blendLayer10repeatMode04fillT09trimStart0V3End0V8Duration6offset5delay5speedACyxGSS_xSgA2VSdAA0F14TimingFunctionVSbAA04BindP0OSgs5Int32VAA0f6RepeatT0OAA0f4FillT0VSdSgA6_A6_S2dSftcfc","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO4RateO","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23MaterialScalarParameterO","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4axiss5SIMD3VySfGvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentV8velocitys5SIMD3VySfGvp","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF","displayName":"Publisher.collect(_:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O30sessionProtocolVersionMismatchyA2EmF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TweenModeO","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9formUnionyyACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4copy2toySo10MTLTexture_p_tKF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV3endSdvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation5SceneC","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23AnimationTimingFunctionV","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV8blendingAA015PhysicallyBasedD0V8BlendingOvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentVACycfc","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","displayName":"HasTransform.setOrientation(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV4maskAA0C5GroupVvp","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV8containsySbs5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O10compatibleyA2EmF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV6offsetSdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","displayName":"HasTransform.position(relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18SpotLightComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasTransform.setPosition(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9baseColorAC04BaseG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioPlaybackControllerC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlE8elements7indicesACyAEGSayAEG_AItcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialVACycfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14SimpleMaterialV","target":"s:17RealityFoundation14SimpleMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13UnlitMaterialV","target":"s:17RealityFoundation13UnlitMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation17OcclusionMaterialV","target":"s:17RealityFoundation17OcclusionMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentV10isOnGroundSbvp","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13VideoMaterialV","target":"s:17RealityFoundation13VideoMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","displayName":"HasPhysicsBody.applyImpulse(_:at:relativeTo:)"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV","target":"s:17RealityFoundation18MaterialParametersV"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO6linearyA2CmF","target":"s:17RealityFoundation9TweenModeO"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14CustomMaterialV","target":"s:17RealityFoundation14CustomMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation23PhysicallyBasedMaterialV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9formUnionyys5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO4holdyA2CmF","target":"s:17RealityFoundation9TweenModeO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19PointLightComponentV","target":"s:17RealityFoundation19PointLightComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumNumberOfInputImagesSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC7presentyyF","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV9hashValueSivp","target":"s:17RealityFoundation19OrientedBoundingBoxV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19OrientedBoundingBoxV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO20pointCloudGenerationyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE4drop5whileAA22AsyncDropWhileSequenceVyxGSb7ElementQzYac_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE4drop5whileAA22AsyncDropWhileSequenceVyxGSb7ElementQzYac_tF","displayName":"AsyncSequence.drop(while:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV4seatAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"conformsTo","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGSaySfGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","displayName":"HasTransform.orientation"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15CollisionFilterV","target":"s:17RealityFoundation15CollisionFilterV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14imageAlignmentyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO03preF0yA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC9hashValueSivp","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9skinWidthSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16CollisionCastHitV","target":"s:17RealityFoundation16CollisionCastHitV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV10slopeLimitSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO4highyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO12optimizationyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASfRszrlE6framesSaySfGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","displayName":"HasPhysicsBody.physicsBody"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8durationSdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14textureMappingyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF","displayName":"Publisher.collect(_:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14QueryPredicateV3hasyACyAA6EntityCGqd__mAA9ComponentRd__lFZ","target":"s:17RealityFoundation14QueryPredicateV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC010allowsNextE7TimeoutSbvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV7Elementa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl7ElementQa","displayName":"Collection.Element"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8specularAC8SpecularVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","displayName":"HasHierarchy.removeFromParent(preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumInputImageDimensionSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV"},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19OrientedBoundingBoxV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO6custom_4typeAC8SemanticVy_xGSS_xmtlFZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO9hashValueSivp","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5speedSfvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV12makeIteratorAA6EntityC05ChildE0V08IndexingG0Vy__AEGyF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl12makeIterator0B0QzyF","displayName":"Collection.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4modeAC4ModeOvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC15generateCapsule6height6radiusACSf_SftFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV5group4maskAcA0C5GroupV_AGtcfc","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV14startTransformAA0F0Vvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14meshGenerationyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhysicsMassPropertiesV","target":"s:17RealityFoundation21PhysicsMassPropertiesV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isStoppedSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15PhysicsBodyModeO","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV11mipmapsModeAC07MipmapsH0Ovp","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC20isEnabledInHierarchySbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16SystemDependencyO","target":"s:17RealityFoundation16SystemDependencyO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC04nextE0AC0E0CyKF","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV19innerAngleInDegreesSfvp","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE9dropFirstyAA09AsyncDropC8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE9dropFirstyAA09AsyncDropC8SequenceVyxGSiF","displayName":"AsyncSequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV6entityAA6EntityCvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsMaterialResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4playyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6heightSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO8timedOutyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO7Normalsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21BodyTrackingComponentV6TargetO","target":"s:17RealityFoundation21BodyTrackingComponentV6TargetO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18SceneUpdateContextV5sceneAA0C0Cvp","target":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVACycfc","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4stopyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO7grantedyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC19availableAnimationsSayAA17AnimationResourceCGvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC5pauseyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO9Positionsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8rawValueACs4Int8V_tcfc","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV5speedSfvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC11generateBox5width6height5depthACSf_S2ftFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV3anyAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"conformsTo","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation10PointLightC","sourceOrigin":{"identifier":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp","displayName":"HasPointLight.light"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19CustomMaterialErrorO","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isPlayingSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV12trimDurationSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:STs8IteratorSTQzRszrlE04makeA0xyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STs8IteratorSTQzRszrlE04makeA0xyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF","displayName":"Publisher.throttle(for:scheduler:latest:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8Tangentsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","displayName":"HasHierarchy.removeChild(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15CollisionFilterV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF","displayName":"Publisher.throttle(for:scheduler:latest:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE7isValidSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation16HasPhysicsMotionP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateSphere6radiusACSf_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV7trimEndSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV9removeAllyyF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV6normals5SIMD3VySfGvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5EndedV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6shapesSayAA13ShapeResourceCGvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV13spinClockwiseSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntityAA0H0Cvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV6frames4name9tweenMode13frameInterval10isAdditive10bindTarget10blendLayer06repeatH004fillH09trimStart0S3End0S8Duration6offset5delay5speedACyxGSayxG_SSAA05TweenH0OSfSbAA04BindN0OSgs5Int32VAA0d6RepeatH0OAA0d4FillH0VSdSgA4_A4_S2dSftcfc","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASdRszrlE6framesSaySdGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11mipmapsModeAC07MipmapsH0Ovp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10repeatModeAA0f6RepeatH0Ovp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5groupSayAA0C10Definition_pGvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9isEnabledSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semantic11mipmapsModeAeC8SemanticOSg_AC07MipmapsI0Otcfc","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5usageSo15MTLTextureUsageVvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV9intensitySfvp","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","displayName":"HasSynchronization.synchronization"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF","displayName":"Publisher.map(_:_:_:)"}},{"kind":"overrides","source":"s:17RealityFoundation9SpotLightCACycfc","target":"s:17RealityFoundation6EntityCACycfc","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO18textureCoordinatesAC8SemanticVy_s5SIMD2VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation13HasPointLightP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8RawValuea","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV8distanceSfvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV3farSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6radiusSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18SceneUpdateContextV9deltaTimeSdvp","target":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO15triangleIndicesAC8SemanticVy_s6UInt32VGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF","displayName":"Publisher.multicast(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF","displayName":"Publisher.merge(with:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV19ArrayLiteralElementa","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BoundingBoxV","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueCyA2E10DescriptorVKcfc","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10isAnchoredSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6customAC0C0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC9isPlayingSbvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF","displayName":"Publisher.prefix(_:)"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE10compactMapyAA020AsyncThrowingCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaKclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE10compactMapyAA020AsyncThrowingCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaKclF","displayName":"AsyncSequence.compactMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF","displayName":"Publisher.map(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromACSays5SIMD3VySfGG_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5EndedV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF","displayName":"Publisher.multicast(subject:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9hashValueSivp","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV17emissiveIntensitySfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF","displayName":"Publisher.multicast(_:)"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.min()"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV12orientToPathSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV9trimStartSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"conformsTo","source":"s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"requirementOf","source":"s:17RealityFoundation18MeshBufferSemanticP2idAA0C7BuffersO10IdentifierVvp","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF","displayName":"Publisher.multicast(subject:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF","displayName":"Publisher.merge(with:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV7sources4name6weight10isAdditiveACSayAA0cdE0_pG_SSAA0C6WeightOSbtcfc","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC8isActiveSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD2VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV4nameSSvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotationACSo10simd_quatfa_tF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13ShapeResourceC","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC4fromACs7Decoder_p_tKcfc","target":"s:17RealityFoundation25NetworkCompatibilityTokenC","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV15angularVelocitys5SIMD3VySfGvp","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV5delaySdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation21HasSceneUnderstandingP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3min3maxACs5SIMD3VySfG_AHtcfc","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhysicsMassPropertiesV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC24accessibilityDescriptionSSSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","displayName":"HasHierarchy.setParent(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4fade2to8durationySd_SdtF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromAcA04MeshD0C_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9inputModeAC05InputF0Ovp","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV11cubicBezier13controlPoint10H6Point2ACs5SIMD2VySfG_AItFZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","displayName":"HasSynchronization.isOwner"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.min()"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV19outerAngleInDegreesSfvp","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7impulseSfvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsVAEycfc","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentVACycfc","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE10compactMapyAA012AsyncCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE10compactMapyAA012AsyncCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaclF","displayName":"AsyncSequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13emissiveColorAC08EmissiveG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV7Failurea","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP7FailureQa","displayName":"Publisher.Failure"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF","displayName":"Publisher.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation16CollisionCastHitV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV5imageSo11CVBufferRefavp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label0B023LocalizedStringResourceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","displayName":"HasTransform.scale"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","displayName":"HasSynchronization.requestOwnership(timeout:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","displayName":"HasCollision.collision"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation13TriggerVolumeC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","displayName":"HasCollision.collision"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF","displayName":"Publisher.map(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF","displayName":"Publisher.map(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVAGycfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6radius6height9skinWidth10slopeLimit04stepK08upVector15collisionFilterACSf_S4fs5SIMD3VySfGAA09CollisionP0Vtcfc","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityC5plane14classification13minimumBoundsAcA18AnchoringComponentV6TargetO9AlignmentV_AJ14ClassificationVs5SIMD2VySfGtcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","target":"s:ScI","targetFallback":"_Concurrency.AsyncIteratorProtocol"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV3allACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC23generateCollisionShapes9recursiveySb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"overrides","source":"s:17RealityFoundation16DirectionalLightCACycfc","target":"s:17RealityFoundation6EntityCACycfc","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC15reverbSendLevelSdvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC5localACvpZ","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV13rotationCountSfvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8BlendingO8blendingAeA015PhysicallyBasedD0VADO_tcfc","target":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8additiveSbvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV2idSivp","target":"s:17RealityFoundation20PhotogrammetrySampleV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF","displayName":"Publisher.share()"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10blendLayers5Int32Vvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4gainSdvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD3VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV9hashValueSivp","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC11generateBox4sizeACs5SIMD3VySfG_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF","displayName":"Publisher.share()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV18sceneUnderstandingACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV8durationSdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV12makeIteratorAC0F0Vyx_GyF","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentVACycfc","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation19CustomMaterialErrorO","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp","displayName":"Error.localizedDescription"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotation11translationACSo10simd_quatfa_s5SIMD3VySfGtF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6accessyxxSo20MTLSamplerDescriptorCKXEKlF","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:17RealityFoundation15HasBodyTrackingPAAE04bodyE0AA0dE9ComponentVvp","target":"s:17RealityFoundation15HasBodyTrackingP"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13drawableQueueAC08DrawableF0CSgvp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityCyAcA18AnchoringComponentV6TargetOcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF","displayName":"Publisher.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF","displayName":"Publisher.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV2IDa","target":"s:17RealityFoundation20PhotogrammetrySampleV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV6Outputa","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP6OutputQa","displayName":"Publisher.Output"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","displayName":"HasHierarchy.parent"}},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","displayName":"HasSynchronization.withUnsynchronized(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","displayName":"HasHierarchy.addChild(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV35secondaryTextureCoordinateTransformAA0D14ParameterTypesV0fgH0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV7defaultACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy11translationACs5SIMD3VySfG_tF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5value0B023LocalizedStringResourceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityC5worldACs5SIMD3VySfG_tcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV8IteratorV4nextxSgyF","target":"s:17RealityFoundation11QueryResultV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV9instancesAA0C18InstanceCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetVyxSgxmcAA0D0Rzluip","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVyAGSo20MTLSamplerDescriptorCcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxVACycfc","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.combineLatest(_:_:_:_:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","displayName":"HasHierarchy.children"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8BlendingO6opaqueyA2EmF","target":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.combineLatest(_:_:_:_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityC5worldACSo13simd_float4x4a_tcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV8IteratorV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation20PhysicsBodyComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","displayName":"HasTransform.transform"}},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","target":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","displayName":"HasPhysicsMotion.physicsMotion"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3maxs5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV","target":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15PhysicsBodyModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC17compatibilityWithyAC0D0OACF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6modifyyxxSo20MTLSamplerDescriptorCKXEKlF","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV3anyAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV7Elementa","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMax(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMax(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocity07angularG0ACs5SIMD3VySfG_AHtcfc","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO5posesyAeC5PosesVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV8fillModeAA0e4FillG0Vvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8rawValueAGSgSi_tcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV0G0a","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV8MetallicV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8rawValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV16isRealWorldProxySbvp","target":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16opacityThresholdSfSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11EntityQueryV5whereAcA0D9PredicateVyAA0C0CG_tcfc","target":"s:17RealityFoundation11EntityQueryV"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC7raycast4from2to5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_AoA0kL9QueryTypeOAA0K5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD4VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9baseColorAC04BaseF0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowVAEycfc","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:s5ErrorP","targetFallback":"Swift.Error"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7Elementa","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","displayName":"HasTransform.move(to:relativeTo:duration:timingFunction:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4nameSSvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF","displayName":"Collection.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV15maximumDistance9depthBiasAESf_Sftcfc","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV8isPausedSbvp","target":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF","displayName":"Collection.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV12makeIteratorAC0F0Vyx_GyF","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8verticalAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation22PhysicsMotionComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8RawValuea","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV6ShadowVAEycfc","target":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMin(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3setyySayAA0D0_pGF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.prefix(while:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV6matrixACSo13simd_float4x4a_tcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF","displayName":"MutableCollection.partition(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMin(by:)"}},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO10pointCloudyAeC05PointG0VcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15loadingStrategyAC07LoadingG0Ovp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE8durationSdvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0cD7TextureV8resourceAA0E8ResourceCvp","target":"s:17RealityFoundation14CustomMaterialV0cD7TextureV"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV6TargetO9hashValueSivp","target":"s:17RealityFoundation21BodyTrackingComponentV6TargetO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation11EntityQueryVACycfc","target":"s:17RealityFoundation11EntityQueryV"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.max(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF","displayName":"Publisher.handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC22isAccessibilityElementSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5clockyXlvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3setyyxAA0D0RzlF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label5value10importanceAE0B023LocalizedStringResourceV_AKSo08AXCustomF10ImportanceVtcfc","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8BlendingO","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","displayName":"HasTransform.move(to:relativeTo:duration:timingFunction:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV10horizontalAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF","displayName":"Publisher.handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV6modelsAA0C15ModelCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13lightingModelAC08LightingF0Ovp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV10isAdditiveSbvp","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV10controllerAA0C18PlaybackControllerCvp","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withName7optionsAA11LoadRequestCyACG0B03URLV_SSSgAC13CreateOptionsVtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF","displayName":"Publisher.merge(with:_:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF","displayName":"Publisher.merge(with:_:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC5sceneAA5SceneCSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC10convexCast0D5Shape12fromPosition0G11Orientation02toH00jI05query4mask10relativeToSayAA09CollisionE3HitVGAA0F8ResourceC_s5SIMD3VySfGSo10simd_quatfaAtvA0oE9QueryTypeOAA0O5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasAnchoringP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV10identifiers6UInt64Vvp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO14integerLiteralACSi_tcfc","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8rawValues5UInt8Vvp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation20HasPerspectiveCameraP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","displayName":"HasTransform.move(to:relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10bindTargetAA04BindG0Ovp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO12floatLiteralACSf_tcfc","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3hasySbAA0D0_pXpF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8RawValuea","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6NormalVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV7Elementa","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO6streamyA2EmF","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO7preloadyA2EmF","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentVACycfc","target":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASo10simd_quatfaRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentVyA2C6TargetOcfc","target":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV9removeAllyyF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:SMsE39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SM39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF","displayName":"MutableCollection.withContiguousMutableStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF","displayName":"Publisher.merge(with:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF","displayName":"Publisher.merge(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO7textureyAcA15TextureResourceCcACmF","target":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18clearcoatRoughnessAC09ClearcoatG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8rawValueAGs5UInt8V_tcfc","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV11SubSequencea","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV6ShadowV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18SpotLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV5countSivp","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV19ArrayLiteralElementa","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.zip(_:_:_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.zip(_:_:_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5speedSfvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO5floatyACSfcACmF","target":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0cD7TextureVyAeA0E8ResourceCcfc","target":"s:17RealityFoundation14CustomMaterialV0cD7TextureV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVyACxcSTRzAA9TransformV7ElementRtzlufc","target":"s:17RealityFoundation15JointTransformsV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation17PerspectiveCameraCACycfc","target":"s:17RealityFoundation17PerspectiveCameraC"},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp","target":"s:17RealityFoundation19HasDirectionalLightP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV7isOwnerSbvp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6NormalV7textureAeC0cD7TextureVSg_tcfc","target":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV9removeAllyyF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV9intensitySfvp","target":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV4next7ElementQzSgyF","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV9hashValueSivp","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO9hashValueSivp","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasHierarchyP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC10shouldLoopSbvp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV7sourcesSayAA0cdE0_pGvp","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","displayName":"HasTransform.move(to:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10componentsAC12ComponentSetVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC18accessibilityLabelSSSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV6removeyyAA0D0_pXpF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2ids6UInt64Vvp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO9hashValueSivp","target":"s:17RealityFoundation13AudioResourceC9InputModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC2IDa","target":"s:17RealityFoundation23AudioPlaybackControllerC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF","displayName":"Publisher.print(_:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO7normalsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF","displayName":"Publisher.output(in:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO9hashValueSivp","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV9removeAllyyF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append_24preservingWorldTransformyAC_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF","displayName":"Publisher.output(in:)"}},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO18IntegerLiteralTypea","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP0cD4TypeQa","displayName":"ExpressibleByIntegerLiteral.IntegerLiteralType"}},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9SpotLightCACycfc","target":"s:17RealityFoundation9SpotLightC","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation21BodyTrackingComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF","displayName":"Publisher.print(_:to:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF","displayName":"Publisher.dropFirst(_:)"}},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO8allFacesyAEs6UInt32VcAEmF","target":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE11blendFactorSfvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8rawValues4Int8Vvp","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6shapes4mode6filterACSayAA13ShapeResourceCG_AC4ModeOAA0C6FilterVtcfc","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF","displayName":"Publisher.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO16FloatLiteralTypea","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV7Elementa","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC16debugDescriptionSSvp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp","displayName":"CustomDebugStringConvertible.debugDescription"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV4from16geometryModifierAcA0D0_p_AC08GeometryG0VtKcfc","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A9TransformVRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO7perFaceyAESays6UInt32VGcAEmF","target":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5delaySdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"overrides","source":"s:17RealityFoundation12AnchorEntityCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF","displayName":"Publisher.output(at:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF","displayName":"Publisher.output(at:)"}},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"Collection.index(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF","displayName":"Publisher.drop(untilOutputFrom:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation12HasSpotLightP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","target":"s:17RealityFoundation19HasDirectionalLightP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9hashValueSivp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10bitangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF","displayName":"Publisher.drop(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9clearcoatAC9ClearcoatVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"Collection.index(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV4from13surfaceShader16geometryModifierAcA0D0_p_AC07SurfaceG0VAC08GeometryI0VSgtKcfc","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsySayACG_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8tangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy5IndexQzAD_SitF","displayName":"Collection.index(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp","displayName":"Publisher.values"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE5first5where7ElementQzSgSbAEYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE5first5where7ElementQzSgSbAEYaKXE_tYaKF","displayName":"AsyncSequence.first(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV11hitPositions5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV4noneACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"conformsTo","source":"s:17RealityFoundation8BindPathV4PartO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation09BlendTreeC4NodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV4nearSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy5IndexQzAD_SitF","displayName":"Collection.index(_:offsetBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO6boundsyAeA11BoundingBoxVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.scan(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNames6frames4name9tweenMode13frameInterval10isAdditive0O13ScaleAnimated0o8RotationR00o11TranslationR010bindTarget10blendLayer06repeatL004fillL09trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SayAEGSSAA05TweenL0OSfS4bAA04BindV0OSgs5Int32VAA0d6RepeatL0OAA0d4FillL0VSdSgA11_A11_S2dSftcfc","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.scan(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE3min2by7ElementQzSgSbAE_AEtYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE3min2by7ElementQzSgSbAE_AEtYaKXE_tYaKF","displayName":"AsyncSequence.min(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV4nameSSvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetVyAA0D0_pSgAaF_pXpcip","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO8polygonsyAESays5UInt8VG_Says6UInt32VGtcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8forwardsACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO11modelEntityyAeA05ModelG0CcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE4timeSdvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6NormalV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV7isEmptySbvp","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE8distance4from2toSi5IndexQz_AEtF","displayName":"Collection.distance(from:to:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:17RealityFoundation11AudioEventsO"},{"kind":"memberOf","source":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE8distance4from2toSi5IndexQz_AEtF","displayName":"Collection.distance(from:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO17trianglesAndQuadsyAESays6UInt32VG_AItcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC7raycast6origin9direction6length5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_APSfAA0lM9QueryTypeOAA0L5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation19HasDirectionalLightP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","displayName":"HasTransform.visualBounds(recursive:relativeTo:excludeInactive:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9modelFileAE0B03URLV_tcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0C0V","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6filterAA0C6FilterVvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO5posesyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV5countSivp","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF","displayName":"Collection.trimmingPrefix(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF","displayName":"Collection.trimmingPrefix(_:)"}},{"kind":"memberOf","source":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffixy11SubSequenceQzSiF","displayName":"Collection.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2IDa","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV6offsetSdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC2ids6UInt64Vvp","target":"s:17RealityFoundation23AudioPlaybackControllerC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffixy11SubSequenceQzSiF","displayName":"Collection.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyAE_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO9positionsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV9backwardsACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV10importanceSo08AXCustomF10ImportanceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation33CharacterControllerStateComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV4bothACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV5partsSayAC4PartOGvp","target":"s:17RealityFoundation8BindPathV"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation16DirectionalLightCACycfc","target":"s:17RealityFoundation16DirectionalLightC","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6remove_24preservingWorldTransformyAC_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO9modelFileyAE0B03URLVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO","target":"s:17RealityFoundation8BindPathV"},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC5clone9recursiveACXDSb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO10pointCloudyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5unionyACs5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV4nameSSvp","target":"s:17RealityFoundation09BlendTreeC4NodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO9trianglesyAESays6UInt32VGcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8IteratorV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation10MeshBufferV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6boundsyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC12isProcessingSbvp","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC12replaceAsync9withImage7optionsAA11LoadRequestCyACGSo10CGImageRefa_AC13CreateOptionsVtF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV11orientationSo10simd_quatfavp","target":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11pixelFormatSo08MTLPixelH0Vvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9decrementAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC7Failurea","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherP7FailureQa","displayName":"Publisher.Failure"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO20localizedDescriptionSSvp","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE19characterControllerAA09CharacterE9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6normalAC6NormalVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE3max2by7ElementQzSgSbAE_AEtYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE3max2by7ElementQzSgSbAE_AEtYaKXE_tYaKF","displayName":"AsyncSequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9hashValueSivp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV7isEmptySbvp","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9incrementAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitEntityAA0H0Cvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(direction:from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidImagesyAE0B03URLVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8IteratorV4nextxSgyF","target":"s:17RealityFoundation10MeshBufferV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV5tableAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC9PublisherV","target":"s:7Combine9PublisherP","targetFallback":"Combine.Publisher"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19OrientedBoundingBoxV","target":"s:17RealityFoundation19OrientedBoundingBoxV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2id5model2atAESS_SSSo13simd_float4x4aSgtcfc","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6remove2at24preservingWorldTransformySi_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV7Elementa","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","displayName":"HasTransform.convert(transform:from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV7textureAeC0cD7TextureVSg_tcfc","target":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"conformsTo","source":"s:17RealityFoundation19OrientedBoundingBoxV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll12keepCapacity25preservingWorldTransformsySb_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5widthSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVACycfc","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO6entityyAC10EntityPathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC10isCompleteSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10entityTypeAC06EntityG0OSgvp","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV7ceilingAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO8internalyAcA08InternalC4PathVcACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12anchorEntityyAC0F4PathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV14orientedBoundsAA19OrientedBoundingBoxVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7samplerAE7SamplerVvp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18TransientComponentP","target":"s:17RealityFoundation9ComponentP"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9transformyA2CmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC6heightSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV12moveDistanceSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryScan(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.zip(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV5value0B023LocalizedStringResourceVSgvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF","displayName":"Publisher.assertNoFailure(_:file:line:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO15jointTransformsyA2CmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","displayName":"HasPhysicsBody.resetPhysicsTransform(_:recursive:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9parameteryACSScACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNames4name15isScaleAnimated0l8RotationN00l11TranslationN04from2to2by8duration6timing0L8Additive10bindTarget10blendLayer10repeatMode8fillMode9trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SSS3bAESgA1_A1_SdAA0F14TimingFunctionVSbAA04BindX0OSgs5Int32VAA0F10RepeatModeOAA0F8FillModeVSdSgA13_A13_S2dSftcfc","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll25preservingWorldTransformsySb_tF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","displayName":"HasTransform.setTransformMatrix(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(normal:from:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.zip(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC8generate14staticFriction07dynamicH011restitutionACSf_S2ftFZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5index6beforeS2i_tF","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5index6before5IndexQzAD_tF","displayName":"BidirectionalCollection.index(before:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO4pathyAcA0C4PathVcACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO11modelEntityyA2E6DetailO_AE8GeometryVSgtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp","target":"s:17RealityFoundation12HasSpotLightP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13configurationAC13ConfigurationVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9modelFileyAE0B03URLV_AE6DetailOAE8GeometryVSgtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC9subscribeyyqd__5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","target":"s:17RealityFoundation11LoadRequestC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV13moveDirections5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO4bodyyA2EmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE13moveCharacter2by9deltaTime10relativeTo16collisionHandlerAA0E19ControllerComponentV14CollisionFlagsVs5SIMD3VySfG_SfACSgyAJ0O0VcSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVACycfc","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0cD7TextureV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC7replace9withImage7optionsySo10CGImageRefa_AC13CreateOptionsVtKF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","displayName":"HasPhysicsBody.resetPhysicsTransform(recursive:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13surfaceShader16geometryModifier13lightingModelA2C07SurfaceF0V_AC08GeometryH0VSgAC08LightingJ0OtKcfc","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsySayACG_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV4wallAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","displayName":"HasTransform.transformMatrix(relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC4load10contentsOf8withName9inputMode15loadingStrategy10shouldLoopAC0B03URLV_SSSgAA0cE0C05InputL0OAC07LoadingN0OSbtKFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8blendingAC8BlendingOvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7outputsAC7OutputsVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV9transformSo13simd_float4x4avp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC8isPausedSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidOutputyAE0B03URLVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV11FaceCullinga","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO5sceneyAC9ScenePathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV8resourceAA0E8ResourceCvp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE17teleportCharacter2to10relativeToys5SIMD3VySfG_ACSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7Texturea","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherP7receive10subscriberyqd___tAA10SubscriberRd__7FailureQyd__AGRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.receive(subscriber:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(position:from:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19AnimationRepeatModeO","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp","displayName":"Publisher.values"}},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV08boundingE0AA0dE0Vvp","target":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC8generate8friction11restitutionACSf_SftFZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF","displayName":"Publisher.assertNoFailure(_:file:line:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8rawValues6UInt64Vvp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV5floorAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO19insufficientStorageyAEs5Int64V_tcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10entityTypeA2C06EntityG0OSg_tcfc","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8RawValuea","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC4load5named2in9inputMode15loadingStrategy10shouldLoopACSS_So8NSBundleCSgAA0cE0C05InputJ0OAC07LoadingL0OSbtKFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC11isSupportedSbvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6boundsAA11BoundingBoxVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryScan(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC6entityAA6EntityCSgvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitNormals5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV5countSivp","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8rawValueAGs6UInt64V_tcfc","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV19ArrayLiteralElementa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV6group_SayAA0C10Definition_pGSgvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"inheritsFrom","source":"s:17RealityFoundation18HasSynchronizationP","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVACycfc","target":"s:17RealityFoundation15JointTransformsV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0cD7TextureVyAeA0D10ParametersV0E0Vcfc","target":"s:17RealityFoundation14CustomMaterialV0cD7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation20BlendTreeInvalidNodeV4nameSSvp","target":"s:17RealityFoundation20BlendTreeInvalidNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV5label0B023LocalizedStringResourceVSgvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV7OpacityV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE9publisher3for2on13componentTypeAC9PublisherVy_xGxm_AA11EventSource_pSgAA9Component_pXpSgtAA0J0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV12arrayLiteralAcA9TransformVd_tcfc","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV19ArrayLiteralElementa","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO7ambientyA2EmF","target":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation15HasBodyTrackingP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation13AudioResourceC9InputModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","displayName":"HasTransform.convert(transform:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV5modelSSvp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV7Elementa","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(normal:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13EmissiveColorVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV7Elementa","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsMaterialResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC4load5named2inACSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9BaseColorV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP10helpAnchorSSSgvp","displayName":"LocalizedError.helpAnchor"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13generateAsync4from8withName7optionsAA11LoadRequestCyACGSo10CGImageRefa_SSSgAC13CreateOptionsVtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV6TargetO","target":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation13AudioResourceC9InputModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF","displayName":"Publisher.count()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF","displayName":"Publisher.count()"}},{"kind":"memberOf","source":"s:17RealityFoundation21BodyTrackingComponentV6targetAC6TargetOvp","target":"s:17RealityFoundation21BodyTrackingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV19ArrayLiteralElementa","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC9loadAsync5named2in9inputMode15loadingStrategy10shouldLoopAA11LoadRequestCyACGSS_So8NSBundleCSgAA0cE0C05InputK0OAC07LoadingM0OSbtFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","displayName":"HasTransform.look(at:from:upVector:relativeTo:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV7isEmptySbvp","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV11faceCullingAA0E14ParameterTypesV04FaceG0Ovp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO7spatialyA2EmF","target":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO10nonSpatialyA2EmF","target":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV9transformAA9TransformVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVACycfc","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF","displayName":"Collection.firstIndex(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation25DirectionalLightComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF","displayName":"Publisher.setFailureType(to:)"}},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF","displayName":"Collection.firstIndex(of:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceError(with:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceError(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"inheritsFrom","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV5countSivp","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9publisher3for2onAC9PublisherVy_xGxm_AA11EventSource_pSgtAA0H0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueSivp","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation17BodyTrackedEntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV7Elementa","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE24characterControllerStateAA09CharactereF9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV02isC7ElementSbvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP13failureReasonSSSgvp","displayName":"LocalizedError.failureReason"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation20BlendTreeInvalidNodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation20BlendTreeInvalidNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10isAdditiveSbvp","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(position:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV8avPlayerACSo8AVPlayerC_tcfc","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE21defaultAnimationClockyXlvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation10BindTargetO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV14orientedBounds9transformAgA19OrientedBoundingBoxV_AA9TransformVtcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8RawValuea","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP16errorDescriptionSSSgvp","displayName":"LocalizedError.errorDescription"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueAESi_tcfc","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV8SpecularV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVyA2C6TargetOcfc","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","target":"s:17RealityFoundation20HasPerspectiveCameraP"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5group4name10repeatMode04fillH09trimStart0J3End0J8Duration6offset5delay5speedACSayAA0C10Definition_pG_SSAA0c6RepeatH0OAA0c4FillH0VSdSgA2TS2dSftcfc","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryLast(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryLast(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8durationSdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.last(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.last(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE13playAnimation_18transitionDuration16blendLayerOffset21separateAnimatedValue12startsPaused5clockAA0E18PlaybackControllerCAA0E8ResourceC_SdSiS2byXlSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6cancelyyF","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE9subscribe2to2on13componentType_7Combine11Cancellable_pxm_AA11EventSource_pSgAA9Component_pXpSgyxctAA0K0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC9loadAsync10contentsOf8withName9inputMode15loadingStrategy10shouldLoopAA11LoadRequestCyACG0B03URLV_SSSgAA0cE0C05InputM0OAC07LoadingO0OSbtFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceEmpty(with:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceEmpty(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV6offsetSdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC7defaultACvpZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC14activeRequestsSayAC7RequestOGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9BaseColorV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8activateAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8generate4from8withName7optionsACSo10CGImageRefa_SSSgAC13CreateOptionsVtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(direction:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7process8requestsySayAC7RequestOG_tKF","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP18recoverySuggestionSSSgvp","displayName":"LocalizedError.recoverySuggestion"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC4nameSSvp","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation8HasModelP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","target":"s:17RealityFoundation12HasSpotLightP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV8avPlayerSo8AVPlayerCSgvp","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV","target":"s:17RealityFoundation14CustomMaterialV"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Combine.symbols.json b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Combine.symbols.json new file mode 100644 index 0000000..f1a050f --- /dev/null +++ b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Combine.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"ios","minimumVersion":{"major":17,"minor":2}}}},"symbols":[{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine11CancellableP17RealityFoundationE22storeWhileEntityActiveyyAD0G0CF","interfaceLanguage":"swift"},"pathComponents":["Cancellable","storeWhileEntityActive(_:)"],"names":{"title":"storeWhileEntityActive(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"storeWhileEntityActive"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Retains the `Cancellable` as long as the entity is active (see `Entity.isActive`). If the"},{"text":"entity is deactivated, the `Cancellable` is released."},{"text":""},{"text":"This method does nothing if the entity is already inactive."},{"text":""},{"text":"Internally, this method stores an `AnyCancellable` in a transient component of the entity."},{"text":"The component is removed when the *deactivate* event for this entity is received."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"storeWhileEntityActive"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]}],"relationships":[{"kind":"memberOf","source":"s:7Combine11CancellableP17RealityFoundationE22storeWhileEntityActiveyyAD0G0CF","target":"s:7Combine11CancellableP","targetFallback":"Combine.Cancellable"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Metal.symbols.json b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Metal.symbols.json new file mode 100644 index 0000000..44de831 --- /dev/null +++ b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Metal.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"ios","minimumVersion":{"major":17,"minor":2}}}},"symbols":[{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","interfaceLanguage":"swift"},"pathComponents":["MTLCommandBuffer","present(_:)"],"names":{"title":"present(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a drawable presentation to occur as soon as possible"},{"text":" - drawable: The drawable that you want to present."}]},"functionSignature":{"parameters":[{"name":"drawable","declarationFragments":[{"kind":"identifier","spelling":"drawable"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Metal","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"drawable"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]}],"relationships":[{"kind":"memberOf","source":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","target":"c:objc(pl)MTLCommandBuffer","targetFallback":"Metal.MTLCommandBuffer"},{"kind":"defaultImplementationOf","source":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","target":"c:objc(pl)MTLCommandBuffer(im)presentDrawable:","targetFallback":"Metal.MTLCommandBuffer.present(_:)"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Swift.symbols.json b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Swift.symbols.json new file mode 100644 index 0000000..40d7c2f --- /dev/null +++ b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@Swift.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"ios","minimumVersion":{"major":17,"minor":2}}}},"symbols":[{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s13SignedNumericPsE1sopyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the additive inverse of the specified value."},{"text":""},{"text":"The negation operator (prefix `-`) returns the additive inverse of its"},{"text":"argument."},{"text":""},{"text":" let x = 21"},{"text":" let y = -x"},{"text":" // y == -21"},{"text":""},{"text":"The resulting value must be representable in the same type as the"},{"text":"argument. In particular, negating a signed, fixed-width integer type's"},{"text":"minimum results in a value that cannot be represented."},{"text":""},{"text":" let z = -Int8.min"},{"text":" // Overflow error"},{"text":""},{"text":"- Returns: The additive inverse of the argument."}]},"functionSignature":{"parameters":[{"name":"operand","declarationFragments":[{"kind":"identifier","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","bitWidth"],"names":{"title":"bitWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of bits in the binary representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than-or-equal-to operator (`>=`), even if the two instances are"},{"text":"of different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>=(_:_:)"],"names":{"title":">>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right in the left-hand-side variable."},{"text":""},{"text":"The `>>=` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x >>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y >>= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a >>= -3"},{"text":" // a == 240 // 0b11110000"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b <<= 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" var q: Int8 = -30 // 0b11100010"},{"text":" q >>= 2"},{"text":" // q == -8 // 0b11111000"},{"text":""},{"text":" var r: Int8 = -30 // 0b11100010"},{"text":" r >>= 11"},{"text":" // r == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.ParseOutput"},{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, rounding toward"},{"text":"zero. Any fractional part of the value passed as `source` is removed."},{"text":""},{"text":" let x = Int(21.5)"},{"text":" // x == 21"},{"text":" let y = Int(-21.5)"},{"text":" // y == -21"},{"text":""},{"text":"If `source` is outside the bounds of this type after rounding toward"},{"text":"zero, a runtime error may occur."},{"text":""},{"text":" let z = UInt(-21.5)"},{"text":" // Error: ...outside the representable range"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."},{"text":" `source` must be representable in this type after rounding toward"},{"text":" zero."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&<<=` operator performs a *masking shift*, where the value used as"},{"text":"`rhs` is masked to produce a value in the range `0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(littleEndian:)"],"names":{"title":"init(littleEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its little-endian representation, changing the"},{"text":"byte order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the little-endian representation of"},{"text":" the new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than-or-equal-to operator (`<=`), even if the two instances are of"},{"text":"different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s13SignedNumericPsE6negateyyF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","negate()"],"names":{"title":"negate()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"negate"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this value with its additive inverse."},{"text":""},{"text":"The following example uses the `negate()` method to negate the value of"},{"text":"an integer `x`:"},{"text":""},{"text":" var x = 21"},{"text":" x.negate()"},{"text":" // x == -21"},{"text":""},{"text":"The resulting value must be representable within the value's type. In"},{"text":"particular, negating a signed, fixed-width integer type's minimum"},{"text":"results in a value that cannot be represented."},{"text":""},{"text":" var y = Int8.min"},{"text":" y.negate()"},{"text":" // Overflow error"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"negate"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(bigEndian:)"],"names":{"title":"init(bigEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its big-endian representation, changing the byte"},{"text":"order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the big-endian representation of the"},{"text":" new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE10isMultiple2ofSbx_tF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","isMultiple(of:)"],"names":{"title":"isMultiple(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns `true` if this value is a multiple of the given value, and `false`"},{"text":"otherwise."},{"text":""},{"text":"For two integers *a* and *b*, *a* is a multiple of *b* if there exists a"},{"text":"third integer *q* such that _a = q*b_. For example, *6* is a multiple of"},{"text":"*3* because _6 = 2*3_. Zero is a multiple of everything because _0 = 0*x_"},{"text":"for any integer *x*."},{"text":""},{"text":"Two edge cases are worth particular attention:"},{"text":"- `x.isMultiple(of: 0)` is `true` if `x` is zero and `false` otherwise."},{"text":"- `T.min.isMultiple(of: -1)` is `true` for signed integer `T`, even"},{"text":" though the quotient `T.min / -1` isn't representable in type `T`."},{"text":""},{"text":"- Parameter other: The value to test."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, if it can be"},{"text":"represented exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `21.0`, while the attempt to initialize the"},{"text":"constant `y` from `21.5` fails:"},{"text":""},{"text":" let x = Int(exactly: 21.0)"},{"text":" // x == Optional(21)"},{"text":" let y = Int(exactly: 21.5)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Note: The algorithm used to create random values may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same sequence of integer values each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SzsExycfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new value equal to zero."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than operator (`>`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than operator (`<`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the inverse of the bits set in the argument."},{"text":""},{"text":"The bitwise NOT operator (`~`) is a prefix operator that returns a value"},{"text":"in which all the bits of its argument are flipped: Bits that are `1` in"},{"text":"the argument are `0` in the result, and bits that are `0` in the argument"},{"text":"are `1` in the result. This is equivalent to the inverse of a set. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let notX = ~x // 0b11111010"},{"text":""},{"text":"Performing a bitwise NOT operation on 0 returns a value with every bit"},{"text":"set to `1`."},{"text":""},{"text":" let allOnes = ~UInt8.min // 0b11111111"},{"text":""},{"text":"- Complexity: O(1)."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","littleEndian"],"names":{"title":"littleEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The little-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a little-endian platform, for any"},{"text":"integer `x`, `x == x.littleEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(clamping:)"],"names":{"title":"init(clamping:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the representable value that's closest to the"},{"text":"given integer."},{"text":""},{"text":"If the value passed as `source` is greater than the maximum representable"},{"text":"value in this type, the result is the type's `max` value. If `source` is"},{"text":"less than the smallest representable value in this type, the result is"},{"text":"the type's `min` value."},{"text":""},{"text":"In this example, `x` is initialized as an `Int8` instance by clamping"},{"text":"`500` to the range `-128...127`, and `y` is initialized as a `UInt`"},{"text":"instance by clamping `-500` to the range `0...UInt.max`."},{"text":""},{"text":" let x = Int8(clamping: 500)"},{"text":" // x == 127"},{"text":" // x == Int8.max"},{"text":""},{"text":" let y = UInt(clamping: -500)"},{"text":" // y == 0"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","bigEndian"],"names":{"title":"bigEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The big-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a big-endian platform, for any"},{"text":"integer `x`, `x == x.bigEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling the version that takes a generator,"},{"text":"passing in the system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are not"},{"text":"equal."},{"text":""},{"text":"You can check the inequality of instances of any `BinaryInteger` types"},{"text":"using the not-equal-to operator (`!=`). For example, you can test"},{"text":"whether the first `UInt8` value in a string's UTF-8 encoding is not"},{"text":"equal to the first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are different: \\(firstUTF8 != firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are different: false\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(truncatingIfNeeded:)"],"names":{"title":"init(truncatingIfNeeded:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the bit pattern of the given instance by"},{"text":"truncating or sign-extending if needed to fit this type."},{"text":""},{"text":"When the bit width of `T` (the type of `source`) is equal to or greater"},{"text":"than this type's bit width, the result is the truncated"},{"text":"least-significant bits of `source`. For example, when converting a"},{"text":"16-bit value to an 8-bit type, only the lower 8 bits of `source` are"},{"text":"used."},{"text":""},{"text":" let p: Int16 = -500"},{"text":" // 'p' has a binary representation of 11111110_00001100"},{"text":" let q = Int8(truncatingIfNeeded: p)"},{"text":" // q == 12"},{"text":" // 'q' has a binary representation of 00001100"},{"text":""},{"text":"When the bit width of `T` is less than this type's bit width, the result"},{"text":"is *sign-extended* to fill the remaining bits. That is, if `source` is"},{"text":"negative, the result is padded with ones; otherwise, the result is"},{"text":"padded with zeros."},{"text":""},{"text":" let u: Int8 = 21"},{"text":" // 'u' has a binary representation of 00010101"},{"text":" let v = Int16(truncatingIfNeeded: u)"},{"text":" // v == 21"},{"text":" // 'v' has a binary representation of 00000000_00010101"},{"text":""},{"text":" let w: Int8 = -21"},{"text":" // 'w' has a binary representation of 11101011"},{"text":" let x = Int16(truncatingIfNeeded: w)"},{"text":" // x == -21"},{"text":" // 'x' has a binary representation of 11111111_11101011"},{"text":" let y = UInt16(truncatingIfNeeded: w)"},{"text":" // y == 65515"},{"text":" // 'y' has a binary representation of 11111111_11101011"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than operator (`>`) for"},{"text":"any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are"},{"text":"equal."},{"text":""},{"text":"You can check the equality of instances of any `BinaryInteger` types"},{"text":"using the equal-to operator (`==`). For example, you can test whether"},{"text":"the first `UInt8` value in a string's UTF-8 encoding is equal to the"},{"text":"first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are equal: \\(firstUTF8 == firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are equal: true\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","quotientAndRemainder(dividingBy:)"],"names":{"title":"quotientAndRemainder(dividingBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the quotient and remainder of this value divided by the given"},{"text":"value."},{"text":""},{"text":"Use this method to calculate the quotient and remainder of a division at"},{"text":"the same time."},{"text":""},{"text":" let x = 1_000_000"},{"text":" let (q, r) = x.quotientAndRemainder(dividingBy: 933)"},{"text":" // q == 1071"},{"text":" // r == 757"},{"text":""},{"text":"- Parameter rhs: The value to divide this value by."},{"text":"- Returns: A tuple containing the quotient and remainder of this value"},{"text":" divided by `rhs`."}]},"functionSignature":{"parameters":[{"name":"dividingBy","internalName":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"(quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling `random(in:using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is less than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the less-than-or-equal-to"},{"text":"operator (`<=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are not"},{"text":"equal."},{"text":""},{"text":"You can check the inequality of instances of any `BinaryInteger` types"},{"text":"using the not-equal-to operator (`!=`). For example, you can test"},{"text":"whether the first `UInt8` value in a string's UTF-8 encoding is not"},{"text":"equal to the first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are different: \\(firstUTF8 != firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are different: false\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","bigEndian"],"names":{"title":"bigEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The big-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a big-endian platform, for any"},{"text":"integer `x`, `x == x.bigEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(clamping:)"],"names":{"title":"init(clamping:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the representable value that's closest to the"},{"text":"given integer."},{"text":""},{"text":"If the value passed as `source` is greater than the maximum representable"},{"text":"value in this type, the result is the type's `max` value. If `source` is"},{"text":"less than the smallest representable value in this type, the result is"},{"text":"the type's `min` value."},{"text":""},{"text":"In this example, `x` is initialized as an `Int8` instance by clamping"},{"text":"`500` to the range `-128...127`, and `y` is initialized as a `UInt`"},{"text":"instance by clamping `-500` to the range `0...UInt.max`."},{"text":""},{"text":" let x = Int8(clamping: 500)"},{"text":" // x == 127"},{"text":" // x == Int8.max"},{"text":""},{"text":" let y = UInt(clamping: -500)"},{"text":" // y == 0"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling the version that takes a generator,"},{"text":"passing in the system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","littleEndian"],"names":{"title":"littleEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The little-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a little-endian platform, for any"},{"text":"integer `x`, `x == x.littleEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the inverse of the bits set in the argument."},{"text":""},{"text":"The bitwise NOT operator (`~`) is a prefix operator that returns a value"},{"text":"in which all the bits of its argument are flipped: Bits that are `1` in"},{"text":"the argument are `0` in the result, and bits that are `0` in the argument"},{"text":"are `1` in the result. This is equivalent to the inverse of a set. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let notX = ~x // 0b11111010"},{"text":""},{"text":"Performing a bitwise NOT operation on 0 returns a value with every bit"},{"text":"set to `1`."},{"text":""},{"text":" let allOnes = ~UInt8.min // 0b11111111"},{"text":""},{"text":"- Complexity: O(1)."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than operator (`<`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer."},{"text":""},{"text":"Use this initializer to convert from another integer type when you know"},{"text":"the value is within the bounds of this type. Passing a value that can't"},{"text":"be represented in this type results in a runtime error."},{"text":""},{"text":"In the following example, the constant `y` is successfully created from"},{"text":"`x`, an `Int` instance with a value of `100`. Because the `Int8` type"},{"text":"can represent `127` at maximum, the attempt to create `z` with a value"},{"text":"of `1000` results in a runtime error."},{"text":""},{"text":" let x = 100"},{"text":" let y = Int8(x)"},{"text":" // y == 100"},{"text":" let z = Int8(x * 10)"},{"text":" // Error: Not enough bits to represent the given value"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer. The value"},{"text":" passed as `source` must be representable in this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling `random(in:using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are"},{"text":"equal."},{"text":""},{"text":"You can check the equality of instances of any `BinaryInteger` types"},{"text":"using the equal-to operator (`==`). For example, you can test whether"},{"text":"the first `UInt8` value in a string's UTF-8 encoding is equal to the"},{"text":"first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are equal: \\(firstUTF8 == firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are equal: true\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is less than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the less-than-or-equal-to"},{"text":"operator (`<=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","quotientAndRemainder(dividingBy:)"],"names":{"title":"quotientAndRemainder(dividingBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the quotient and remainder of this value divided by the given"},{"text":"value."},{"text":""},{"text":"Use this method to calculate the quotient and remainder of a division at"},{"text":"the same time."},{"text":""},{"text":" let x = 1_000_000"},{"text":" let (q, r) = x.quotientAndRemainder(dividingBy: 933)"},{"text":" // q == 1071"},{"text":" // r == 757"},{"text":""},{"text":"- Parameter rhs: The value to divide this value by."},{"text":"- Returns: A tuple containing the quotient and remainder of this value"},{"text":" divided by `rhs`."}]},"functionSignature":{"parameters":[{"name":"dividingBy","internalName":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"(quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZsE8isSignedSbvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","isSigned"],"names":{"title":"isSigned","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether this type is a signed integer type."},{"text":""},{"text":"This property is always `true` for signed integer types."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(truncatingIfNeeded:)"],"names":{"title":"init(truncatingIfNeeded:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the bit pattern of the given instance by"},{"text":"truncating or sign-extending if needed to fit this type."},{"text":""},{"text":"When the bit width of `T` (the type of `source`) is equal to or greater"},{"text":"than this type's bit width, the result is the truncated"},{"text":"least-significant bits of `source`. For example, when converting a"},{"text":"16-bit value to an 8-bit type, only the lower 8 bits of `source` are"},{"text":"used."},{"text":""},{"text":" let p: Int16 = -500"},{"text":" // 'p' has a binary representation of 11111110_00001100"},{"text":" let q = Int8(truncatingIfNeeded: p)"},{"text":" // q == 12"},{"text":" // 'q' has a binary representation of 00001100"},{"text":""},{"text":"When the bit width of `T` is less than this type's bit width, the result"},{"text":"is *sign-extended* to fill the remaining bits. That is, if `source` is"},{"text":"negative, the result is padded with ones; otherwise, the result is"},{"text":"padded with zeros."},{"text":""},{"text":" let u: Int8 = 21"},{"text":" // 'u' has a binary representation of 00010101"},{"text":" let v = Int16(truncatingIfNeeded: u)"},{"text":" // v == 21"},{"text":" // 'v' has a binary representation of 00000000_00010101"},{"text":""},{"text":" let w: Int8 = -21"},{"text":" // 'w' has a binary representation of 11101011"},{"text":" let x = Int16(truncatingIfNeeded: w)"},{"text":" // x == -21"},{"text":" // 'x' has a binary representation of 11111111_11101011"},{"text":" let y = UInt16(truncatingIfNeeded: w)"},{"text":" // y == 65515"},{"text":" // 'y' has a binary representation of 11111111_11101011"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than operator (`>`) for"},{"text":"any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE10isMultiple2ofSbx_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","isMultiple(of:)"],"names":{"title":"isMultiple(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns `true` if this value is a multiple of the given value, and `false`"},{"text":"otherwise."},{"text":""},{"text":"For two integers *a* and *b*, *a* is a multiple of *b* if there exists a"},{"text":"third integer *q* such that _a = q*b_. For example, *6* is a multiple of"},{"text":"*3* because _6 = 2*3_. Zero is a multiple of everything because _0 = 0*x_"},{"text":"for any integer *x*."},{"text":""},{"text":"Two edge cases are worth particular attention:"},{"text":"- `x.isMultiple(of: 0)` is `true` if `x` is zero and `false` otherwise."},{"text":"- `T.min.isMultiple(of: -1)` is `true` for signed integer `T`, even"},{"text":" though the quotient `T.min / -1` isn't representable in type `T`."},{"text":""},{"text":"- Parameter other: The value to test."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&<<=` operator performs a *masking shift*, where the value used as"},{"text":"`rhs` is masked to produce a value in the range `0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, rounding toward"},{"text":"zero. Any fractional part of the value passed as `source` is removed."},{"text":""},{"text":" let x = Int(21.5)"},{"text":" // x == 21"},{"text":" let y = Int(-21.5)"},{"text":" // y == -21"},{"text":""},{"text":"If `source` is outside the bounds of this type after rounding toward"},{"text":"zero, a runtime error may occur."},{"text":""},{"text":" let z = UInt(-21.5)"},{"text":" // Error: ...outside the representable range"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."},{"text":" `source` must be representable in this type after rounding toward"},{"text":" zero."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>=(_:_:)"],"names":{"title":">>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right in the left-hand-side variable."},{"text":""},{"text":"The `>>=` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x >>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y >>= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a >>= -3"},{"text":" // a == 240 // 0b11110000"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b <<= 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" var q: Int8 = -30 // 0b11100010"},{"text":" q >>= 2"},{"text":" // q == -8 // 0b11111000"},{"text":""},{"text":" var r: Int8 = -30 // 0b11100010"},{"text":" r >>= 11"},{"text":" // r == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.ParseOutput"},{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The minimum representable integer in this type."},{"text":""},{"text":"For signed integer types, this value is `-(2 ** (bitWidth - 1))`, where"},{"text":"`**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than-or-equal-to operator (`>=`), even if the two instances are"},{"text":"of different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","bitWidth"],"names":{"title":"bitWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of bits in the binary representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The maximum representable integer in this type."},{"text":""},{"text":"For signed integer types, this value is `(2 ** (bitWidth - 1)) - 1`,"},{"text":"where `**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Note: The algorithm used to create random values may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same sequence of integer values each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than operator (`>`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, if it can be"},{"text":"represented exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `21.0`, while the attempt to initialize the"},{"text":"constant `y` from `21.5` fails:"},{"text":""},{"text":" let x = Int(exactly: 21.0)"},{"text":" // x == Optional(21)"},{"text":" let y = Int(exactly: 21.5)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(bigEndian:)"],"names":{"title":"init(bigEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its big-endian representation, changing the byte"},{"text":"order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the big-endian representation of the"},{"text":" new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SzsExycfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new value equal to zero."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer, if it can be represented"},{"text":"exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `100`, while the attempt to initialize the"},{"text":"constant `y` from `1_000` fails because the `Int8` type can represent"},{"text":"`127` at maximum:"},{"text":""},{"text":" let x = Int8(exactly: 100)"},{"text":" // x == Optional(100)"},{"text":" let y = Int8(exactly: 1_000)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than-or-equal-to operator (`<=`), even if the two instances are of"},{"text":"different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(littleEndian:)"],"names":{"title":"init(littleEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its little-endian representation, changing the"},{"text":"byte order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the little-endian representation of"},{"text":" the new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0.. "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Calculates the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&>>=` operator performs a *masking shift*, where the value passed as"},{"text":"`rhs` is masked to produce a value in the range `0..>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `19` as `rhs`, the operation first bitmasks `rhs` to"},{"text":"`3`, and then uses that masked value as the number of bits to shift `lhs`."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y &>>= 19"},{"text":" // y == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference of the two given values, wrapping the result in"},{"text":"case of any overflow."},{"text":""},{"text":"The overflow subtraction operator (`&-`) discards any bits that overflow"},{"text":"the fixed width of the integer type. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: UInt8 = 21 &- 10"},{"text":" // x == 11"},{"text":" let y: UInt8 = 10 &- 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Multiplies two values and stores the result in the left-hand-side"},{"text":"variable, wrapping any overflow."},{"text":""},{"text":"The masking multiplication assignment operator (`&*=`) silently wraps"},{"text":"any overflow that occurs during the operation. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &*= 5"},{"text":" // x == 50"},{"text":" var y: Int8 = 10"},{"text":" y &*= 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:_:)"],"names":{"title":"...(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a closed range that contains both of its bounds."},{"text":""},{"text":"Use the closed range operator (`...`) to create a closed range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`ClosedRange` from \"a\" up to, and including, \"z\"."},{"text":""},{"text":" let lowercase = \"a\"...\"z\""},{"text":" print(lowercase.contains(\"z\"))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range extending upward from a lower bound."},{"text":""},{"text":"Use the postfix range operator (postfix `...`) to create a partial range"},{"text":"of any type that conforms to the `Comparable` protocol. This example"},{"text":"creates a `PartialRangeFrom` instance that includes any value"},{"text":"greater than or equal to `5.0`."},{"text":""},{"text":" let atLeastFive = 5.0..."},{"text":""},{"text":" atLeastFive.contains(4.0) // false"},{"text":" atLeastFive.contains(5.0) // true"},{"text":" atLeastFive.contains(6.0) // true"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the partial range's lower bound up to the end"},{"text":"of the collection."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[3...])"},{"text":" // Prints \"[40, 50, 60, 70]\""},{"text":""},{"text":"- Parameter minimum: The lower bound for the range."},{"text":""},{"text":"- Precondition: `minimum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","+(_:)"],"names":{"title":"+(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the given number unchanged."},{"text":""},{"text":"You can use the unary plus operator (`+`) to provide symmetry in your"},{"text":"code for positive numbers when also using the unary minus operator."},{"text":""},{"text":" let x = -21"},{"text":" let y = +21"},{"text":" // x == -21"},{"text":" // y == 21"},{"text":""},{"text":"- Returns: The given argument without any changes."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable, wrapping any overflow."},{"text":""},{"text":"The masking subtraction assignment operator (`&-=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the result is the partial value after"},{"text":"discarding the overflowing bits."},{"text":""},{"text":" var x: Int8 = 21"},{"text":" x &-= 10"},{"text":" // x == 11"},{"text":" var y: UInt8 = 10"},{"text":" y &-= 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The minimum representable integer in this type."},{"text":""},{"text":"For unsigned integer types, this value is always `0`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than-or-equal-to operator"},{"text":"(`>=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."},{"text":"- Returns: `true` if `lhs` is greater than or equal to `rhs`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, and including, its upper bound."},{"text":""},{"text":"Use the prefix closed range operator (prefix `...`) to create a partial"},{"text":"range of any type that conforms to the `Comparable` protocol. This"},{"text":"example creates a `PartialRangeThrough` instance that includes"},{"text":"any value less than or equal to `5.0`."},{"text":""},{"text":" let throughFive = ...5.0"},{"text":""},{"text":" throughFive.contains(4.0) // true"},{"text":" throughFive.contains(5.0) // true"},{"text":" throughFive.contains(6.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, and"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[...3])"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The maximum representable integer in this type."},{"text":""},{"text":"For unsigned integer types, this value is `(2 ** bitWidth) - 1`, where"},{"text":"`**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized to the specified integer value."},{"text":""},{"text":"Do not call this initializer directly. Instead, initialize a variable or"},{"text":"constant using an integer literal. For example:"},{"text":""},{"text":" let x = 23"},{"text":""},{"text":"In this example, the assignment to the `x` constant calls this integer"},{"text":"literal initializer behind the scenes."},{"text":""},{"text":"- Parameter value: The value to create."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the product of the two given values, wrapping the result in case"},{"text":"of any overflow."},{"text":""},{"text":"The overflow multiplication operator (`&*`) discards any bits that"},{"text":"overflow the fixed width of the integer type. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: Int8 = 10 &* 5"},{"text":" // x == 50"},{"text":" let y: Int8 = 10 &* 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Foundation","lines":[{"text":"Initialize an instance by parsing `value` with the given `strategy`."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:radix:)"],"names":{"title":"init(_:radix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string and radix."},{"text":""},{"text":"The string passed as `text` may begin with a plus or minus sign character"},{"text":"(`+` or `-`), followed by one or more numeric digits (`0-9`) or letters"},{"text":"(`a-z` or `A-Z`). Parsing of the string is case insensitive."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":" let y = Int(\"-123\", radix: 8)"},{"text":" // y == -83"},{"text":" let y = Int(\"+123\", radix: 8)"},{"text":" // y == +83"},{"text":""},{"text":" let z = Int(\"07b\", radix: 16)"},{"text":" // z == 123"},{"text":""},{"text":"If `text` is in an invalid format or contains characters that are out of"},{"text":"bounds for the given `radix`, or if the value it denotes in the given"},{"text":"`radix` is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"zzzzzzzzzzzzz\", radix: 36) // Out of range"},{"text":""},{"text":"- Parameters:"},{"text":" - text: The ASCII representation of a number in the radix passed as"},{"text":" `radix`."},{"text":" - radix: The radix, or base, to use for converting `text` to an integer"},{"text":" value. `radix` must be in the range `2...36`. The default is 10."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"text"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 10) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"StringProtocol","preciseIdentifier":"s:Sy"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise OR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise OR operation results in a value that has each bit set to `1`"},{"text":"where *one or both* of its arguments have that bit set to `1`. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x | y // 0b00001111"},{"text":" // z == 15"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE8advanced2byxSi_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","advanced(by:)"],"names":{"title":"advanced(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"advanced"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a value that is offset the specified distance from this value."},{"text":""},{"text":"Use the `advanced(by:)` method in generic code to offset a value by a"},{"text":"specified distance. If you're working directly with numeric values, use"},{"text":"the addition operator (`+`) instead of this method."},{"text":""},{"text":"For a value `x`, a distance `n`, and a value `y = x.advanced(by: n)`,"},{"text":"`x.distance(to: y) == n`."},{"text":""},{"text":"- Parameter n: The distance to advance this value."},{"text":"- Returns: A value that is offset from this value by `n`."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"n","declarationFragments":[{"kind":"identifier","spelling":"n"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"advanced"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"n"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<=(_:_:)"],"names":{"title":"<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left in the left-hand-side variable."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x <<= 2"},{"text":" // x == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y <<= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a <<= -3"},{"text":" // a == 3 // 0b00000011"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b >>= 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise AND operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise AND operation results in a value that has each bit set to `1`"},{"text":"where *both* of its arguments have that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x & y // 0b00000100"},{"text":" // z == 4"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format. `self` is first converted to `S.FormatInput` type, then format with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","..<(_:_:)"],"names":{"title":"..<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a half-open range that contains its lower bound but not its upper"},{"text":"bound."},{"text":""},{"text":"Use the half-open range operator (`..<`) to create a range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`Range` from zero up to, but not including, 5.0."},{"text":""},{"text":" let lessThanFive = 0.0..<5.0"},{"text":" print(lessThanFive.contains(3.14)) // Prints \"true\""},{"text":" print(lessThanFive.contains(5.0)) // Prints \"false\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the two given values, wrapping the result in case of"},{"text":"any overflow."},{"text":""},{"text":"The overflow addition operator (`&+`) discards any bits that overflow the"},{"text":"fixed width of the integer type. In the following example, the sum of"},{"text":"`100` and `121` is greater than the maximum representable `Int8` value,"},{"text":"so the result is the partial value after discarding the overflowing"},{"text":"bits."},{"text":""},{"text":" let x: Int8 = 10 &+ 21"},{"text":" // x == 31"},{"text":" let y: Int8 = 100 &+ 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string."},{"text":""},{"text":"The string passed as `description` may begin with a plus or minus sign"},{"text":"character (`+` or `-`), followed by one or more numeric digits (`0-9`)."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":"If `description` is in an invalid format, or if the value it denotes in"},{"text":"base 10 is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"10000000000000000000000000\") // Out of range"},{"text":""},{"text":"- Parameter description: The ASCII representation of a number."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise XOR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise XOR operation, also known as an exclusive OR operation, results"},{"text":"in a value that has each bit set to `1` where *one or the other but not"},{"text":"both* of its arguments had that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x ^ y // 0b00001011"},{"text":" // z == 11"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` using `IntegerFormatStyle()`"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","..<(_:)"],"names":{"title":"..<(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, but not including, its upper bound."},{"text":""},{"text":"Use the prefix half-open range operator (prefix `..<`) to create a"},{"text":"partial range of any type that conforms to the `Comparable` protocol."},{"text":"This example creates a `PartialRangeUpTo` instance that includes"},{"text":"any value less than `5.0`."},{"text":""},{"text":" let upToFive = ..<5.0"},{"text":""},{"text":" upToFive.contains(3.14) // true"},{"text":" upToFive.contains(6.28) // false"},{"text":" upToFive.contains(5.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, but not"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[..<3])"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable,"},{"text":"wrapping any overflow."},{"text":""},{"text":"The masking addition assignment operator (`&+=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"sum of `100` and `121` is greater than the maximum representable `Int8`"},{"text":"value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &+= 21"},{"text":" // x == 31"},{"text":" var y: Int8 = 100"},{"text":" y &+= 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The zero value."},{"text":""},{"text":"Zero is the identity element for addition. For any value,"},{"text":"`x + .zero == x` and `.zero + x == x`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"ExpressibleByIntegerLiteral","rhsPrecise":"s:s27ExpressibleByIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE8distance2toSix_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","distance(to:)"],"names":{"title":"distance(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance from this value to the given value, expressed as a"},{"text":"stride."},{"text":""},{"text":"For two values `x` and `y`, and a distance `n = x.distance(to: y)`,"},{"text":"`x.advanced(by: n) == y`."},{"text":""},{"text":"- Parameter other: The value to calculate the distance to."},{"text":"- Returns: The distance from this value to `other`."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"This function is the only requirement of the `Comparable` protocol. The"},{"text":"remainder of the relational operator functions are implemented by the"},{"text":"standard library for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format. `self` is first converted to `S.FormatInput` type, then format with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","..<(_:_:)"],"names":{"title":"..<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a half-open range that contains its lower bound but not its upper"},{"text":"bound."},{"text":""},{"text":"Use the half-open range operator (`..<`) to create a range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`Range` from zero up to, but not including, 5.0."},{"text":""},{"text":" let lessThanFive = 0.0..<5.0"},{"text":" print(lessThanFive.contains(3.14)) // Prints \"true\""},{"text":" print(lessThanFive.contains(5.0)) // Prints \"false\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUsE8isSignedSbvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","isSigned"],"names":{"title":"isSigned","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether this type is a signed integer type."},{"text":""},{"text":"This property is always `false` for unsigned integer types."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<=(_:_:)"],"names":{"title":"<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left in the left-hand-side variable."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x <<= 2"},{"text":" // x == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y <<= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a <<= -3"},{"text":" // a == 3 // 0b00000011"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b >>= 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise AND operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise AND operation results in a value that has each bit set to `1`"},{"text":"where *both* of its arguments have that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x & y // 0b00000100"},{"text":" // z == 4"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise OR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise OR operation results in a value that has each bit set to `1`"},{"text":"where *one or both* of its arguments have that bit set to `1`. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x | y // 0b00001111"},{"text":" // z == 15"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SUsE9magnitudexvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","magnitude"],"names":{"title":"magnitude","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"magnitude"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The magnitude of this value."},{"text":""},{"text":"Every unsigned integer is its own magnitude, so for any value `x`,"},{"text":"`x == x.magnitude`."},{"text":""},{"text":"The global `abs(_:)` function provides more familiar syntax when you need"},{"text":"to find an absolute value. In addition, because `abs(_:)` always returns"},{"text":"a value of the same type, even in a generic context, using the function"},{"text":"instead of the `magnitude` property is encouraged."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"magnitude"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:radix:)"],"names":{"title":"init(_:radix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string and radix."},{"text":""},{"text":"The string passed as `text` may begin with a plus or minus sign character"},{"text":"(`+` or `-`), followed by one or more numeric digits (`0-9`) or letters"},{"text":"(`a-z` or `A-Z`). Parsing of the string is case insensitive."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":" let y = Int(\"-123\", radix: 8)"},{"text":" // y == -83"},{"text":" let y = Int(\"+123\", radix: 8)"},{"text":" // y == +83"},{"text":""},{"text":" let z = Int(\"07b\", radix: 16)"},{"text":" // z == 123"},{"text":""},{"text":"If `text` is in an invalid format or contains characters that are out of"},{"text":"bounds for the given `radix`, or if the value it denotes in the given"},{"text":"`radix` is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"zzzzzzzzzzzzz\", radix: 36) // Out of range"},{"text":""},{"text":"- Parameters:"},{"text":" - text: The ASCII representation of a number in the radix passed as"},{"text":" `radix`."},{"text":" - radix: The radix, or base, to use for converting `text` to an integer"},{"text":" value. `radix` must be in the range `2...36`. The default is 10."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"text"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 10) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"StringProtocol","preciseIdentifier":"s:Sy"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The zero value."},{"text":""},{"text":"Zero is the identity element for addition. For any value,"},{"text":"`x + .zero == x` and `.zero + x == x`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"ExpressibleByIntegerLiteral","rhsPrecise":"s:s27ExpressibleByIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable,"},{"text":"wrapping any overflow."},{"text":""},{"text":"The masking addition assignment operator (`&+=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"sum of `100` and `121` is greater than the maximum representable `Int8`"},{"text":"value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &+= 21"},{"text":" // x == 31"},{"text":" var y: Int8 = 100"},{"text":" y &+= 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"This function is the only requirement of the `Comparable` protocol. The"},{"text":"remainder of the relational operator functions are implemented by the"},{"text":"standard library for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","..<(_:)"],"names":{"title":"..<(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, but not including, its upper bound."},{"text":""},{"text":"Use the prefix half-open range operator (prefix `..<`) to create a"},{"text":"partial range of any type that conforms to the `Comparable` protocol."},{"text":"This example creates a `PartialRangeUpTo` instance that includes"},{"text":"any value less than `5.0`."},{"text":""},{"text":" let upToFive = ..<5.0"},{"text":""},{"text":" upToFive.contains(3.14) // true"},{"text":" upToFive.contains(6.28) // false"},{"text":" upToFive.contains(5.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, but not"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[..<3])"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` using `IntegerFormatStyle()`"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string."},{"text":""},{"text":"The string passed as `description` may begin with a plus or minus sign"},{"text":"character (`+` or `-`), followed by one or more numeric digits (`0-9`)."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":"If `description` is in an invalid format, or if the value it denotes in"},{"text":"base 10 is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"10000000000000000000000000\") // Out of range"},{"text":""},{"text":"- Parameter description: The ASCII representation of a number."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the two given values, wrapping the result in case of"},{"text":"any overflow."},{"text":""},{"text":"The overflow addition operator (`&+`) discards any bits that overflow the"},{"text":"fixed width of the integer type. In the following example, the sum of"},{"text":"`100` and `121` is greater than the maximum representable `Int8` value,"},{"text":"so the result is the partial value after discarding the overflowing"},{"text":"bits."},{"text":""},{"text":" let x: Int8 = 10 &+ 21"},{"text":" // x == 31"},{"text":" let y: Int8 = 100 &+ 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise XOR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise XOR operation, also known as an exclusive OR operation, results"},{"text":"in a value that has each bit set to `1` where *one or the other but not"},{"text":"both* of its arguments had that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x ^ y // 0b00001011"},{"text":" // z == 11"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","+(_:)"],"names":{"title":"+(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the given number unchanged."},{"text":""},{"text":"You can use the unary plus operator (`+`) to provide symmetry in your"},{"text":"code for positive numbers when also using the unary minus operator."},{"text":""},{"text":" let x = -21"},{"text":" let y = +21"},{"text":" // x == -21"},{"text":" // y == 21"},{"text":""},{"text":"- Returns: The given argument without any changes."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range extending upward from a lower bound."},{"text":""},{"text":"Use the postfix range operator (postfix `...`) to create a partial range"},{"text":"of any type that conforms to the `Comparable` protocol. This example"},{"text":"creates a `PartialRangeFrom` instance that includes any value"},{"text":"greater than or equal to `5.0`."},{"text":""},{"text":" let atLeastFive = 5.0..."},{"text":""},{"text":" atLeastFive.contains(4.0) // false"},{"text":" atLeastFive.contains(5.0) // true"},{"text":" atLeastFive.contains(6.0) // true"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the partial range's lower bound up to the end"},{"text":"of the collection."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[3...])"},{"text":" // Prints \"[40, 50, 60, 70]\""},{"text":""},{"text":"- Parameter minimum: The lower bound for the range."},{"text":""},{"text":"- Precondition: `minimum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer, if it can be represented"},{"text":"exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `100`, while the attempt to initialize the"},{"text":"constant `y` from `1_000` fails because the `Int8` type can represent"},{"text":"`127` at maximum:"},{"text":""},{"text":" let x = Int8(exactly: 100)"},{"text":" // x == Optional(100)"},{"text":" let y = Int8(exactly: 1_000)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Multiplies two values and stores the result in the left-hand-side"},{"text":"variable, wrapping any overflow."},{"text":""},{"text":"The masking multiplication assignment operator (`&*=`) silently wraps"},{"text":"any overflow that occurs during the operation. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &*= 5"},{"text":" // x == 50"},{"text":" var y: Int8 = 10"},{"text":" y &*= 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Calculates the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&>>=` operator performs a *masking shift*, where the value passed as"},{"text":"`rhs` is masked to produce a value in the range `0..>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `19` as `rhs`, the operation first bitmasks `rhs` to"},{"text":"`3`, and then uses that masked value as the number of bits to shift `lhs`."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y &>>= 19"},{"text":" // y == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:_:)"],"names":{"title":"...(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a closed range that contains both of its bounds."},{"text":""},{"text":"Use the closed range operator (`...`) to create a closed range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`ClosedRange` from \"a\" up to, and including, \"z\"."},{"text":""},{"text":" let lowercase = \"a\"...\"z\""},{"text":" print(lowercase.contains(\"z\"))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference of the two given values, wrapping the result in"},{"text":"case of any overflow."},{"text":""},{"text":"The overflow subtraction operator (`&-`) discards any bits that overflow"},{"text":"the fixed width of the integer type. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: UInt8 = 21 &- 10"},{"text":" // x == 11"},{"text":" let y: UInt8 = 10 &- 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0.. "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer."},{"text":""},{"text":"Use this initializer to convert from another integer type when you know"},{"text":"the value is within the bounds of this type. Passing a value that can't"},{"text":"be represented in this type results in a runtime error."},{"text":""},{"text":"In the following example, the constant `y` is successfully created from"},{"text":"`x`, an `Int` instance with a value of `100`. Because the `Int8` type"},{"text":"can represent `127` at maximum, the attempt to create `z` with a value"},{"text":"of `1000` results in a runtime error."},{"text":""},{"text":" let x = 100"},{"text":" let y = Int8(x)"},{"text":" // y == 100"},{"text":" let z = Int8(x * 10)"},{"text":" // Error: Not enough bits to represent the given value"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer. The value"},{"text":" passed as `source` must be representable in this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the product of the two given values, wrapping the result in case"},{"text":"of any overflow."},{"text":""},{"text":"The overflow multiplication operator (`&*`) discards any bits that"},{"text":"overflow the fixed width of the integer type. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: Int8 = 10 &* 5"},{"text":" // x == 50"},{"text":" let y: Int8 = 10 &* 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Foundation","lines":[{"text":"Initialize an instance by parsing `value` with the given `strategy`."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized to the specified integer value."},{"text":""},{"text":"Do not call this initializer directly. Instead, initialize a variable or"},{"text":"constant using an integer literal. For example:"},{"text":""},{"text":" let x = 23"},{"text":""},{"text":"In this example, the assignment to the `x` constant calls this integer"},{"text":"literal initializer behind the scenes."},{"text":""},{"text":"- Parameter value: The value to create."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than-or-equal-to operator"},{"text":"(`>=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."},{"text":"- Returns: `true` if `lhs` is greater than or equal to `rhs`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, and including, its upper bound."},{"text":""},{"text":"Use the prefix closed range operator (prefix `...`) to create a partial"},{"text":"range of any type that conforms to the `Comparable` protocol. This"},{"text":"example creates a `PartialRangeThrough` instance that includes"},{"text":"any value less than or equal to `5.0`."},{"text":""},{"text":" let throughFive = ...5.0"},{"text":""},{"text":" throughFive.contains(4.0) // true"},{"text":" throughFive.contains(5.0) // true"},{"text":" throughFive.contains(6.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, and"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[...3])"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable, wrapping any overflow."},{"text":""},{"text":"The masking subtraction assignment operator (`&-=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the result is the partial value after"},{"text":"discarding the overflowing bits."},{"text":""},{"text":" var x: Int8 = 21"},{"text":" x &-= 10"},{"text":" // x == 11"},{"text":" var y: UInt8 = 10"},{"text":" y &-= 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"}],"relationships":[{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE1topyxxFZ","displayName":"FixedWidthInteger.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE1topyxxFZ","displayName":"FixedWidthInteger.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxvp","displayName":"FixedWidthInteger.littleEndian"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxvp","displayName":"FixedWidthInteger.littleEndian"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1loiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1loiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxvp","displayName":"FixedWidthInteger.bigEndian"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxvp","displayName":"FixedWidthInteger.bigEndian"}},{"kind":"conformsTo","source":"s:s5SIMD3V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:SzsE10isMultiple2ofSbx_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10isMultiple2ofSbx_tF","displayName":"BinaryInteger.isMultiple(of:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF","displayName":"BinaryInteger.quotientAndRemainder(dividingBy:)"}},{"kind":"memberOf","source":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF","displayName":"BinaryInteger.quotientAndRemainder(dividingBy:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2peoiyyxz_xtFZ","displayName":"AdditiveArithmetic.+=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2peoiyyxz_xtFZ","displayName":"AdditiveArithmetic.+=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.==(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"conformsTo","source":"s:s5SIMD4V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"conformsTo","source":"s:Sb","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s13SignedNumericPsE1sopyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s13SignedNumericPsE1sopyxxFZ","displayName":"SignedNumeric.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE03bitB0Sivp","displayName":"FixedWidthInteger.bitWidth"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE03bitB0Sivp","displayName":"FixedWidthInteger.bitWidth"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2geoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz3ggeoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz3ggeoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2geoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"conformsTo","source":"s:s5SIMD3V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc","displayName":"FixedWidthInteger.init(littleEndian:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc","displayName":"FixedWidthInteger.init(littleEndian:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2leoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2leoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc","displayName":"FixedWidthInteger.init(bigEndian:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE10isMultiple2ofSbx_tF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10isMultiple2ofSbx_tF","displayName":"BinaryInteger.isMultiple(of:)"}},{"kind":"memberOf","source":"s:s13SignedNumericPsE6negateyyF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s13SignedNumericPsE6negateyyF","displayName":"SignedNumeric.negate()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc","displayName":"FixedWidthInteger.init(bigEndian:)"}},{"kind":"memberOf","source":"s:SzsExycfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsExycfc","displayName":"BinaryInteger.init()"}},{"kind":"memberOf","source":"s:SzsExycfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsExycfc","displayName":"BinaryInteger.init()"}},{"kind":"conformsTo","source":"s:s5SIMD4V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_xtFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_xtFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ","displayName":"SignedInteger.min"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ","displayName":"SignedInteger.max"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1goiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc","displayName":"FixedWidthInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc","displayName":"FixedWidthInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1goiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc","displayName":"SignedInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"conformsTo","source":"s:s6UInt64V","target":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(clamping:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(clamping:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc","displayName":"SignedInteger.init(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"conformsTo","source":"s:SS","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(truncatingIfNeeded:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(truncatingIfNeeded:)"}},{"kind":"memberOf","source":"s:SZsE8isSignedSbvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZsE8isSignedSbvpZ","displayName":"SignedInteger.isSigned"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:SUsE9magnitudexvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUsE9magnitudexvp","displayName":"UnsignedInteger.magnitude"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD2V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:SUsE8isSignedSbvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUsE8isSignedSbvpZ","displayName":"UnsignedInteger.isSigned"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ","displayName":"FixedWidthInteger.&+(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedSSyF","displayName":"BinaryInteger.formatted()"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedSSyF","displayName":"BinaryInteger.formatted()"}},{"kind":"memberOf","source":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ","displayName":"Comparable...<(_:)"}},{"kind":"memberOf","source":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ","displayName":"Comparable...<(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ","displayName":"FixedWidthInteger.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ","displayName":"FixedWidthInteger.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ","displayName":"FixedWidthInteger.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL1loiySbx_xtFZ","displayName":"Comparable.<(_:_:)"}},{"kind":"memberOf","source":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL1loiySbx_xtFZ","displayName":"Comparable.<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ","displayName":"FixedWidthInteger.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ","displayName":"FixedWidthInteger.&-(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"conformsTo","source":"s:Sd","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc","displayName":"UnsignedInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ","displayName":"FixedWidthInteger.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"memberOf","source":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ","displayName":"FixedWidthInteger.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ","displayName":"FixedWidthInteger.&*(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ","displayName":"FixedWidthInteger.&*(_:_:)"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc","displayName":"UnsignedInteger.init(_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPsE1popyxxFZ","displayName":"AdditiveArithmetic.+(_:)"}},{"kind":"conformsTo","source":"s:Si","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE11descriptionSSvp","displayName":"BinaryInteger.description"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ","displayName":"FixedWidthInteger.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"conformsTo","source":"s:Sd","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPsE1popyxxFZ","displayName":"AdditiveArithmetic.+(_:)"}},{"kind":"memberOf","source":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE11descriptionSSvp","displayName":"BinaryInteger.description"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ","displayName":"FixedWidthInteger.&*=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzoiySNyxGx_xtFZ","displayName":"Comparable....(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzoiySNyxGx_xtFZ","displayName":"Comparable....(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"conformsTo","source":"s:Sf","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ","displayName":"UnsignedInteger.max"}},{"kind":"memberOf","source":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2lloiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2lloiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ","displayName":"UnsignedInteger.min"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2seoiyyxz_xtFZ","displayName":"AdditiveArithmetic.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzloiySnyxGx_xtFZ","displayName":"Comparable...<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz3lleoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz3lleoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<=(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2seoiyyxz_xtFZ","displayName":"AdditiveArithmetic.-=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1aoiyxx_xtFZ","displayName":"BinaryInteger.&(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1aoiyxx_xtFZ","displayName":"BinaryInteger.&(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzloiySnyxGx_xtFZ","displayName":"Comparable...<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE8advanced2byxSi_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE8advanced2byxSi_tF","displayName":"BinaryInteger.advanced(by:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1ooiyxx_xtFZ","displayName":"BinaryInteger.|(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc","displayName":"FixedWidthInteger.init(_:radix:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1ooiyxx_xtFZ","displayName":"BinaryInteger.|(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc","displayName":"FixedWidthInteger.init(_:radix:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ","displayName":"AdditiveArithmetic.zero"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ","displayName":"AdditiveArithmetic.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD2V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:SzsE8distance2toSix_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE8distance2toSix_tF","displayName":"BinaryInteger.distance(to:)"}},{"kind":"conformsTo","source":"s:Sf","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxSgSScfc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxSgSScfc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1xoiyxx_xtFZ","displayName":"BinaryInteger.^(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1xoiyxx_xtFZ","displayName":"BinaryInteger.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@simd.symbols.json b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@simd.symbols.json new file mode 100644 index 0000000..6c0f12c --- /dev/null +++ b/Sources/RealitySymbols/Extracted/iOS/RealityFoundation@simd.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"ios","minimumVersion":{"major":17,"minor":2}}}},"symbols":[],"relationships":[{"kind":"conformsTo","source":"c:@SA@simd_quatf","target":"s:17RealityFoundation12BindableDataP"},{"kind":"conformsTo","source":"c:@SA@simd_quatf","target":"s:17RealityFoundation14AnimatableDataP"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/macOS/RealityFoundation.symbols.json b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation.symbols.json new file mode 100644 index 0000000..de9e6f5 --- /dev/null +++ b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"macosx","minimumVersion":{"major":14,"minor":2}}}},"symbols":[{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy angle object using a single value or a"},{"text":"texture."},{"text":""},{"text":"This initializer allows you to create an instance using either a"},{"text":"single value for the entire material, or a UV-mapped image."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the anisotropy angle"},{"text":"for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s anisotropy angle. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The anisotropy angle value for the entire material."},{"text":""},{"text":" - texture: The anisotropy angle values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(on:options:)"],"names":{"title":"subscribe(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to perform subscribe, cancel, and request operations."},{"text":""},{"text":"In contrast with ``Publisher/receive(on:options:)``, which affects downstream messages, ``Publisher/subscribe(on:options:)`` changes the execution context of upstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `ioPerformingPublisher` to receive requests on `backgroundQueue`, while the ``Publisher/receive(on:options:)`` causes `uiUpdatingSubscriber` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let ioPerformingPublisher == // Some publisher."},{"text":" let uiUpdatingSubscriber == // Some subscriber that updates the UI."},{"text":""},{"text":" ioPerformingPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(uiUpdatingSubscriber)"},{"text":""},{"text":""},{"text":"Using ``Publisher/subscribe(on:options:)`` also causes the upstream publisher to perform ``Cancellable/cancel()`` using the specfied scheduler."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler used to send messages to upstream publishers."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher which performs upstream operations on the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceC9InputModeO","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVyAGSo20MTLSamplerDescriptorCcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"v"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC4nameSSSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the animation resource."},{"text":""},{"text":"You can get an ``AnimationPlaybackController`` instance ready to play a"},{"text":"particular resource that you reference by its name using the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","TextureCoordinateTransform"],"names":{"title":"PhysicallyBasedMaterial.TextureCoordinateTransform","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An alias for the texture coordinate transform that’s appropriate for"},{"text":"this material class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","FaceCulling"],"names":{"title":"PhysicallyBasedMaterial.FaceCulling","navigator":[{"kind":"identifier","spelling":"FaceCulling"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An alias for the face culling object that’s appropriate for this"},{"text":"material class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8tangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","errorDescription"],"names":{"title":"errorDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing what error occurred."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6radius6height9skinWidth10slopeLimit04stepK08upVector15collisionFilterACSf_S4fs5SIMD3VySfGAA09CollisionP0Vtcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","init(radius:height:skinWidth:slopeLimit:stepLimit:upVector:collisionFilter:)"],"names":{"title":"init(radius:height:skinWidth:slopeLimit:stepLimit:upVector:collisionFilter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a character controller component using specified values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultSkinWidth, "},{"kind":"externalParam","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultSlopeLimit, "},{"kind":"externalParam","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultStepLimit, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = defaultUpVector, "},{"kind":"externalParam","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .default)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of elements in the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation14AnimatableDataP","interfaceLanguage":"swift"},"pathComponents":["AnimatableData"],"names":{"title":"AnimatableData","navigator":[{"kind":"identifier","spelling":"AnimatableData"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimatableData"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A functionality specification that animatable data types adopt."},{"text":""},{"text":"The templated animation objects, for example ``BlendTreeAnimation``"},{"text":"``, determine that the type you specify for `Value` adopts this"},{"text":"protocol. The types that the framework accepts are: ``JointTransforms``,"},{"text":"``Transform``, ,"},{"text":","},{"text":","},{"text":","},{"text":", and"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimatableData"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","addChild(_:preservingWorldTransform:)"],"names":{"title":"addChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the given entity to the collection of child entities."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/addChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect(_:options:)"],"names":{"title":"collect(_:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects elements by a given time-grouping strategy, and emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:options:)`` to emit arrays of elements on a schedule specified by a ``Scheduler`` and `Stride` that you provide. At the end of each scheduled interval, the publisher sends an array that contains the items it collected. If the upstream publisher finishes before filling the buffer, the publisher sends an array that contains items it received. This may be fewer than the number of elements specified in the requested `Stride`."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"The example above collects timestamps generated on a one-second in groups (`Stride`) of five."},{"text":""},{"text":" let sub = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .collect(.byTime(RunLoop.main, .seconds(5)))"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\\n\") }"},{"text":""},{"text":" // Prints: \"[2020-01-24 00:54:46 +0000, 2020-01-24 00:54:47 +0000,"},{"text":" // 2020-01-24 00:54:48 +0000, 2020-01-24 00:54:49 +0000,"},{"text":" // 2020-01-24 00:54:50 +0000]\""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - strategy: The timing group strategy used by the operator to collect and publish elements."},{"text":" - options: Scheduler options to use for the strategy."},{"text":"- Returns: A publisher that collects elements by a given strategy, and emits a single array of the collection."}]},"functionSignature":{"parameters":[{"name":"strategy","declarationFragments":[{"kind":"identifier","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6modifyyxxSo20MTLSamplerDescriptorCKXEKlF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","modify(_:)"],"names":{"title":"modify(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modify"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]},"functionSignature":{"parameters":[{"name":"closure","declarationFragments":[{"kind":"identifier","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modify"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsSKRzrlE7reverseyyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reverse()"],"names":{"title":"reverse()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverse"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Reverses the elements of the collection in place."},{"text":""},{"text":"The following example reverses the elements of an array of characters:"},{"text":""},{"text":" var characters: [Character] = [\"C\", \"a\", \"f\", \"é\"]"},{"text":" characters.reverse()"},{"text":" print(characters)"},{"text":" // Prints \"[\"é\", \"f\", \"a\", \"C\"]\""},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the number of elements in the"},{"text":" collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverse"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy angle object from a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The anisotropy angle."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","Iterator"],"names":{"title":"QueryResult.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of iterator used for entity query results."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10bitangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","debugModel"],"names":{"title":"debugModel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"modelDebugOptions","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","multicast(subject:)"],"names":{"title":"multicast(subject:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Provides a subject to deliver elements to multiple subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(_:)``, this method produces a publisher that shares the provided ``Subject`` among all the downstream subscribers."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(subject:)`` operator with a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast(subject: PassthroughSubject<(String, Int), Never>())"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 78))"},{"text":" // Stream 2 received: (\"First\", 78)"},{"text":" // Stream 1 received: (\"First\", 78)"},{"text":" // Random: receive value: ((\"Second\", 98))"},{"text":" // Stream 2 received: (\"Second\", 98)"},{"text":" // Stream 1 received: (\"Second\", 98)"},{"text":" // Random: receive value: ((\"Third\", 61))"},{"text":" // Stream 2 received: (\"Third\", 61)"},{"text":" // Stream 1 received: (\"Third\", 61)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter subject: A subject to deliver elements to downstream subscribers."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","encode(encoder:)"],"names":{"title":"encode(encoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Encodes the output from upstream using a specified encoder."},{"text":""},{"text":"Use ``Publisher/encode(encoder:)`` with a (or a for property lists) to encode an struct into that could be used to make a JSON string (or written to disk as a binary plist in the case of property lists)."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes an `Article`. The ``Publisher/encode(encoder:)`` operator encodes the properties of the `Article` struct into a new JSON string according to the protocol adopted by `Article`. The operator publishes the resulting JSON string to the downstream subscriber. If the encoding operation fails, which can happen in the case of complex properties that can’t be directly transformed into JSON, the stream terminates and the error is passed to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" let cancellable = dataProvider"},{"text":" .encode(encoder: JSONEncoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\") },"},{"text":" receiveValue: { data in"},{"text":" guard let stringRepresentation = String(data: data, encoding: .utf8) else { return }"},{"text":" print(\"Data received \\(data) string representation: \\(stringRepresentation)\")"},{"text":" })"},{"text":""},{"text":" dataProvider.send(Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: Date()))"},{"text":""},{"text":" // Prints: \"Data received 86 bytes string representation: {\"title\":\"My First Article\",\"author\":\"Gita Kumar\",\"pubDate\":606211803.279603}\""},{"text":""},{"text":"- Parameter encoder: An encoder that implements the ``TopLevelEncoder`` protocol."},{"text":"- Returns: A publisher that encodes received elements using a specified encoder, and publishes the resulting data."}]},"functionSignature":{"parameters":[{"name":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Coder","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Coder","rhs":"TopLevelEncoder","rhsPrecise":"s:7Combine15TopLevelEncoderP"},{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelEncoder","preciseIdentifier":"s:7Combine15TopLevelEncoderP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8specularAC8SpecularVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","specular"],"names":{"title":"specular","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8SpecularV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bright highlights to apply to the entity."},{"text":""},{"text":"In physically based rendering (PBR), specular highlights primarily come"},{"text":"from the object’s ``PhysicallyBasedMaterial/roughness-swift.property``"},{"text":"value. RealityKit renders materials that have a low roughness value with"},{"text":"specular highlights based on the environment, lighting, and shape of the"},{"text":"entity. As a result, for most materials, you don’t need to specify a"},{"text":"`specular` value."},{"text":""},{"text":"For some types of dielectric (nonmetallic) materials, like facet-cut"},{"text":"glass or gems, PBR algorithms don’t create bright enough specular"},{"text":"highlights using just roughness. To accurately simulate those types of"},{"text":"materials, the ``PhysicallyBasedMaterial/specular-swift.property``"},{"text":"property allows you to specify additional specularity for the entity."},{"text":""},{"text":"The following example demonstrates how to add specularity using a single"},{"text":"value for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.specular = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"The following code shows how to add specularity using a UV-mapped image"},{"text":"texture:"},{"text":""},{"text":"```swift"},{"text":"if let specularResource = try? TextureResource.load(named: \"entity_specular\") {"},{"text":" let specularMap = MaterialParameters.Texture(specularResource)"},{"text":" material.specular = .init(texture: specularMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, the specular"},{"text":"``CustomMaterial/Specular-swift.struct/scale`` and"},{"text":"``CustomMaterial/Specular-swift.struct/texture`` are available to the"},{"text":"material’s shader functions, but RealityKit doesn’t automatically use"},{"text":"the values you set. To render a custom material with additional specular"},{"text":"highlights, the material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the material’s"},{"text":"surface shader must call `params().surface().set_specular()`."},{"text":""},{"text":"The following Metal code demonstrates using the specular scale and"},{"text":"texture values, simulating the behavior of the shaders that render a"},{"text":"``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the opacity scale from the CustomMaterial."},{"text":" float specularScale = params.material_constants().specular_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the specular texture."},{"text":" auto tex = params.textures();"},{"text":" half specular = tex.specular().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture and assign"},{"text":" // the result."},{"text":" specular *= specularScale;"},{"text":" params.surface().set_specular(specular);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","removeChild(_:preservingWorldTransform:)"],"names":{"title":"removeChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the given child from the entity."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO7normalsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO10autoAcceptyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","autoAccept"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode.autoAccept","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoAccept"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Grant ownership requests automatically."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoAccept"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV6timingAA0F14TimingFunctionVvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","timing"],"names":{"title":"timing","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines the animation’s pace over time."},{"text":""},{"text":"Depending on the option you pick, the animation's progress moves at"},{"text":"varying speeds along its duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"},{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO","interfaceLanguage":"swift"},"pathComponents":["BlendWeight"],"names":{"title":"BlendWeight","navigator":[{"kind":"identifier","spelling":"BlendWeight"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendWeight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A numerical representation of the impact an animation has on a scene or"},{"text":"entity."},{"text":""},{"text":"The ``BlendTreeSourceNode`` structure accepts this enumeration as an"},{"text":"initializer argument."},{"text":""},{"text":"To specify a custom weight, use the value case:"},{"text":""},{"text":"```swift"},{"text":"let node = BlendTreeSourceNode("},{"text":" source: animation1,"},{"text":" name: \"anim2\","},{"text":" weight: .value(0.75))"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendWeight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC19availableAnimationsSayAA17AnimationResourceCGvp","interfaceLanguage":"swift"},"pathComponents":["Entity","availableAnimations"],"names":{"title":"availableAnimations","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"availableAnimations"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The list of animations associated with the entity."},{"text":""},{"text":"When you import an entity from a file, for example by using the"},{"text":"``Entity/load(named:in:)`` method, the entity might contain associated"},{"text":"animations. Any that RealityKit supports appear in the"},{"text":"``Entity/availableAnimations`` array."},{"text":""},{"text":"To play a particular animation resource from the list, call the"},{"text":"``Entity/playAnimation(_:transitionDuration:startsPaused:)`` method."},{"text":"Alternatively, to play all animations with a given name, call the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method instead."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"availableAnimations"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation"],"names":{"title":"FromToByAnimation","navigator":[{"kind":"identifier","spelling":"FromToByAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FromToByAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that starts, stops, or increments by a specific value."},{"text":""},{"text":"To animate an entity or scene, this structure gradually changes a"},{"text":"parameter's value over time. You can specify a _from_ value, which"},{"text":"represents the animated property's initial value at the beginning of the"},{"text":"animation. You can also specify a _to_ value, which determines the value of"},{"text":"the property at the end of the animation. Alternatively, you can set a _by_"},{"text":"value. The framework adds the _by_ value to the property's initial state to"},{"text":"calculate the value at the end of the animation."},{"text":""},{"text":"To specify the property that this struct animates, define `bindTarget` in"},{"text":"the intializer,"},{"text":""},{"text":"``FromToByAnimation/init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)``."},{"text":""},{"text":"## Configure the Animation Inputs"},{"text":""},{"text":"This animation supports varying input combinations, which exhibit the"},{"text":"following behavior. When you specify:"},{"text":""},{"text":"- term A _from_ and _to_ value: The animation interpolates between _from_"},{"text":"and _to_, and ignores the _by_ value."},{"text":"- term A _from_ and _by_ value: The"},{"text":"animation interpolates between _from_ and the sum of _from_ and _by_."},{"text":"- term Only a _from_ value: The animation interpolates between _from_ and the"},{"text":"default source value."},{"text":"- term Only a _to_ value: The animation interpolates"},{"text":"between the default source value and _to_."},{"text":"- term A _to_ and _by_ value: The"},{"text":"animation starts at _by_ subtracted from _to _and completes at _to_."},{"text":"- term Only a _by_ value: The animation interpolates between the default source"},{"text":"value and the sum of default source value and _by_."},{"text":"- term No _from_, _to_, or _by_ value: The animation interpolates between"},{"text":"the default source value and the default target value."},{"text":""},{"text":"The default source value is the base value of the of animated property. If"},{"text":"multiple animations target the property, then the framework observes the"},{"text":"output of the previous animation as the subsequent animation's default"},{"text":"source value. The default target value is the base value of the animated"},{"text":"property."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FromToByAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from seven other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":" let pubH = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF, pubG, pubH)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1000)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1001)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 1000 2 50 100 -2 33 33 54 1001\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":" - h: An eighth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]},{"name":"h","declarationFragments":[{"kind":"identifier","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1},{"name":"H","index":6,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"},{"kind":"sameType","lhs":"G.Failure","rhs":"H.Failure"},{"kind":"sameType","lhs":"G.Output","rhs":"H.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV8metallicAA0D15ScalarParameterOvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","metallic"],"names":{"title":"metallic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that you set to control whether the material has a"},{"text":"metallic look."},{"text":""},{"text":"This property defines whether a material is dielectric (`0.0`) or a metallic (`1.0`). Although"},{"text":"this property can be set to any value between `0` and `1`, to create a realistic material, set it"},{"text":"to either `0` or `1`.)."},{"text":""},{"text":"- term Dielectric materials: These are materials that simulate real-world materials that are poor"},{"text":"conductors. In these materials, light travels into the surface of the material and the color is mostly"},{"text":"controlled by the color of the sub-surface. Typical examples of dielectric materaisl include organic"},{"text":"materials, plastics, and industrial minerals such as sand, limestone, marble, clay and salt."},{"text":""},{"text":"- term Metallic: A metallic (or *conductive*) material reflects light differently than dielectric ones."},{"text":"The overall color is caused by an immediate re-emission of the light from the entity's surface. Typical"},{"text":"examples of metallic materials include aluminum, chassis metal, chromium, copper, gold, silver, and"},{"text":"titanium"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV12makeIteratorAC0F0Vyx_GyF","interfaceLanguage":"swift"},"pathComponents":["QueryResult","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns an iterator for the contained entities."},{"text":""},{"text":"- Returns: The iterator."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection"],"names":{"title":"Scene.AnchorCollection","navigator":[{"kind":"identifier","spelling":"AnchorCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of anchor entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV9intensitySfvp","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","intensity"],"names":{"title":"intensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of the spotlight measured in lumen."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``FromToByAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``FromToByAnimation/trimStart`` and ``FromToByAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``FromToByAnimation/duration`` causes the animation"},{"text":"to repeat, applying the characteristics defined by"},{"text":"``FromToByAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO6manualyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","manual"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode.manual","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"manual"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Require explicit ownership request confirmation."},{"text":""},{"text":"Handle the ``SynchronizationEvents/OwnershipRequest`` event to find"},{"text":"out when a peer requests ownership of an entity, and call the method"},{"text":"stored in the requests’s"},{"text":"``SynchronizationEvents/OwnershipRequest/accept`` property to"},{"text":"confirm the transfer of ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"manual"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of specular for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext in the context's"},{"text":"fill color."},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like `NSRectFill()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8blendingAC8BlendingOvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","blending"],"names":{"title":"blending","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparency of an entity."},{"text":""},{"text":"Use this property to specify whether an entity is opaque or transparent."},{"text":"To create an entity that’s opaque, assign"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/opaque`` to this property."},{"text":""},{"text":"```swift"},{"text":"material.blending = .opaque"},{"text":"```"},{"text":""},{"text":"To create a translucent or transparent object using a single opacity"},{"text":"value for the entire material, initialize"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/transparent(opacity:)``"},{"text":"using a `Float` value."},{"text":""},{"text":"```swift"},{"text":"material.blending = .transparent(opacity: .init(floatLiteral:0.5))"},{"text":"```"},{"text":""},{"text":"To use a UV-mapped grayscale image texture to specify different opacity"},{"text":"values for different parts of an entity, initialize"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/transparent(opacity:)``"},{"text":"using a texture. If you provide a color image, RealityKit only uses the"},{"text":"intensity of the red channel."},{"text":""},{"text":"```swift"},{"text":"if let opacityResource = try? TextureResource.load(named:"},{"text":"\"entity_opacity\") {"},{"text":" let opacityMap = MaterialParameterTypes.Texture(opacityResource)"},{"text":" material.blending = .transparent(opacity: .init(texture: opacityMap))"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","removeFromParent(preservingWorldTransform:)"],"names":{"title":"removeFromParent(preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from its current parent or from the scene if it is a"},{"text":"root entity."},{"text":""},{"text":"This method behaves like the"},{"text":"``HasHierarchy/setParent(_:preservingWorldTransform:)`` method with a"},{"text":"value of `nil` for the `parent` parameter, except that method has no"},{"text":"effect on root entities. A root entity is one that is stored in a"},{"text":"scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of any modified parent"},{"text":"entities are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV9deltaTimeSdvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update","deltaTime"],"names":{"title":"deltaTime","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The elapsed time since the last update."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6accessyxxSo20MTLSamplerDescriptorCKXEKlF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","access(_:)"],"names":{"title":"access(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"access"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]},"functionSignature":{"parameters":[{"name":"closure","declarationFragments":[{"kind":"identifier","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"access"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxxtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over four elements per step."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a character controller component using default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO11autoReverseyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","autoReverse"],"names":{"title":"AnimationRepeatMode.autoReverse","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoReverse"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that reverses the animation after reaching the end or the"},{"text":"beginning."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoReverse"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE21defaultAnimationClockyXlvp","interfaceLanguage":"swift"},"pathComponents":["Entity","defaultAnimationClock"],"names":{"title":"defaultAnimationClock","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultAnimationClock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the default animation clock for this entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultAnimationClock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV15jointTransformsACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity's joint transforms."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","ArrayLiteralElement"],"names":{"title":"MeshPartCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow"],"names":{"title":"SpotLightComponent.Shadow","navigator":[{"kind":"identifier","spelling":"Shadow"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Shadow"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Characteristics of a shadow for the spotlight."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Shadow"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO15triangleIndicesAC8SemanticVy_s6UInt32VGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation6SystemP","interfaceLanguage":"swift"},"pathComponents":["System"],"names":{"title":"System","navigator":[{"kind":"identifier","spelling":"System"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"System"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that affects multiple entities in every frame of a RealityKit"},{"text":"scene."},{"text":""},{"text":"In RealityKit’s Entity Component System (ECS), a _system_ represents"},{"text":"continuous behavior that affects multiple entities in the scene. Use systems"},{"text":"to implement any behavior or logic that updates entities every frame, such"},{"text":"as different types of objects or characters. For example, a physics"},{"text":"simulation system calculates and applies the affect of gravity, forces, and"},{"text":"collisions for all entities."},{"text":""},{"text":"Systems often work with components. You might, for example, create a system"},{"text":"that calculates the hunger levels for entities in a game capable of feeling"},{"text":"hunger. To identify which entities experience hunger, use a component that"},{"text":"stores hunger-related state data and add it to the selected entities. The"},{"text":"hunger system then iterates through all entities in every frame that contain"},{"text":"a hunger component and updates their state based on relevant factors, such"},{"text":"as when the entity ate last or how much energy it expends."},{"text":""},{"text":"A complex game or experience may consist of many systems which need to be executed"},{"text":"in a specific order. The ``dependencies-2s31o`` property defines when the `update` method for each"},{"text":"system is called each frame. Update order is defined between system types and"},{"text":"not between individual system instances."},{"text":""},{"text":"Systems and their dependencies form a directed acyclic graph (DAG). Custom systems are executed in"},{"text":"dependency order. Systems without dependencies are updated in the order they were registered. If there"},{"text":"are conflicting dependencies or cycles, then RealityKit ignores some conflicting dependencies and"},{"text":"logs a warning. Each system instance is only run once per simulation step."},{"text":""},{"text":"Properties of a system are never serialized to a file or synced over the network. Therefore, data should"},{"text":"usually be stored on entities using components, rather than as part of the system."},{"text":""},{"text":"For more information, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"System"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default material resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:)"],"names":{"title":"merge(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from another publisher of the same type, delivering an interleaved sequence of elements."},{"text":""},{"text":"- Parameter other: Another publisher of this publisher’s type."},{"text":"- Returns: A publisher that emits an event when either upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal"],"names":{"title":"PhysicallyBasedMaterial.Normal","navigator":[{"kind":"identifier","spelling":"Normal"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that specifies an entity’s normal map."},{"text":""},{"text":"The `normal` property of a RealityKit entity holds an optional _normal"},{"text":"map_, which stores fine details about the entity’s surface, using a"},{"text":"texture rather than increasing the number of polygons in the model. If"},{"text":"you provide a normal map, RealityKit uses the vectors from that normal"},{"text":"map when rendering the entity, resulting in greater detail and more"},{"text":"accurate highlights, shadows, and reflections."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of specular as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV7sources4name6weight10isAdditiveACSayAA0cdE0_pG_SSAA0C6WeightOSbtcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","init(sources:name:weight:isAdditive:)"],"names":{"title":"init(sources:name:weight:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a tree node made up of multiple branches."},{"text":""},{"text":"- Parameters:"},{"text":" - sources: The nodes that branch from this node to form part of a blend tree."},{"text":""},{"text":" - name: A textual name for the node."},{"text":""},{"text":" - weight: A normalized percentage that designates how much this node's"},{"text":"animation influences the tree's blended animation."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" = .value(1.0), "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of all the joints in the model entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO","interfaceLanguage":"swift"},"pathComponents":["TweenMode"],"names":{"title":"TweenMode","navigator":[{"kind":"identifier","spelling":"TweenMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TweenMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine whether an animation switches between frames"},{"text":"gradually or abruptly."},{"text":""},{"text":"This enumeration declares the options for a sampled animation's"},{"text":"``SampledAnimation/tweenMode``. The gradual or abrupt change, or"},{"text":"_interpolation_, refers to the visual behavior that occurs between adjacent"},{"text":"values in a sampled animation's ``SampledAnimation/frames-2hobp``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TweenMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV9transformACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity's transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE12performQueryyAA0E6ResultVyAA6EntityCGAA0gE0VF","interfaceLanguage":"swift"},"pathComponents":["Scene","performQuery(_:)"],"names":{"title":"performQuery(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"performQuery"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns all entities of the scene which pass the `QueryPredicate` of the `query`."}]},"functionSignature":{"parameters":[{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"performQuery"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13emissiveColorAC08EmissiveF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","emissiveColor"],"names":{"title":"emissiveColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of light this material emits."},{"text":""},{"text":"With physically based rendering (PBR), you can give entities in"},{"text":"RealityKit the appearance of emitting light. Use this property to"},{"text":"simulate real-world objects that glow, such as objects with LEDs or"},{"text":"computer screens. To enable light emission from a material, set"},{"text":"``PhysicallyBasedMaterial/emissiveIntensity`` to a value greater than"},{"text":"zero, then specify a color (other than black) using this property. You"},{"text":"can specify a single emissive color for the entire material, or use a"},{"text":"UV-mapped image texture to use different colors for different parts of"},{"text":"the entity."},{"text":""},{"text":"With custom materials, RealityKit doesn’t use"},{"text":"``CustomMaterial/emissiveColor-swift.property`` automatically to render"},{"text":"your entity. Your surface shader must call"},{"text":"`params.surface().set_emissive_color()`, otherwise RealityKit renders no"},{"text":"light emission."},{"text":""},{"text":"The following example assigns a tint color to the"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` property,"},{"text":"without a texture:"},{"text":""},{"text":"```swift"},{"text":"self.emissiveColor = PhysicallyBasedMaterial.EmissiveColor(color: .red)"},{"text":"```"},{"text":""},{"text":"This next example uses a texture to specify the"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` property:"},{"text":""},{"text":"```swift"},{"text":"if let emissiveResource = try? TextureResource.load(named: \"entity_emissive\") {"},{"text":" let emissiveMap = MaterialParameters.Texture(emissiveResource)"},{"text":" material.emissiveColor = .init(texture: emissiveMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"This Metal code shows how to access the emissive color tint in your"},{"text":"shader functions:"},{"text":""},{"text":"```other"},{"text":"half3 emissiveTint = (half3)params.material_constants().emissive_color();"},{"text":"```"},{"text":""},{"text":"The following Metal code demonstrates how to sample the emissive color"},{"text":"texture for the current fragment:"},{"text":""},{"text":"```other"},{"text":"// Get the entity's primary texture coordinates."},{"text":"float2 uv ="},{"text":"params.geometry().uv0();"},{"text":""},{"text":"// Flip the y-axis. You only need to do this for entities you load from"},{"text":"// USDZ or .reality files. uv.y = 1.0 - uv.y;"},{"text":""},{"text":"// Sample the emissive color texture to get the value for this fragment."},{"text":"auto tex = params.textures(); half3 emissiveColor ="},{"text":"(half3)tex.emissive_color().sample(textureSampler, uv).rgb;"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect(_:)"],"names":{"title":"collect(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects up to the specified number of elements, and then emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:)`` to emit arrays of at most `count` elements from an upstream publisher. If the upstream publisher finishes before collecting the specified number of elements, the publisher sends an array of only the items it received. This may be fewer than `count` elements."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"In the example below, the ``Publisher/collect(_:)`` operator emits one partial and two full arrays based on the requested collection size of `5`:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect(5)"},{"text":" .sink { print(\"\\($0), terminator: \" \"\") }"},{"text":""},{"text":" // Prints \"[0, 1, 2, 3, 4] [5, 6, 7, 8, 9] [10] \""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameter count: The maximum number of received elements to buffer before publishing."},{"text":"- Returns: A publisher that collects up to the specified number of elements, and then publishes them as an array."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV4ModeO","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV4selfACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","self"],"names":{"title":"self","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity."},{"text":""},{"text":"This property represents a bind path within an ``AnimationView`` to"},{"text":"redirect the view’s ``BlendTreeSourceNode/source`` animation to a"},{"text":"different scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation blends additively"},{"text":"with concurrent animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV02isE0Sbvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged","isAnchored"],"names":{"title":"isAnchored","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The current anchoring state of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the target by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of"},{"text":"the target."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext"],"names":{"title":"SceneUpdateContext","navigator":[{"kind":"identifier","spelling":"SceneUpdateContext"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUpdateContext"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that contains information about the scene to update."},{"text":""},{"text":"RealityKit uses a ``SceneUpdateContext`` to pass information to a ``System``"},{"text":"about the scene it’s currently updating."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUpdateContext"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isTranslationAnimated"],"names":{"title":"isTranslationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation interpolates"},{"text":"changes to the target object’s position."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over pairs of elements."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19AnimationRepeatModeO","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV6matrixSo13simd_float4x4avp","interfaceLanguage":"swift"},"pathComponents":["Transform","matrix"],"names":{"title":"matrix","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform represented as a 4x4 matrix."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Using a 4x4 matrix to set the"},{"text":"transform is therefore a lossy event that might result in certain"},{"text":"transformations, like shear, being dropped."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV9parameteryACSSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","parameter(_:)"],"names":{"title":"parameter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a bind target for a particular animated property."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The animated property's name."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset."},{"text":""},{"text":"If you set a value for this property, the animation plays immediately,"},{"text":"beginning at the specified time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two synchronization components are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first synchronization component to compare."},{"text":""},{"text":" - rhs: The second synchronization component to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two synchronization"},{"text":"components are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation"],"names":{"title":"SampledAnimation","navigator":[{"kind":"identifier","spelling":"SampledAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampledAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that cycles through a series of frames at a constant interval."},{"text":""},{"text":"To specify the data that the animation samples, set one of the `frames`"},{"text":"properties that matches the animated property's type. For example, set the"},{"text":"``SampledAnimation/frames-2j4nj`` property to interpolate"},{"text":" values."},{"text":""},{"text":"The following code designates a ``SampledAnimation`` to animate a propery of"},{"text":"type by specifying"},{"text":"the generic typed syntax. The code queues an array of values: `1.0`, `2.0`,"},{"text":"and `3.0`."},{"text":""},{"text":"```swift"},{"text":"// Define the animation type."},{"text":"typealias SampledAnimationType = SampledAnimation"},{"text":""},{"text":"// Define the animated property values."},{"text":"let frameArray: [Float] = [1.0, 2.0, 3.0]"},{"text":"```"},{"text":""},{"text":"To determine how fast the animation progresses from frame to frame, define"},{"text":"this structure's ``SampledAnimation/frameInterval`` property. The following"},{"text":"code specifies a one-second delay between value changes before initializing"},{"text":"the animation object."},{"text":""},{"text":"```swift"},{"text":"// Define a one-second frame interval."},{"text":"let interval = TimeInterval(1.0)"},{"text":""},{"text":"// Create the animation. let sampleAnim = SampledAnimationType.init("},{"text":" frames: frameArray,"},{"text":" name: \"sampledAnim1\","},{"text":" frameInterval: interal"},{"text":" isAdditive: true,"},{"text":" bindTarget: .transform,"},{"text":" blendLayer: 100,"},{"text":" repeatMode: .autoReverse,"},{"text":" fillMode: .backwards,"},{"text":" trimStart: 1.0,"},{"text":" trimEnd: 10.0,"},{"text":" trimDuration: 9.0,"},{"text":" offset: 2.0,"},{"text":" delay: 1.0,"},{"text":" speed: 2.0)"},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampledAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO4noneyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","none"],"names":{"title":"AnimationRepeatMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines the animation doesn't repeat."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV7sourcesSayAA0cdE0_pGvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","sources"],"names":{"title":"sources","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The nodes that branch from a node to form part of a blend tree."},{"text":""},{"text":"This node combines the animations of each member of this array to a"},{"text":"single animation that represents a _blend_ of the sources. If a source"},{"text":"is a ``BlendTreeSourceNode``, this structure blends its animation into"},{"text":"the output. If a source is a ``BlendTreeBlendNode``, this structure"},{"text":"blends the output of its sources into this structure's output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over three elements per step."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV6anchorAA12HasAnchoring_pvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged","anchor"],"names":{"title":"anchor","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity whose anchoring state changed."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.associatedtype","displayName":"Associated Type"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP7ElementQa","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic","Element"],"names":{"title":"Element","subHeading":[{"kind":"keyword","spelling":"associatedtype"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"associatedtype"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6NormalVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Normal","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object containing surface details for an entity from a"},{"text":"custom material’s normal property."},{"text":""},{"text":"This initializer creates an object by copying the normal map from"},{"text":"the ``PhysicallyBasedMaterial/normal-swift.property`` property of a"},{"text":"``PhysicallyBasedMaterial``."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures"},{"text":"fine surface details for a model by using a texture instead of by"},{"text":"increasing the number of polygons in the model. It works by storing"},{"text":"_surface normals_, which are vectors perpendicular to the surface of"},{"text":"the model, from a much higher-resolution version of the same 3D"},{"text":"object. A normal map stores each vector in the image by storing the"},{"text":"vectors’ `X`, `Y`, and `Z` values as the `R`, `G`, and `B`"},{"text":"components of the corresponding pixel in the UV-mapped image."},{"text":""},{"text":"To render an entity using a normal map, set"},{"text":"``CustomMaterial/lightingModel-swift.property`` to"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_normal()`. The following Metal code"},{"text":"demonstrates how to sample and use a value from the normal map in"},{"text":"your surface shader function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the normal map texture based on the resulting UV coordinates."},{"text":" auto tex = params.textures();"},{"text":" float3 normal = (float3)tex.normal().sample(textureSampler, uv).rgb;"},{"text":""},{"text":" // Set the sampled value as this pixel's normal."},{"text":" params.surface().set_normal(normal);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The normal object from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the entity by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"entity."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource"],"names":{"title":"EnvironmentResource","navigator":[{"kind":"identifier","spelling":"EnvironmentResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EnvironmentResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a environment resource for use in the `ARView.Environment`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EnvironmentResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The relative joint transforms of the model entity."},{"text":""},{"text":"Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints."},{"text":""},{"text":"- Note: Active animations may override the joint transforms set using this property.."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent"],"names":{"title":"SynchronizationComponent","navigator":[{"kind":"identifier","spelling":"SynchronizationComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that synchronizes an entity between processes and networked"},{"text":"applications."},{"text":""},{"text":"An entity acquires a ``SynchronizationComponent`` instance by adopting the"},{"text":"``HasSynchronization`` protocol. All entities have this component because"},{"text":"the ``Entity`` base class adopts the protocol."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO18textureCoordinatesAC8SemanticVy_s5SIMD2VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO6repeatyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","repeat"],"names":{"title":"AnimationRepeatMode.repeat","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that restarts the animation after it completes."},{"text":""},{"text":"This mode restores the animated property to its initial value each time"},{"text":"it restarts. For example, a ``FromToByAnimation`` with"},{"text":"``FromToByAnimation/fromValue-umpp`` `=` `1.0`,"},{"text":"``FromToByAnimation/toValue-4m4pm`` `=` `2.0` and"},{"text":"``FromToByAnimation/repeatMode`` set to this property repeats as, `1.0`,"},{"text":"`2.0`, `1.0`, `2.0`, `1.0`, `2.0` and so on."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial"],"names":{"title":"SimpleMaterial","navigator":[{"kind":"identifier","spelling":"SimpleMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimpleMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A basic material that you can apply to meshes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimpleMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO10cumulativeyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","cumulative"],"names":{"title":"AnimationRepeatMode.cumulative","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cumulative"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that repeats indefinitely and begins each repetition by setting"},{"text":"the animated property to the ending value of the previous repetition."},{"text":""},{"text":"A ``FromToByAnimation`` with a ``FromToByAnimation/fromValue-umpp`` of"},{"text":"`1.0` and an ``FromToByAnimation/toValue-4m4pm`` of `2.0` and"},{"text":"``FromToByAnimation/repeatMode`` set to this property repeats as, `1.0`,"},{"text":"`2.0`, 3`.0`, 4`.0`, `5.0`, and so on."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cumulative"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17OcclusionMaterialV","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial"],"names":{"title":"OcclusionMaterial","navigator":[{"kind":"identifier","spelling":"OcclusionMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OcclusionMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An invisible material that hides objects rendered behind it."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OcclusionMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO8timedOutyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","timedOut"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult.timedOut","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timedOut"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ownership transfer request timed out."},{"text":""},{"text":"A timeout doesn’t necessarily mean that the request is denied. It"},{"text":"might succeed after the timeout."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timedOut"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV4selfACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath","self"],"names":{"title":"self","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the scene."},{"text":""},{"text":"This property represents a bind path within an ``AnimationView`` to"},{"text":"redirect the view's ``BlendTreeSourceNode/source`` animation to a"},{"text":"different scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO7grantedyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","granted"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult.granted","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"granted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The request is accepted and ownership is transferred."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"granted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE5group4withACSayACG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","group(with:)"],"names":{"title":"group(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource that simultaneously plays back a"},{"text":"collection of animations."},{"text":""},{"text":"- Parameters:"},{"text":" - resources: The collection of animation resources to play back."},{"text":""},{"text":"- Returns: An animation resource that simultaneously plays back the"},{"text":"argument collection of animations."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"resources","declarationFragments":[{"kind":"identifier","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``FromToByAnimation/trimStart`` instead and choose a"},{"text":"``FromToByAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode"],"names":{"title":"BlendTreeBlendNode","navigator":[{"kind":"identifier","spelling":"BlendTreeBlendNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeBlendNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A source node for an animation that mixes several animations to form a"},{"text":"single animation."},{"text":""},{"text":"A _blend tree animation_ mixes multiple animations to form a single"},{"text":"animation. The ``BlendTreeBlendNode`` structure adopts the ``BlendTreeNode``"},{"text":"protocol, which specifies the behavior of animations that make up a blend"},{"text":"tree animation. This structure adds the ability to branch a blend tree at"},{"text":"any point. Each member of this property's ``BlendTreeBlendNode/sources``"},{"text":"array represents a branch in the tree. For more information about blend"},{"text":"trees, see ``BlendTreeAnimation``."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeBlendNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV9usingRateyACyxGAA0C7BuffersO0F0OF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","usingRate(_:)"],"names":{"title":"usingRate(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usingRate"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"New object with updated rate."}]},"functionSignature":{"parameters":[{"name":"rate","declarationFragments":[{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usingRate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10repeatModeAA0e6RepeatG0Ovp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``BlendTreeAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``BlendTreeAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation6EntityC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two entities are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first entity to compare."},{"text":""},{"text":" - rhs: The second entity to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scenes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16opacityThresholdSfSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The minimum opacity value to treat as fully opaque."},{"text":""},{"text":"In a custom material, `opacityThreshold` helps define how RealityKit"},{"text":"renders transparency when using a texture (known as an _alpha map_) to"},{"text":"control opacity. This property is available as an input to the"},{"text":"material’s surface shader, but RealityKit doesn’t automatically use this"},{"text":"value to render your entity. To render an entity transparent, the"},{"text":"material’s surface shader must call `params.surface().set_opacity()`."},{"text":""},{"text":"In ``PhysicallyBasedMaterial``, RealityKit uses this value to determine"},{"text":"if the alpha map supports translucency, or whether it acts as a mask. If"},{"text":"the threshold is `0.0`, ``PhysicallyBasedMaterial`` uses the alpha mask"},{"text":"values unmodified, which can result in partially transparent pixels. If"},{"text":"the threshold value is greater than `0.0`, ``PhysicallyBasedMaterial``"},{"text":"uses the opacity texture as a mask, with only fully transparent or fully"},{"text":"opaque pixels. RealityKit draws any pixel with a sampled value greater"},{"text":"than `opacityThreshold` as opaque, and any pixel with a value less than"},{"text":"`opacityThreshold` as fully transparent."},{"text":""},{"text":"The following Metal code replicates the behavior of the"},{"text":"``PhysicallyBasedMaterial`` shaders:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the opacity scale and threshold from the CustomMaterial."},{"text":" float opacityScale = params.material_constants().opacity_scale();"},{"text":" float opacityThreshold = params.material_constants().opacity_threshold();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files use texture coordinates with"},{"text":" // a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Retrieve the opacity texture from the material."},{"text":" auto tex = params.textures();"},{"text":""},{"text":" // Sample the value from the opacity texture."},{"text":" half opacity = tex.opacity().sample(textureSampler, uv).r;"},{"text":""},{"text":" if (opacityThreshold > 0.0) {"},{"text":" // If the opacity threshold is greater than 0, use masking behavior"},{"text":" // and set the opacity to either 1.0 or 0.0 depending on the value"},{"text":" // of the opacity threshold. Opacity scale is ignored when using a mask."},{"text":" opacity = (opacity <= opacityThreshold) ? 0.0 : 1.0;"},{"text":" } else {"},{"text":" // If the opacity threshold is 0, then mutiply opacity by scale."},{"text":" opacity *= opacityScale;"},{"text":" }"},{"text":""},{"text":" // Use the calculated value to set the opacity for rendering."},{"text":" params.surface().set_opacity(opacity);"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","AmbientOcclusion","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s exposure to ambient light specified using a UV-mapped"},{"text":"image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE13playAnimation_18transitionDuration16blendLayerOffset21separateAnimatedValue12startsPaused5clockAA0E18PlaybackControllerCAA0E8ResourceC_SdSiS2byXlSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:)"],"names":{"title":"playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays an animation with the specified options."},{"text":""},{"text":"Call this method to play an animation and configure playback options."},{"text":"RealityKit supports blending up to two different animation at the same"},{"text":"time. When RealityKit applies multiple animations to an entity, the"},{"text":"order in which it applies the animations affects the final animation."},{"text":"Use the `blendLayerOffset` parameter to specify the order of animations"},{"text":"when playing multiple animations at the same time."},{"text":""},{"text":"- Parameters:"},{"text":" - animation: The animation to play."},{"text":""},{"text":" - transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":" - blendLayerOffset: An integer that specifies the order in which to"},{"text":"apply animations when more than one animation is playing. Valid values"},{"text":"are `0` or `1`."},{"text":""},{"text":" - separateAnimatedValue: A Boolean value that indicates whether the"},{"text":"animation progress resets when the animation finishes."},{"text":""},{"text":" - startsPaused: A Boolean that pauses the progress of an animation when"},{"text":"set to `true`."},{"text":""},{"text":" - clock: An optional clock to drive the animation with a custom"},{"text":"timescale."},{"text":""},{"text":" - Returns: An animation playback controller that you can use to start"},{"text":"and stop the animation."}]},"functionSignature":{"parameters":[{"name":"animation","declarationFragments":[{"kind":"identifier","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"blendLayerOffset","declarationFragments":[{"kind":"identifier","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"separateAnimatedValue","declarationFragments":[{"kind":"identifier","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"clock","declarationFragments":[{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8IteratorV4nextxSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV12anchorEntityyAC0hF0VSSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath","anchorEntity(_:)"],"names":{"title":"anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path for the scene's anchor entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType"],"names":{"title":"MeshBuffers.ElementType","navigator":[{"kind":"identifier","spelling":"ElementType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ElementType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The data type for each element of the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ElementType"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16opacityThresholdSfSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A threshold below which RealityKit ignores opacity."},{"text":""},{"text":"When ``PhysicallyBasedMaterial/blending-swift.property`` is transparent,"},{"text":"this value controls how the opacity value affects rendering. The default"},{"text":"`opacityThreshold` value of `0.0` indicates that the opacity values"},{"text":"render at the specified transparency, with `0.0` rendered fully"},{"text":"transparent, `1.0` rendered fully opaque, and values between `0.0` and"},{"text":"`1.0` rendering partially transparent."},{"text":""},{"text":"If `opacityThreshold` is greater than `0.0`, RealityKit doesn’t render"},{"text":"opacity values less than the `opacityThreshold` at all, and renders"},{"text":"opacity values greater than or equal to `opacityThreshold` fully opaque."},{"text":""},{"text":"When ``PhysicallyBasedMaterial/blending-swift.property`` is opaque,"},{"text":"RealityKit ignores this value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional image texture for defining the property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE8sequence4withACSayACG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","sequence(with:)"],"names":{"title":"sequence(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource that plays a collection of animations in a"},{"text":"specified sequence."},{"text":""},{"text":"- Parameters:"},{"text":" - resources: The collection of animation resources to play."},{"text":""},{"text":"- Returns: An animation resource that plays the given array of"},{"text":"animations."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"resources","declarationFragments":[{"kind":"identifier","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidActivateEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV5pitch3yaw4rollACSf_S2ftcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(pitch:yaw:roll:)"],"names":{"title":"init(pitch:yaw:roll:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pitch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"yaw"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"roll"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transform from the specified Euler angles."},{"text":""},{"text":"The rotation order using intrinsic rotation order is defined as:"},{"text":""},{"text":"1. Rotate around y-axis (yaw). 2. Rotate around the body-fixed x-axis"},{"text":"(pitch). 3. Rotate around the body-fixed z-axis (roll)."},{"text":""},{"text":"The rotation order using extrinsic rotation order is defined as:"},{"text":""},{"text":"1. Rotate around the z-axis (roll). 2. Rotate around the world space"},{"text":"x-axis (pitch). 3. Rotate around the world space y-axis (yaw)."},{"text":""},{"text":"- Parameters:"},{"text":" - x: The rotation around the x-axis in radians."},{"text":""},{"text":" - y: The rotation around the y-axis in radians."},{"text":""},{"text":" - z: The rotation around the z-axis in radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pitch"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"yaw"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"roll"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8elementsSayxGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elements"],"names":{"title":"elements","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Access the buffer as an array. This may create a copy if the data are not already an array."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV6entityyAESSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","entity(_:)"],"names":{"title":"entity(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a child entity's path."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the child entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV19outerAngleInDegreesSfvp","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","outerAngleInDegrees"],"names":{"title":"outerAngleInDegrees","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outerAngleInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The outer angle of the spotlight in degrees."},{"text":""},{"text":"A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines"},{"text":"relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and"},{"text":"`innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and"},{"text":"`outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outerAngleInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV9easeInOutACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeInOut"],"names":{"title":"easeInOut","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeInOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual starting and ending"},{"text":"transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeInOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``FromToByAnimation/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9BaseColorVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","BaseColor","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom base color object from an existing physically based"},{"text":"material’s base color object."},{"text":""},{"text":"Use this initializer to create a"},{"text":"``CustomMaterial/BaseColor-swift.struct`` that contains the same"},{"text":"tint and texture values as an existing"},{"text":"``PhysicallyBasedMaterial/BaseColor-swift.struct`` object."},{"text":""},{"text":"Both `tint` and `texture` from the"},{"text":"``PhysicallyBasedMaterial/BaseColor-swift.struct`` object are"},{"text":"available in your surface shader, but RealityKit doesn’t"},{"text":"automatically use those values to render the entity. Your surface"},{"text":"shader must calculate the final base color value for each pixel and"},{"text":"assign it by calling `params.surface().set_base_color()`."},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The base color object from a physically based material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformVACycfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a transform with the values of the identity transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode"],"names":{"title":"BlendTreeInvalidNode","navigator":[{"kind":"identifier","spelling":"BlendTreeInvalidNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeInvalidNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A blend tree node that's internal only or sources from an invalid"},{"text":"definition."},{"text":""},{"text":"This structure adopts ``BlendTreeNode`` and adds the ability to detect a"},{"text":"node that contains neither an animation nor any branches in the blend tree."},{"text":""},{"text":"You don't create instances of this structure. Instead, detect whether your"},{"text":"blend-tree node matches the framework's criteria for invalid nodes by"},{"text":"checking the node type, as the following code demonstrates."},{"text":""},{"text":"```swift"},{"text":"// Get the blend tree's root node."},{"text":"guard let blendNode = blendTree.root as? BlendTreeBlendNode else { return }"},{"text":"for node in blendNode.sources {"},{"text":" if let invalidNode = node as? BlendTreeInvalidNode {"},{"text":" // Respond to invalid-node criteria."},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeInvalidNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC6repeat5countACSi_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","repeat(count:)"],"names":{"title":"repeat(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that repeats the specified number of times."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of animation repetitions."},{"text":""},{"text":"- Returns: A repeating copy of the calling animation resource."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial"],"names":{"title":"UnlitMaterial","navigator":[{"kind":"identifier","spelling":"UnlitMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"UnlitMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A simple material that doesn’t respond to lights in the scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"UnlitMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidAddEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"Combine‘s `flatMap(maxPublishers:_:)` operator performs a similar function to the operator in the Swift standard library, but turns the elements from one kind of publisher into a new publisher that is sent to subscribers. Use `flatMap(maxPublishers:_:)` when you want to create a new series of events for downstream subscribers based on the received value. The closure creates the new ``Publisher`` based on the received value. The new ``Publisher`` can emit more than one event, and successful completion of the new ``Publisher`` does not complete the overall stream. Failure of the new ``Publisher`` causes the overall stream to fail."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes `WeatherStation` elements. The `flatMap(maxPublishers:_:)` receives each element, creates a from it, and produces a new , which will publish the data loaded from that ."},{"text":""},{"text":" public struct WeatherStation {"},{"text":" public let stationID: String"},{"text":" }"},{"text":""},{"text":" var weatherPublisher = PassthroughSubject()"},{"text":""},{"text":" cancellable = weatherPublisher.flatMap { station -> URLSession.DataTaskPublisher in"},{"text":" let url = URL(string:\"https://weatherapi.example.com/stations/\\(station.stationID)/observations/latest\")!"},{"text":" return URLSession.shared.dataTaskPublisher(for: url)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { completion in"},{"text":" // Handle publisher completion (normal or error)."},{"text":" },"},{"text":" receiveValue: {"},{"text":" // Process the received data."},{"text":" }"},{"text":" )"},{"text":""},{"text":" weatherPublisher.send(WeatherStation(stationID: \"KSFO\")) // San Francisco, CA"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"EGLC\")) // London, UK"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"ZBBB\")) // Beijing, CN"},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1},{"name":"P","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"T","rhs":"P.Output"},{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","sink(receiveCompletion:receiveValue:)"],"names":{"title":"sink(receiveCompletion:receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior."},{"text":""},{"text":"Use ``Publisher/sink(receiveCompletion:receiveValue:)`` to observe values received by the publisher and process them using a closure you specify."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveValue` closure that prints them to the console. Upon completion the ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveCompletion` closure indicates the successful termination of the stream."},{"text":""},{"text":" let myRange = (0...3)"},{"text":" cancellable = myRange.publisher"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" // Prints:"},{"text":" // value: 0"},{"text":" // value: 1"},{"text":" // value: 2"},{"text":" // value: 3"},{"text":" // completion: finished"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveComplete: The closure to execute on completion."},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","values"],"names":{"title":"values","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncPublisher","preciseIdentifier":"s:7Combine14AsyncPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"The elements produced by the publisher, as an asynchronous sequence."},{"text":""},{"text":"This property provides an ``AsyncPublisher``, which allows you to use the Swift `async`-`await` syntax to receive the publisher's elements. Because ``AsyncPublisher`` conforms to , you iterate over its elements with a `for`-`await`-`in` loop, rather than attaching a subscriber."},{"text":""},{"text":"The following example shows how to use the `values` property to receive elements asynchronously. The example adapts a code snippet from the ``Publisher/filter(_:)`` operator's documentation, which filters a sequence to only emit even integers. This example replaces the ``Subscribers/Sink`` subscriber with a `for`-`await`-`in` loop that iterates over the ``AsyncPublisher`` provided by the `values` property."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" let filtered = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":""},{"text":" for await number in filtered.values"},{"text":" {"},{"text":" print(\"\\(number)\", terminator: \" \")"},{"text":" }"},{"text":""}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncPublisher","preciseIdentifier":"s:7Combine14AsyncPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position immediately after the given index. (See `Collection.index`.)"}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor"],"names":{"title":"PhysicallyBasedMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s base color."},{"text":""},{"text":"Use this struct to specify an entity’s base color, which defines the"},{"text":"entity’s appearance before RealityKit calculates the effect of lighting"},{"text":"or material properties such as"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` or"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. For more"},{"text":"information, see ``PhysicallyBasedMaterial/baseColor-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","switchToLatest()"],"names":{"title":"switchToLatest()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"switchToLatest"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements sent by the most recently received publisher."},{"text":""},{"text":"This operator works with an upstream publisher of publishers, flattening the stream of elements to appear as if they were coming from a single stream of elements. It switches the inner publisher as new ones arrive but keeps the outer publisher constant for downstream subscribers."},{"text":""},{"text":"When this operator receives a new publisher from the upstream publisher, it cancels its previous subscription. Use this feature to prevent earlier publishers from performing unnecessary work, such as creating network request publishers from frequently updating user interface publishers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"switchToLatest"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6heightSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The capsule height."},{"text":""},{"text":"The capsule height includes radii and should be specified the entity's coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV11cubicBezier13controlPoint10H6Point2ACs5SIMD2VySfG_AItFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","cubicBezier(controlPoint1:controlPoint2:)"],"names":{"title":"cubicBezier(controlPoint1:controlPoint2:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cubicBezier"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a timing function that accelerates and then decelerates towards"},{"text":"the target value with the cubic bezier shape specified by two control"},{"text":"points."},{"text":""},{"text":"- Parameters:"},{"text":" - controlPoint1: The first control point for the cubic bezier function."},{"text":""},{"text":"- controlPoint2: The second control point for the cubic bezier function."},{"text":""},{"text":"- Returns: The cubic bezier timing function."}]},"functionSignature":{"parameters":[{"name":"controlPoint1","declarationFragments":[{"kind":"identifier","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"controlPoint2","declarationFragments":[{"kind":"identifier","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cubicBezier"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation19PointLightComponentV","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["Entity","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode"],"names":{"title":"BlendTreeNode","navigator":[{"kind":"identifier","spelling":"BlendTreeNode"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface for a node that's a member of a blend tree."},{"text":""},{"text":"This protocol specifies the common functionality for the animations that"},{"text":"compose a ``BlendTreeAnimation``. The animation defines a"},{"text":"``BlendTreeAnimation/root`` node of this type. To define the tree, you"},{"text":"assign the root node one of the follow structures that adopt this protocol:"},{"text":""},{"text":"- ``BlendTreeBlendNode``, which branches the tree for every element in"},{"text":"``BlendTreeBlendNode/sources``."},{"text":"- ``BlendTreeSourceNode``, which defines an"},{"text":"animation to blend with its ``BlendTreeSourceNode/source`` property."},{"text":""},{"text":"- Note: A node in the tree may be of type ``BlendTreeInvalidNode``, which"},{"text":"neither specifies a list of sources nor an animation."},{"text":""},{"text":"Each node type supplies a name and weight, which you can set during or after"},{"text":"initialization."},{"text":""},{"text":"```swift"},{"text":"let animation1 = FromToByAnimation(...)"},{"text":""},{"text":"let blendNode = BlendTreeSourceNode("},{"text":" source: animation1,"},{"text":" name: \"Anim1\","},{"text":" weight: .value(0.25))"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic"],"names":{"title":"MeshBuffers.Semantic","navigator":[{"kind":"identifier","spelling":"Semantic"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(on:options:)"],"names":{"title":"subscribe(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to perform subscribe, cancel, and request operations."},{"text":""},{"text":"In contrast with ``Publisher/receive(on:options:)``, which affects downstream messages, ``Publisher/subscribe(on:options:)`` changes the execution context of upstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `ioPerformingPublisher` to receive requests on `backgroundQueue`, while the ``Publisher/receive(on:options:)`` causes `uiUpdatingSubscriber` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let ioPerformingPublisher == // Some publisher."},{"text":" let uiUpdatingSubscriber == // Some subscriber that updates the UI."},{"text":""},{"text":" ioPerformingPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(uiUpdatingSubscriber)"},{"text":""},{"text":""},{"text":"Using ``Publisher/subscribe(on:options:)`` also causes the upstream publisher to perform ``Cancellable/cancel()`` using the specfied scheduler."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler used to send messages to upstream publishers."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher which performs upstream operations on the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV5scale8rotation11translationACs5SIMD3VySfG_So10simd_quatfaAItcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(scale:rotation:translation:)"],"names":{"title":"init(scale:rotation:translation:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transformation using the given values."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A scale factor."},{"text":""},{"text":" - rotation: The rotation given as a unit quaternion."},{"text":""},{"text":"- translation: The translation, or position along the x, y, and z axes."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 1, y: 1, z: 1), "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" = simd_quaternion(0, 0, 0, 1), "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 0, y: 0, z: 0))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13ShapeResourceC","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6radiusSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","radius"],"names":{"title":"radius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The capsule radius."},{"text":""},{"text":"Specify this value in the entity's coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation9TransformV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Transform","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the transform by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a color of emitted light from a custom material’s emissive"},{"text":"color property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material emissive color object."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV11faceCullingAA0E14ParameterTypesV04FaceG0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","faceCulling"],"names":{"title":"faceCulling","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A process in which the system specifies polygons to remove before"},{"text":"rendering a scene."},{"text":""},{"text":"To improve performance, RealityKit culls polygons, or faces, that it"},{"text":"determines won’t be visible. Discarding faces that aren’t part of the"},{"text":"final render elimininates the need to do any calculations for those"},{"text":"faces."},{"text":""},{"text":"RealityKit recognizes when a face aims toward the camera (a front face)"},{"text":"or away from the camera (a back face). This value controls the type of"},{"text":"faces RealityKit culls."},{"text":""},{"text":"This value defaults to ``MaterialParameterTypes/FaceCulling/back``,"},{"text":"which means RealityKit removes faces that point away from the camera."},{"text":"Most of the time, this is the correct behavior, because back faces are"},{"text":"usually obscured by other front-facing polygons."},{"text":""},{"text":"You can change the culling behavior to cull front faces instead or to"},{"text":"turn off face culling altogether, but be aware that turning off face"},{"text":"culling results in less efficient rendering and may negatively impact"},{"text":"your app’s frame rate."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s rate of"},{"text":"playback. A value of `2.0` plays the animation at twice the normal rate,"},{"text":"and a speed of `0.5` makes the animation finish after twice the normal"},{"text":"time. A negative value plays the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE10definitionAA0C10Definition_pvp","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","definition"],"names":{"title":"definition","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The timeframe, target object, and visual semantics of the animation."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV7easeOutACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeOut"],"names":{"title":"easeOut","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual ending transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC2IDa","interfaceLanguage":"swift"},"pathComponents":["Entity","ID"],"names":{"title":"Entity.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation9TransformV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Transform","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","Iterator"],"names":{"title":"PhotogrammetrySession.Outputs.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object for iterating over published output objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate"],"names":{"title":"MeshBuffers.Rate","navigator":[{"kind":"identifier","spelling":"Rate"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Rate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines how elements in the buffer map to features of the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Rate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC13playAnimation_18transitionDuration12startsPausedAA0E18PlaybackControllerCAA0E8ResourceC_SdSbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(_:transitionDuration:startsPaused:)"],"names":{"title":"playAnimation(_:transitionDuration:startsPaused:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays the given animation on the entity."},{"text":""},{"text":"- Parameters:"},{"text":" - animation: The animation to play."},{"text":""},{"text":"- transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":"- startsPaused: A Boolean that you set to `true` to return from the call"},{"text":"with the animation paused. Set to `false` to start the animation right"},{"text":"away."},{"text":""},{"text":"- Returns: An animation playback controller that you can use to start"},{"text":"and stop the animation."}]},"functionSignature":{"parameters":[{"name":"animation","declarationFragments":[{"kind":"identifier","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO9positionsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNames4name15isScaleAnimated0l8RotationN00l11TranslationN04from2to2by8duration6timing0L8Additive10bindTarget10blendLayer10repeatMode8fillMode9trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SSS3bAESgA1_A1_SdAA0F14TimingFunctionVSbAA04BindX0OSgs5Int32VAA0F10RepeatModeOAA0F8FillModeVSdSgA13_A13_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two configurations of the"},{"text":"given joints."},{"text":""},{"text":"- Parameters:"},{"text":" - jointNames: The names of the joints in the animated skeletal pose."},{"text":""},{"text":" - name: A unique name for the animation."},{"text":""},{"text":"- isScaleAnimated: A Boolean value that indicates whether that animation"},{"text":"interpolates changes to the target’s size."},{"text":""},{"text":"- isRotationAnimated: A Boolean value that indicates whether that"},{"text":"animation interpolates rotational changes."},{"text":""},{"text":"- isTranslationAnimated: A Boolean value that indicates whether that"},{"text":"animation interpolates changes to the target object’s position."},{"text":""},{"text":"- from: The state of the target object’s joints before the animation"},{"text":"starts."},{"text":""},{"text":"- to: The state of the target object’s joints after the animation"},{"text":"finishes."},{"text":""},{"text":"- by: An amount that increments the animated joints during the"},{"text":"animation."},{"text":""},{"text":" - duration: The total playback time."},{"text":""},{"text":" - timing: An option that determines the animation’s pace over time."},{"text":""},{"text":"- isAdditive: A Boolean value that indicates whether the animation"},{"text":"blends additively with concurrent animations."},{"text":""},{"text":"- bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":"- blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":"- trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":"- trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"- trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":"- offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":"- speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","sink(receiveValue:)"],"names":{"title":"sink(receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior to a publisher that never fails."},{"text":""},{"text":"Use ``Publisher/sink(receiveValue:)`` to observe values received by the publisher and print them to the console. This operator can only be used when the stream doesn’t fail, that is, when the publisher’s ``Publisher/Failure`` type is ."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveValue:)`` operator’s"},{"text":"`receiveValue` closure that prints them to the console:"},{"text":""},{"text":" let integers = (0...3)"},{"text":" integers.publisher"},{"text":" .sink { print(\"Received \\($0)\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Received 0"},{"text":" // Received 1"},{"text":" // Received 2"},{"text":" // Received 3"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV4rateAA0C7BuffersO4RateOvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","rate"],"names":{"title":"rate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Rate of the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``FromToByAnimation/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit"],"names":{"title":"CollisionCastHit","navigator":[{"kind":"identifier","spelling":"CollisionCastHit"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastHit"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A hit result of a collision cast."},{"text":""},{"text":"You get a collection of collision cast hits from either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method, or"},{"text":"the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method. Each hit indicates where the ray or the convex shape, starting at a"},{"text":"given point and traveling in a given direction, hit a particular entity in"},{"text":"the scene."},{"text":""},{"text":"The frame of reference for the position and normal of the hit depends on the"},{"text":"reference entity parameter passed to the method that generated the hit. Pass"},{"text":"`nil` as the reference to use world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastHit"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV6linearACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","linear"],"names":{"title":"linear","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a linear transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyAngle.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode"],"names":{"title":"BlendTreeSourceNode","navigator":[{"kind":"identifier","spelling":"BlendTreeSourceNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeSourceNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A blend node that contains an animation."},{"text":""},{"text":"This structure adopts ``BlendTreeNode`` and adds the ability to store a"},{"text":"single animation. A complete ``BlendTreeAnimation`` represents a mix of all"},{"text":"the animations that its source nodes contain. Each source node defines a"},{"text":"``BlendTreeSourceNode/weight`` that determines how much effect the source's"},{"text":"animation has in the blend tree's resulting, mixed animation. To define the"},{"text":"source's animation, set this structure's ``BlendTreeSourceNode/source``"},{"text":"property."},{"text":""},{"text":"## Access a Source Node of a Blend Tree"},{"text":""},{"text":"A source may exist in any leaf-node position in the blend animation's tree."},{"text":"The following code checks the root node for a source. If instead the root"},{"text":"node is a branch, the code begins checking the branches sources."},{"text":""},{"text":"```swift"},{"text":"// Check if the root node is a source."},{"text":"if let blendNode = blendTree.root as? BlendTreeSourceNode {"},{"text":" // Found a source."},{"text":""},{"text":"// Check if the root node is a branch."},{"text":"} else if let source = blendTree.root as? BlendTreeBlendNode {"},{"text":""},{"text":" // Check for a source in the branch's sources."},{"text":" if let source = blendNode.sources[0] as? BlendTreeSourceNode {"},{"text":" // Found a source."},{"text":" }"},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeSourceNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two bind targets are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The bind target on the left side of the operator."},{"text":""},{"text":" - rhs: The bind target on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the bind targets are equal. Otherwise,"},{"text":"returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC5clone9recursiveACXDSb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","clone(recursive:)"],"names":{"title":"clone(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Duplicates an entity to create a new entity."},{"text":""},{"text":"All component data is cloned automatically. If you clone an entity that"},{"text":"stores custom data that’s not part of a component, override the"},{"text":"``Entity/didClone(from:)`` method to copy that data manually."},{"text":""},{"text":"- Parameters:"},{"text":"- recursive: A Boolean that you set to `true` to recursively copy all"},{"text":"the children of the entity. Otherwise, no descendants are copied."},{"text":""},{"text":"- Returns: The duplicate."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV19innerAngleInDegreesSfvp","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","innerAngleInDegrees"],"names":{"title":"innerAngleInDegrees","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"innerAngleInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The inner angle of the spotlight in degrees."},{"text":""},{"text":"A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines"},{"text":"relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and"},{"text":"`innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and"},{"text":"`outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"innerAngleInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a simple material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","Element"],"names":{"title":"PhotogrammetrySession.Outputs.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of element used for Photogrammetry Session updates."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC8generate8friction11restitutionACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","generate(friction:restitution:)"],"names":{"title":"generate(friction:restitution:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a new material with the given characteristics."},{"text":""},{"text":"- Parameters:"},{"text":" - friction: The coefficient of friction, in the range `[0, infinity)`."},{"text":""},{"text":" - restitution: The coefficient of restitution, in the range `[0, 1]`."},{"text":"Use values at the high end of the range to indicate materials that"},{"text":"experience elastic collisions, meaning that objects bounce off each"},{"text":"other and kinetic energy is conserved after a collision. Use low values"},{"text":"to indicate materials that loose kinetic energy when they collide."},{"text":""},{"text":"- Returns: A physics material resource."}]},"functionSignature":{"parameters":[{"name":"friction","declarationFragments":[{"kind":"identifier","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"restitution","declarationFragments":[{"kind":"identifier","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.8, "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.8) -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail"],"names":{"title":"PhotogrammetrySession.Request.Detail","navigator":[{"kind":"identifier","spelling":"Detail"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Detail"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Supported levels of detail for a request."},{"text":""},{"text":"On iOS, only one detail level -- `.reduced` -- is currently supported. This level is optimized"},{"text":"for generation and viewing entirely on mobile devices."},{"text":""},{"text":"On macOS, RealityKit object creation can generate models at different levels of detail. Higher"},{"text":"levels of detail may take longer to create, require more memory and processing power to generate,"},{"text":"and create objects with more complex geometry and texture requirements."},{"text":""},{"text":"### Set a Level of Complexity"},{"text":""},{"text":"Each detail level corresponds to an object of a specific size and complexity. Here’s"},{"text":"the expected final size of the generated object from each detail level."},{"text":""},{"text":"| Detail Level | Triangles | Estimated File Size |"},{"text":"| ------------ | --------- | ------------------- |"},{"text":"| `.preview` | <25k | ≈5MB |"},{"text":"| `.reduced` | <50k | ≈10MB |"},{"text":"| `.medium` | <100k | ≈30MB |"},{"text":"| `.full` | <250k | ≈100MB |"},{"text":"| `.raw` | <30M | Varies |"},{"text":"| `.custom` | Varies | Varies |"},{"text":""},{"text":"### Create Texture Maps"},{"text":""},{"text":"Each detail level produces a 3D object with texture maps. The higher the complexity"},{"text":"level, the larger the generated texture maps, and the more memory the system requires"},{"text":"to display those objects in an AR scene."},{"text":""},{"text":"RealityKit creates five texture maps at the `.full` detail level: a single diffuse"},{"text":"map, normal map, ambient occlusion map, roughness map, and displacement map. For"},{"text":"`.preview`, `.reduced`, and `.medium` detail levels, it produces just the single"},{"text":"diffuse, normal and ambient occlusion maps."},{"text":""},{"text":"When producing a model at the `.raw` detail level, only diffuse texture maps are"},{"text":"created, but RealityKit may create up to 16 diffuse maps, each covering different"},{"text":"parts of the model. Raw models are produced at the highest resolution possible from"},{"text":"the source images, so they don’t benefit from having the other types of texture maps,"},{"text":"which are used to supplement a low-resolution model with data from a higher-resolution"},{"text":"version of the same model."},{"text":""},{"text":"Raw models aren’t suitable for use in an AR scene and you should only use this setting"},{"text":"if you plan to export the model to a 3D software package."},{"text":""},{"text":"Custom detail level can be used to specify several parameters of the output mesh and textures"},{"text":"to provide more control over the produced assets than the preset levels."},{"text":""},{"text":"Here are the texture map sizes generated for each detail level and the amount of"},{"text":"texture memory the uncompressed textures use at runtime."},{"text":""},{"text":"| Detail Level | Texture Size | Texture Memory Required |"},{"text":"| ------------ | ------------ | ----------------------- |"},{"text":"| `.preview` | 1024 x 1024 | 10.666667 MB |"},{"text":"| `.reduced` | 2048 x 2048 | 42.666667 MB |"},{"text":"| `.medium` | 4096 x 4096 | 170.666667 MB |"},{"text":"| `.full` | 8192 x 8192 | 853.33333 MB |"},{"text":"| `.raw` | 8192 x 8192 (multiple) | Varies |"},{"text":"| `.custom` | Varies | Varies |"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Detail"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillDeactivateEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV6matrixACSo13simd_float4x4a_tcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(matrix:)"],"names":{"title":"init(matrix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transform represented as a 4x4 matrix."},{"text":""},{"text":"A ``RealityKit/Transform`` component can’t represent every transform that a"},{"text":"general 4x4 matrix can . Using a 4x4 matrix during"},{"text":"initialization might result in certain transformations, such as shear, being lost."},{"text":""},{"text":"- Parameters:"},{"text":" - matrix: A transformation matrix."},{"text":" "}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual representation of this instance. (See `CustomStringConvertible`.)"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV7textureAeC0cD7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","AmbientOcclusion","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from an image texture."},{"text":""},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":"This function creates a new ambient occlusion object from a"},{"text":"UV-mapped image texture."},{"text":""},{"text":"Specify ambient occlusion by using a UV-mapped image called an"},{"text":"_ambient occlusion map_. A value of black (`0.0`) represents parts"},{"text":"of the model that receive less ambient light because that part of"},{"text":"the model is a crevice, dent, or recessed area, or because another"},{"text":"part of the same entity is preventing ambient light from reaching"},{"text":"it. Ambient occlusion values of white (`1.0`) represent flat"},{"text":"portions of the model that receive full ambient light. You generate"},{"text":"ambient occlusion maps by using a 3D software package."},{"text":""},{"text":"The ambient occlusion texture is available in the material’s surface"},{"text":"shader, but RealityKit doesn’t render ambient occlusion unless the"},{"text":"surface shader calls `params.surface().set_ambient_occlusion()`."},{"text":""},{"text":"The following Metal code shows how to use the ambient occlusion"},{"text":"texture in a surface shader function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped Y axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the ambient occlusion texture and use it to set the"},{"text":" // ambient occlusion value to use during rendering."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.ambient_occlusion().sample(textureSampler, uv).r;"},{"text":" params.surface().set_ambient_occlusion(metallic);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- texture: A UV-mapped image texture that defines the entity’s"},{"text":"exposure to ambient light."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial"],"names":{"title":"VideoMaterial","navigator":[{"kind":"identifier","spelling":"VideoMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A material that supports animated textures."},{"text":""},{"text":"In RealityKit, a _material_ is an object that defines the surface properties"},{"text":"of a rendered 3D object. A `VideoMaterial` is a material that maps a movie"},{"text":"file on to the surface of an entity. Video materials are _unlit_, which"},{"text":"means that scene lighting doesn’t affect them. Video materials support"},{"text":"transparency if the source video’s file format also supports transparency."},{"text":""},{"text":"Video materials use an"},{"text":" instance"},{"text":"to control movie playback. You can use any movie file format that"},{"text":" supports"},{"text":"to create a video material. To control playback of the material’s video, use"},{"text":"the ``VideoMaterial/avPlayer`` property, which offers methods like"},{"text":""},{"text":"and"},{"text":"."},{"text":""},{"text":"The following code demonstrates how to create and start playing a video"},{"text":"material using a movie file from your application bundle."},{"text":""},{"text":"```swift"},{"text":"// Create a URL that points to the movie file."},{"text":"if let url = Bundle.main.url(forResource: \"MyMovie\", withExtension: \"mp4\") {"},{"text":""},{"text":" // Create an AVPlayer instance to control playback of that movie."},{"text":" let player = AVPlayer(url: url)"},{"text":""},{"text":" // Instantiate and configure the video material."},{"text":" let material = VideoMaterial(avPlayer: player)"},{"text":""},{"text":" // Configure audio playback mode."},{"text":" material.controller.audioInputMode = .spatial"},{"text":""},{"text":" // Create a new model entity using the video material."},{"text":" let modelEntity = ModelEntity(mesh: cube, materials: [material])"},{"text":""},{"text":" // Start playing the video."},{"text":" player.play()"},{"text":"}"},{"text":"```"},{"text":""},{"text":"To see an example of using a video texture in RealityKit, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition"],"names":{"title":"AnimationDefinition","navigator":[{"kind":"identifier","spelling":"AnimationDefinition"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationDefinition"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The configuration, including target object, timeframe, and visual semantics,"},{"text":"of an animation."},{"text":""},{"text":"The framework adopts this protocol for several concrete animation objects,"},{"text":"such as ``FromToByAnimation``, ``SampledAnimation``, ``OrbitAnimation``,"},{"text":"``BlendTreeAnimation``, ``AnimationView``, and ``AnimationGroup``."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationDefinition"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE8generate4withAcA0C10Definition_p_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","generate(with:)"],"names":{"title":"generate(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource from a definition."},{"text":""},{"text":"- Parameters:"},{"text":"- definition: The configuration of a timeframe and visual semantics from"},{"text":"which to generate an animation resource."},{"text":""},{"text":"- Returns: An animation resource that shares the configuration of the"},{"text":"definition."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"definition","declarationFragments":[{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness value for the entire entity or a multiplier for"},{"text":"the metallic texture."},{"text":""},{"text":"This property is an input to your material’s surface shader."},{"text":"Although you can choose how to use the `scale` value in your shader,"},{"text":"RealityKit provides this property to control the reflectiveness of"},{"text":"the entire entity when there’s no texture, or to function as a"},{"text":"multiplier to the values you sample from the texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter"],"names":{"title":"CollisionFilter","navigator":[{"kind":"identifier","spelling":"CollisionFilter"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFilter"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of masks that determine whether entities can collide during"},{"text":"simulations."},{"text":""},{"text":"Use Collision filters in combination with collision groups to define which"},{"text":"entities collide with which other entities in a scene. For more information"},{"text":"on using collision filters, see ``CollisionGroup``"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFilter"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV13AsyncIteratora","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","AsyncIterator"],"names":{"title":"PhotogrammetrySession.Outputs.AsyncIterator","navigator":[{"kind":"identifier","spelling":"AsyncIterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AsyncIterator"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"The type of asynchronous iterator that produces elements of this"},{"text":"asynchronous sequence."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AsyncIterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","multicast(_:)"],"names":{"title":"multicast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">(() -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure to create a subject that delivers elements to subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(subject:)``, this method produces a publisher that creates a separate ``Subject`` for each subscriber."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(_:)`` operator whose closure creates a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast { PassthroughSubject<(String, Int), Never>() }"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 9))"},{"text":" // Stream 2 received: (\"First\", 9)"},{"text":" // Stream 1 received: (\"First\", 9)"},{"text":" // Random: receive value: ((\"Second\", 46))"},{"text":" // Stream 2 received: (\"Second\", 46)"},{"text":" // Stream 1 received: (\"Second\", 46)"},{"text":" // Random: receive value: ((\"Third\", 26))"},{"text":" // Stream 2 received: (\"Third\", 26)"},{"text":" // Stream 1 received: (\"Third\", 26)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter createSubject: A closure to create a new ``Subject`` each time a subscriber attaches to the multicast publisher."}]},"functionSignature":{"parameters":[{"name":"createSubject","declarationFragments":[{"kind":"identifier","spelling":"createSubject"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"createSubject"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" () -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV6easeInACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeIn"],"names":{"title":"easeIn","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeIn"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual starting transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeIn"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE5store2inyAA6EntityC_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","store(in:)"],"names":{"title":"store(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"store"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the animation to an entity without playing it."},{"text":""},{"text":"- Parameters:"},{"text":" - in: The entity to which to attach the animation."}]},"functionSignature":{"parameters":[{"name":"in","declarationFragments":[{"kind":"identifier","spelling":"`in`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"store"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC17stopAllAnimations9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","stopAllAnimations(recursive:)"],"names":{"title":"stopAllAnimations(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAnimations"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops all playing of animations on this entity."},{"text":""},{"text":"- Parameters:"},{"text":"- recursive: Indicates whether to also stop animations on all"},{"text":"descendants of the entity."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAnimations"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV3getyAA0dE0VyxGSgxmlF","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","get(_:)"],"names":{"title":"get(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"get"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}]},"functionSignature":{"parameters":[{"name":"","declarationFragments":[{"kind":"identifier","spelling":"_"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"get"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type = Value.self) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV9positionsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing model. The old model is returned."}]},"functionSignature":{"parameters":[{"name":"model","declarationFragments":[{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup"],"names":{"title":"CollisionGroup","navigator":[{"kind":"identifier","spelling":"CollisionGroup"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionGroup"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bitmask used to define the collision group to which an entity belongs."},{"text":""},{"text":"You use collision groups along with ``CollisionFilter`` to define custom"},{"text":"collision properties for entities in your scene and controlling which"},{"text":"entities collide wit which other entities. By default, all entities that"},{"text":"participate in the physics simulation collide with all other participating"},{"text":"entities. There are times, however, when you need certain entities to not"},{"text":"collide with certain other entities, and that’s where collision groups and"},{"text":"filters come into play."},{"text":""},{"text":"Create individual collision groups using raw bit flag values, like this:"},{"text":""},{"text":"```swift"},{"text":" let redGroup = CollisionGroup(rawValue: 1 << 0)"},{"text":" let blueGroup = CollisionGroup(rawValue: 1 << 1)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 2)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 3)"},{"text":"```"},{"text":""},{"text":"Because ``CollisionGroup`` conforms to"},{"text":", this allows"},{"text":"you to create aggregate groups that encompass multiple individual collision"},{"text":"groups, like so:"},{"text":""},{"text":"```swift"},{"text":" let blueAndRedGroup = redGroup.union(blueGroup)"},{"text":" let greenAndYellowGroup = greenGroup.union(yellowGroup)"},{"text":"```"},{"text":""},{"text":"You can also define groups that have all entities except those in specific"},{"text":"groups. In a game, for example, you might want to turn off collisions"},{"text":"between members of the same team or between pieces owned by the same player."},{"text":"This is what creating that kind of filter would look like:"},{"text":""},{"text":"```swift"},{"text":" let allButRedGroup = CollisionGroup.all.subtracting(redGroup)"},{"text":"```"},{"text":""},{"text":"Collision groups aren’t assigned directly to entities. Instead, you create a"},{"text":"``CollisionFilter`` for the group, and then assign that filter to all the"},{"text":"entities you wish to include in its group. The collision filter’s mask"},{"text":"defines which objects the entities in this group collide with, and all"},{"text":"entities that share the same filter are part of the same collision group."},{"text":""},{"text":"```swift"},{"text":"let allButRedFilter = CollisionFilter(group: redGroup, mask:allButRedGroup)"},{"text":"redTeamPlayer1.collision?.filter = allButRedFilter"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionGroup"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addForce(_:relativeTo:)"],"names":{"title":"addForce(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `force` is defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","AmbientOcclusion","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a physically based material’s ambient"},{"text":"occlusion property."},{"text":""},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":"This initializer creates a new object by copying the values from an"},{"text":"existing ``PhysicallyBasedMaterial`` instance’s"},{"text":"``PhysicallyBasedMaterial/ambientOcclusion-swift.property``"},{"text":"property."},{"text":""},{"text":"Specify ambient occlusion by using a UV-mapped image called an"},{"text":"_ambient occlusion map_. A value of black (`0.0`) represents parts"},{"text":"of the model that receive less ambient light because of a crevice,"},{"text":"dent, recessed area, or another part of the same entity blocking"},{"text":"ambient light from reaching it. Ambient occlusion values of white"},{"text":"(`1.0`) represent flat portions of the model that receive full"},{"text":"ambient light. You generate ambient occlusion maps by using a 3D"},{"text":"software package."},{"text":""},{"text":"The ambient occlusion texture is available in the material’s surface"},{"text":"shader, but RealityKit doesn’t render ambient occlusion unless the"},{"text":"surface shader calls `params.surface().set_ambient_occlusion()`."},{"text":""},{"text":"The following Metal code shows how to use the ambient occlusion"},{"text":"texture in a surface shader function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the ambient occlusion texture and use it to set the"},{"text":" // ambient occlusion value to use during rendering."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.ambient_occlusion().sample(textureSampler, uv).r;"},{"text":" params.surface().set_ambient_occlusion(metallic);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The ambient occlusion property from a"},{"text":"``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6targetAC6TargetOvp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","target"],"names":{"title":"target","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kind of real world object to which the anchor entity should anchor."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV15maximumDistanceSfvp","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","maximumDistance"],"names":{"title":"maximumDistance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum distance for the shadow."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy level object from a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The anisotropy level."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","SubSequence"],"names":{"title":"Entity.ChildCollection.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"A collection representing a contiguous subrange of this collection's"},{"text":"elements. The subsequence shares indices with the original collection."},{"text":""},{"text":"The default subsequence type for collections that don't define their own"},{"text":"is `Slice`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6reduce4into_qd__qd__n_yqd__z_7ElementQztYaKXEtYaKlF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the result of combining the elements of the asynchronous sequence"},{"text":"using the given closure, given a mutable initial value."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on a"},{"text":"sequence of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure executes sequentially with an accumulating"},{"text":"value initialized to `initialResult` and each element of the sequence."},{"text":""},{"text":"Prefer this method over `reduce(_:_:)` for efficiency when the result is"},{"text":"a copy-on-write type, for example an `Array` or `Dictionary`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" The `nextPartialResult` closure receives `initialResult` the first"},{"text":" time the closure executes."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the asynchronous sequence into a new accumulating value,"},{"text":" for use in the next call of the `nextPartialResult` closure or"},{"text":" returned to the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV17attenuationRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","attenuationRadius"],"names":{"title":"attenuationRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The attenuation radius in meters, after which the intensity of the"},{"text":"spotlight is zero."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new model to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"model","declarationFragments":[{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC8generate14staticFriction07dynamicH011restitutionACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","generate(staticFriction:dynamicFriction:restitution:)"],"names":{"title":"generate(staticFriction:dynamicFriction:restitution:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new material with the specified static friction, dynamic friction, and restitution."},{"text":""},{"text":"- Parameters:"},{"text":" - staticFriction: The static (stationary) friction coefficient in the range [0, ∞)."},{"text":" - dynamicFriction: The dynamic (moving) friction coefficient in the range [0, ∞)."},{"text":" - restitution: The coefficient of restitution (bounciness) in the range [0, 1]."}]},"functionSignature":{"parameters":[{"name":"staticFriction","declarationFragments":[{"kind":"identifier","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"dynamicFriction","declarationFragments":[{"kind":"identifier","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"restitution","declarationFragments":[{"kind":"identifier","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryCatch(_:)"],"names":{"title":"tryCatch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by either replacing it with another publisher or throwing a new error."},{"text":""},{"text":"Use ``Publisher/tryCatch(_:)`` to decide how to handle from an upstream publisher by either replacing the publisher with a new publisher, or throwing a new error."},{"text":""},{"text":"In the example below, an array publisher emits values that a ``Publisher/tryMap(_:)`` operator evaluates to ensure the values are greater than zero. If the values aren’t greater than zero, the operator throws an error to the downstream subscriber to let it know there was a problem. The subscriber, ``Publisher/tryCatch(_:)``, replaces the error with a new publisher using ``Just`` to publish a final value before the stream ends normally."},{"text":""},{"text":" enum SimpleError: Error { case error }"},{"text":" var numbers = [5, 4, 3, 2, 1, -1, 7, 8, 9, 10]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { v in"},{"text":" if v > 0 {"},{"text":" return v"},{"text":" } else {"},{"text":" throw SimpleError.error"},{"text":" }"},{"text":" }"},{"text":" .tryCatch { error in"},{"text":" Just(0) // Send a final value before completing normally."},{"text":" // Alternatively, throw a new error to terminate the stream."},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print (\"Received \\($0).\") }"},{"text":" )"},{"text":" // Received 5."},{"text":" // Received 4."},{"text":" // Received 3."},{"text":" // Received 2."},{"text":" // Received 1."},{"text":" // Received 0."},{"text":" // Completion: finished."},{"text":""},{"text":"- Parameter handler: A throwing closure that accepts the upstream failure as input. This closure can either replace the upstream publisher with a new one, or throw a new error to the downstream subscriber."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher, or an error."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyLevel.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion"],"names":{"title":"PhysicallyBasedMaterial.AmbientOcclusion","navigator":[{"kind":"identifier","spelling":"AmbientOcclusion"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the ambient occlusion of an entity’s surface."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV5childAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity","child"],"names":{"title":"child","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV7normalsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:)"],"names":{"title":"merge(with:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from four other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 33 2 50 100 -2 33\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","last()"],"names":{"title":"last()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/last()`` when you need to emit only the last element from an upstream publisher."},{"text":""},{"text":"In the example below, the range publisher only emits the last element from the sequence publisher, `10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the last element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Indices"],"names":{"title":"Entity.ChildCollection.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents the indices that are valid for subscripting the"},{"text":"collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces the default curve for the transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVyA2C6TargetOcfc","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchoring component for a given target."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The kind of real world object to target."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV5shape7densityAcA13ShapeResourceC_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(shape:density:)"],"names":{"title":"init(shape:density:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the mass properties for a solid shape with the specified"},{"text":"density."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape for which to calculate the mass frame."},{"text":""},{"text":" - density: The density of the object in kilograms per cubic meter."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV17makeAsyncIteratorAE0H0VyF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","makeAsyncIterator()"],"names":{"title":"makeAsyncIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeAsyncIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an asynchronous iterator for the collection."},{"text":""},{"text":"- Returns: An asynchronous iterator."},{"text":""},{"text":"This method creates an asynchronous iterator for the collection. Typically, you won’t"},{"text":"call this method. Instead, use a `try`-`await`-`in` loop inside of an `async` task,"},{"text":"which creates an iterator implicitly and waits for the session to publish new ``RealityKit/PhotogrammetrySession/Output``"},{"text":"objects, as the following example demonstrates."},{"text":""},{"text":"```swift"},{"text":"let waiter = Task {"},{"text":" do {"},{"text":" for try await output in session.outputs {"},{"text":" switch output {"},{"text":" case .processingComplete:"},{"text":" // RealityKit has processed all requests."},{"text":" case .requestError(let request, let error):"},{"text":" // Request encountered an error."},{"text":" case .requestComplete(let request, let result):"},{"text":" // RealityKit has finished processing a request."},{"text":" case .requestProgress(let request, let fractionComplete):"},{"text":" // Periodic progress update. Update UI here."},{"text":" case requestProgressInfo(let request, let progressInfo):"},{"text":" // Periodic progress info update."},{"text":" case .inputComplete:"},{"text":" // Ingestion of images is complete and processing begins."},{"text":" case .invalidSample(let id, let reason):"},{"text":" // RealityKit deemed a sample invalid and didn't use it."},{"text":" case .skippedSample(let id):"},{"text":" // RealityKit was unable to use a provided sample."},{"text":" case .automaticDownsampling:"},{"text":" // RealityKit downsampled the input images because of"},{"text":" // resource constraints."},{"text":" case .processingCancelled"},{"text":" // Processing was canceled."},{"text":" @unknown default:"},{"text":" // Unrecognized output."},{"text":" }"},{"text":" }"},{"text":" } catch {"},{"text":" print(\"Output: ERROR = \\(String(describing: error))\")"},{"text":" // Handle error."},{"text":" }"},{"text":"}"},{"text":""},{"text":"```"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeAsyncIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:_:)"],"names":{"title":"map(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of two key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:)`` operator uses the Swift key path syntax to access the `die1` and `die2` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these two values (as an `(Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1) (total: \\(values.0 + values.1))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 6, 4 (total: 10)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of another property on `Output`."},{"text":"- Returns: A publisher that publishes the values of two key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a mass properties instance with default settings."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV11elementTypeAA0D7BuffersO07ElementG0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","elementType"],"names":{"title":"elementType","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"TThe collection’s “past the end” position—that is, the position one greater than the"},{"text":"last valid subscript argument. (See `Collection.endIndex`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType"],"names":{"title":"CollisionCastQueryType","navigator":[{"kind":"identifier","spelling":"CollisionCastQueryType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastQueryType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kinds of ray and convex shape cast queries that you can make."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastQueryType"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the models."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18clearcoatRoughnessAC09ClearcoatG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","clearcoatRoughness"],"names":{"title":"clearcoatRoughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The degree to which an entity’s clear, shiny coating scatters light to"},{"text":"create soft highlights."},{"text":""},{"text":"When you enable clearcoat rendering for a material, RealityKit renders"},{"text":"the clearcoat as a separate layer just above the surface of the entity."},{"text":"You can specify a clearcoat roughness value for the clearcoat to"},{"text":"indicate how much the clearcoat scatters light that bounces off of it,"},{"text":"which softens and spreads out the highlights."},{"text":""},{"text":"You can specify a single value that applies to the entire material, or"},{"text":"you can supply a UV-mapped image texture containing different roughness"},{"text":"values for different parts of the entity."},{"text":""},{"text":"The following example sets the `clearcoatRoughness` using a single"},{"text":"value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoatRoughness = .init(floatLiteral: 0.5)"},{"text":"```"},{"text":""},{"text":"This example shows how to set the `clearcoatRoughness` using a UV-mapped"},{"text":"image:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatRoughnessResource = try?"},{"text":"TextureResource.load(named: \"entity_cc_roughness\") {"},{"text":" let ccRoughnessMap = MaterialParameters.Texture(clearcoatRoughnessResource)"},{"text":" material.clearcoat = .init(texture: ccRoughnessMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillRemoveEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9BaseColorV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","BaseColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The base color as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","mapError(_:)"],"names":{"title":"mapError(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Converts any failure from the upstream publisher into a new error."},{"text":""},{"text":"Use the ``Publisher/mapError(_:)`` operator when you need to replace one error type with another, or where a downstream operator needs the error types of its inputs to match."},{"text":""},{"text":"The following example uses a ``Publisher/tryMap(_:)`` operator to divide `1` by each element produced by a sequence publisher. When the publisher produces a `0`, the ``Publisher/tryMap(_:)`` fails with a"},{"text":"`DivisionByZeroError`. The ``Publisher/mapError(_:)`` operator converts this into a `MyGenericError`."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" struct MyGenericError: Error { var wrappedError: Error }"},{"text":""},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" let divisors: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" divisors.publisher"},{"text":" .tryMap { try myDivide(1, $0) }"},{"text":" .mapError { MyGenericError(wrappedError: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") ,"},{"text":" receiveValue: { print (\"value: \\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0.2 0.25 0.3333333333333333 0.5 1.0 completion: failure(MyGenericError(wrappedError: DivisionByZeroError()))\""},{"text":""},{"text":"- Parameter transform: A closure that takes the upstream failure as a parameter and returns a new error for the publisher to terminate with."},{"text":"- Returns: A publisher that replaces any upstream failure with a new error produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO8rawValueSuvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6reduceyqd__qd___qd__qd___7ElementQztYaKXEtYaKlF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the result of combining the elements of the asynchronous sequence"},{"text":"using the given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements of"},{"text":"an entire sequence. For example, you can use this method on an sequence of"},{"text":"numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure executes sequentially with an accumulating"},{"text":"value initialized to `initialResult` and each element of the sequence."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `4`. The `reduce(_:_:)` method sums the values"},{"text":"received from the asynchronous sequence."},{"text":""},{"text":" let sum = await Counter(howHigh: 4)"},{"text":" .reduce(0) {"},{"text":" $0 + $1"},{"text":" }"},{"text":" print(sum)"},{"text":" // Prints \"10\""},{"text":""},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" The `nextPartialResult` closure receives `initialResult` the first"},{"text":" time the closure runs."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the asynchronous sequence into a new accumulating value,"},{"text":" for use in the next call of the `nextPartialResult` closure or"},{"text":" returned to the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC10componentsAC12ComponentSetVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","components"],"names":{"title":"components","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ComponentSet","preciseIdentifier":"s:17RealityFoundation6EntityC12ComponentSetV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All the components stored on the entity."},{"text":""},{"text":"You can only store one component of a given type on an entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ComponentSet","preciseIdentifier":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO4fullyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","full"],"names":{"title":"PhotogrammetrySession.Request.Detail.full","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"full"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A high-quality object with significant resource requirements."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"full"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given predicate."},{"text":""},{"text":"Use the ``Publisher/allSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/allSatisfy(_:)`` operator tests if each an integer array publisher’s elements fall into the `targetRange`:"},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .allSatisfy { targetRange.contains($0) }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","color"],"names":{"title":"color","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SimpleMaterial","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s color."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SimpleMaterial","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove a model by name."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8blendingAC8BlendingOvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","blending"],"names":{"title":"blending","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8BlendingO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparency of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent"],"names":{"title":"AccessibilityComponent.CustomContent","navigator":[{"kind":"identifier","spelling":"CustomContent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomContent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A CustomContent struct contains the accessibility strings for the labels you apply to your accessibility content."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomContent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC22synchronizationServiceAA015SynchronizationE0_pSgvp","interfaceLanguage":"swift"},"pathComponents":["Scene","synchronizationService"],"names":{"title":"synchronizationService","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronizationService"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationService","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The service to use for network synchronization."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronizationService"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationService","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV8isCustomSbvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","isCustom"],"names":{"title":"isCustom","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isCustom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isCustom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy level object using a single value or a"},{"text":"texture."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity"},{"text":"that uses ``PhysicallyBasedMaterial`` reflects light uniformly in"},{"text":"all directions, mimicking the behavior of most real-world objects."},{"text":"Some objects, including those with many small parallel striations"},{"text":"such as vinyl records, CDs, or straight hair, reflect light more in"},{"text":"some directions than others, resulting in stretched or oblong"},{"text":"specular highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row."},{"text":"The left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-AnisotropyLevel-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"Use this initializer to create an object to set the"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` for a"},{"text":"material using either a single value for the entire material, or a"},{"text":"UV-mapped image. If you specify `texture`, RealityKit calculates the"},{"text":"anistotropy level for the entity by UV-mapping `texture` onto the"},{"text":"entity and multiplying the value of each mapped pixel by `scale`. If"},{"text":"you don’t specify `texture`, then RealityKit uses `scale` as the"},{"text":"entire entity’s anisotropy level. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The anisotropy level value for the entire material."},{"text":""},{"text":" - texture: The anisotropy level values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5groupSayAA0C10Definition_pGvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","group"],"names":{"title":"group","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations to run."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV8materialAA0C16MaterialResourceCvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","material"],"names":{"title":"material","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s material properties, like friction."},{"text":""},{"text":"By default, the body’s material resource is set to"},{"text":"``PhysicsMaterialResource/default``, which provides a modest amount of"},{"text":"friction and restitution (bounciness)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction"],"names":{"title":"AnimationTimingFunction","navigator":[{"kind":"identifier","spelling":"AnimationTimingFunction"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationTimingFunction"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The pacing of an animation transition."},{"text":""},{"text":"Use an animation timing function to control the pace of an animation"},{"text":"transition when you call one of an entity’s animated move methods, like"},{"text":"``Entity/move(to:relativeTo:duration:timingFunction:)-905k``. If you omit a"},{"text":"timing function from the call, the method uses the"},{"text":"``AnimationTimingFunction/default`` timing function."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationTimingFunction"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV5Indexa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Index"],"names":{"title":"Entity.ChildCollection.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a position in the collection."},{"text":""},{"text":"Valid indices consist of the position of every element and a"},{"text":"\"past the end\" position that's not valid for use as a subscript"},{"text":"argument."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the first element in a nonempty collection. (See `Collection.startIndex`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``BlendTreeAnimation/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions"],"names":{"title":"AccessibilityComponent.SupportedActions","navigator":[{"kind":"identifier","spelling":"SupportedActions"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SupportedActions"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A custom action that can be invoked on an entity in response to specific user cues."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SupportedActions"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV3farSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","far"],"names":{"title":"far","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum distance in meters from the camera that the camera can see."},{"text":""},{"text":"The value defaults to infinity. Always use a value greater than the"},{"text":"value of ``PerspectiveCameraComponent/near``. The renderer clips any"},{"text":"surface beyond the ``PerspectiveCameraComponent/far`` point."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV10bitangentsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3setyyxAA0D0RzlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","set(_:)"],"names":{"title":"set(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"component","declarationFragments":[{"kind":"identifier","spelling":"component"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"component"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowVAEycfc","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a directional light shadow using default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO8rawValueAISgSu_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV5scales5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Transform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scaling factor applied to the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO5valueyACSfcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","value(_:)"],"names":{"title":"BlendWeight.value(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The numerical representation of the impact an animation has on an"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO8RawValuea","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","RawValue"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureDimension.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMap(_:)"],"names":{"title":"tryMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided error-throwing closure."},{"text":""},{"text":"Combine’s ``Publisher/tryMap(_:)`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/tryMap(_:)`` to transform from one kind of element to another, and to terminate publishing when the map’s closure throws an error."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/tryMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/tryMap(_:)``’s closure fails to look up a Roman numeral, it throws an error. The ``Publisher/tryMap(_:)`` operator catches this error and terminates publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from:Int) throws -> String {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" guard let numeral = romanNumeralDict[from] else {"},{"text":" throw ParseError()"},{"text":" }"},{"text":" return numeral"},{"text":" }"},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"V IV III II I completion: failure(ParseError())\""},{"text":""},{"text":"If your closure doesn’t throw, use ``Publisher/map(_:)-99evh`` instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element. If the closure throws an error, the publisher fails with the thrown error."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO7defaultyA2EmF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","default"],"names":{"title":"CollisionComponent.Mode.default","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default collision object."},{"text":""},{"text":"When two objects of this type collide, RealityKit computes the full"},{"text":"contact details (contact points, normal vectors, penetration depths,"},{"text":"and so on) and stores them in the contact set."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23MaterialScalarParameterO","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator"],"names":{"title":"MeshPartCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV4rateAA0D7BuffersO4RateOvp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","rate"],"names":{"title":"rate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","withContiguousMutableStorageIfAvailable(_:)"],"names":{"title":"withContiguousMutableStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousMutableStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the collection's contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` provides access to the"},{"text":"contiguous mutable storage of the entire collection. If the contiguous"},{"text":"storage doesn't exist, the collection creates it. If the collection"},{"text":"doesn't support an internal representation in the form of contiguous"},{"text":"mutable storage, this method doesn't call `body` --- it immediately"},{"text":"returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Always perform any necessary cleanup in the closure, because the"},{"text":"method makes no guarantees about the state of the collection if the"},{"text":"closure throws an error. Your changes to the collection may be absent"},{"text":"from the collection after throwing the error, because the closure could"},{"text":"receive a temporary copy rather than direct access to the collection's"},{"text":"storage."},{"text":""},{"text":"- Warning: Your `body` closure must not replace `buffer`. This leads"},{"text":" to a crash in all implementations of this method within the standard"},{"text":" library."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an in-out"},{"text":" `UnsafeMutableBufferPointer` to the collection's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the collection doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousMutableStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator","Element"],"names":{"title":"MeshModelCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","physicsMotion"],"names":{"title":"physicsMotion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics motion component used by physics simulations of the model"},{"text":"entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","catch(_:)"],"names":{"title":"catch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by replacing it with another publisher."},{"text":""},{"text":"Use `catch()` to replace an error from an upstream publisher with a new publisher."},{"text":""},{"text":"In the example below, the `catch()` operator handles the `SimpleError` thrown by the upstream publisher by replacing the error with a `Just` publisher. This continues the stream by publishing a single value and completing normally."},{"text":""},{"text":" struct SimpleError: Error {}"},{"text":" let numbers = [5, 4, 3, 2, 1, 0, 9, 8, 7, 6]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast(where: {"},{"text":" guard $0 != 0 else {throw SimpleError()}"},{"text":" return true"},{"text":" })"},{"text":" .catch({ (error) in"},{"text":" Just(-1)"},{"text":" })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" // Prints: -1"},{"text":""},{"text":"Backpressure note: This publisher passes through `request` and `cancel` to the upstream. After receiving an error, the publisher sends sends any unfulfilled demand to the new `Publisher`."},{"text":"SeeAlso: `replaceError`"},{"text":"- Parameter handler: A closure that accepts the upstream failure as input and returns a publisher to replace the upstream publisher."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO7triggeryA2EmF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","trigger"],"names":{"title":"CollisionComponent.Mode.trigger","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trigger"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A trigger collision object."},{"text":""},{"text":"When a collision object of this type collides with any other object,"},{"text":"RealityKit records that contact was made, but discards other"},{"text":"details, like contact points, normal vectors, and so on. This makes"},{"text":"a trigger object more performant when all you need is a Boolean"},{"text":"indicator that contact occurred."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trigger"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV4mass7inertia08centerOfD0ACSf_s5SIMD3VySfGAI8position_So10simd_quatfa11orientationttcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(mass:inertia:centerOfMass:)"],"names":{"title":"init(mass:inertia:centerOfMass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"))"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a mass properties instance with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":"- mass: The mass in kilograms. If you use a mass of `0` or infinity, the"},{"text":"simulation treats the object as ``PhysicsBodyMode/kinematic``. That is,"},{"text":"the object doesn’t respond to forces."},{"text":""},{"text":"- inertia: The inertia in kilograms per square meter. The vector"},{"text":"contains the diagonal elements of the diagonalized inertia matrix."},{"text":""},{"text":"- centerOfMass: The center of mass and the orientation of the principal"},{"text":"axes, defined in the local space of the rigid body."},{"text":""},{"text":" The `position` defines the center of mass with a default value of `(0, 0, 0)`, which"},{"text":"means that the local origin of the model is the center of mass."},{"text":""},{"text":" The `orientation` defines the principal axes, such the inertia matrix is a diagonal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 0.1, y: 0.1, z: 0.1), "},{"kind":"externalParam","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") = (SIMD3(x: 0, y: 0, z: 0), simd_quatf(ix: 0, iy: 0, iz: 0, r: 1)))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","share()"],"names":{"title":"share()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Shares the output of an upstream publisher with multiple subscribers."},{"text":""},{"text":"The publisher returned by this operator supports multiple subscribers, all of whom receive unchanged elements and completion states from the upstream publisher."},{"text":""},{"text":" - Tip: ``Publishers/Share`` is effectively a combination of the ``Publishers/Multicast`` and ``PassthroughSubject`` publishers, with an implicit ``ConnectablePublisher/autoconnect()``."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator. It uses a ``Publisher/share()`` operator to share the same random number to each of two subscribers. This example uses a ``Publisher/delay(for:tolerance:scheduler:options:)`` operator only to prevent the first subscriber from exhausting the sequence publisher immediately; an asynchronous publisher wouldn’t need this."},{"text":""},{"text":" let pub = (1...3).publisher"},{"text":" .delay(for: 1, scheduler: DispatchQueue.main)"},{"text":" .map( { _ in return Int.random(in: 0...100) } )"},{"text":" .print(\"Random\")"},{"text":" .share()"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: (20)"},{"text":" // Stream 1 received: 20"},{"text":" // Stream 2 received: 20"},{"text":" // Random: receive value: (85)"},{"text":" // Stream 1 received: 85"},{"text":" // Stream 2 received: 85"},{"text":" // Random: receive value: (98)"},{"text":" // Stream 1 received: 98"},{"text":" // Stream 2 received: 98"},{"text":""},{"text":""},{"text":"Without the ``Publisher/share()`` operator, stream 1 receives three random values, followed by stream 2 receiving three different random values."},{"text":""},{"text":"Also note that ``Publishers/Share`` is a class rather than a structure like most other publishers. This means you can use this operator to create a publisher instance that uses reference semantics."},{"text":"- Returns: A class instance that shares elements received from its upstream to multiple subscribers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two physics mass properties are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first set of physics mass properties to compare."},{"text":""},{"text":" - rhs: The second set of physics mass properties to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two physics mass"},{"text":"properties are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional image texture that defines the color of light emission."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV11faceCullingAA0D14ParameterTypesV04FaceF0Ovp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","faceCulling"],"names":{"title":"faceCulling","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV11FaceCullinga"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A process in which the system specifies polygons to remove before"},{"text":"rendering a scene."},{"text":""},{"text":"To improve performance, RealityKit culls polygons, or _faces_, that it"},{"text":"determines won’t be visible. Discarding faces that aren’t part of the"},{"text":"final render elimininates the need to do any calculations for those"},{"text":"faces."},{"text":""},{"text":"RealityKit recognizes when a face aims toward the camera (a _front"},{"text":"face_) or away from the camera (a _back face_). This value controls the"},{"text":"type of faces RealityKit culls."},{"text":""},{"text":"The default for this value is"},{"text":"``MaterialParameterTypes/FaceCulling/back``, which means RealityKit"},{"text":"removes faces that point away from the camera. Because back faces point"},{"text":"away from the camera and are usually obscured by front-facing polygons,"},{"text":"the user typically won’t see them. As a result, in most cases, the"},{"text":"default setting is desirable because it culls polygons that don’t"},{"text":"contribute to the rendered scene."},{"text":""},{"text":"You can change the culling behavior to cull front faces instead or to"},{"text":"turn off face culling altogether, but be aware that turning off face"},{"text":"culling results in less efficient rendering and may negatively impact"},{"text":"your app’s frame rate."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV11FaceCullinga"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3setyySayAA0D0_pGF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","set(_:)"],"names":{"title":"set(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds all the component in the input array to the set."},{"text":""},{"text":"If the input array contains more than one component of a given type,"},{"text":"only the element with the highest index goes into the set, because"},{"text":"the set can hold only one component of a given type."},{"text":""},{"text":"- Parameters:"},{"text":" - components: An array of components to add."}]},"functionSignature":{"parameters":[{"name":"components","declarationFragments":[{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"components"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryAllSatisfy(_:)"],"names":{"title":"tryAllSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given error-throwing predicate."},{"text":""},{"text":"Use the ``Publisher/tryAllSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria in an error-throwing predicate you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes. If the predicate throws an error, the publisher fails and passes the error to its downstream subscriber."},{"text":""},{"text":"In the example below, an error-throwing predicate tests if each of an integer array publisher’s elements fall into the `targetRange`; the predicate throws an error if an element is zero and terminates the stream."},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 10, 5, 0]"},{"text":""},{"text":" numbers.publisher"},{"text":" .tryAllSatisfy { anInt in"},{"text":" guard anInt != 0 else { throw RangeError() }"},{"text":" return targetRange.contains(anInt)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(RangeError())\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete. The closure may throw an error, in which case the publisher cancels the upstream publisher and fails with the thrown error."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent"],"names":{"title":"PhysicsBodyComponent","navigator":[{"kind":"identifier","spelling":"PhysicsBodyComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines an entity’s behavior in physics body simulations."},{"text":""},{"text":"To participate in a scene's physics simulation, an entity must have a ``RealityKit/PhysicsBodyComponent``"},{"text":"and a ``RealityKit/CollisionComponent``. If you need to move an entity that participates"},{"text":"in the physics system, it also needs a ``RealityKit/PhysicsMotionComponent``."},{"text":""},{"text":"Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which"},{"text":"allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body,"},{"text":"following basic rules of Newtonian mechanics."},{"text":""},{"text":"- Note: Model entities have a physics body component by default."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO3rawyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","raw"],"names":{"title":"PhotogrammetrySession.Request.Detail.raw","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The raw-created object at the highest possible resolution."},{"text":""},{"text":"Use this option only for creating high-end production assets.. This will generate unprocessed"},{"text":"assets that allow professional artists using physically-based rendering ray-tracers to"},{"text":"achieve maximum quality results. The output of a raw request is unsuitable for real-time"},{"text":"use."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6prefix5whileAA24AsyncPrefixWhileSequenceVyxGSb7ElementQzYac_tKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AsyncPrefixWhileSequence","preciseIdentifier":"s:12_Concurrency24AsyncPrefixWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns an asynchronous sequence, containing the initial, consecutive"},{"text":"elements of the base sequence that satisfy the given predicate."},{"text":""},{"text":"Use `prefix(while:)` to produce values while elements from the base"},{"text":"sequence meet a condition you specify. The modified sequence ends when"},{"text":"the predicate closure returns `false`."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `prefix(while:)` method causes the modified"},{"text":"sequence to pass along values so long as they aren’t divisible by `2` and"},{"text":"`3`. Upon reaching `6`, the sequence ends:"},{"text":""},{"text":" let stream = Counter(howHigh: 10)"},{"text":" .prefix { $0 % 2 != 0 || $0 % 3 != 0 }"},{"text":" for try await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"1 2 3 4 5 \""},{"text":" "},{"text":"- Parameter predicate: A closure that takes an element as a parameter and"},{"text":" returns a Boolean value indicating whether the element should be"},{"text":" included in the modified sequence."},{"text":"- Returns: An asynchronous sequence of the initial, consecutive"},{"text":" elements that satisfy `predicate`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncPrefixWhileSequence","preciseIdentifier":"s:12_Concurrency24AsyncPrefixWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AsyncPrefixWhileSequence","preciseIdentifier":"s:12_Concurrency24AsyncPrefixWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC6repeat8durationACSd_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","repeat(duration:)"],"names":{"title":"repeat(duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation for the specified amount of time."},{"text":""},{"text":"- Parameters:"},{"text":"- duration: The amount of time that the animation should play. If you"},{"text":"omit this parameter, the animation loops indefinitely."},{"text":""},{"text":"- Returns: A new animation resource that you play on an entity by"},{"text":"calling the entity’s"},{"text":"``Entity/playAnimation(_:transitionDuration:startsPaused:)`` method."}]},"functionSignature":{"parameters":[{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = .infinity) -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the value of a key path."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:)-6sm0a`` operator uses the Swift key path syntax to access the `die` member of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only the value of this `Int`, not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die:Int.random(in:1...6)))"},{"text":" .map(\\.die)"},{"text":" .sink {"},{"text":" print (\"Rolled: \\($0)\")"},{"text":" }"},{"text":" // Prints \"Rolled: 3\" (or some other random value)."},{"text":""},{"text":"- Parameter keyPath: The key path of a property on `Output`."},{"text":"- Returns: A publisher that publishes the value of the key path."}]},"functionSignature":{"parameters":[{"name":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV18textureCoordinatesAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent"],"names":{"title":"AnchoringComponent","navigator":[{"kind":"identifier","spelling":"AnchoringComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoringComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A description of how virtual content can be anchored to the real world."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoringComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer"],"names":{"title":"MeshBuffer","navigator":[{"kind":"identifier","spelling":"MeshBuffer"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mesh buffer containing elements of any type."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffer"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent"],"names":{"title":"CollisionComponent","navigator":[{"kind":"identifier","spelling":"CollisionComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that gives an entity the ability to collide with other entities"},{"text":"that also have collision components."},{"text":""},{"text":"This component holds the entity's data related to participating in the scene's"},{"text":"physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts."},{"text":"Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a"},{"text":"*trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of"},{"text":"entities it collides. If configured with a rigid body ``RealityKit/PhysicsBodyComponent/mode``"},{"text":"of ``RealityKit/PhysicsBodyMode/dynamic``, it's own velocity and direction can be affected"},{"text":"by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but"},{"text":"can trigger code or Reality Composer behaviors when a rigid body enity overlaps it."},{"text":""},{"text":"Turn an entity into a trigger by adding a ``RealityKit/CollisionComponent`` to it and setting its"},{"text":"``RealityKit/CollisionComponent/mode-swift.property`` to"},{"text":"``RealityKit/CollisionComponent/Mode-swift.enum/trigger``."},{"text":""},{"text":"Turn an entity into a _rigd body_ by adding a ``RealityKit/PhysicsBodyComponent`` to the"},{"text":"entity in addition to a ``RealityKit/CollisionComponent``. The ``PhysicsBodyComponent``"},{"text":"defines the physical properties of the entity, such as its mass and collision shape."},{"text":""},{"text":"The `filter` property defines the entity's collision filter, which determines which other objects the entity"},{"text":"collides with. For more information, see ."},{"text":""},{"text":"- Note: If an entity has a ``RealityKit/PhysicsBodyComponent``, the collision component's"},{"text":"mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling"],"names":{"title":"MaterialParameterTypes.FaceCulling","navigator":[{"kind":"identifier","spelling":"FaceCulling"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines how the system removes polygons before rendering"},{"text":"a scene."},{"text":""},{"text":"To improve performance, RealityKit culls polygons, or faces, that it"},{"text":"determines won’t be visible. Discarding faces that aren’t part of the"},{"text":"final render elimininates the need to do any calculations for those"},{"text":"faces. Use this object to specify what kind of polygons RealityKit"},{"text":"culls."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision"],"names":{"title":"CharacterControllerComponent.Collision","navigator":[{"kind":"identifier","spelling":"Collision"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Collision"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container that holds collision state for the character controller."},{"text":""},{"text":"All coordinates are in _physics space_, the coordinate system of the physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Collision"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from six other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers; it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubE, pubG)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 2 50 100 -2 33 33 54\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV2idAA0D7BuffersO10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV5shape4massAcA13ShapeResourceC_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(shape:mass:)"],"names":{"title":"init(shape:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the mass properties for a solid shape with the specified mass."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape for which to calculate the mass frame."},{"text":""},{"text":" - mass: The mass of the object in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3hasySbAA0D0_pXpF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","has(_:)"],"names":{"title":"has(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean that indicates whether the set contains a"},{"text":"component of the given type."},{"text":""},{"text":"- Parameters:"},{"text":" - componentType: A component type, like `ModelComponent.Self`"},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the set contains a component"},{"text":"of the given type."}]},"functionSignature":{"parameters":[{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Element"],"names":{"title":"MeshPartCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","partition(by:)"],"names":{"title":"partition(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Reorders the elements of the collection such that all the elements"},{"text":"that match the given predicate are after all the elements that don't"},{"text":"match."},{"text":""},{"text":"After partitioning a collection, there is a pivot index `p` where"},{"text":"no element before `p` satisfies the `belongsInSecondPartition`"},{"text":"predicate and every element at or after `p` satisfies"},{"text":"`belongsInSecondPartition`. This operation isn't guaranteed to be"},{"text":"stable, so the relative ordering of elements within the partitions might"},{"text":"change."},{"text":""},{"text":"In the following example, an array of numbers is partitioned by a"},{"text":"predicate that matches elements greater than 30."},{"text":""},{"text":" var numbers = [30, 40, 20, 30, 30, 60, 10]"},{"text":" let p = numbers.partition(by: { $0 > 30 })"},{"text":" // p == 5"},{"text":" // numbers == [30, 10, 20, 30, 30, 60, 40]"},{"text":""},{"text":"The `numbers` array is now arranged in two partitions. The first"},{"text":"partition, `numbers[.. "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"belongsInSecondPartition"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags"],"names":{"title":"CharacterControllerComponent.CollisionFlags","navigator":[{"kind":"identifier","spelling":"CollisionFlags"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFlags"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option set that specifies which parts of the character capsule have collided with other objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFlags"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/map(_:)-99evh`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/map(_:)-99evh`` to transform from one kind of element to another."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/map(_:)-99evh`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/map(_:)-99evh``’s closure fails to look up a Roman numeral, it returns the string `(unknown)`."},{"text":""},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" cancellable = numbers.publisher"},{"text":" .map { romanNumeralDict[$0] ?? \"(unknown)\" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"V IV III II I (unknown)\""},{"text":""},{"text":"If your closure can throw an error, use Combine’s ``Publisher/tryMap(_:)`` operator instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO6customyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","custom"],"names":{"title":"PhotogrammetrySession.Request.Detail.custom","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Specifies that the specific ``CustomDetailSpecification`` set in the ``PhotogrammetrySession/Configuration/customDetailSpecification-swift.property``"},{"text":"should be used. The `CustomDetailSpecification` will be applied to every `.custom` `Detail` request"},{"text":"in this session. It has no effect on the other levels."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10bindTargetAA04BindH0Ovp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform of an entity relative to its parent."},{"text":""},{"text":"For an ``AnchorEntity`` instance, the transform is relative to the AR"},{"text":"anchor."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV8tangentsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","partition(by:)"],"names":{"title":"partition(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Reorders the elements of the collection such that all the elements"},{"text":"that match the given predicate are after all the elements that don't"},{"text":"match."},{"text":""},{"text":"After partitioning a collection, there is a pivot index `p` where"},{"text":"no element before `p` satisfies the `belongsInSecondPartition`"},{"text":"predicate and every element at or after `p` satisfies"},{"text":"`belongsInSecondPartition`. This operation isn't guaranteed to be"},{"text":"stable, so the relative ordering of elements within the partitions might"},{"text":"change."},{"text":""},{"text":"In the following example, an array of numbers is partitioned by a"},{"text":"predicate that matches elements greater than 30."},{"text":""},{"text":" var numbers = [30, 40, 20, 30, 30, 60, 10]"},{"text":" let p = numbers.partition(by: { $0 > 30 })"},{"text":" // p == 5"},{"text":" // numbers == [30, 10, 20, 30, 30, 60, 40]"},{"text":""},{"text":"The `numbers` array is now arranged in two partitions. The first"},{"text":"partition, `numbers[.. "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"belongsInSecondPartition"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part"],"names":{"title":"MeshResource.Part","navigator":[{"kind":"identifier","spelling":"Part"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A part of a model consisting of a single material."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC20isEnabledInHierarchySbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isEnabledInHierarchy"],"names":{"title":"isEnabledInHierarchy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabledInHierarchy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity and all of its ancestors are"},{"text":"enabled."},{"text":""},{"text":"The value of this property is `true` if the entity and all of its"},{"text":"ancestors are enabled, regardless of anchor state."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabledInHierarchy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV19isTranslationLockedSb1x_Sb1ySb1ztvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isTranslationLocked"],"names":{"title":"isTranslationLocked","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A tuple of Boolean values that you use to lock the position of the"},{"text":"physics body along any of the three axes."},{"text":""},{"text":"You can restrict movement of the body along one or more axes by setting"},{"text":"the corresponding item in the tuple to `true`. For example, if you set"},{"text":"the `x` and the `z` items in the tuple to `true`, then the body can move"},{"text":"only along the y-axis. By default, movement isn’t restricted."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the group."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV5countSivp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``BlendTreeAnimation/fillMode`` other than ``AnimationFillMode/none``,"},{"text":"the animation fills the vacant area created by the offset according to"},{"text":"the characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV6removeyyAA0D0_pXpF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the component of the specified type from the collection."}]},"functionSignature":{"parameters":[{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVyACSicip","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses the element at the specified position. (See `Collection.subscript`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationVAGycfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV15maximumDistance9depthBiasAESf_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","init(maximumDistance:depthBias:)"],"names":{"title":"init(maximumDistance:depthBias:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maximumDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depthBias"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a directional light shadow with a maximum distance and depth"},{"text":"bias."},{"text":""},{"text":"- Parameters:"},{"text":" - maximumDistance: The maximum distance for the shadow."},{"text":""},{"text":" - depthBias: The depth bias for the shadow."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maximumDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 5.0, "},{"kind":"externalParam","spelling":"depthBias"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV8identityACvpZ","interfaceLanguage":"swift"},"pathComponents":["Transform","identity"],"names":{"title":"identity","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identity transform."},{"text":""},{"text":"The identity transform is defined as `scale = (1, 1, 1)`, `rotation ="},{"text":"(0, 0, 0, 1)`, and `translation = (0, 0, 0)`."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO5worldyAESo13simd_float4x4a_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","world(transform:)"],"names":{"title":"AnchoringComponent.Target.world(transform:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"world"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A fixed position in the scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"world"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV5countSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of components in this collection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO6camerayA2EmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","camera"],"names":{"title":"AnchoringComponent.Target.camera","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV6Outputa","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","Output"],"names":{"title":"Scene.Publisher.Output","navigator":[{"kind":"identifier","spelling":"Output"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of values published by this publisher."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"E"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation10PointLightC","interfaceLanguage":"swift"},"pathComponents":["PointLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A point light component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO9Positionsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Positions"],"names":{"title":"MeshBuffers.Positions","navigator":[{"kind":"identifier","spelling":"Positions"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Positions"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Positions"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO7Normalsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Normals"],"names":{"title":"MeshBuffers.Normals","navigator":[{"kind":"identifier","spelling":"Normals"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normals"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normals"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6normalAC6NormalVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV6NormalV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A texture map that stores fine surface details for the entity."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures fine"},{"text":"surface details for a model by using a texture instead of increasing the"},{"text":"number of polygons in the model. It works by storing _surface normals_,"},{"text":"which are vectors perpendicular to the surface of the model, from a much"},{"text":"higher-resolution version of the same 3D object. A normal map stores"},{"text":"each vector in the image by storing the vectors’ `X`, `Y`, and `Z`"},{"text":"values as the `R`, `G`, and `B` components of the corresponding pixel in"},{"text":"the UV-mapped image."},{"text":""},{"text":"For custom materials, ``CustomMaterial/normal-swift.property`` is only"},{"text":"used when ``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its surface"},{"text":"shader calls `params.surface().set_normal(). T`he normal map texture is"},{"text":"still available to your surface shader function when using"},{"text":"``CustomMaterial/LightingModel-swift.enum/unlit``."},{"text":""},{"text":"The following code loads a normal map texture and uses it to set this"},{"text":"property:"},{"text":""},{"text":"```swift"},{"text":"if let normalResource = try? TextureResource.load(named:\"entity_normals\") {"},{"text":" let normalMap = MaterialParameters.Texture(normalResource)"},{"text":" material.normal = .init(texture:normalMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"The following Metal code shows how to sample the normal map texture in a"},{"text":"surface shader and use it to set the fragment’s surface normal:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the normal map to get the surface normal for this fragment."},{"text":" auto tex = params.textures();"},{"text":" float3 color = (float3)tex.normal().sample(textureSampler, uv).rgb;"},{"text":""},{"text":" // Set the fragment's surface normal using the sampled value."},{"text":" params.surface().set_normal(color);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureFormat"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureFormat","navigator":[{"kind":"identifier","spelling":"TextureFormat"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureFormat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The output format to use for all textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureFormat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","retry(_:)"],"names":{"title":"retry(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Attempts to recreate a failed subscription with the upstream publisher up to the number of times you specify."},{"text":""},{"text":"Use ``Publisher/retry(_:)`` to try a connecting to an upstream publisher after a failed connection attempt."},{"text":""},{"text":"In the example below, a attempts to connect to a remote URL. If the connection attempt succeeds, it publishes the remote service’s HTML to the downstream publisher and completes normally. Otherwise, the retry operator attempts to reestablish the connection. If after three attempts the publisher still can’t connect to the remote URL, the ``Publisher/catch(_:)`` operator replaces the error with a new publisher that publishes a “connection timed out” HTML page. After the downstream subscriber receives the timed out message, the stream completes normally."},{"text":""},{"text":" struct WebSiteData: Codable {"},{"text":" var rawHTML: String"},{"text":" }"},{"text":""},{"text":" let myURL = URL(string: \"https://www.example.com\")"},{"text":""},{"text":" cancellable = URLSession.shared.dataTaskPublisher(for: myURL!)"},{"text":" .retry(3)"},{"text":" .map({ (page) -> WebSiteData in"},{"text":" return WebSiteData(rawHTML: String(decoding: page.data, as: UTF8.self))"},{"text":" })"},{"text":" .catch { error in"},{"text":" return Just(WebSiteData(rawHTML: \"Unable to load page - timed out.\"))"},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: The HTML content from the remote URL upon a successful connection,"},{"text":" // or returns \"Unable to load page - timed out.\" if the number of retries exceeds the specified value."},{"text":""},{"text":"After exceeding the specified number of retries, the publisher passes the failure to the downstream receiver."},{"text":"- Parameter retries: The number of times to attempt to recreate the subscription."},{"text":"- Returns: A publisher that attempts to recreate its subscription to a failed upstream publisher."}]},"functionSignature":{"parameters":[{"name":"retries","declarationFragments":[{"kind":"identifier","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","ArrayLiteralElement"],"names":{"title":"MeshModelCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all components from the collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV7Failurea","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","Failure"],"names":{"title":"Scene.Publisher.Failure","navigator":[{"kind":"identifier","spelling":"Failure"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of errors this publisher might publish."},{"text":""},{"text":"Use `Never` if this `Publisher` does not publish errors."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from five other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 2 50 100 -2 33 33\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","measureInterval(using:options:)"],"names":{"title":"measureInterval(using:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Measures and emits the time interval between events received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/measureInterval(using:options:)`` to measure the time between events delivered from an upstream publisher."},{"text":""},{"text":"In the example below, a 1-second is used as the data source for an event publisher; the ``Publisher/measureInterval(using:options:)`` operator reports the elapsed time between the reception of events on the main run loop:"},{"text":""},{"text":" cancellable = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .measureInterval(using: RunLoop.main)"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Stride(magnitude: 1.0013610124588013)"},{"text":" // Stride(magnitude: 0.9992760419845581)"},{"text":""},{"text":"The output type of the returned publisher is the time interval of the provided scheduler."},{"text":""},{"text":"This operator uses the provided scheduler’s ``Scheduler/now`` property to measure intervals between events."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: A scheduler to use for tracking the timing of events."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher that emits elements representing the time interval between the elements it receives."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0cD7TextureVyAeA0E8ResourceCcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","CustomMaterialTexture","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom texture from a texture resource."},{"text":""},{"text":"- Parameters:"},{"text":" - resource: The texture resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp::SYNTHESIZED::s:17RealityFoundation16DirectionalLightC","interfaceLanguage":"swift"},"pathComponents":["DirectionalLight","shadow"],"names":{"title":"shadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shadow settings for a directional light."},{"text":""},{"text":"Set this value to `nil` to remove shadows."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8specularAC8SpecularVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","specular"],"names":{"title":"specular","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The specular highlight applied to the entity."},{"text":""},{"text":"In Physically Based Rendering (PBR), specular highlights primarily come"},{"text":"from the object’s ``PhysicallyBasedMaterial/roughness-swift.property``"},{"text":"value. RealityKit automatically renders materials that have a low"},{"text":"roughness value with specular highlights based on the environment"},{"text":"lighting and the shape of the entity. As a result, for most materials,"},{"text":"you won’t need to specify a `specular` value when using"},{"text":"``PhysicallyBasedMaterial``."},{"text":""},{"text":"For some types of dielectric (nonmetallic) materials, like facet-cut"},{"text":"glass or gems, PBR algorithms don’t create bright enough specular"},{"text":"highlights using just roughness. To accurately simulate those types of"},{"text":"materials, use the ``PhysicallyBasedMaterial/specular-swift.property``"},{"text":"property to specify additional specular for the entity."},{"text":""},{"text":"The following example demonstrates how to specify specular using a"},{"text":"single value for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.specular = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify specular using a UV-mapped image"},{"text":"texture:"},{"text":""},{"text":"```swift"},{"text":"if let specularResource = try? TextureResource.load(named:\"entity_specular\") {"},{"text":" let specularMap = MaterialParameters.Texture(specularResource)"},{"text":" material.specular = .init(texture: specularMap)"},{"text":"}"},{"text":" ```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup"],"names":{"title":"AnimationGroup","navigator":[{"kind":"identifier","spelling":"AnimationGroup"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationGroup"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations that play simultaneously."},{"text":""},{"text":"This structure concurrently starts the animations it contains. Use a group"},{"text":"to:"},{"text":""},{"text":"- Animate more than one property at once."},{"text":"- Animate the same property at different times."},{"text":""},{"text":"## Animate Multiple Properties Concurrently"},{"text":""},{"text":"For each animatable property your animation needs to control, create a group"},{"text":"and add an animation to the array argument of the initializer. The following"},{"text":"listing begins coding an animation group that colorizes 3D numbers that"},{"text":"count down over a 4-second duration."},{"text":""},{"text":"```swift"},{"text":"let frames: [Float] = [3.0, 2.0, 1.0, 0.0]"},{"text":"let duration = TimeInterval(frames.count)"},{"text":"let anim1 = FromToByAnimation(name: \"colorize\", from: 0.0, to: 1.0,"},{"text":" duration: duration, bindTarget: .parameter(\"foo\"))"},{"text":"let anim2 = SampledAnimation(frames: frames, name: \"count down\","},{"text":" frameInterval: duration / frames.count, bindTarget: .parameter(\"bar\"))"},{"text":"let group = AnimationGroup(group: [anim1, anim2], name: \"group\")"},{"text":"```"},{"text":""},{"text":"## Create a Sequence for the Same Animation"},{"text":""},{"text":"You can play the same animation at different times by grouping multiple"},{"text":"``AnimationDefinition`` objects that refer to the same animated property. To"},{"text":"disperse their playback at runtime, give each definition a unique"},{"text":"``AnimationDefinition/delay``."},{"text":""},{"text":"- Important: The framework processes animations with a lower"},{"text":"``AnimationGroup/blendLayer`` first, and if the"},{"text":"``AnimationGroup/blendLayer`` matches, in the order in which they appear in"},{"text":"the groups array. If two animations on the same property overlap durations"},{"text":"at runtime, the one that the framework processes second overwrites the"},{"text":"first."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationGroup"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8Tangentsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Tangents"],"names":{"title":"MeshBuffers.Tangents","navigator":[{"kind":"identifier","spelling":"Tangents"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Tangents"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Tangents"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","debounce(for:scheduler:options:)"],"names":{"title":"debounce(for:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements only after a specified time interval elapses between events."},{"text":""},{"text":"Use the ``Publisher/debounce(for:scheduler:options:)`` operator to control the number of values and time between delivery of values from the upstream publisher. This operator is useful to process bursty or high-volume event streams where you need to reduce the number of values delivered to the downstream to a rate you specify."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes elements on a schedule defined by the `bounces` array. The array is composed of tuples representing a value sent by the ``PassthroughSubject``, and a ranging from one-quarter second up to 2 seconds that drives a delivery timer. As the queue builds, elements arriving faster than one-half second `debounceInterval` are discarded, while elements arriving at a rate slower than `debounceInterval` are passed through to the ``Publisher/sink(receiveValue:)`` operator."},{"text":""},{"text":" let bounces:[(Int,TimeInterval)] = ["},{"text":" (0, 0),"},{"text":" (1, 0.25), // 0.25s interval since last index"},{"text":" (2, 1), // 0.75s interval since last index"},{"text":" (3, 1.25), // 0.25s interval since last index"},{"text":" (4, 1.5), // 0.25s interval since last index"},{"text":" (5, 2) // 0.5s interval since last index"},{"text":" ]"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" cancellable = subject"},{"text":" .debounce(for: .seconds(0.5), scheduler: RunLoop.main)"},{"text":" .sink { index in"},{"text":" print (\"Received index \\(index)\")"},{"text":" }"},{"text":""},{"text":" for bounce in bounces {"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + bounce.1) {"},{"text":" subject.send(bounce.0)"},{"text":" }"},{"text":" }"},{"text":""},{"text":" // Prints:"},{"text":" // Received index 1"},{"text":" // Received index 4"},{"text":" // Received index 5"},{"text":""},{"text":" // Here is the event flow shown from the perspective of time, showing value delivery through the `debounce()` operator:"},{"text":""},{"text":" // Time 0: Send index 0."},{"text":" // Time 0.25: Send index 1. Index 0 was waiting and is discarded."},{"text":" // Time 0.75: Debounce period ends, publish index 1."},{"text":" // Time 1: Send index 2."},{"text":" // Time 1.25: Send index 3. Index 2 was waiting and is discarded."},{"text":" // Time 1.5: Send index 4. Index 3 was waiting and is discarded."},{"text":" // Time 2: Debounce period ends, publish index 4. Also, send index 5."},{"text":" // Time 2.5: Debounce period ends, publish index 5."},{"text":""},{"text":"- Parameters:"},{"text":" - dueTime: The time the publisher should wait before publishing an element."},{"text":" - scheduler: The scheduler on which this publisher delivers elements"},{"text":" - options: Scheduler options that customize this publisher’s delivery of elements."},{"text":"- Returns: A publisher that publishes events only after a specified time elapses."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"dueTime","declarationFragments":[{"kind":"identifier","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV02isC7ElementSbvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","isAccessibilityElement"],"names":{"title":"isAccessibilityElement","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","TextureCoordinates"],"names":{"title":"MeshBuffers.TextureCoordinates","navigator":[{"kind":"identifier","spelling":"TextureCoordinates"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinates"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinates"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anisotropy angle values specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isScaleAnimated"],"names":{"title":"isScaleAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether that animation interpolates"},{"text":"changes to the target’s size."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE13moveCharacter2by9deltaTime10relativeTo16collisionHandlerAA0E19ControllerComponentV14CollisionFlagsVs5SIMD3VySfG_SfACSgyAJ0O0VcSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","moveCharacter(by:deltaTime:relativeTo:collisionHandler:)"],"names":{"title":"moveCharacter(by:deltaTime:relativeTo:collisionHandler:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves the character along a specified vector over a period of time."},{"text":""},{"text":"Moves the character in the collision world, with continuous collision checking and response."},{"text":"This will create character collision events."},{"text":"Entity.transform will be updated on the next engine tick."},{"text":"Use `CharacterControllerStateComponent` to get additional information about the state of the character after the move."},{"text":""},{"text":"- Parameters:"},{"text":" - moveDelta: Delta vector to attempt to move capsule in collision world."},{"text":" - deltaTime: Time between last frame and current."},{"text":" - referenceEntity: Reference entity that defines the frame of reference of the move delta."},{"text":" Can be `nil`, which is equivalent to \"world space\"."},{"text":" - collisionHandler: Optional callback when an entity was hit. One call per each hit entity."},{"text":"- Returns: Collision flags that indicate the location of the collision."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"moveDelta","declarationFragments":[{"kind":"identifier","spelling":"moveDelta"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"deltaTime","declarationFragments":[{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"collisionHandler","declarationFragments":[{"kind":"identifier","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"moveDelta"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV8rotationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["Transform","rotation"],"names":{"title":"rotation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity specified as a unit quaternion."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV7inertias5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","inertia"],"names":{"title":"inertia","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The inertia in kilograms per square meter."},{"text":""},{"text":"The vector contains the diagonal elements of the diagonalized inertia"},{"text":"matrix."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isRotationAnimated"],"names":{"title":"isRotationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation interpolates"},{"text":"rotational changes."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"],"names":{"title":"breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal when a provided closure needs to stop the process in the debugger."},{"text":""},{"text":"Use ``Publisher/breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)`` to examine one or more stages of the subscribe/publish/completion process and stop in the debugger, based on conditions you specify. When any of the provided closures returns `true`, this operator raises the `SIGTRAP` signal to stop the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes strings to a breakpoint republisher. When the breakpoint receives the string “`DEBUGGER`”, it returns `true`, which stops the app in the debugger."},{"text":""},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .breakpoint("},{"text":" receiveOutput: { value in return value == \"DEBUGGER\" }"},{"text":" )"},{"text":" .sink { print(\"\\(String(describing: $0))\" , terminator: \" \") }"},{"text":""},{"text":" publisher.send(\"DEBUGGER\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: A closure that executes when the publisher receives a subscription. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveOutput: A closure that executes when the publisher receives a value. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveCompletion: A closure that executes when the publisher receives a completion. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":"- Returns: A publisher that raises a debugger signal when one of the provided closures returns `true`."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent"],"names":{"title":"CharacterControllerComponent","navigator":[{"kind":"identifier","spelling":"CharacterControllerComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that manages character movement."},{"text":""},{"text":"To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent``"},{"text":"to your entity to make it a character entity. Character entities can *move* to new locations in space,"},{"text":"which happens over a period of time based on how you've configured the character controller component,"},{"text":"and also *teleport*, which moves the charcter to the new location instantaneously."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE17teleportCharacter2to10relativeToys5SIMD3VySfG_ACSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","teleportCharacter(to:relativeTo:)"],"names":{"title":"teleportCharacter(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"teleportCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves the character instantly to a new position."},{"text":""},{"text":"This method moves the character to a location specified relative to another entity. Pass `nil` in"},{"text":"`relativeTo` to specify a position in world coordinates. A teleport move happens instantly."},{"text":"RealityKit does no collision checking when it moves the entity."},{"text":""},{"text":"- Parameters:"},{"text":" - newPosition:The position, relative to `relativeTo` to move the character."},{"text":" - relativeTo: Reference Entity which defines the frame of reference of the new position."},{"text":" Can be `nil`, which is equivalent to \"world space\"."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"teleportCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","parent"],"names":{"title":"parent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parent entity."},{"text":""},{"text":"An entity has at most one parent entity. If an entity isn’t part of a"},{"text":"hierarchy, or if it is a root entity, the ``HasHierarchy/parent``"},{"text":"property is `nil`."},{"text":""},{"text":"Use the ``HasHierarchy/setParent(_:preservingWorldTransform:)`` method"},{"text":"to change an entity’s parent. Use the"},{"text":"``HasHierarchy/removeFromParent(preservingWorldTransform:)`` method to"},{"text":"remove the parent. These methods automatically update the corresponding"},{"text":"``HasHierarchy/children`` collections of the new and old parent."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO6custom_4typeAC8SemanticVy_xGSS_xmtlFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","custom(_:type:)"],"names":{"title":"custom(_:type:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","Element"],"names":{"title":"AnimationFillMode.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV9depthBiasSfvp","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","depthBias"],"names":{"title":"depthBias","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthBias"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The depth bias for the shadow."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthBias"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0cD7TextureVyAeA0D10ParametersV0E0Vcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","CustomMaterialTexture","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom texture by copying values from a material"},{"text":"parameters texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The material parameters texture object."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount that an animation impacts the entity it applies to."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13textureFormatAG07TextureJ0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","textureFormat"],"names":{"title":"textureFormat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureFormat","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The data type of the texture map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureFormat","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scale of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s scale relative to its parent. To get the"},{"text":"actual scale of the entity in the scene, use"},{"text":"``HasTransform/scale(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/scale`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV8fillModeAA0f4FillH0Vvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV6ShadowVAEycfc","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new spot light shadow object."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture"],"names":{"title":"MaterialParameters.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","throttle(for:scheduler:latest:)"],"names":{"title":"throttle(for:scheduler:latest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes either the most-recent or first element published by the upstream publisher in the specified time interval."},{"text":""},{"text":"Use ``Publisher/throttle(for:scheduler:latest:)`` to selectively republish elements from an upstream publisher during an interval you specify. Other elements received from the upstream in the throttling interval aren’t republished."},{"text":""},{"text":"In the example below, a produces elements on one-second intervals; the ``Publisher/throttle(for:scheduler:latest:)`` operator delivers the first event, then republishes only the latest event in the following ten second intervals:"},{"text":""},{"text":" cancellable = Timer.publish(every: 3.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .print(\"\\(Date().description)\")"},{"text":" .throttle(for: 10.0, scheduler: RunLoop.main, latest: true)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print(\"Received Timestamp \\($0).\") }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:26:57 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:26:57 +0000."},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:00 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:03 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:06 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:09 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:27:09 +0000."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The interval at which to find and emit either the most recent or the first element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to publish elements."},{"text":" - latest: A Boolean value that indicates whether to publish the most recent element. If `false`, the publisher emits the first element received during the interval."},{"text":"- Returns: A publisher that emits either the most-recent or first element received during the specified interval."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"latest","declarationFragments":[{"kind":"identifier","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV4modeAA0cD4ModeOvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","mode"],"names":{"title":"mode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s mode, indicating how or if it moves."},{"text":""},{"text":"By default, this value is set to ``PhysicsBodyMode/dynamic``, meaning"},{"text":"the body responds to forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``BlendTreeAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``BlendTreeAnimation/trimStart`` and ``BlendTreeAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``BlendTreeAnimation/duration`` causes the"},{"text":"animation to repeat, applying the characteristics defined by"},{"text":"``BlendTreeAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17outputTextureMapsAG0J10MapOutputsVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","outputTextureMaps"],"names":{"title":"outputTextureMaps","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outputTextureMaps"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The set of texture maps to create in the model."},{"text":""},{"text":"This setting can reduce model size by only requesting maps that will be used on the target renderer."},{"text":"Example to get just color and normal maps:"},{"text":"```"},{"text":"var detailSpec = PhotogrammetrySession.Request.Detail.Specification()"},{"text":"detailSpec.outputTextureMaps = [.diffuseColor, .normal]"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outputTextureMaps"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation16DirectionalLightC","interfaceLanguage":"swift"},"pathComponents":["DirectionalLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A directional light component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV5label0B023LocalizedStringResourceVSgvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","label"],"names":{"title":"label","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A succinct label that identifies the entity, in a localized string key."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"models"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE10allSatisfyyS2b7ElementQzYaKXEYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns a Boolean value that indicates whether all elements produced by the"},{"text":"asynchronous sequence satisfy the given predicate."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `allSatisfy(_:)` method checks to see whether"},{"text":"all elements produced by the sequence are less than `10`."},{"text":""},{"text":" let allLessThanTen = await Counter(howHigh: 10)"},{"text":" .allSatisfy { $0 < 10 }"},{"text":" print(allLessThanTen)"},{"text":" // Prints \"false\""},{"text":""},{"text":"The predicate executes each time the asynchronous sequence produces an"},{"text":"element, until either the predicate returns `false` or the sequence ends."},{"text":""},{"text":"If the asynchronous sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the asynchronous"},{"text":" sequence as its argument and returns a Boolean value that indicates"},{"text":" whether the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","breakpointOnError()"],"names":{"title":"breakpointOnError()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal upon receiving a failure."},{"text":""},{"text":"When the upstream publisher fails with an error, this publisher raises the `SIGTRAP` signal, which stops the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In this example a ``PassthroughSubject`` publishes strings, but its downstream ``Publisher/tryMap(_:)`` operator throws an error. This sends the error downstream as a ``Subscribers/Completion/failure(_:)``. The ``Publisher/breakpointOnError()`` operator receives this completion and stops the app in the debugger."},{"text":""},{"text":" struct CustomError : Error {}"},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .tryMap { stringValue in"},{"text":" throw CustomError()"},{"text":" }"},{"text":" .breakpointOnError()"},{"text":" .sink("},{"text":" receiveCompletion: { completion in print(\"Completion: \\(String(describing: completion))\") },"},{"text":" receiveValue: { aValue in print(\"Result: \\(String(describing: aValue))\") }"},{"text":" )"},{"text":""},{"text":" publisher.send(\"TEST DATA\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Returns: A publisher that raises a debugger signal upon receiving a failure."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","output(in:)"],"names":{"title":"output(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements specified by their range in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(in:)`` to republish a range indices you specify in the published stream. After publishing all elements, the publisher finishes normally. If the publisher completes normally or with an error before producing all the elements in the range, it doesn’t publish the remaining elements."},{"text":""},{"text":"In the example below, an array publisher emits the subset of elements at the indices in the specified range:"},{"text":""},{"text":" let numbers = [1, 1, 2, 2, 2, 3, 4, 5, 6]"},{"text":" numbers.publisher"},{"text":" .output(in: (3...5))"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 2 3\""},{"text":""},{"text":"- Parameter range: A range that indicates which elements to publish."},{"text":"- Returns: A publisher that publishes elements specified by a range."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"R","rhs":"RangeExpression","rhsPrecise":"s:SX"},{"kind":"sameType","lhs":"R.Bound","rhs":"Int","rhsPrecise":"s:Si"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RangeExpression","preciseIdentifier":"s:SX"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Bound"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","setParent(_:preservingWorldTransform:)"],"names":{"title":"setParent(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Attaches the entity as a child to the specified entity."},{"text":""},{"text":"Attaching an entity to a new parent automatically detaches it from its"},{"text":"old parent."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of both the old and new parent"},{"text":"are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- parent: The new parent entity. Use `nil` to detach the entity from its"},{"text":"current parent."},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"parent","declarationFragments":[{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","children"],"names":{"title":"children","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The child entities that the entity manages."},{"text":""},{"text":"An entity can have any number of child entities."},{"text":""},{"text":"Use the ``HasHierarchy/addChild(_:preservingWorldTransform:)`` method to"},{"text":"add a child to an entity. Use the"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` method to"},{"text":"remove one from an entity. These methods automatically update the"},{"text":"``HasHierarchy/parent`` properties of the child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureMapOutputs","navigator":[{"kind":"identifier","spelling":"TextureMapOutputs"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureMapOutputs"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Allows specification of the set of output texture maps to be included in the output model."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureMapOutputs"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV14previousParentAA0G0CSgvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity","previousParent"],"names":{"title":"previousParent","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousParent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousParent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV11translations5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Transform","translation"],"names":{"title":"translation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity along the x, y, and z axes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","output(at:)"],"names":{"title":"output(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a specific element, indicated by its index in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(at:)`` when you need to republish a specific element specified by its position in the stream. If the publisher completes normally or with an error before publishing the specified element, then the publisher doesn’t produce any elements."},{"text":""},{"text":"In the example below, the array publisher emits the fifth element in the sequence of published elements:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" numbers.publisher"},{"text":" .output(at: 5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"6\""},{"text":""},{"text":"- Parameter index: The index that indicates the element to publish."},{"text":"- Returns: A publisher that publishes a specific indexed element."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE19characterControllerAA09CharacterE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","characterController"],"names":{"title":"characterController","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character controller component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE8contains5whereS2b7ElementQzYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns a Boolean value that indicates whether the asynchronous sequence"},{"text":"contains an element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that doesn’t"},{"text":"conform to the `Equatable` protocol, or to find an element that satisfies"},{"text":"a general condition."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `contains(where:)` method checks to see"},{"text":"whether the sequence produces a value divisible by `3`:"},{"text":""},{"text":" let containsDivisibleByThree = await Counter(howHigh: 10)"},{"text":" .contains { $0 % 3 == 0 }"},{"text":" print(containsDivisibleByThree)"},{"text":" // Prints \"true\""},{"text":""},{"text":"The predicate executes each time the asynchronous sequence produces an"},{"text":"element, until either the predicate finds a match or the sequence ends."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the asynchronous"},{"text":" sequence as its argument and returns a Boolean value that indicates"},{"text":" whether the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" predicate; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","TriangleIndices"],"names":{"title":"MeshBuffers.TriangleIndices","navigator":[{"kind":"identifier","spelling":"TriangleIndices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleIndices"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleIndices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV9roughnessAA0D15ScalarParameterOvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness of the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV08centerOfD0s5SIMD3VySfG8position_So10simd_quatfa11orientationtvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","centerOfMass"],"names":{"title":"centerOfMass","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the center of mass and the orientation of the principal"},{"text":"axes."},{"text":""},{"text":"The `position` defines the center of mass with a default value of `(0,"},{"text":"0, 0)`, which means that the local origin of the model is the center of"},{"text":"mass."},{"text":""},{"text":"The `orientation` defines the principal axes, such the inertia matrix is"},{"text":"a diagonal."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","scale(relativeTo:)"],"names":{"title":"scale(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the scale of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier"],"names":{"title":"MeshBuffers.Identifier","navigator":[{"kind":"identifier","spelling":"Identifier"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until a given closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/drop(while:)`` to omit elements from an upstream publisher until the element received meets a condition you specify."},{"text":""},{"text":"In the example below, the operator omits all elements in the stream until the first element arrives that’s a positive integer, after which the operator publishes all remaining elements:"},{"text":""},{"text":" let numbers = [-62, -1, 0, 10, 0, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .drop { $0 <= 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10 0, 22 41 -1 5\""},{"text":""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy angle specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``BlendTreeAnimation/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that refers to a property on which to run the grouped"},{"text":"animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setScale(_:relativeTo:)"],"names":{"title":"setScale(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the scale factor of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A new scale factor, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"scale","declarationFragments":[{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:_:_:)"],"names":{"title":"map(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of three key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:_:)`` operator uses the Swift key path syntax to access the `die1`, `die2`, and `die3` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these three values (as an `(Int, Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" let die3: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6),"},{"text":" die3: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2, \\.die3)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1), \\(values.2) (total \\(values.0 + values.1 + values.2))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 5, 4, 2 (total 11)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of a second property on `Output`."},{"text":" - keyPath2: The key path of a third property on `Output`."},{"text":"- Returns: A publisher that publishes the values of three key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},{"name":"keyPath2","declarationFragments":[{"kind":"identifier","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1},{"name":"T2","index":2,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read a model given its name."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9clearcoatAC9ClearcoatVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","clearcoat"],"names":{"title":"clearcoat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparent highlights that simulate a clear, shiny coating on an"},{"text":"entity."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"transparent coating, like the paint on a car, or the surface of"},{"text":"lacquered objects. By default, materials don’t have clearcoat enabled."},{"text":""},{"text":"Use this property to enable clearcoat rendering. Specifying any value"},{"text":"greater than `0.0` turns clearcoat rendering on. A value of `1.0`"},{"text":"indicates a full clearcoat. RealityKit treats values above `1.0` as if"},{"text":"they’re `1.0`."},{"text":""},{"text":"You can specify ``PhysicallyBasedMaterial/clearcoat-swift.property``"},{"text":"using a single `Float` that applies to the entire material, or a"},{"text":"UV-mapped grayscale image to provide different values for different"},{"text":"parts of an entity."},{"text":""},{"text":"The following example specifies `clearcoat` using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoat = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"And this example shows how to specify `clearcoat` using a UV-mapped"},{"text":"image texture:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatResource = try? TextureResource.load(named:\"entity_clearcoat\") {"},{"text":" let clearcoatMap = MaterialParameters.Texture(clearcoatResource)"},{"text":" material.clearcoat = .init(texture: clearcoatMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV14massPropertiesAA0c4MassG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","massProperties"],"names":{"title":"massProperties","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s mass properties, like inertia and center of mass."},{"text":""},{"text":"By default, the mass properties value is"},{"text":"``PhysicsMassProperties/default``, which matches the properties of a"},{"text":"unit sphere with mass of 1 kilogram."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","FloatLiteralType"],"names":{"title":"CustomMaterial.Opacity.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default mass properties, equivalent to a unit sphere with a mass of"},{"text":"1 kilogram."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:)-48buc`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:_:)-16rcy`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, ``Publisher/combineLatest(_:_:_:)-48buc`` receives input from any of the publishers, combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":" //"},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9, 1)."},{"text":" // Result: (3, 2, 9, 1)."},{"text":" // Result: (3, 12, 9, 1)."},{"text":" // Result: (13, 12, 9, 1)."},{"text":" // Result: (13, 12, 19, 1)."},{"text":""},{"text":"If any individual publisher of the combined set terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:_:)"],"names":{"title":"combineLatest(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:_:)`` when you need to combine the current and 3 additional publishers and transform the values using a closure in which you specify the published elements, to publish a new element."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, as ``Publisher/combineLatest(_:_:_:_:)`` receives the most-recent values published by four publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4) { firstValue, secondValue, thirdValue, fourthValue in"},{"text":" return firstValue * secondValue * thirdValue * fourthValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 36. // pub = 2, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 54. // pub = 3, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 324. // pub = 3, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 1404. // pub = 13, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 2964. // pub = 13, pub2 = 12, pub3 = 19, pub4 = 1"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append_24preservingWorldTransformyAC_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(_:preservingWorldTransform:)"],"names":{"title":"append(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity as a child to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - child: The child entity to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" model should keep its effective location and size in the"},{"text":" scene!)"}]},"functionSignature":{"parameters":[{"name":"child","declarationFragments":[{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE24characterControllerStateAA09CharactereF9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","characterControllerState"],"names":{"title":"characterControllerState","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterControllerState"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerStateComponent","preciseIdentifier":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character controller state for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterControllerState"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerStateComponent","preciseIdentifier":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","decode(type:decoder:)"],"names":{"title":"decode(type:decoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Decodes the output from the upstream using a specified decoder."},{"text":""},{"text":"Use ``Publisher/decode(type:decoder:)`` with a (or a for property lists) to decode data received from a or other data source using the protocol."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes a JSON string. The JSON decoder parses the string, converting its fields according to the protocol implemented by `Article`, and successfully populating a new `Article`. The ``Publishers/Decode`` publisher then publishes the `Article` to the downstream. If a decoding operation fails, which happens in the case of missing or malformed data in the source JSON string, the stream terminates and passes the error to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" cancellable = dataProvider"},{"text":" .decode(type: Article.self, decoder: JSONDecoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\")},"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" dataProvider.send(Data(\"{\\\"pubDate\\\":1574273638.575666, \\\"title\\\" : \\\"My First Article\\\", \\\"author\\\" : \\\"Gita Kumar\\\" }\".utf8))"},{"text":""},{"text":" // Prints: \".sink() data received Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: 2050-11-20 18:13:58 +0000)\""},{"text":""},{"text":"- Parameters:"},{"text":" - type: The encoded data to decode into a struct that conforms to the protocol."},{"text":" - decoder: A decoder that implements the ``TopLevelDecoder`` protocol."},{"text":"- Returns: A publisher that decodes a given type using a specified decoder and publishes the result."}]},"functionSignature":{"parameters":[{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type"}]},{"name":"decoder","declarationFragments":[{"kind":"identifier","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Item","index":0,"depth":1},{"name":"Coder","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Item","rhs":"Decodable","rhsPrecise":"s:Se"},{"kind":"conformance","lhs":"Coder","rhs":"TopLevelDecoder","rhsPrecise":"s:7Combine15TopLevelDecoderP"},{"kind":"sameType","lhs":"Self.Output","rhs":"Coder.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Decodable","preciseIdentifier":"s:Se"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelDecoder","preciseIdentifier":"s:7Combine15TopLevelDecoderP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:_:)"],"names":{"title":"zip(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:_:)`` to return a new publisher that combines the elements from three other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, the ``PassthroughSubject`` publishers, `numbersPub`,"},{"text":"`fractionsPub`, `lettersPub`, and `emojiPub` emit values. The ``Publisher/zip(_:_:_:_:)`` operator receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times and prints out the value in `fractionsPub`."},{"text":""},{"text":" let numbersPub = PassthroughSubject() // first publisher"},{"text":" let lettersPub = PassthroughSubject() // second"},{"text":" let emojiPub = PassthroughSubject() // third"},{"text":" let fractionsPub = PassthroughSubject()// fourth"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub) { anInt, aLetter, anEmoji, aFraction in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt)) \\(aFraction)\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: zip output: \"🥰🥰 BB\""},{"text":" // Prints:"},{"text":" //1 😀 A 0.1"},{"text":" //2 🥰🥰 BB 0.8"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from four upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9clearcoatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","clearcoat"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.clearcoat","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the clearcoat channel of a material as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`clearcoat` to an entity to tell RealityKit to draw the entity’s"},{"text":"clearcoat values as its surface color. A clearcoat is a way to"},{"text":"render objects that appear to have a transparent coating or veneer,"},{"text":"such as the surface of a car with a coat of wax or items"},{"text":"shrinkwrapped in clear plastic. RealityKit draws clearcoat values as"},{"text":"a grayscale value from black (`0.0`) to white (`1.0`), with black"},{"text":"representing parts of the entity that don’t use clearcoat."},{"text":""},{"text":"RealityKit calculates clearcoat for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .clearcoat)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black, except for the screen, which is drawn"},{"text":"in shades of gray, which is a representation of the TV’s clearcoat"},{"text":"values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-clearcoat-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV12diffuseColorAIvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","diffuseColor"],"names":{"title":"diffuseColor","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"diffuseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The primary base color texture map."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"diffuseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18clearcoatRoughnessyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","clearcoatRoughness"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.clearcoatRoughness","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the clearcoat roughness channel of a material"},{"text":"as the surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`clearcoatRoughness` to an entity to tell RealityKit to draw the"},{"text":"entity’s calculated clearcoat roughness as its surface color."},{"text":"Clearcoat is a way to render objects that have a shiny transparent"},{"text":"coating or veneer, such as the surface of a car with a coat of wax"},{"text":"or items shrinkwrapped in clear plastic. The clearcoat roughness"},{"text":"value represents the shininess of the clearcoat and is only used on"},{"text":"parts of the entity that have a `clearcoat` value greater than zero."},{"text":"RealityKit draws the clearcoat roughness value as a grayscale value"},{"text":"from black (`0.0`) to white (`1.0`), with lighter areas representing"},{"text":"parts with a shinier clearcoat."},{"text":""},{"text":"RealityKit calculates clearcoat roughness for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .clearcoatRoughness)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black, except for the screen, which is drawn"},{"text":"in shades of gray. This is a representation of the TV’s clearcoat"},{"text":"roughness values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-clearcoatRoughness-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceError(with:)"],"names":{"title":"replaceError(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces any errors in the stream with the provided element."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher emits the provided element, then finishes normally."},{"text":""},{"text":"In the example below, a publisher of strings fails with a `MyError` instance, which sends a failure completion downstream. The ``Publisher/replaceError(with:)`` operator handles the failure by publishing the string `(replacement element)` and completing normally."},{"text":""},{"text":" struct MyError: Error {}"},{"text":" let fail = Fail(error: MyError())"},{"text":" cancellable = fail"},{"text":" .replaceError(with: \"(replacement element)\")"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(replacement element) finished\"."},{"text":""},{"text":"This ``Publisher/replaceError(with:)`` functionality is useful when you want to handle an error by sending a single replacement element and end the stream. Use ``Publisher/catch(_:)`` to recover from an error and provide a replacement publisher to continue providing elements to the downstream subscriber."},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher fails."},{"text":"- Returns: A publisher that replaces an error from the upstream publisher with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE12dependenciesSayAA0C10DependencyOGvpZ","interfaceLanguage":"swift"},"pathComponents":["System","dependencies"],"names":{"title":"dependencies","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default implementation of the dependencies array."},{"text":""},{"text":"RealityKit provides a default implementation of this property which"},{"text":"returns an empty array. If a class that conforms to ``System`` has no"},{"text":"dependencies, it doesn’t need to implement this property."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO19insufficientStorageyAEs5Int64V_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","insufficientStorage(requiredBytes:)"],"names":{"title":"PhotogrammetrySession.Error.insufficientStorage(requiredBytes:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insufficientStorage"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"requiredBytes"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int64","preciseIdentifier":"s:s5Int64V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"There is insufficient storage available to begin the computation which requires"},{"text":"`requiredBytes` estimated bytes."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insufficientStorage"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"requiredBytes"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int64","preciseIdentifier":"s:s5Int64V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9materialsAC9MaterialsOvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","materials"],"names":{"title":"materials","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Materials","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material assignments."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Materials","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC5pauseyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","pause()"],"names":{"title":"pause()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Pauses the animation."},{"text":""},{"text":"Resume a paused animation by calling the"},{"text":"``AnimationPlaybackController/resume()`` method."},{"text":""},{"text":"This method has no effect if the animation is already paused or"},{"text":"complete."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8specularyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","specular"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.specular","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays en entitiy’s shininess as its surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`specular` to an entity to tell RealityKit to draw the entity’s"},{"text":"calculated specularity as its surface color. RealityKit uses"},{"text":"`specular` to calculate bright highlights caused by shiny surfaces"},{"text":"reflecting light. RealityKit draws the specularity value as a"},{"text":"grayscale value from black (`0.0`) to white (`1.0`)."},{"text":""},{"text":"- Note: In most cases, RealityKit calculates specular highlights"},{"text":"based on an entity’s `roughness` and `metallic` values, and not its"},{"text":"`specular` value, which is usually `0.0`. As a result, this mode"},{"text":"causes most entities to render in solid black. Only entities that"},{"text":"need highlights in addition to the ones RealityKit calculates from"},{"text":"`roughness` and `metallic` need `specular` values greater than zero."},{"text":"Examples of entities that might use `specular` to create"},{"text":"supplemental highlights are gemstones and cut glass."},{"text":""},{"text":"RealityKit calculates specularity for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable ambient occlusion visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .specular)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of white and gray which is a graphical"},{"text":"representation of the TV’s specular values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-specular-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8emissiveyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","emissive"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.emissive","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissive"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the emissive channel of a material as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`emissive` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated emissive values as its surface color. The emissive"},{"text":"channel indicates which parts of the entity emit light. When using"},{"text":"this mode, RealityKit draws any part of the entity that emits light"},{"text":"in the color of the light it emits and draws any part of the entity"},{"text":"that doesn’t emit light as black."},{"text":""},{"text":"RealityKit calculates emissive for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .emissive)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black except for the screen, which displays"},{"text":"the colored test pattern. This is a graphical representation of the"},{"text":"TV’s emissive"},{"text":"values.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-emissive-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissive"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness"],"names":{"title":"PhysicallyBasedMaterial.Roughness","navigator":[{"kind":"identifier","spelling":"Roughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the roughness of an entity’s surface."},{"text":""},{"text":"Use this struct to specify the roughness of the entity. The `roughness`"},{"text":"property represents how much the surface of the entity scatters light"},{"text":"that it reflects. A material with a high roughness has a matte"},{"text":"appearance, whereas one with a low roughness has a shiny appearance."},{"text":""},{"text":"For more information, see"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial"],"names":{"title":"PhysicallyBasedMaterial","navigator":[{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A material that simulates the appearance of real-world objects."},{"text":""},{"text":"In RealityKit, a _material_ is an object that defines the surface properties"},{"text":"of a rendered 3D object. A Physically Based Rendering (PBR) material is a"},{"text":"material that closely approximates the way light reflects off of real-world"},{"text":"objects. Use ``PhysicallyBasedMaterial`` to create highly realistic-looking"},{"text":"objects for your AR scenes."},{"text":""},{"text":"Many of the properties for ``PhysicallyBasedMaterial`` provide the option to"},{"text":"use more than one type of data to specify that property. You can set an"},{"text":"object’s ``PhysicallyBasedMaterial/baseColor-swift.property`` using a"},{"text":"specific color for the entire material, or you can use an image that UV-maps"},{"text":"on to the entity."},{"text":""},{"text":"``PhysicallyBasedMaterial`` includes all material properties supported by"},{"text":"USDZ. On iOS 15 and later, RealityKit automatically uses"},{"text":"``PhysicallyBasedMaterial`` when importing an entity from a USDZ file."},{"text":""},{"text":"For more information on using ``PhysicallyBasedMaterial``, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove an instance by name."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a physically based material’s"},{"text":"roughness property."},{"text":""},{"text":"This initializer creates a roughness object by copying the scale and"},{"text":"texture values from an existing"},{"text":"``PhysicallyBasedMaterial/Roughness-swift.struct`` object."},{"text":""},{"text":"With custom materials, the `texture` and `scale` properties of the"},{"text":"``CustomMaterial/Roughness-swift.struct`` object are available in"},{"text":"your surface shader function, but RealityKit doesn’t automatically"},{"text":"use them when rendering your entity. To render an entity with"},{"text":"roughness, ``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_roughness()`."},{"text":""},{"text":"To achieve the same roughness behavior as"},{"text":"``PhysicallyBasedMaterial``, the surface shader function multiplies"},{"text":"roughness scale by the sampled value from the texture, as the"},{"text":"following Metal code demonstrates:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the roughness scale from the CustomMaterial."},{"text":" float roughnessScale = params.material_constants().roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the texture based on the resulting UVs."},{"text":" auto tex = params.textures();"},{"text":" half roughness = tex.roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and the sampled value from the texture, and assign"},{"text":" // the result to the shader's base color property."},{"text":" roughness *= roughnessScale;"},{"text":""},{"text":" // Set the roughness value to be used by the custom material shader."},{"text":" params.surface().set_roughness(roughness);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The physically based material’s roughness property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the instances."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s position relative to its parent. To get the"},{"text":"world-space position of the entity in the scene, use"},{"text":"``HasTransform/position(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/translation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16ambientOcclusionyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","ambientOcclusion"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the calculated ambient occlusion value as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`ambientOcclusion` to an entity to tell RealityKit to draw the"},{"text":"calculated ambient occlusion values as the entity’s surface color."},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":"RealityKit draws ambient occlusion values as a grayscale value from"},{"text":"black (`0.0`) to white (`1.0`), rendering flat surface areas in"},{"text":"white, and crevices, dents, and recessed areas in darker shades."},{"text":""},{"text":"RealityKit calculates ambient occlusion for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable ambient occlusion visualization for an entity:"},{"text":""},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .ambientOcclusion)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":"representation of the TV’s ambient occlusion"},{"text":"values.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-ambientOcclusion-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV_08animatedD0ACyxGx_xSgtcfc","interfaceLanguage":"swift"},"pathComponents":["BindableValue","init(_:animatedValue:)"],"names":{"title":"init(_:animatedValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bindable value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: A value that reflects the state of the animated property before or after an animation."},{"text":""},{"text":" - animatedValue: A value that represents the state of the animated"},{"text":"property as an animation progresses."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","resetPhysicsTransform(_:recursive:)"],"names":{"title":"resetPhysicsTransform(_:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position and velocities of the simulated physics body."},{"text":""},{"text":"Call this method to change the transform applied to a body by physics"},{"text":"simulation. This only matters for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s ``HasTransform/transform`` property"},{"text":"directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":"- transform: The new transform to inject into the dynamic physics"},{"text":"simulation of the entity."},{"text":""},{"text":" - recursive: Apply the reset to child entities."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Will be hidden in RealityKit 2019.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8metallicyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","metallic"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.metallic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the reflectiveness of an entity as its surface"},{"text":"color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`metallic` to an entity to tell RealityKit to draw that entity so"},{"text":"the surface color indicates whether that part of the object reflects"},{"text":"the surrounding environment."},{"text":""},{"text":"RealityKit draws the quality of _metallicity_ as a grayscale value"},{"text":"from black (`0.0`) to white (`1.0`), rendering the reflective parts"},{"text":"of the entity in white and the nonreflective parts in black."},{"text":""},{"text":"RealityKit calculates `metallic` values for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable `metallic` visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .metallic)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black and white which is a graphical"},{"text":"representation of the TV’s"},{"text":"reflectiveness.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-metallic-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11pixelFormatSo08MTLPixelH0Vvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","pixelFormat"],"names":{"title":"pixelFormat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The size and bit layout of all pixels in each drawable's texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TweenModeO","interfaceLanguage":"swift"},"pathComponents":["TweenMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE3mapyAA16AsyncMapSequenceVyxqd__Gqd__7ElementQzYaclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Transformed"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncMapSequence","preciseIdentifier":"s:12_Concurrency16AsyncMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that maps the given closure over the"},{"text":"asynchronous sequence’s elements."},{"text":""},{"text":"Use the `map(_:)` method to transform every element received from a base"},{"text":"asynchronous sequence. Typically, you use this to transform from one type"},{"text":"of element to another."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The closure provided to the `map(_:)` method"},{"text":"takes each `Int` and looks up a corresponding `String` from a"},{"text":"`romanNumeralDict` dictionary. This means the outer `for await in` loop"},{"text":"iterates over `String` instances instead of the underlying `Int` values"},{"text":"that `Counter` produces:"},{"text":""},{"text":" let romanNumeralDict: [Int: String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .map { romanNumeralDict[$0] ?? \"(unknown)\" }"},{"text":" for await numeral in stream {"},{"text":" print(numeral, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"I II III (unknown) V \""},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an element"},{"text":" of this sequence as its parameter and returns a transformed value of the"},{"text":" same or of a different type."},{"text":"- Returns: An asynchronous sequence that contains, in order, the elements"},{"text":" produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncMapSequence","preciseIdentifier":"s:12_Concurrency16AsyncMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Transformed","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Transformed"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncMapSequence","preciseIdentifier":"s:12_Concurrency16AsyncMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9roughnessyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","roughness"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.roughness","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the shininess of a material as the surface"},{"text":"color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`roughness` to an entity to tell RealityKit to draw that entity’s"},{"text":"roughness value as its surface color. A high roughness value"},{"text":"represents a surface with a matte finish, while a low roughness"},{"text":"value represents a shiny or polished surface. When using this mode,"},{"text":"RealityKit draws the roughness value as a grayscale value from black"},{"text":"(`0.0`) to white (`1.0`), meaning the shinier a part of the entity"},{"text":"is, the darker RealityKit draws it."},{"text":""},{"text":"RealityKit calculates roughness for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no affect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .roughness)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray which is a graphical"},{"text":"representation of the TV’s surface roughness."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-roughness-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryDrop(while:)"],"names":{"title":"tryDrop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until an error-throwing closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/tryDrop(while:)`` to omit elements from an upstream until an error-throwing closure you provide returns false, after which the remaining items in the stream are published. If the closure throws, no elements are emitted and the publisher fails with an error."},{"text":""},{"text":"In the example below, elements are ignored until `-1` is encountered in the stream and the closure returns `false`. The publisher then republishes the remaining elements and finishes normally. Conversely, if the `guard` value in the closure had been encountered, the closure would throw and the publisher would fail with an error."},{"text":""},{"text":" struct RangeError: Error {}"},{"text":" var numbers = [1, 2, 3, 4, 5, 6, -1, 7, 8, 9, 10]"},{"text":" let range: CountableClosedRange = (1...100)"},{"text":" cancellable = numbers.publisher"},{"text":" .tryDrop {"},{"text":" guard $0 != 0 else { throw RangeError() }"},{"text":" return range.contains($0)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 7 8 9 10 completion: finished\""},{"text":" // If instead numbers was [1, 2, 3, 4, 5, 6, 0, -1, 7, 8, 9, 10], tryDrop(while:) would fail with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`, and then republishes all remaining elements. If the predicate closure throws, the publisher fails with an error."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation9ComponentP","interfaceLanguage":"swift"},"pathComponents":["Component"],"names":{"title":"Component","navigator":[{"kind":"identifier","spelling":"Component"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Component"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a geometry or a behavior that you apply to an entity."},{"text":""},{"text":"You assemble a particular combination of behavior and appearance for an"},{"text":"entity by adding components to the ``Entity/components`` set of an"},{"text":"``Entity`` instance. Each component, represented by a type that conforms to"},{"text":"the ``Component`` protocol, defines a single aspect of the entity. For"},{"text":"example, one might define a position in space, while another provides a"},{"text":"visual appearance. You can add at most one component of a given type to an"},{"text":"entity."},{"text":""},{"text":"![Diagram showing the components present in different kinds of"},{"text":"entities.](Component-1)"},{"text":""},{"text":"RealityKit has a variety of predefined component types that you can use to"},{"text":"add commonly needed characteristics. For example, the ``ModelComponent``"},{"text":"specifies visual appearance with a mesh and materials. The"},{"text":"``CollisionComponent`` contains a shape and other information used to decide"},{"text":"if one entity collides with another."},{"text":""},{"text":"You can also define custom component types. When you do, register that type"},{"text":"with the system by calling the new component’s"},{"text":"``Component/registerComponent()`` method—a default implementation of which"},{"text":"is provided by the ``Component`` protocol. Call this method once before"},{"text":"using the component type. You don’t need to make this call for component"},{"text":"types that RealityKit provides."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Component"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13surfaceShader16geometryModifier13lightingModelA2C07SurfaceF0V_AC08GeometryH0VSgAC08LightingJ0OtKcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","init(surfaceShader:geometryModifier:lightingModel:)"],"names":{"title":"init(surfaceShader:geometryModifier:lightingModel:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"surfaceShader"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SurfaceShader","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"lightingModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom material from a lighting model, surface shader, and"},{"text":"geometry modifier."},{"text":""},{"text":"This initializer creates a custom material using a lighting model you"},{"text":"specify, which determines how RealityKit renders the output of your"},{"text":"shader functions. The ``CustomMaterial/LightingModel-swift.enum/lit``"},{"text":"and ``CustomMaterial/LightingModel-swift.enum/clearcoat`` use"},{"text":"RealityKit’s physically-based shaders to render the entity based on the"},{"text":"output of your shader functions. When using these lighting models,"},{"text":"RealityKit uses all provided material attributes like"},{"text":"``CustomMaterial/baseColor-swift.property``,"},{"text":"``CustomMaterial/metallic-swift.property`` and"},{"text":"``CustomMaterial/normal-swift.property``."},{"text":""},{"text":"The ``CustomMaterial/LightingModel-swift.enum/unlit`` lighting model"},{"text":"renders the entity with no shadows or surface effects. This lighting"},{"text":"model only supports ``CustomMaterial/baseColor-swift.property`` and"},{"text":"``CustomMaterial/blending-swift.property``."},{"text":""},{"text":"- Parameters:"},{"text":" - surfaceShader: The surface shader function."},{"text":""},{"text":" - geometryModifier: The geometry modifier shader function."},{"text":""},{"text":" - lightingModel: The lighting model."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"surfaceShader"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SurfaceShader","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"lightingModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/reduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on a closure you provide."},{"text":""},{"text":"In the following example, the ``Publisher/reduce(_:_:)`` operator collects all the integer values it receives from its upstream publisher:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .reduce(0, { accum, next in accum + next })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"55\""},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: A closure that produces a new value by taking the previously-accumulated value and the next element it receives from the upstream publisher."},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes. If ``Publisher/reduce(_:_:)`` receives an error from the upstream publisher, the operator delivers it to the downstream subscriber, the publisher terminates and publishes no value."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV26textureCoordinateTransformAA0E14ParameterTypesV07TexturegH0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","textureCoordinateTransform"],"names":{"title":"textureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation to apply to the entity’s primary"},{"text":"texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates control how RealityKit materials map"},{"text":"image textures onto an entity. This property allows you to transform the"},{"text":"texture coordinates to change the way this material maps its textures."},{"text":"You might, for example, change the scale of a property to apply a tiled,"},{"text":"repeating pattern, or continuously rotate or translate the texture"},{"text":"coordinates to animate materials to create special effects, such as fire"},{"text":"or flowing liquids."},{"text":""},{"text":"The following example shows how to set a material’s UV transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees converted to radians."},{"text":"material.textureCoordinateTransform = .init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"Some entities imported from USDZ files have more than one set of UV"},{"text":"coordinates. This property affects the primary UV set (sometimes called"},{"text":"“UV1”). To transform the secondary UV coordinates (”UV2”), use"},{"text":"``PhysicallyBasedMaterial/secondaryTextureCoordinateTransform``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV4near3far20fieldOfViewInDegreesACSf_S2ftcfc","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","init(near:far:fieldOfViewInDegrees:)"],"names":{"title":"init(near:far:fieldOfViewInDegrees:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new perspective camera component with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":"- near: The minimum distance in meters from the camera that the camera"},{"text":"can see."},{"text":""},{"text":"- far: The maximum distance in meters from the camera that the camera"},{"text":"can see."},{"text":""},{"text":" - fieldOfViewInDegrees: The camera’s field of view, given in degrees."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.01, "},{"kind":"externalParam","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = .infinity, "},{"kind":"externalParam","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 60.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the controller by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"controller."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/first(where:)`` to republish only the first element of a stream that satisfies a closure you specify. The publisher ignores all elements after the first element that satisfies the closure and finishes normally."},{"text":"If this publisher doesn’t receive any elements, it finishes without publishing."},{"text":""},{"text":"In the example below, the provided closure causes the ``Publishers/FirstWhere`` publisher to republish the first received element that’s greater than `0`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first { $0 > 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"1\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalAlphayA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","finalAlpha"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.finalAlpha","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalAlpha"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s calculated transparency as its"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`finalAlpha` to an entity to tell RealityKit to draw that entity’s"},{"text":"alpha value as its surface color. RealityKit draws the alpha value"},{"text":"as a grayscale value from black (`0.0`) to white (`1.0`), meaning"},{"text":"the more transparent a part of the entity is, the darker RealityKit"},{"text":"draws it."},{"text":""},{"text":"RealityKit calculates final alpha values for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, ``SimpleMaterial`` as well as"},{"text":"for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable alpha visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .finalAlpha)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn completely white, except for the screen, which is"},{"text":"gray, repersenting TV’s calculated transparency."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-finalAlpha-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalAlpha"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","position(relativeTo:)"],"names":{"title":"position(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the position of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode"],"names":{"title":"CollisionComponent.Mode","navigator":[{"kind":"identifier","spelling":"Mode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Mode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that dictates how much collision data is collected for a given"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Mode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsySayACG_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified list of entity as children to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - array: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"array","declarationFragments":[{"kind":"identifier","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"]"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","FloatLiteralType"],"names":{"title":"CustomMaterial.Roughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC4stopyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","stop()"],"names":{"title":"stop()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops an animation."},{"text":""},{"text":"This method has no effect if the animation is complete. After you stop"},{"text":"the animation, the playback controller becomes invalid. Create a new one"},{"text":"with the same resource to play the animation again."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV9transformAA9TransformVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A transform applied to the created entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance between two indices."},{"text":""},{"text":"Unless the collection conforms to the `BidirectionalCollection` protocol,"},{"text":"`start` must be less than or equal to `end`."},{"text":""},{"text":"- Parameters:"},{"text":" - start: A valid index of the collection."},{"text":" - end: Another valid index of the collection. If `end` is equal to"},{"text":" `start`, the result is zero."},{"text":"- Returns: The distance between `start` and `end`. The result can be"},{"text":" negative only if the collection conforms to the"},{"text":" `BidirectionalCollection` protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the"},{"text":" resulting distance."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV5valuexvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The main accessor for the bind value."},{"text":""},{"text":"This property returns the animated value"},{"text":"(``BindableValue/animatedValue``) if an animation is active. Otherwise,"},{"text":"this property returns the base value (``BindableValue/baseValue``)."},{"text":""},{"text":"When you assign a value to this property, the setter always assigns the"},{"text":"value you provide to ``BindableValue/baseValue``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents"],"names":{"title":"MeshResource.Contents","navigator":[{"kind":"identifier","spelling":"Contents"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Value of the contents of the resource."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE08registerC0yyFZ","interfaceLanguage":"swift"},"pathComponents":["System","registerSystem()"],"names":{"title":"registerSystem()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerSystem"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a system with RealityKit."},{"text":""},{"text":"Calling this method informs RealityKit of a system of defined behavior"},{"text":"for its scenes. RealityKit automatically creates an instance of all"},{"text":"registered systems for every scene and calls every registered system’s"},{"text":"``System/update(context:)-3d0qz`` method every frame."},{"text":""},{"text":"If you call ``System/registerSystem()`` multiple times, RealityKit"},{"text":"ignores additional calls after the first."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerSystem"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC6entityAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity from which the audio stream emanates."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"weak"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV4from13surfaceShader16geometryModifierAcA0D0_p_AC07SurfaceG0VAC08GeometryI0VSgtKcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","init(from:surfaceShader:geometryModifier:)"],"names":{"title":"init(from:surfaceShader:geometryModifier:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"surfaceShader"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SurfaceShader","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom material from an existing material, surface shader, and"},{"text":"geometry modifier."},{"text":""},{"text":"Use this initializer to create a custom material with the same"},{"text":"properties as another existing material, but with a geometry modifier"},{"text":"and surface shader."},{"text":""},{"text":"- Parameters:"},{"text":" - material: The material from which to copy properties."},{"text":""},{"text":" - surfaceShader: The surface shader function."},{"text":""},{"text":" - geometryModifier: The geometry modifier shader function."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"surfaceShader"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SurfaceShader","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of the clearcoat."},{"text":""},{"text":"Use the scale value either to hold a uniform clearcoat value that"},{"text":"applies to the entire entity, or use it as a multiplier to scale the"},{"text":"clearcoat intensity sampled from the"},{"text":"``CustomMaterial/Clearcoat-swift.struct/texture`` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadModel10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModel(contentsOf:withName:)"],"names":{"title":"loadModel(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading a model entity from a file URL."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as a"},{"text":"``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a custom material’s ambient occlusion"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The ambient occlusion property from a `CustomMaterial`."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator","Element"],"names":{"title":"MeshInstanceCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode"],"names":{"title":"AnimationRepeatMode","navigator":[{"kind":"identifier","spelling":"AnimationRepeatMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationRepeatMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine whether an animation replays after completion."},{"text":""},{"text":"Adopters of ``AnimationDefinition``, such as ``SampledAnimation``, offer"},{"text":"repeat options of this type through the ``SampledAnimation/repeatMode``"},{"text":"property."},{"text":""},{"text":"To select a behavior, set the repeat mode as you configure your animation,"},{"text":"as in the following example:"},{"text":""},{"text":"```swift"},{"text":"let clip = FromToByAnimation()"},{"text":"clip.repeatMode = .repeat"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationRepeatMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV6normalAIvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The normal map."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9baseColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","baseColor"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.baseColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s base color with no lighting or"},{"text":"material properties applied."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`baseColor` to an entity to tell RealityKit to draw that entity’s"},{"text":"base color without any shadows, specular highlights, transparency,"},{"text":"or reflections."},{"text":""},{"text":"Here’s how to enable base color visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .baseColor)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a base color visualization, and appears without"},{"text":"shadows, reflections, transparency, or other effects."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-baseColor-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6filterAA0C6FilterVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","filter"],"names":{"title":"filter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision filter used to segregate entities into different collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9bitangentyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","bitangent"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.bitangent","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the surface bitangent vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`bitangent` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated surface bitangent vectors as its surface color. A"},{"text":"bitangent vector is an imaginary line that’s orthagonal to both the"},{"text":"`normal` and `tangent` vectors. RealityKit draws a bitangent vector"},{"text":"by using its `X`, `Y`, and `Z` values as the `R`, `G`, and `B`"},{"text":"components of the color."},{"text":""},{"text":"RealityKit calculates bitangents for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, or ``SimpleMaterial`` as well"},{"text":"as for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable bitangent visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .bitangent)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a tangent visualization, and appears in shades of"},{"text":"yellow, purples, pinks, and blues, which is a graphical"},{"text":"representation of the calculated surface bitangent vector at each"},{"text":"point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-bitangent-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV22isObjectMaskingEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","isObjectMaskingEnabled"],"names":{"title":"isObjectMaskingEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isObjectMaskingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the session uses object masks."},{"text":""},{"text":"If this value is true, but the samples don’t contain object masks, RealityKit attempts to"},{"text":"automatically create a mask algorithmically. If it’s unable to create a mask, RealityKit reverts to"},{"text":"reconstructing the object using the entire image."},{"text":""},{"text":"If this value is true and the request’s samples do include object masks, RealityKit uses the"},{"text":"provided masks to separate the foreground object from the background."},{"text":""},{"text":"If this value is false, RealityKit doesn’t attempt to separate the sample foreground from the"},{"text":"background, even if the samples have object masks."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isObjectMaskingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18textureCoordinatesyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","textureCoordinates"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.textureCoordinates","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the texture coordinates as a color."},{"text":""},{"text":"Adding a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`textureCoordinates` to an entity tells RealityKit to draw that"},{"text":"entity’s UV texture coordinates as its surface color. RealityKit"},{"text":"draws the texture coordinates by using its `U` and `V` values as the"},{"text":"`R` and `G` components of the color, using a value of `0` for the"},{"text":"color’s `B` component."},{"text":""},{"text":"RealityKit calculates texture coordinates for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, ``SimpleMaterial`` as well as"},{"text":"for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable UV texture coordinate visualization for an"},{"text":"entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .textureCoordinates)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a texture coordinate visualization, and appears in"},{"text":"bright shades of yellow, green, and red, which is a graphical"},{"text":"representation of the TV’s texture coordinates."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-textureCoordinates-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO7tangentyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","tangent"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.tangent","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the surface tangent vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`tangent` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated tangent vectors as its surface color. A tangent vector is"},{"text":"an imaginary line that touches, but doesn’t intersect with the"},{"text":"surface of the object at a specific point. RealityKit draws a"},{"text":"tangent vector by using its `X`, `Y`, and `Z` values as the `R`,"},{"text":"`G`, and `B` components of the color."},{"text":""},{"text":"RealityKit calculates tangents for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, or ``SimpleMaterial`` as well"},{"text":"as for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable tangent visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let robot = anchor.findEntity(named: \"Robot\") as?"},{"text":" ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .tangent)"},{"text":" robot.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a tangent visualization, and appears in shades of"},{"text":"yellows, purple, pinks, and blues, which is a graphical"},{"text":"representation of the calculated surfance tangent vector at each"},{"text":"point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-tangent-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","finalColor"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.finalColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s calculated color, ignoring"},{"text":"transparency."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`finalColor` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated surface color with no transparency. This option causes"},{"text":"RealityKit to render the object as if it were fully opaque. For"},{"text":"entities that don’t use transparency, this option has no affect."},{"text":""},{"text":"Here’s how to enable final color visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":"if let robot = anchor.findEntity(named: \"Robot\") as?"},{"text":"ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .finalColor)"},{"text":" robot.modelDebugOptions = component"},{"text":"}"},{"text":"```"},{"text":""},{"text":"![A screenshot showing two virtual glass thermometers in front of a"},{"text":"robot in an AR app. The thermometer on the left is transparent, and"},{"text":"the robot can be seen through it. The thermometer on the right is"},{"text":"drawn opaque in dark and light shades of gray, representing the"},{"text":"final calculated color of the thermometer, ignoring"},{"text":"transparency.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-finalColor-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC6resumeyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","resume()"],"names":{"title":"resume()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resume"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resumes a paused animation."},{"text":""},{"text":"Call this method to resume an animation that you paused with the"},{"text":"``AnimationPlaybackController/pause()`` method. You can’t resume an"},{"text":"animation that has finished naturally, or that you stopped by calling"},{"text":"the ``AnimationPlaybackController/stop()`` method."},{"text":""},{"text":"This method has no effect on an animation that isn’t paused."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resume"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAeA0E10ParametersV7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from an image texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The ambient occlusion texture map."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO22allocateAndGenerateAllyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","allocateAndGenerateAll"],"names":{"title":"TextureResource.MipmapsMode.allocateAndGenerateAll","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAndGenerateAll"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Allocate and generate all mipmaps for the texture resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAndGenerateAll"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies a predicate closure, after upstream finishes."},{"text":""},{"text":"Use ``Publisher/last(where:)`` when you need to republish only the last element of a stream that satisfies a closure you specify."},{"text":""},{"text":"In the example below, a range publisher emits the last element that satisfies the closure’s criteria, then finishes normally:"},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last { $0 < 6 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"5\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7byValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity"],"names":{"title":"AnchorEntity","navigator":[{"kind":"identifier","spelling":"AnchorEntity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An anchor that tethers entities to a scene."},{"text":""},{"text":"Use anchor entities to control how RealityKit places virtual objects into"},{"text":"your scene. ``AnchorEntity`` conforms to the ``HasAnchoring`` protocol,"},{"text":"which gives it an ``AnchoringComponent`` instance."},{"text":""},{"text":"RealityKit places anchors based on the anchoring component’s"},{"text":"``AnchoringComponent/target-swift.property`` property. For example, you can"},{"text":"configure an anchor entity to rest on a detected horizontal surface in an AR"},{"text":"scene like a table or floor, and RealityKit automatically places that anchor"},{"text":"once it detects an appropriate horizontal plane in the real world."},{"text":""},{"text":"For information on the different types of anchors available when using"},{"text":"Reality Composer, see"},{"text":"."},{"text":""},{"text":"![Diagram showing the components present in the anchor entity. It contains"},{"text":"three boxes labeled Transform component, Synchronization component, and"},{"text":"Anchoring component.](AnchorEntity-1)"},{"text":""},{"text":"Add anchor entities directly to your scene’s ``Scene/anchors`` collection,"},{"text":"or anywhere else in the scene hierarchy by adding them to the"},{"text":"``Entity/children`` collection of another entity in your scene. Because"},{"text":"``AnchorEntity`` is a subclass of ``Entity``, you can make an anchor entity"},{"text":"a child of any other entity. RealityKit may move anchor entities as the"},{"text":"scene updates, so the location and rotation of the anchor entity may change"},{"text":"relative to its parent, even if your code never modifies its"},{"text":"``Entity/transform`` property."},{"text":""},{"text":"Some anchor entities may not show up in your scene at all if RealityKit"},{"text":"fails to detect an appropriate place for them. For example, an anchor entity"},{"text":"with an `image` target won’t show up in the scene until RealityKit detects"},{"text":"the specified image in the real world."},{"text":""},{"text":"![Block diagram showing how anchor entities attach to a scene, and how they"},{"text":"support entity hierarchies. The root box of the hierarchy diagram represents"},{"text":"the ARView. It has one child representing the ARView’s scene, and that scene"},{"text":"has two children, both of which are anchor entities. Each of the anchor"},{"text":"entities have a hierarchy of child entities beneath them, most of which are"},{"text":"labeled Entity, but one of the entities in the hierarchy is another anchor"},{"text":"entity.](AnchorEntity-2)"},{"text":""},{"text":"You can have multiple anchors in a RealityKit scene. For example, one anchor"},{"text":"could place a toy car on a horizontal surface, like a table, and another"},{"text":"could tie an informative text bubbles to an image in the same scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV9roughnessAIvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The surface roughness map."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","color"],"names":{"title":"color","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material's base color."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","first()"],"names":{"title":"first()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream, then finishes."},{"text":""},{"text":"Use ``Publisher/first()`` to publish just the first element from an upstream publisher, then finish normally. The ``Publisher/first()`` operator requests ``Subscribers/Demand/unlimited`` from its upstream as soon as downstream requests at least one element. If the upstream completes before ``Publisher/first()`` receives any elements, it completes without emitting any values."},{"text":""},{"text":"In this example, the ``Publisher/first()`` publisher republishes the first element received from the sequence publisher, `-10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Print: \"-10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the first element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8contentsAcAE8ContentsVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","contents"],"names":{"title":"contents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Get the contents of the mesh asset."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified list of entity as children to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture parameter."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:)"],"names":{"title":"merge(with:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from two other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:)-5crqg``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:)-8d7k7``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":""},{"text":" // Prints: \"1 40 90 2 50 100\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO6normalyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","normal"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the normal vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`normal` to an entity to tell RealityKit to draw that entity’s"},{"text":"_surface normal vectors_ as its surface color. A normal vector is an"},{"text":"imaginary line perpendicular to the surface of the object at a"},{"text":"specific point. RealityKit draws a normal vector by using its `X`,"},{"text":"`Y`, and `Z` values as the `R`, `G`, and `B` components of the"},{"text":"color."},{"text":""},{"text":"RealityKit calculates normals for entities with a ``VideoMaterial``,"},{"text":"``UnlitMaterial``, or ``SimpleMaterial`` as well as for entities"},{"text":"imported from a USDZ file. If an entity doesn’t fall within those"},{"text":"parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable surface normal visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .normal)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a normal visualization, and appears in shades of"},{"text":"blue, green, and purple which is a graphical representation of the"},{"text":"calculated normal vector at each point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-normal-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-16rcy`` to return a new publisher that combines the elements from three other publishers to publish a tuple to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, several ``PassthroughSubject`` instances emit values; ``Publisher/zip(_:_:_:)-16rcy`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":" let fractionsPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" fractionsPub: 0.1 zip output: (1, \"A\", \"😀\", 0.1)"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: (2, \"B\", \"🥰\", 0.8)"},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\", 0.1)"},{"text":" // (2, \"B\", \"🥰\", 0.8)"},{"text":""},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadModel5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModel(named:in:)"],"names":{"title":"loadModel(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading a model entity from a file in a bundle."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as a"},{"text":"``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","physicsBody"],"names":{"title":"physicsBody","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that is used for physics simulations of the model entity in"},{"text":"accordance with the laws of Newtonian mechanics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","none"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that doesn’t display a visualization."},{"text":""},{"text":"A ``ModelDebugOptionsComponent`` with a `VisualizationNode` of"},{"text":"`none` has no effect on how RealityKit renders its entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode"],"names":{"title":"AudioResource.InputMode","navigator":[{"kind":"identifier","spelling":"InputMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InputMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Modes for processing audio resources."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InputMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC","interfaceLanguage":"swift"},"pathComponents":["AnimationResource"],"names":{"title":"AnimationResource","navigator":[{"kind":"identifier","spelling":"AnimationResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation for the properties of scenes or entities."},{"text":""},{"text":"You find animation resources in an entity’s ``Entity/availableAnimations`` array."},{"text":"Animation resources come bundled with an entity when you load the"},{"text":"entity from a file. They describe an animation that’s specific to the entity"},{"text":"to which they are attached."},{"text":""},{"text":"Use the entity’s ``Entity/playAnimation(_:transitionDuration:startsPaused:)``"},{"text":"method to play a particular item in its animation resource array, or the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method to play all"},{"text":"of the animations with a given name. From both methods, you receive an"},{"text":"``AnimationPlaybackController`` instance that lets you manage playback of"},{"text":"the resource."},{"text":""},{"text":"If you want to loop an animation, call the resource’s"},{"text":"``AnimationResource/repeat(count:)`` method to create a new resource that"},{"text":"plays a given number of times in a row, or call the"},{"text":"``AnimationResource/repeat(duration:)`` method to create a new resource that"},{"text":"loops for the given duration. The latter loops indefinitely if you omit the"},{"text":"duration parameter. You use the new animation resource that these methods"},{"text":"return just as you would any other."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object from a single value."},{"text":""},{"text":"This initializer creates an object that defines the opacity of an"},{"text":"entity using a single value for the entire entity. This value is"},{"text":"available to the material’s surface shader function, but RealityKit"},{"text":"draws the entity fully opaque unless the surface shader function"},{"text":"calls `params.surface().set_opacity()`."},{"text":""},{"text":"The following Metal code demonstrates how to set the entity’s"},{"text":"opacity in the material’s surface shader function based on `value:`"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the opacity scale from the CustomMaterial."},{"text":" float opacityScale = params.material_constants().opacity_scale();"},{"text":""},{"text":" // Use the opacity scale to set the current pixel's opacity."},{"text":" params.surface().set_opacity(opacity);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The opacity value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10primitivesAC10PrimitivesOSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","primitives"],"names":{"title":"primitives","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"primitives"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Primitives","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The primitives that make up the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"primitives"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Primitives","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE9publisher3for2on13componentTypeAC9PublisherVy_xGxm_AA11EventSource_pSgAA9Component_pXpSgtAA0J0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","publisher(for:on:componentType:)"],"names":{"title":"publisher(for:on:componentType:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a `Publisher` for events of the specified type in a `Scene`."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event. For example, `SceneEvents.Update.Self`."},{"text":" - sourceObject: The event source – usually the entity you are interested in. `nil` to"},{"text":" listen all events of this type that occur in the scene."},{"text":" - componentType: The component type, or `nil` for all (for ComponentEvents)."},{"text":""},{"text":"- Returns: A `Publisher` for events of the specified type."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ","interfaceLanguage":"swift"},"pathComponents":["System","dependencies"],"names":{"title":"dependencies","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of dependencies for this system."},{"text":""},{"text":"If you need to specify the update order between your system and other"},{"text":"systems in your app, you can do that using this property. If your system"},{"text":"has no dependencies, you don’t need to declare this property. RealityKit"},{"text":"provides a default implementation for systems with no dependencies."},{"text":""},{"text":"Here’s an example where one other system must update before this system,"},{"text":"and another system must update after it."},{"text":""},{"text":"```swift"},{"text":"class SystemB : RealityKit.System {"},{"text":" static var dependencies: [SystemDependency] {"},{"text":" [.after(SystemA.self), // Run SystemB after SystemA."},{"text":" .before(SystemC.self)] // Run SystemB before SystemC."},{"text":" }"},{"text":" // ..."},{"text":"}"},{"text":"```"},{"text":""},{"text":"When the app runs, RealityKit calls ``System/update(context:)-69f86`` on"},{"text":"`SystemA` first, then on `SystemB`, and then on `SystemC`."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC2IDa","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","ID"],"names":{"title":"AudioPlaybackController.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation19CustomMaterialErrorO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Retrieve the localized description for this error."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer"],"names":{"title":"AnyMeshBuffer","navigator":[{"kind":"identifier","spelling":"AnyMeshBuffer"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnyMeshBuffer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mesh buffer stored in the container."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnyMeshBuffer"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setPosition(_:relativeTo:)"],"names":{"title":"setPosition(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the position of the entity relative to the given reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: A new position, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE7replace4withyAcAE8ContentsV_tKF","interfaceLanguage":"swift"},"pathComponents":["MeshResource","replace(with:)"],"names":{"title":"replace(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replace the contents of this mesh resource."},{"text":""},{"text":"- Note: The contents of the modified mesh resource will not be synced between network clients."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE6update7contextyAA18SceneUpdateContextV_tF","interfaceLanguage":"swift"},"pathComponents":["System","update(context:)"],"names":{"title":"update(context:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default implementation that does nothing."},{"text":""},{"text":"- Parameters:"},{"text":" - context: The scene context for the scene to update."}]},"functionSignature":{"parameters":[{"name":"context","declarationFragments":[{"kind":"identifier","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","ArrayLiteralElement"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureMapOutputs.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyAE_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves all `children` to be children of this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation33CharacterControllerStateComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueSSvp","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV20fieldOfViewInDegreesSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","fieldOfViewInDegrees"],"names":{"title":"fieldOfViewInDegrees","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The camera’s total vertical field of view in degrees."},{"text":""},{"text":"This property contains the entire vertifical field of view for the"},{"text":"camera in degrees. The system automatically calculates the horizontal"},{"text":"field of view from this value to fit the aspect ratio of the device’s"},{"text":"screen."},{"text":""},{"text":"This property defaults to `60` degrees."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE12replaceAsync4withAA11LoadRequestCyACGAcAE8ContentsV_tF","interfaceLanguage":"swift"},"pathComponents":["MeshResource","replaceAsync(with:)"],"names":{"title":"replaceAsync(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replace the contents of this mesh resource asynchronously."},{"text":""},{"text":"- Note: The contents of the modified mesh resource will not be synced between network clients."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV6ShadowV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE7flatMapyAA09AsyncFlatC8SequenceVyxqd__Gqd__7ElementQzYacSciRd__lF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncFlatMapSequence","preciseIdentifier":"s:12_Concurrency20AsyncFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that concatenates the results of calling"},{"text":"the given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level asynchronous sequence when your"},{"text":"transformation produces an asynchronous sequence for each element."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The transforming closure takes the received `Int`"},{"text":"and returns a new `Counter` that counts that high. For example, when the"},{"text":"transform receives `3` from the base sequence, it creates a new `Counter`"},{"text":"that produces the values `1`, `2`, and `3`. The `flatMap(_:)` method"},{"text":"\"flattens\" the resulting sequence-of-sequences into a single"},{"text":"`AsyncSequence`."},{"text":""},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .flatMap { Counter(howHigh: $0) }"},{"text":" for await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 \""},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an element"},{"text":" of this sequence as its parameter and returns an `AsyncSequence`."},{"text":"- Returns: A single, flattened asynchronous sequence that contains all"},{"text":" elements in all the asynchronous sequences produced by `transform`."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncFlatMapSequence","preciseIdentifier":"s:12_Concurrency20AsyncFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncFlatMapSequence","preciseIdentifier":"s:12_Concurrency20AsyncFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AsyncSequence","preciseIdentifier":"s:Sci"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueAESgSS_tcfc","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC14loadModelAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModelAsync(named:in:)"],"names":{"title":"loadModelAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a model entity from a file in a bundle asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as a ``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BlendWeightO","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetVyxSgxmcAA0D0Rzluip","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets or sets the component of the specified type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV35secondaryTextureCoordinateTransformAA0E14ParameterTypesV0ghI0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","secondaryTextureCoordinateTransform"],"names":{"title":"secondaryTextureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation to apply to the entity’s secondary"},{"text":"texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates define how RealityKit maps image"},{"text":"textures onto an entity. This property allows you to transform the"},{"text":"secondary texture coordinates to change the way this material maps"},{"text":"textures onto an entity. If an entity has multiple materials assigned to"},{"text":"it, the transformation doesn’t affect how the other materials map their"},{"text":"textures."},{"text":""},{"text":"You might, for example, change the scale of the UV coordinates to apply"},{"text":"a tiled, repeating pattern to the surface of your entity, or"},{"text":"continuously rotate or translate the texture coordinates to animate"},{"text":"materials to create special effects, such as fire or flowing liquids."},{"text":""},{"text":"The following example demonstrates how to set a material’s UV"},{"text":"transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees converted to radians."},{"text":"secondaryTextureCoordinateTransform =.init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"Some entities imported from USDZ files have more than one set of UV"},{"text":"coordinates. This property transforms the secondary set. To transform"},{"text":"the primary UV coordinates in a material, see"},{"text":"``PhysicallyBasedMaterial/textureCoordinateTransform-swift.property``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity"],"names":{"title":"PhysicallyBasedMaterial.Opacity","navigator":[{"kind":"identifier","spelling":"Opacity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the opacity of an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4modeAC4ModeOvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","mode"],"names":{"title":"mode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceEmpty(with:)"],"names":{"title":"replaceEmpty(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces an empty stream with the provided element."},{"text":""},{"text":"Use ``Publisher/replaceEmpty(with:)`` to provide a replacement element if the upstream publisher finishes without producing any elements."},{"text":""},{"text":"In the example below, the empty `Double` array publisher doesn’t produce any elements, so ``Publisher/replaceEmpty(with:)`` publishes `Double.nan` and finishes normally."},{"text":""},{"text":" let numbers: [Double] = []"},{"text":" cancellable = numbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints \"(nan)\"."},{"text":""},{"text":"Conversely, providing a non-empty publisher publishes all elements and the publisher then terminates normally:"},{"text":""},{"text":" let otherNumbers: [Double] = [1.0, 2.0, 3.0]"},{"text":" cancellable2 = otherNumbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: 1.0 2.0 3.0"},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher finishes without emitting any elements."},{"text":"- Returns: A publisher that replaces an empty stream with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV8rawValueAISu_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8RawValuea","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","RawValue"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from the opacity property of an existing"},{"text":"physically based material."},{"text":""},{"text":"This initializer creates a new object by copying values from an"},{"text":"existing physically based material’s"},{"text":"``PhysicallyBasedMaterial/blending-swift.property`` property. All of"},{"text":"the copied values, including ``CustomMaterial/Opacity/scale``,"},{"text":"``CustomMaterial/Opacity/texture``, and"},{"text":"``CustomMaterial/opacityThreshold`` are available to the material’s"},{"text":"surface shader function, but RealityKit draws the entity fully"},{"text":"opaque unless the surface shader function calls"},{"text":"`params.surface().set_opacity()`."},{"text":""},{"text":"The following Metal code demonstrates how to emulate the blending"},{"text":"logic RealityKit uses to render entities with a"},{"text":"``PhysicallyBasedMaterial`` in your custom material’s surface shader"},{"text":"function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the opacity scale and threshold from the CustomMaterial."},{"text":" float opacityScale = params.material_constants().opacity_scale();"},{"text":" float opacityThreshold = params.material_constants().opacity_threshold();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Retrieve the opacity texture from the material."},{"text":" auto tex = params.textures();"},{"text":""},{"text":" // Sample the value from the opacity texture."},{"text":" half opacity = tex.opacity().sample(textureSampler, uv).r;"},{"text":""},{"text":" if (opacityThreshold > 0.0) {"},{"text":" // If the opacity threshold is greater than 0, use masking"},{"text":" // behavior and set the opacity to either 1.0 or 0.0 depending"},{"text":" // on the value of the opacity threshold."},{"text":" opacity = (opacity <= opacityThreshold) ? 0.0 : 1.0;"},{"text":" } else {"},{"text":" // If the opacity threshold is 0, mutiply the opacity by scale."},{"text":" opacity *= opacityScale;"},{"text":" }"},{"text":""},{"text":" // Use the calculated value to set the opacity for rendering."},{"text":" params.surface().set_opacity(opacity);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The opacity property from the ``PhysicallyBasedMaterial``’s"},{"text":"``PhysicallyBasedMaterial/blending-swift.property`` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/filter(_:)`` operator performs an operation similar to that of in the Swift Standard Library: it uses a closure to test each element to determine whether to republish the element to the downstream subscriber."},{"text":""},{"text":"The following example, uses a filter operation that receives an `Int` and only republishes a value if it’s even."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 4\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value indicating whether to republish the element."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0C0V7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Custom","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A custom UV-mapped image texture that the framework sends to the"},{"text":"material’s shader functions."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryFirst(where:)"],"names":{"title":"tryFirst(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a throwing predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/tryFirst(where:)`` when you need to republish only the first element of a stream that satisfies an error-throwing closure you specify."},{"text":"The publisher ignores all elements after the first. If this publisher doesn’t receive any elements, it finishes without publishing. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a range publisher emits the first element in the range then finishes normally:"},{"text":""},{"text":" let numberRange: ClosedRange = (-1...50)"},{"text":" numberRange.publisher"},{"text":" .tryFirst {"},{"text":" guard $0 < 99 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 completion: finished\""},{"text":" // If instead the number range were ClosedRange = (100...200), the tryFirst operator would terminate publishing with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6remove_24preservingWorldTransformyAC_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","remove(_:preservingWorldTransform:)"],"names":{"title":"remove(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified child from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - child: The child entity to remove from the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"child","declarationFragments":[{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV8rawValueSuvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerP","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer"],"names":{"title":"MeshBufferContainer","navigator":[{"kind":"identifier","spelling":"MeshBufferContainer"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferContainer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Conforming objects contain a table of mesh buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferContainer"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","drop(untilOutputFrom:)"],"names":{"title":"drop(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores elements from the upstream publisher until it receives an element from a second publisher."},{"text":""},{"text":"Use ``Publisher/drop(untilOutputFrom:)`` to ignore elements from the upstream publisher until another, second, publisher delivers its first element."},{"text":"This publisher requests a single value from the second publisher, and it ignores (drops) all elements from the upstream publisher until the second publisher produces a value. After the second publisher produces an element, ``Publisher/drop(untilOutputFrom:)`` cancels its subscription to the second publisher, and allows events from the upstream publisher to pass through."},{"text":""},{"text":"After this publisher receives a subscription from the upstream publisher, it passes through backpressure requests from downstream to the upstream publisher. If the upstream publisher acts on those requests before the other publisher produces an item, this publisher drops the elements it receives from the upstream publisher."},{"text":""},{"text":"In the example below, the `pub1` publisher defers publishing its elements until the `pub2` publisher delivers its first element:"},{"text":""},{"text":" let upstream = PassthroughSubject()"},{"text":" let second = PassthroughSubject()"},{"text":" cancellable = upstream"},{"text":" .drop(untilOutputFrom: second)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" upstream.send(1)"},{"text":" upstream.send(2)"},{"text":" second.send(\"A\")"},{"text":" upstream.send(3)"},{"text":" upstream.send(4)"},{"text":" // Prints \"3 4\""},{"text":""},{"text":"- Parameter publisher: A publisher to monitor for its first emitted element."},{"text":"- Returns: A publisher that drops elements from the upstream publisher until the `other` publisher produces a value."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform"],"names":{"title":"Transform","navigator":[{"kind":"identifier","spelling":"Transform"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines the scale, rotation, and translation of an entity."},{"text":""},{"text":"An entity acquires a ``Transform`` component, as well as a set of methods"},{"text":"for manipulating the transform, by adopting the ``HasTransform`` protocol."},{"text":"This is true for all entities, because the ``Entity`` base class adopts the"},{"text":"protocol."}]},"declarationFragments":[{"kind":"attribute","spelling":"@frozen"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","orientation"],"names":{"title":"orientation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s rotation relative to its parent. To get the"},{"text":"world-space orientation of the entity, use"},{"text":"``HasTransform/orientation(relativeTo:)``, passing `nil` as the"},{"text":"reference entity."},{"text":""},{"text":"This is the same as the ``Transform/rotation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent"],"names":{"title":"DirectionalLightComponent","navigator":[{"kind":"identifier","spelling":"DirectionalLightComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DirectionalLightComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines a directional light source."},{"text":""},{"text":"A directional light shines in the entithy's forward direction (0, 0, -1). To orient a directional light, use"},{"text":"`HasTransform.look(at:from:upVector:)`."},{"text":""},{"text":"A directional light source can cast shadows. To enable shadows, create a ``RealityKit/DirectionalLightComponent/Shadow``"},{"text":"and assign it to `HasDirectionalLight.shadow`. To disable shadows set"},{"text":"`HasDirectionalLight.shadow` to `nil`."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DirectionalLightComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE15reverbSendLevelSdvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","reverbSendLevel"],"names":{"title":"reverbSendLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbSendLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbSendLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index,"},{"text":"unless that distance is beyond a given limiting index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":"The operation doesn't require going beyond the limiting `s.endIndex`"},{"text":"value, so it succeeds."},{"text":""},{"text":" let s = \"Swift\""},{"text":" if let i = s.index(s.startIndex, offsetBy: 4, limitedBy: s.endIndex) {"},{"text":" print(s[i])"},{"text":" }"},{"text":" // Prints \"t\""},{"text":""},{"text":"The next example attempts to retrieve an index six positions from"},{"text":"`s.startIndex` but fails, because that distance is beyond the index"},{"text":"passed as `limit`."},{"text":""},{"text":" let j = s.index(s.startIndex, offsetBy: 6, limitedBy: s.endIndex)"},{"text":" print(j)"},{"text":" // Prints \"nil\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: An index offset by `distance` from the index `i`, unless that"},{"text":" index would be beyond `limit` in the direction of movement. In that"},{"text":" case, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8generate4fromA2cAE8ContentsV_tKFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generate(from:)"],"names":{"title":"generate(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from contents."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","RawValue"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureMapOutputs.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV4massSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","mass"],"names":{"title":"mass","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The mass in kilograms."},{"text":""},{"text":"For a mass of `0` or infinity, the simulation treats the object as"},{"text":"``PhysicsBodyMode/kinematic``. That is, the object doesn’t respond to"},{"text":"forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","assertNoFailure(_:file:line:)"],"names":{"title":"assertNoFailure(_:file:line:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a fatal error when its upstream publisher fails, and otherwise republishes all received input."},{"text":""},{"text":"Use `assertNoFailure()` for internal integrity checks that are active during testing. However, it is important to note that, like its Swift counterpart `fatalError(_:)`, the `assertNoFailure()` operator asserts a fatal exception when triggered during development and testing, _and_ in shipping versions of code."},{"text":""},{"text":"In the example below, a `CurrentValueSubject` publishes the initial and second values successfully. The third value, containing a `genericSubjectError`, causes the `assertNoFailure()` operator to assert a fatal exception stopping the process:"},{"text":""},{"text":" public enum SubjectError: Error {"},{"text":" case genericSubjectError"},{"text":" }"},{"text":""},{"text":" let subject = CurrentValueSubject(\"initial value\")"},{"text":" subject"},{"text":" .assertNoFailure()"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0).\") }"},{"text":" )"},{"text":""},{"text":" subject.send(\"second value\")"},{"text":" subject.send(completion: Subscribers.Completion.failure(SubjectError.genericSubjectError))"},{"text":""},{"text":" // Prints:"},{"text":" // value: initial value."},{"text":" // value: second value."},{"text":" // The process then terminates in the debugger as the assertNoFailure operator catches the genericSubjectError."},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string used at the beginning of the fatal error message."},{"text":" - file: A filename used in the error message. This defaults to `#file`."},{"text":" - line: A line number used in the error message. This defaults to `#line`."},{"text":"- Returns: A publisher that raises a fatal error when its upstream publisher fails."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"file","declarationFragments":[{"kind":"identifier","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"}]},{"name":"line","declarationFragments":[{"kind":"identifier","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#file"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#line"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25customDetailSpecificationAE06CustomgH0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","customDetailSpecification"],"names":{"title":"customDetailSpecification","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customDetailSpecification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"To specify the `.custom` `Detail` level and control various specifications in the model output such"},{"text":"as texture size, the specific ``CustomDetailSpecification`` should be set here."},{"text":"All `.custom` requests will then use these values. Other `Detail` level settings will ignore these."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customDetailSpecification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGqd__cSTRd__Sd7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC","interfaceLanguage":"swift"},"pathComponents":["ShapeResource"],"names":{"title":"ShapeResource","navigator":[{"kind":"identifier","spelling":"ShapeResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShapeResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a shape."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShapeResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Always call this function instead of ``Publisher/receive(subscriber:)``."},{"text":"Adopters of ``Publisher`` must implement ``Publisher/receive(subscriber:)``. The implementation of ``Publisher/subscribe(_:)-4u8kn`` provided by ``Publisher`` calls through to ``Publisher/receive(subscriber:)``."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this publisher. After attaching, the subscriber can start to receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6remove2at24preservingWorldTransformySi_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","remove(at:preservingWorldTransform:)"],"names":{"title":"remove(at:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified child from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - index: The index of the child entity to remove from the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryCompactMap(_:)"],"names":{"title":"tryCompactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls an error-throwing closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Use ``Publisher/tryCompactMap(_:)`` to remove `nil` elements from a publisher’s stream based on an error-throwing closure you provide. If the closure throws an error, the publisher cancels the upstream publisher and sends the thrown error to the downstream subscriber as a ``Publisher/Failure``."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection-based publisher. A ``Publisher/tryCompactMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform the numbers from its Arabic to Roman numerals, as an optional ."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` fails to look up a Roman numeral, it returns the optional String `(unknown)`."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` determines the input is `0`, it throws an error. The ``Publisher/tryCompactMap(_:)`` operator catches this error and stops publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from: Int) throws -> String? {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 4: \"IV\", 5: \"V\"]"},{"text":" guard from != 0 else { throw ParseError() }"},{"text":" return romanNumeralDict[from]"},{"text":" }"},{"text":" let numbers = [6, 5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryCompactMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(Unknown) V IV III II I failure(ParseError())\""},{"text":""},{"text":"- Parameter transform: An error-throwing closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE6swapAtyy5IndexQz_ACtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","swapAt(_:_:)"],"names":{"title":"swapAt(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"swapAt"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Exchanges the values at the specified indices of the collection."},{"text":""},{"text":"Both parameters must be valid indices of the collection that are not"},{"text":"equal to `endIndex`. Calling `swapAt(_:_:)` with the same index as both"},{"text":"`i` and `j` has no effect."},{"text":""},{"text":"- Parameters:"},{"text":" - i: The index of the first value to swap."},{"text":" - j: The index of the second value to swap."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"j","declarationFragments":[{"kind":"identifier","spelling":"j"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"swapAt"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"j"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","orientation(relativeTo:)"],"names":{"title":"orientation(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the orientation of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The orientation of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements up to the specified maximum count."},{"text":""},{"text":"Use ``Publisher/prefix(_:)`` to limit the number of elements republished to the downstream subscriber."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(_:)`` operator limits its output to the first two elements before finishing normally:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .prefix(2)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to republish."},{"text":"- Returns: A publisher that publishes up to the specified number of elements."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyAngularImpulse(_:relativeTo:)"],"names":{"title":"applyAngularImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an angular (torque) impulse to the physics body at its center of"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An angular impulse in kilogram square meters per second."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:)-5crqg`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:)-8d7k7`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In this example, three instances of ``PassthroughSubject`` emit values; as ``Publisher/combineLatest(_:_:)-5crqg`` receives input from any of the upstream publishers, it combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9)."},{"text":" // Result: (3, 2, 9)."},{"text":" // Result: (3, 12, 9)."},{"text":" // Result: (13, 12, 9)."},{"text":" // Result: (13, 12, 19)."},{"text":""},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations play."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation13TriggerVolumeC","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anisotropy level values specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF","interfaceLanguage":"swift"},"pathComponents":["System","update(context:)"],"names":{"title":"update(context:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Updates entities every frame."},{"text":""},{"text":"RealityKit calls this method on all registered systems in every frame."},{"text":"It passes a `context` parameter that contains a reference to the scene"},{"text":"that the system updates, along with the amount of time that has elapsed"},{"text":"since the last time RealityKit called the method for the same scene."},{"text":""},{"text":"- Parameters:"},{"text":" - context: The scene context for the scene to update."}]},"functionSignature":{"parameters":[{"name":"context","declarationFragments":[{"kind":"identifier","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyImpulse(_:at:relativeTo:)"],"names":{"title":"applyImpulse(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":" - position: The position at which to apply the impulse."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `impulse` are defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE9subscribe2to2on13componentType_7Combine11Cancellable_pxm_AA11EventSource_pSgAA9Component_pXpSgyxctAA0K0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","subscribe(to:on:componentType:_:)"],"names":{"title":"subscribe(to:on:componentType:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?, ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Receive events of type `E`."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event. For example, `SceneEvents.Update.Self`."},{"text":" - sourceObject: The event source – usually the entity you are interested in. `nil` to"},{"text":" listen all events of this type that occur in the scene."},{"text":" - componentType: The component type, or `nil` for all (for ComponentEvents)."},{"text":""},{"text":"- Returns: An object representing the subscription to this event stream."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?"}]},{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO4RateO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0C0V","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Custom"],"names":{"title":"CustomMaterial.Custom","navigator":[{"kind":"identifier","spelling":"Custom"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Custom"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the custom properties for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Custom"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV","interfaceLanguage":"swift"},"pathComponents":["BindableValue"],"names":{"title":"BindableValue","navigator":[{"kind":"identifier","spelling":"BindableValue"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValue"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The value of a bindable target."},{"text":""},{"text":"This structure holds the value of an animatable property"},{"text":"(``BindableValue/animatedValue``), that is, the target property that"},{"text":"animates. In addition, the structure stores the property's original value"},{"text":"(``BindableValue/baseValue``), which represents the property's value before"},{"text":"a running animation starts. The ``BindableValue/value`` property returns the"},{"text":"animated value when an animation runs; when the animation isn't running, it"},{"text":"returns the base value."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlE8elements7indicesACySdGSaySdG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryFilter(_:)"],"names":{"title":"tryFilter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryFilter(_:)`` to filter elements evaluated in an error-throwing closure. If the `isIncluded` closure throws an error, the publisher fails with that error."},{"text":""},{"text":"In the example below, ``Publisher/tryFilter(_:)`` checks to see if the element provided by the publisher is zero, and throws a `ZeroError` before terminating the publisher with the thrown error. Otherwise, it republishes the element only if it's even:"},{"text":""},{"text":" struct ZeroError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"2 4 failure(DivisionByZeroError())\"."},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value that indicated whether to republish the element or throws an error."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a 4x4"},{"text":"matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV08animatedD0xSgvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","animatedValue"],"names":{"title":"animatedValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A value that represents the state of the animated property as an"},{"text":"animation progresses."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher"],"names":{"title":"Scene.Publisher","navigator":[{"kind":"identifier","spelling":"Publisher"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Publisher"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A publisher for the given event type in the scene."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use `combineLatest(_:,_:)` to combine the current and two additional publishers and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by three publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3) { firstValue, secondValue, thirdValue in"},{"text":" return firstValue * secondValue * thirdValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(10)"},{"text":""},{"text":" pub.send(9)"},{"text":" pub3.send(4)"},{"text":" pub2.send(12)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 40. // pub = 2, pub2 = 2, pub3 = 10"},{"text":" // Result: 180. // pub = 9, pub2 = 2, pub3 = 10"},{"text":" // Result: 72. // pub = 9, pub2 = 2, pub3 = 4"},{"text":" // Result: 432. // pub = 9, pub2 = 12, pub3 = 4"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16CollisionCastHitV","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll12keepCapacity25preservingWorldTransformsySb_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","removeAll(keepCapacity:preservingWorldTransforms:)"],"names":{"title":"removeAll(keepCapacity:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - keepCapacity: `true` to keep the memory reserved for storing the children."},{"text":" `false` to free the reserved memory."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"keepCapacity","declarationFragments":[{"kind":"identifier","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC9subscribeyyqd__5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Output","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","synchronization"],"names":{"title":"synchronization","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s synchronization component."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV6frames4name9tweenMode13frameInterval10isAdditive10bindTarget10blendLayer06repeatH004fillH09trimStart0S3End0S8Duration6offset5delay5speedACyxGSayxG_SSAA05TweenH0OSfSbAA04BindN0OSgs5Int32VAA0d6RepeatH0OAA0d4FillH0VSdSgA4_A4_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","init(frames:name:tweenMode:frameInterval:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(frames:name:tweenMode:frameInterval:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation with a collection of frames that represent"},{"text":"incremental steps in the overall timeline."},{"text":""},{"text":"- Parameters:"},{"text":" - frames: An array of values in which each element represents a discrete"},{"text":"state of the animated property at a given point in the animation’s"},{"text":"timeline."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - tweenMode: An option that determines how animation frames transition."},{"text":""},{"text":" - frameInterval: The duration within the animation timeline for each"},{"text":"frame in the frames array."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0 / 30.0, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyLinearImpulse(_:relativeTo:)"],"names":{"title":"applyLinearImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at its center of mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-9yqi1`` to return a new publisher that combines the elements from two other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject`` that emit values; ``Publisher/zip(_:_:_:)-9yqi1`` receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(letters, emoji) { anInt, aLetter, anEmoji in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt))\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub:\"😀\", \"🥰\" zip output: \"🥰🥰 BB\""},{"text":""},{"text":" // Prints:"},{"text":" // 😀 A"},{"text":" // 🥰🥰 BB"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from three upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation6SystemP5scenexAA5SceneC_tcfc","interfaceLanguage":"swift"},"pathComponents":["System","init(scene:)"],"names":{"title":"init(scene:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new system."},{"text":""},{"text":"There’s no need to instantiate your own systems, so don’t call this"},{"text":"method. Instead, register your system with RealityKit by calling"},{"text":"``System/registerSystem()``. RealityKit automatically creates an"},{"text":"instance of every registered system for every scene."},{"text":""},{"text":"- Parameters:"},{"text":" - scene: The scene this system affects."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","transformMatrix(relativeTo:)"],"names":{"title":"transformMatrix(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the 4 x 4 transform matrix of an entity relative to the given"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV14orientedBoundsAA19OrientedBoundingBoxVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","orientedBounds"],"names":{"title":"orientedBounds","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientedBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientedBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls a closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Combine’s ``Publisher/compactMap(_:)`` operator performs a function similar to that of in the Swift standard library: the ``Publisher/compactMap(_:)`` operator in Combine removes `nil` elements in a publisher’s stream and republishes non-`nil` elements to the downstream subscriber."},{"text":""},{"text":"The example below uses a range of numbers as the source for a collection based publisher. The ``Publisher/compactMap(_:)`` operator consumes each element from the `numbers` publisher attempting to access the dictionary using the element as the key. If the example’s dictionary returns a `nil`, due to a non-existent key, ``Publisher/compactMap(_:)`` filters out the `nil` (missing) elements."},{"text":""},{"text":" let numbers = (0...5)"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .compactMap { romanNumeralDict[$0] }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"I II III V\""},{"text":""},{"text":"- Parameter transform: A closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of the calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGSaySdGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","Element"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureMapOutputs.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two dependencies are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first dependency to compare."},{"text":""},{"text":" - rhs: The second dependency to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two dependencies are"},{"text":"equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation5EventP","interfaceLanguage":"swift"},"pathComponents":["Event"],"names":{"title":"Event","navigator":[{"kind":"identifier","spelling":"Event"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Event"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that can be sent as an event."},{"text":""},{"text":"RealityKit provides a number of events you can subscribe to to get notified when"},{"text":"things happens in a scene. For example, you can subscribe to ``RealityKit/CollisionEvents/Began``"},{"text":"to get notified when two objects begin colliding, or ``RealityKit/SceneEvents/Update`` to get notified"},{"text":"when the scene redraws."},{"text":""},{"text":" ## Subscribe with a closure"},{"text":""},{"text":"To subscribe to a scene event, import Combine, create a property of type "},{"text":"to maintain a reference to the subscription, then call ``RealityKit/Scene/subscribe(to:on:_:)``"},{"text":"or ``RealityKit/Scene/subscribe(to:on:componentType:_:)`` and provide a closure."},{"text":""},{"text":"The closure is passed an ``RealityKit/Scene/Event`` object that contains information relevant to the type of event you subscribed to."},{"text":""},{"text":"Here's an example of subscribing to the collision begain event and retrieving the two entities involved in the collision:"},{"text":""},{"text":"```swift"},{"text":" import AppKit"},{"text":" import RealityKit"},{"text":" import Combine"},{"text":""},{"text":" class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.subscribe("},{"text":" to: CollisionEvents.Began.self,"},{"text":" on: boxAnchor"},{"text":" ) { event in"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":" }"},{"text":" }"},{"text":"```"},{"text":""},{"text":" ## Subscribe using a method"},{"text":""},{"text":"You can also subscribe to events using a function rather than a closure by using"},{"text":"."},{"text":"Here's an example of using a function to respond to that same event:"},{"text":""},{"text":"```swift"},{"text":"import AppKit"},{"text":"import RealityKit"},{"text":"import Combine"},{"text":""},{"text":"class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.publisher(for: CollisionEvents.Began.self,"},{"text":" on:nil).sink(receiveValue: onCollisionBegan)"},{"text":" }"},{"text":""},{"text":" private func onCollisionBegan(_ event:"},{"text":" CollisionEvents.Began) {"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Event"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15CollisionFilterV","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6prefixyAA19AsyncPrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncPrefixSequence","preciseIdentifier":"s:12_Concurrency19AsyncPrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns an asynchronous sequence, up to the specified maximum length,"},{"text":"containing the initial elements of the base asynchronous sequence."},{"text":""},{"text":"Use `prefix(_:)` to reduce the number of elements produced by the"},{"text":"asynchronous sequence."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `prefix(_:)` method causes the modified"},{"text":"sequence to pass through the first six values, then end."},{"text":""},{"text":" for await number in Counter(howHigh: 10).prefix(6) {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"1 2 3 4 5 6 \""},{"text":""},{"text":"If the count passed to `prefix(_:)` exceeds the number of elements in the"},{"text":"base sequence, the result contains all of the elements in the sequence."},{"text":""},{"text":"- Parameter count: The maximum number of elements to return. The value of"},{"text":" `count` must be greater than or equal to zero."},{"text":"- Returns: An asynchronous sequence starting at the beginning of the"},{"text":" base sequence with at most `count` elements."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncPrefixSequence","preciseIdentifier":"s:12_Concurrency19AsyncPrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncPrefixSequence","preciseIdentifier":"s:12_Concurrency19AsyncPrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9publisher3for2onAC9PublisherVy_xGxm_AA11EventSource_pSgtAA0H0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","publisher(for:on:)"],"names":{"title":"publisher(for:on:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a publisher for events of the specified type."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The event, like `SceneEvents.Update.self`."},{"text":""},{"text":"- sourceObject: The source of the event. Set to `nil` to publish all"},{"text":"events of the given type within the scene."},{"text":""},{"text":"- Returns: A publisher for events of the specified type."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","receive(subscriber:)"],"names":{"title":"receive(subscriber:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Implementations of ``Publisher`` must implement this method."},{"text":""},{"text":"The provided implementation of ``Publisher/subscribe(_:)-4u8kn``calls this method."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this ``Publisher``, after which it can receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Output","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setOrientation(_:relativeTo:)"],"names":{"title":"setOrientation(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the orientation of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - orientation: A new orientation, relative to `referenceEntity`."},{"text":""},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"orientation","declarationFragments":[{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV12orientToPathSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","orientToPath"],"names":{"title":"orientToPath","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the orbiting object updates its"},{"text":"orientation during the animation to orient itself along the rotation"},{"text":"path."},{"text":""},{"text":"The default value of this property is `false`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a"},{"text":"transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE9fromValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23BindableValuesReferenceV","interfaceLanguage":"swift"},"pathComponents":["BindableValuesReference"],"names":{"title":"BindableValuesReference","navigator":[{"kind":"identifier","spelling":"BindableValuesReference"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValuesReference"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to a bindable value of an animation."},{"text":""},{"text":"As the name indicates, this structure doesn't exhibit copy-on-write behavior"},{"text":"because it's a reference. This is in contrast to the ``BindableValue``"},{"text":"structure."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValuesReference"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13lightingModelAC08LightingF0Ovp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","lightingModel"],"names":{"title":"lightingModel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The lighting model that the material uses."},{"text":""},{"text":"A custom material’s lighting model determines exactly how RealityKit"},{"text":"uses the values set in your surface shader’s to render the entity."},{"text":""},{"text":"Custom materials supports the following lighting models:"},{"text":""},{"text":"| Lighting Model | Description | Supported Shader Outputs | |"},{"text":"-------------- | ----------- | ------------------------ | | `.lit` |"},{"text":"Uses physically based rendering techniques, but excludes clearcoat. |"},{"text":"All except set_`clearcoat()` and `set_clearcoat_roughness()` | |"},{"text":"`.clearcoat` | Uses physically based rendering techniques, including"},{"text":"clearcoat. | All | | `.unlit` | Renders without any shading or lighting"},{"text":"calculations. The result is similar to using an ``UnlitMaterial``. |"},{"text":"Uses set_`emissive_color()` only |"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5NeverO7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","receive(subscriber:)"],"names":{"title":"receive(subscriber:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Implementations of ``Publisher`` must implement this method."},{"text":""},{"text":"The provided implementation of ``Publisher/subscribe(_:)-4u8kn``calls this method."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this ``Publisher``, after which it can receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"},{"kind":"sameType","lhs":"E","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15loadAnchorAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchorAsync(contentsOf:withName:)"],"names":{"title":"loadAnchorAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an anchor entity from a file URL asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as an ``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instances"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO6staticyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","static"],"names":{"title":"PhysicsBodyMode.static","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`static`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The body never moves."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`static`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV4from16geometryModifierAcA0D0_p_AC08GeometryG0VtKcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","init(from:geometryModifier:)"],"names":{"title":"init(from:geometryModifier:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom material from an existing material and a geometry"},{"text":"modifier."},{"text":""},{"text":"Use this initializer to create a custom material with the same"},{"text":"properties as another existing material, but with a geometry modifier."},{"text":""},{"text":"- Parameters:"},{"text":" - material: The material on which to base the custom material."},{"text":""},{"text":" - geometryModifier: The geometry modifier shader function."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometryModifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"GeometryModifier","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"],"names":{"title":"handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Performs the specified closures when publisher events occur."},{"text":""},{"text":"Use ``Publisher/handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)`` when you want to examine elements as they progress through the stages of the publisher’s lifecycle."},{"text":""},{"text":"In the example below, a publisher of integers shows the effect of printing debugging information at each stage of the element-processing lifecycle:"},{"text":""},{"text":" let integers = (0...2)"},{"text":" cancellable = integers.publisher"},{"text":" .handleEvents(receiveSubscription: { subs in"},{"text":" print(\"Subscription: \\(subs.combineIdentifier)\")"},{"text":" }, receiveOutput: { anInt in"},{"text":" print(\"in output handler, received \\(anInt)\")"},{"text":" }, receiveCompletion: { _ in"},{"text":" print(\"in completion handler\")"},{"text":" }, receiveCancel: {"},{"text":" print(\"received cancel\")"},{"text":" }, receiveRequest: { (demand) in"},{"text":" print(\"received demand: \\(demand.description)\")"},{"text":" })"},{"text":" .sink { _ in return }"},{"text":""},{"text":" // Prints:"},{"text":" // received demand: unlimited"},{"text":" // Subscription: 0x7f81284734c0"},{"text":" // in output handler, received 0"},{"text":" // in output handler, received 1"},{"text":" // in output handler, received 2"},{"text":" // in completion handler"},{"text":""},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: An optional closure that executes when the publisher receives the subscription from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveOutput: An optional closure that executes when the publisher receives a value from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveCompletion: An optional closure that executes when the upstream publisher finishes normally or terminates with an error. This value defaults to `nil`."},{"text":" - receiveCancel: An optional closure that executes when the downstream receiver cancels publishing. This value defaults to `nil`."},{"text":" - receiveRequest: An optional closure that executes when the publisher receives a request for more elements. This value defaults to `nil`."},{"text":"- Returns: A publisher that performs the specified closures when publisher events occur."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCancel","declarationFragments":[{"kind":"identifier","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveRequest","declarationFragments":[{"kind":"identifier","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll25preservingWorldTransformsySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","removeAll(preservingWorldTransforms:)"],"names":{"title":"removeAll(preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO10bindTargetyAcA04BindF0O_SftcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","bindTarget(_:defaultWeight:)"],"names":{"title":"BlendWeight.bindTarget(_:defaultWeight:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of impact an animation has on the bind target of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor"],"names":{"title":"MeshDescriptor","navigator":[{"kind":"identifier","spelling":"MeshDescriptor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshDescriptor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines a mesh."},{"text":""},{"text":"This struct contains all the mesh data for a model entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshDescriptor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV5sheenAC10SheenColorVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","sheen"],"names":{"title":"sheen","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sheen"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SheenColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of an entity’s sheen."},{"text":""},{"text":"For a ``PhysicallyBasedMaterial``, object, you can use `sheen` to add"},{"text":"soft specular highlights that simulate subtle reflections like the ones"},{"text":"that occur with some materials, primarily fabrics. You can specify"},{"text":"`sheen` using a single color, or you can provide a UV-mapped image."},{"text":""},{"text":"![An illustration showing two spheres. The one on the right has very"},{"text":"subtle, soft specular highlights and is labeled “With sheen”. The one on"},{"text":"the right has no specular highlights and is labeled “Without"},{"text":"sheen”.](PhysicallyBasedMaterial-sheen-1)"},{"text":""},{"text":"The following example specifies `sheen` using a single value for the"},{"text":"entire material:"},{"text":""},{"text":"```swift"},{"text":"let sheenColor = PhysicallyBasedMaterial.Color(deviceRed: 0.8,"},{"text":"green: 0.8, blue: 0.8, alpha: 1.0)"},{"text":"material.sheen = .init(tint:sheenColor)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify sheen using a UV-mapped image texture:"},{"text":""},{"text":"```swift"},{"text":"if let sheenResource = try? TextureResource.load(named:"},{"text":"\"entity_sheen\") {"},{"text":" let sheenMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.sheen = .init(texture: sheenMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sheen"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SheenColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC7Failurea","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","Failure"],"names":{"title":"LoadRequest.Failure","navigator":[{"kind":"identifier","spelling":"Failure"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of errors this publisher might publish."},{"text":""},{"text":"Use `Never` if this `Publisher` does not publish errors."}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The height of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO9kinematicyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","kinematic"],"names":{"title":"PhysicsBodyMode.kinematic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"kinematic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The user controls body movement."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"kinematic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","timeout(_:scheduler:options:customError:)"],"names":{"title":"timeout(_:scheduler:options:customError:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Terminates publishing if the upstream publisher exceeds the specified time interval without producing an element."},{"text":""},{"text":"Use ``Publisher/timeout(_:scheduler:options:customError:)`` to terminate a publisher if an element isn’t delivered within a timeout interval you specify."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes elements and is configured to time out if no new elements are received within its `TIME_OUT` window of 5 seconds. A single value is published after the specified 2-second `WAIT_TIME`, after which no more elements are available; the publisher then times out and completes normally."},{"text":""},{"text":" var WAIT_TIME : Int = 2"},{"text":" var TIMEOUT_TIME : Int = 5"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" let cancellable = subject"},{"text":" .timeout(.seconds(TIMEOUT_TIME), scheduler: DispatchQueue.main, options: nil, customError:nil)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0) at \\(Date())\") },"},{"text":" receiveValue: { print (\"value: \\($0) at \\(Date())\") }"},{"text":" )"},{"text":""},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(WAIT_TIME),"},{"text":" execute: { subject.send(\"Some data - sent after a delay of \\(WAIT_TIME) seconds\") } )"},{"text":""},{"text":" // Prints: value: Some data - sent after a delay of 2 seconds at 2020-03-10 23:47:59 +0000"},{"text":" // completion: finished at 2020-03-10 23:48:04 +0000"},{"text":""},{"text":""},{"text":"If `customError` is `nil`, the publisher completes normally; if you provide a closure for the `customError` argument, the upstream publisher is instead terminated upon timeout, and the error is delivered to the downstream."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The maximum time interval the publisher can go without emitting an element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to deliver events."},{"text":" - options: Scheduler options that customize the delivery of elements."},{"text":" - customError: A closure that executes if the publisher times out. The publisher sends the failure returned by this closure to the subscriber as the reason for termination."},{"text":"- Returns: A publisher that terminates if the specified interval elapses with no events received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]},{"name":"customError","declarationFragments":[{"kind":"identifier","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO7dynamicyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","dynamic"],"names":{"title":"PhysicsBodyMode.dynamic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dynamic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Forces and collisions control body movement."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dynamic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext in the context's"},{"text":"fill color."},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like `NSRectFill()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC2id0B04UUIDVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addTorque(_:relativeTo:)"],"names":{"title":"addTorque(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a torque to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added torque until the end of the"},{"text":"frame interval. To continue exerting the torque after that time, add the"},{"text":"torque again with another call to the method. Handle the"},{"text":"``SceneEvents/Update`` event to receive an indication of when the frame"},{"text":"interval ends. For an app that renders at 60 frames per second (fps),"},{"text":"this event occurs about once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - torque: A torque in newton meters per radian."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `torque` is defined."}]},"functionSignature":{"parameters":[{"name":"torque","declarationFragments":[{"kind":"identifier","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setTransformMatrix(_:relativeTo:)"],"names":{"title":"setTransformMatrix(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the transform of the entity relative to the given reference entity"},{"text":"using a 4x4 matrix representation."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Setting a ``HasTransform/transform``"},{"text":"using a 4x4 matrix is therefore a lossy event that might result in"},{"text":"certain transformations, like shear, being dropped."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 transform matrix, given relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15loadAnchorAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchorAsync(named:in:)"],"names":{"title":"loadAnchorAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an anchor entity from a file in a bundle asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as an ``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read an instance given its name."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14sampleOrderingAE06SampleG0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","sampleOrdering"],"names":{"title":"sampleOrdering","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampleOrdering"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order of the image samples."},{"text":""},{"text":"By default, RealityKit assumes that image samples aren’t in any particular order. If you’re"},{"text":"providing the images in order, with adjacent images next to each other, specifying"},{"text":"``PhotogrammetrySession/Configuration-swift.struct/SampleOrdering-swift.enum/sequential``"},{"text":"for this value may result in better performance."},{"text":""},{"text":"This setting has no impact on the quality of the produced object."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampleOrdering"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC8resourceAA0C8ResourceCvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The resource that provides the audio stream."},{"text":""},{"text":"You create a playback controller configured with a particular resource"},{"text":"by calling an entity’s ``Entity/prepareAudio(_:)`` method."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsySayACG_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","replaceAll(_:preservingWorldTransforms:)"],"names":{"title":"replaceAll(_:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity and adds the specified list of entities as the new"},{"text":"children."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The list of the new children."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"]"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations stop."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationGroup/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeA2C013VisualizationH0O_tcfc","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","init(visualizationMode:)"],"names":{"title":"init(visualizationMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a component that isolates a portion of the rendering process and"},{"text":"displays it as the entity’s surface texture."},{"text":""},{"text":"- Parameters:"},{"text":"- visualizationMode: The portion of the rendering process to use as the"},{"text":"entity’s surface texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":" = .none)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO9parameteryACSS_SftcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","parameter(_:defaultWeight:)"],"names":{"title":"BlendWeight.parameter(_:defaultWeight:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of impact an animation has on a named parameter of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","clearForcesAndTorques()"],"names":{"title":"clearForcesAndTorques()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Clears all forces previously added to the physics body."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO4oneKyA2ImF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","oneK"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureDimension.oneK","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"oneK"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"oneK"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a color or texture."},{"text":""},{"text":"Use this initializer to create an object to specify the amount of"},{"text":"roughness using a single value or an image texture, or both."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light that it reflects. A material with a high"},{"text":"roughness has a matte appearance, and one with a low roughness has a"},{"text":"shiny appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](CustomMaterial-Roughness-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"The following code demonstrates creating a roughness object using"},{"text":"this initalizer:"},{"text":""},{"text":"```swift"},{"text":"if let roughnessResource = try? TextureResource.load(named:"},{"text":"\"entity_roughness\") {"},{"text":" let roughness = MaterialParameters.Texture(roughnessResource)"},{"text":" customMaterial.roughness = .init(scale: 0.5, texture: roughness)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, the `texture` and `scale` properties you set"},{"text":"on the ``CustomMaterial/roughness-swift.property`` property are"},{"text":"available in your surface shader function, but RealityKit doesn’t"},{"text":"automatically use them to render your entity. To render an entity"},{"text":"with roughness, ``CustomMaterial/lightingModel-swift.property`` must"},{"text":"be ``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its"},{"text":"surface shader must call `params.surface().set_roughness()`."},{"text":""},{"text":"To achieve the same metallic behavior as"},{"text":"``PhysicallyBasedMaterial``, the surface shader function multiplies"},{"text":"the roughness scale by the sampled value from the roughness texture,"},{"text":"as the following Metal code demonstrates:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the roughness scale from the CustomMaterial."},{"text":" float roughnessScale = params.material_constants().roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the texture based on the resulting UVs."},{"text":" auto tex = params.textures();"},{"text":" half roughness = tex.roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and the sampled value from the texture, and assign"},{"text":" // the result to the shader's base color property."},{"text":" roughness *= roughnessScale;"},{"text":""},{"text":" // Set the roughness value to be used by the custom material shader."},{"text":" params.surface().set_roughness(roughness);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The roughness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0C0V5value7textureAEs5SIMD4VySfG_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Custom","init(value:texture:)"],"names":{"title":"init(value:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom object from a vector and texture."},{"text":""},{"text":"Use this initializer to create a new"},{"text":"``CustomMaterial/Custom-swift.struct`` object from a four-component"},{"text":"vector, a texture, or both. RealityKit passes these values"},{"text":"automatically to your custom material’s shader functions. Custom"},{"text":"values have no predefined meaning, and RealityKit doesn’t use them"},{"text":"other than to make them available in your surface shader and"},{"text":"geometry modifier."},{"text":""},{"text":"- Parameters:"},{"text":" - value: A four-component vector."},{"text":""},{"text":" - texture: An optional texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(repeating: 0), "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO11ElementTypeO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryReduce(_:_:)"],"names":{"title":"tryReduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies an error-throwing closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/tryReduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on an error-throwing closure you provide."},{"text":"If the closure throws an error, the publisher fails and passes the error to its subscriber."},{"text":""},{"text":"In the example below, the publisher’s `0` element causes the `myDivide(_:_:)` function to throw an error and publish the result:"},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" var numbers: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" numbers.publisher"},{"text":" .tryReduce(numbers.first!, { accum, next in try myDivide(accum, next) })"},{"text":" .catch({ _ in Just(Double.nan) })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: An error-throwing closure that takes the previously-accumulated value and the next element from the upstream publisher to produce a new value."},{"text":""},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryPrefix(while:)"],"names":{"title":"tryPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while an error-throwing predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/tryPrefix(while:)`` to emit values from the upstream publisher that meet a condition you specify in an error-throwing closure."},{"text":"The publisher finishes when the closure returns `false`. If the closure throws an error, the publisher fails with that error."},{"text":""},{"text":" struct OutOfRangeError: Error {}"},{"text":""},{"text":" let numbers = (0...10).reversed()"},{"text":" cancellable = numbers.publisher"},{"text":" .tryPrefix {"},{"text":" guard $0 != 0 else {throw OutOfRangeError()}"},{"text":" return $0 <= numbers.max()!"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"10 9 8 7 6 5 4 3 2 1 completion: failure(OutOfRangeError()) \""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value indicating whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate throws or indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the predicate closure."},{"text":""},{"text":"Use ``Publisher/contains(where:)`` to find the first element in an upstream that satisfies the closure you provide. This operator consumes elements produced from the upstream publisher until the upstream publisher produces a matching element."},{"text":""},{"text":"This operator is useful when the upstream publisher produces elements that don’t conform to `Equatable`."},{"text":""},{"text":"In the example below, the ``Publisher/contains(where:)`` operator tests elements against the supplied closure and emits `true` for the first elements that’s greater than `4`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains {$0 > 4}"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12ParameterSetV","interfaceLanguage":"swift"},"pathComponents":["ParameterSet"],"names":{"title":"ParameterSet","navigator":[{"kind":"identifier","spelling":"ParameterSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to general-purpose entity parameters for animations."},{"text":""},{"text":"Subscript this structure to access a particular property by name. The return"},{"text":"value is ``BindableValue`` ``, where `T` is one of the adopting"},{"text":"``BindableData`` types."},{"text":""},{"text":"As a reference, this structure doesn’t exhibit copy-on-write behavior."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV04baseD0xvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","baseValue"],"names":{"title":"baseValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A value that reflects the state of the animated property before or after"},{"text":"an animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``SampledAnimation/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``SampledAnimation/trimStart``, ``SampledAnimation/trimEnd``, or"},{"text":"``SampledAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addForce(_:at:relativeTo:)"],"names":{"title":"addForce(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at the specified position."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":" - position: The position at which to apply the force."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `force` are defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy level specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC2IDa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","ID"],"names":{"title":"PhotogrammetrySession.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO4twoKyA2ImF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","twoK"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureDimension.twoK","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"twoK"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"twoK"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorVyAA0C6BufferVy7ElementQzGSgxcAA0cE8SemanticRzluip","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6shapes4mode6filterACSayAA13ShapeResourceCG_AC4ModeOAA0C6FilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","init(shapes:mode:filter:)"],"names":{"title":"init(shapes:mode:filter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision component with the given collision shape, mode, and"},{"text":"filter parameters."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The collection of shapes that collectively define the outer"},{"text":"dimensions of the associated entity for the purposes of collision"},{"text":"detection."},{"text":""},{"text":" - mode: The mode of the collision component."},{"text":""},{"text":"- filter: A filter that limits the other entities with which the entity"},{"text":"can collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":" = .default, "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .default)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO5fourKyA2ImF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","fourK"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureDimension.fourK","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fourK"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fourK"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object to specify the amount of roughness, using a single"},{"text":"value that applies to the entire material."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light that it reflects. A material with a high"},{"text":"roughness has a matte appearance, and one with a low roughness has a"},{"text":"shiny appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](CustomMaterial-Roughness-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"The following Swift code shows how to specify roughness using a"},{"text":"single value for the entire entity:"},{"text":""},{"text":"```swift"},{"text":"material.roughness = PhysicallyBasedMaterial.Roughness(floatLiteral: 0.0)"},{"text":"```"},{"text":""},{"text":"With custom materials, the roughness value is available in your"},{"text":"surface shader; however, RealityKit doesn’t use it automatically to"},{"text":"render the entity. To render an entity with roughness, the"},{"text":"material’s ``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_roughness()`."},{"text":""},{"text":"The following Metal code shows how to retrieve the roughness value"},{"text":"set using this initializer in your surface shader:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the roughness scale from the CustomMaterial."},{"text":" float roughnessScale = params.material_constants().roughness_scale();"},{"text":""},{"text":" // Set the roughness value using the roughness scale."},{"text":" params.surface().set_roughness(roughnessScale);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The roughness value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV8resourceAA0E8ResourceCvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6boundsAA11BoundingBoxVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","bounds"],"names":{"title":"bounds","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bounding box for the created entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC17completionHandleryycSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","completionHandler"],"names":{"title":"completionHandler","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A closure that the playback controller executes when it comes to the end"},{"text":"of the audio stream."},{"text":""},{"text":"The controller doesn’t call the closure if you manually stop the audio"},{"text":"by calling the ``AudioPlaybackController/stop()`` or the"},{"text":"``AudioPlaybackController/pause()`` method."},{"text":""},{"text":"You can only register one handler at a time. If you set a new handler,"},{"text":"the controller discards the old one."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new instance to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"instance","declarationFragments":[{"kind":"identifier","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeAC013VisualizationH0Ovp","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","visualizationMode"],"names":{"title":"visualizationMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The part of the rendering process to display as the entity’s surface"},{"text":"texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV2id5imageACSi_So11CVBufferRefatcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","init(id:image:)"],"names":{"title":"init(id:image:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new sample."},{"text":""},{"text":"- Parameters:"},{"text":" - id: A unique identifier for the sample."},{"text":""},{"text":"- image: The image data in"},{"text":""},{"text":"or"},{"text":""},{"text":"format."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO6eightKyA2ImF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","eightK"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureDimension.eightK","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eightK"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eightK"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","visualBounds(recursive:relativeTo:excludeInactive:)"],"names":{"title":"visualBounds(recursive:relativeTo:excludeInactive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Computes a bounding box for the entity in the specified space,"},{"text":"optionally including child entities."},{"text":""},{"text":"The method has complexity `O(n)`, where `n` is the number of entities in"},{"text":"the hierarchy."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to incorporate the bounds"},{"text":"of all descendants."},{"text":""},{"text":" - referenceEntity: An entity that defines a frame of reference. Set to"},{"text":"`nil` to indicate world space."},{"text":""},{"text":"- excludeInactive: A Boolean that you set to `true` to exclude inactive"},{"text":"entities."},{"text":""},{"text":"- Returns: The bounding box."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"excludeInactive","declarationFragments":[{"kind":"identifier","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["BoundingBox"],"names":{"title":"BoundingBox","navigator":[{"kind":"identifier","spelling":"BoundingBox"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BoundingBox"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An axis-aligned bounding box (AABB)."}]},"declarationFragments":[{"kind":"attribute","spelling":"@frozen"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BoundingBox"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryContains(where:)"],"names":{"title":"tryContains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the throwing predicate closure."},{"text":""},{"text":"Use ``Publisher/tryContains(where:)`` to find the first element in an upstream that satisfies the error-throwing closure you provide."},{"text":""},{"text":"This operator consumes elements produced from the upstream publisher until the upstream publisher either:"},{"text":""},{"text":"- Produces a matching element, after which it emits `true` and the publisher finishes normally."},{"text":"- Emits `false` if no matching element is found and the publisher finishes normally."},{"text":""},{"text":"If the predicate throws an error, the publisher fails, passing the error to its downstream."},{"text":""},{"text":"In the example below, the ``Publisher/tryContains(where:)`` operator tests values to find an element less than `10`; when the closure finds an odd number, like `3`, the publisher terminates with an `IllegalValueError`."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers = [3, 2, 10, 5, 0, 9]"},{"text":" numbers.publisher"},{"text":" .tryContains {"},{"text":" if ($0 % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return $0 < 10"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(position:from:)"],"names":{"title":"convert(position:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of a reference entity to the"},{"text":"local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9subscribe2to2on_7Combine11Cancellable_pxm_AA11EventSource_pSgyxctAA0I0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","subscribe(to:on:_:)"],"names":{"title":"subscribe(to:on:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Receives events of the given type."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event, like `SceneEvents.Update.Self`."},{"text":""},{"text":"- sourceObject: The source of the event. Set to nil to listen for all"},{"text":"events of the given type within the scene."},{"text":""},{"text":" - handler: A closure to call with the event."},{"text":""},{"text":"- Returns: The subscription to the event stream."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-8d7k7`` to return a new publisher that combines the elements from two additional publishers to publish a tuple to the downstream. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject``;"},{"text":"``Publisher/zip(_:_:)-8d7k7`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" zip output: (1, \"A\", \"😀\")"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub: zip output: (2, \"B\", \"🥰\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\")"},{"text":" // (2, \"B\", \"🥰\")"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler"],"names":{"title":"MaterialParameters.Texture.Sampler","navigator":[{"kind":"identifier","spelling":"Sampler"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Sampler"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Sampler"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two blend weights are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The blend weight on the left side of the operator."},{"text":""},{"text":" - rhs: The blend weight on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the blend weights are equal. Otherwise,"},{"text":"returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetVyAA0D0_pSgAaF_pXpcip","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets or sets the component of the specified type."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","replaceAll(_:preservingWorldTransforms:)"],"names":{"title":"replaceAll(_:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity and adds the specified list of entities as the new"},{"text":"children."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The list of the new children."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC10loadAnchor10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchor(contentsOf:withName:)"],"names":{"title":"loadAnchor(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an anchor entity from a file URL."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as an"},{"text":"``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC6results6ResultOyxs5Error_pGSgvp","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","result"],"names":{"title":"result","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"result"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:s6ResultO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of the load operation."},{"text":""},{"text":"A load operation can have the following results:"},{"text":"- `success(Output)` ... The load operation has completed successfully."},{"text":"- `failure(Error)` ... The load operation failed."},{"text":"- `nil` ... The load operation is still in progress."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"result"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:s6ResultO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","print(_:to:)"],"names":{"title":"print(_:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prints log messages for all publishing events."},{"text":""},{"text":"Use ``Publisher/print(_:to:)`` to log messages the console."},{"text":""},{"text":"In the example below, log messages are printed on the console:"},{"text":""},{"text":" let integers = (1...2)"},{"text":" cancellable = integers.publisher"},{"text":" .print(\"Logged a message\", to: nil)"},{"text":" .sink { _ in }"},{"text":""},{"text":" // Prints:"},{"text":" // Logged a message: receive subscription: (1..<2)"},{"text":" // Logged a message: request unlimited"},{"text":" // Logged a message: receive value: (1)"},{"text":" // Logged a message: receive finished"},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string —- which defaults to empty -— with which to prefix all log messages."},{"text":" - stream: A stream for text output that receives messages, and which directs output to the console by default. A custom stream can be used to log messages to other destinations."},{"text":"- Returns: A publisher that prints log messages for all publishing events."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"to","internalName":"stream","declarationFragments":[{"kind":"identifier","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing instance. The old instance is returned."}]},"functionSignature":{"parameters":[{"name":"instance","declarationFragments":[{"kind":"identifier","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV13rotationCountSfvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","rotationCount"],"names":{"title":"rotationCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of times to rotate the target entity before stopping."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The width of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7toValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator"],"names":{"title":"MeshInstanceCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter"],"names":{"title":"MaterialScalarParameter","navigator":[{"kind":"identifier","spelling":"MaterialScalarParameter"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialScalarParameter"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scalar parameter applied to a material."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialScalarParameter"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext with that rect's"},{"text":"associated color"},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like `NSRectFill()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, NSColor)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, NSColor)"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO6boundsyAeA11BoundingBoxVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","bounds(_:)"],"names":{"title":"PhotogrammetrySession.Result.bounds(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of a request for a bounding box."},{"text":""},{"text":"- Parameters:"},{"text":" - BoundingBox: The bounds of the created object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","delay(for:tolerance:scheduler:options:)"],"names":{"title":"delay(for:tolerance:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Delays delivery of all output to the downstream receiver by a specified amount of time on a particular scheduler."},{"text":""},{"text":"Use ``Publisher/delay(for:tolerance:scheduler:options:)`` when you need to delay the delivery of elements to a downstream by a specified amount of time."},{"text":""},{"text":"In this example, a publishes an event every second. The ``Publisher/delay(for:tolerance:scheduler:options:)`` operator holds the delivery of the initial element for 3 seconds (±0.5 seconds), after which each element is delivered to the downstream on the main run loop after the specified delay:"},{"text":""},{"text":" let df = DateFormatter()"},{"text":" df.dateStyle = .none"},{"text":" df.timeStyle = .long"},{"text":" cancellable = Timer.publish(every: 1.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .handleEvents(receiveOutput: { date in"},{"text":" print (\"Sending Timestamp \\'\\(df.string(from: date))\\' to delay()\")"},{"text":" })"},{"text":" .delay(for: .seconds(3), scheduler: RunLoop.main, options: .none)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \"\\n\") },"},{"text":" receiveValue: { value in"},{"text":" let now = Date()"},{"text":" print (\"At \\(df.string(from: now)) received Timestamp \\'\\(df.string(from: value))\\' sent: \\(String(format: \"%.2f\", now.timeIntervalSince(value))) secs ago\", terminator: \"\\n\")"},{"text":" }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Sending Timestamp '5:02:33 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:34 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:35 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:36 PM PDT' to delay()"},{"text":" // At 5:02:36 PM PDT received Timestamp '5:02:33 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:37 PM PDT' to delay()"},{"text":" // At 5:02:37 PM PDT received Timestamp '5:02:34 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:38 PM PDT' to delay()"},{"text":" // At 5:02:38 PM PDT received Timestamp '5:02:35 PM PDT' sent: 3.00 secs ago"},{"text":""},{"text":"The delay affects the delivery of elements and completion, but not of the original subscription."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The amount of time to delay."},{"text":" - tolerance: The allowed tolerance in delivering delayed events. The `Delay` publisher may deliver elements this much sooner or later than the interval specifies."},{"text":" - scheduler: The scheduler to deliver the delayed events."},{"text":" - options: Options relevant to the scheduler’s behavior."},{"text":"- Returns: A publisher that delays delivery of elements and completion to the downstream receiver."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"tolerance","declarationFragments":[{"kind":"identifier","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator","Element"],"names":{"title":"MeshPartCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","requestOwnership(timeout:_:)"],"names":{"title":"requestOwnership(timeout:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests ownership of the entity."},{"text":""},{"text":"Requesting ownership isn’t guaranteed to succeed."},{"text":""},{"text":"- Parameters:"},{"text":" - timeout: A time in seconds to wait before giving up."},{"text":""},{"text":"- callback: A closure that the method calls when the request completes"},{"text":"or times out."}]},"functionSignature":{"parameters":[{"name":"timeout","declarationFragments":[{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"callback","declarationFragments":[{"kind":"identifier","spelling":"callback"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 15, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"callback"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(normal:from:)"],"names":{"title":"convert(normal:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of a reference entity to"},{"text":"the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, specified"},{"text":"relative to specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request"],"names":{"title":"PhotogrammetrySession.Request","navigator":[{"kind":"identifier","spelling":"Request"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Request"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that configures a photogrammetry session reconstruction request."},{"text":""},{"text":"Create a ``PhotogrammetrySession/Request`` for each 3D object you want"},{"text":"to construct from the same set of photographs. You might, for example,"},{"text":"create a session with two requests, one to generate a low-resolution"},{"text":"preview object in memory, and a second to generate a high-resolution"},{"text":"final object saved to the file system."},{"text":""},{"text":"Before creating an instance of this class, check ``PhotogrammetrySession/isSupported``"},{"text":"to ensure object capture is available on the current device."},{"text":""},{"text":"For more information on using ``PhotogrammetrySession``, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Request"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(direction:from:)"],"names":{"title":"convert(direction:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of a reference entity"},{"text":"to the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector specified relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func","displayName":"Function"},"identifier":{"precise":"s:17RealityFoundation5blend7sources4name10isAdditiveAA13BlendTreeNode_pSayAaF_pG_SSSbtF","interfaceLanguage":"swift"},"pathComponents":["blend(sources:name:isAdditive:)"],"names":{"title":"blend(sources:name:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Combines the animations that result from the individual blend-tree nodes of"},{"text":"the given array to a single blend-tree node."},{"text":""},{"text":"- Parameters:"},{"text":" - sources: The blend-tree nodes to combine."},{"text":""},{"text":" - name: A unique name for the combined node."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation builds on"},{"text":"the current state of the target entity, or resets the state before running."},{"text":""},{"text":"- Returns: A blend-tree node that combines the given animations."}]},"functionSignature":{"parameters":[{"name":"sources","declarationFragments":[{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}]},{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"isAdditive","declarationFragments":[{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness value for the entire entity or a multiplier for its"},{"text":"texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO11modelEntityyA2E6DetailO_AE8GeometryVSgtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","modelEntity(detail:geometry:)"],"names":{"title":"PhotogrammetrySession.Request.modelEntity(detail:geometry:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"detail"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Detail","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometry"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object-creation request stored in-memory for immediate display."},{"text":""},{"text":"- Parameters:"},{"text":" - detail: The level of detail for the created model."},{"text":""},{"text":"- geometry: The bounding box or transforms for the generated object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"detail"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Detail","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"text","spelling":" = .reduced, "},{"kind":"externalParam","spelling":"geometry"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4noneAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","none"],"names":{"title":"none","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"No collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to find the minimum value in a stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/min(by:)`` operator emits a value when the publisher finishes, that value is the minimum of the values received from upstream, which is `-1`."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .min()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"-1\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationGroup/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationGroup/trimStart`` and ``AnimationGroup/trimEnd`` are `nil`,"},{"text":"the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationGroup/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``AnimationGroup/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO","interfaceLanguage":"swift"},"pathComponents":["SceneEvents"],"names":{"title":"SceneEvents","navigator":[{"kind":"identifier","spelling":"SceneEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events the scene triggers."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7samplerAE7SamplerVvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","sampler"],"names":{"title":"sampler","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Element"],"names":{"title":"MeshInstanceCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(transform:from:)"],"names":{"title":"convert(transform:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of a reference entity to the local space of the entity on which"},{"text":"you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO10pointCloudyAeC05PointG0VcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","pointCloud(_:)"],"names":{"title":"PhotogrammetrySession.Result.pointCloud(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloud"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PointCloud","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of a request for a point cloud."},{"text":""},{"text":"- Parameters:"},{"text":" - PointCloud: The created point cloud."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloud"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PointCloud","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","withUnsynchronized(_:)"],"names":{"title":"withUnsynchronized(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"(() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calls the given closure in a way such that component changes that the"},{"text":"closure makes don’t trigger synchronization."},{"text":""},{"text":"Use this method to make local changes that don’t affect remote peers,"},{"text":"like aligning a billboard component to face the local camera."},{"text":""},{"text":"Using this method doesn’t permanently prevent changes from being"},{"text":"synchronized. If you modify the same components immediately before the"},{"text":"call to ``HasSynchronization/withUnsynchronized(_:)``, or anytime"},{"text":"afterward, the changes are synchronized."},{"text":""},{"text":"If the local peer doesn’t own the associated entity, changes that the"},{"text":"remote owner makes continue to synchronize, overwriting local,"},{"text":"unsynchronized changes."},{"text":""},{"text":"- Parameters:"},{"text":"- changes: A closure that the method calls while suppressing"},{"text":"synchronization triggers."}]},"functionSignature":{"parameters":[{"name":"changes","declarationFragments":[{"kind":"identifier","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"relative to peer nodes."},{"text":""},{"text":"The value of this property relates to the node's peers in a"},{"text":"``BlendTreeBlendNode/sources`` array. The sum of all node weights in a"},{"text":"given ``BlendTreeBlendNode/sources`` array needs to equal `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6boundsyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","bounds"],"names":{"title":"PhotogrammetrySession.Request.bounds","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object-creation request that returns a box the same size as the"},{"text":"created model."},{"text":""},{"text":"Use a `bounds` request to quickly retrieve a box the same size as"},{"text":"the final created object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV10objectMaskSo11CVBufferRefaSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","objectMask"],"names":{"title":"objectMask","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"objectMask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image’s object mask."},{"text":""},{"text":"When a photograph of an object includes surrounding objects, such as"},{"text":"plants, buildings, or people in an outdoor space, you can create an"},{"text":"object mask to exclude the portions of the image that don’t contain the"},{"text":"object. Masking extraneous image data reduces the number of landmarks"},{"text":"RealityKit attempts to match, speeds up the object-creation process, and"},{"text":"produces a more accurate 3D model."},{"text":""},{"text":"Provide the object mask in"},{"text":""},{"text":"format and with the same height and width as"},{"text":"``PhotogrammetrySample/image``. RealityKit ignores any pixel in"},{"text":"``PhotogrammetrySample/image`` when the corresponding pixel in"},{"text":"``PhotogrammetrySample/objectMask`` has a value of `0.0` (black) unless"},{"text":"``PhotogrammetrySession/Configuration-swift.struct/isObjectMaskingEnabled``"},{"text":"is set to `False` in the session’s configuration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"objectMask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and invokes a closure upon receiving output from either publisher."},{"text":""},{"text":"Use `combineLatest(_:)` to combine the current and one additional publisher and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by the two publishers, it multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2) { (first, second) in"},{"text":" return first * second"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(9)"},{"text":" pub1.send(3)"},{"text":" pub2.send(12)"},{"text":" pub1.send(13)"},{"text":" //"},{"text":" // Prints:"},{"text":" //Result: 4. (pub1 latest = 2, pub2 latest = 2)"},{"text":" //Result: 18. (pub1 latest = 9, pub2 latest = 2)"},{"text":" //Result: 6. (pub1 latest = 3, pub2 latest = 2)"},{"text":" //Result: 36. (pub1 latest = 3, pub2 latest = 12)"},{"text":" //Result: 156. (pub1 latest = 13, pub2 latest = 12)"},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher to combine with this one."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyLevelAC010AnisotropyG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","anisotropyLevel"],"names":{"title":"anisotropyLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyLevel","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The degree to which an entity reflects light to create stretched or"},{"text":"oblong highlights."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity that"},{"text":"uses ``PhysicallyBasedMaterial`` reflects light uniformly in all"},{"text":"directions, mimicking the behavior of most real-world objects. Some"},{"text":"objects, including those with many small parallel striations such as"},{"text":"vinyl records, CDs, or straight hair, reflect light more in some"},{"text":"directions than others, resulting in stretched or oblong specular"},{"text":"highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row. The"},{"text":"left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-anisotropyLevel-swift-property-1)"},{"text":""},{"text":"This property controls the amount of anisotropy. It works together with"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property``, which"},{"text":"defines the angle of elongation for the specular highlights."},{"text":""},{"text":"The following example specifies `anisotropyLevel` using single values"},{"text":"for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.anisotropyLevel = .AnisotropyLevel(floatLiteral: 0.5)"},{"text":"```"},{"text":""},{"text":"This example specifies `anisotropyLevel` using a UV-mapped image"},{"text":"texture."},{"text":""},{"text":"```swift"},{"text":"if let anisoLevelResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_level\") {"},{"text":" let anisoLevelMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.anisotropyLevel = .init(texture: anisoLevelMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyLevel","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance"],"names":{"title":"MeshResource.Instance","navigator":[{"kind":"identifier","spelling":"Instance"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Instance"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that transforms a model to a location."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Instance"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightP","interfaceLanguage":"swift"},"pathComponents":["HasSpotLight"],"names":{"title":"HasSpotLight","navigator":[{"kind":"identifier","spelling":"HasSpotLight"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSpotLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that defines a spot light source component."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSpotLight"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV3endSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","end"],"names":{"title":"end","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An integer multiple of the frame interval at which the animation stops."},{"text":""},{"text":"When calculating the visual beginning of a sampled animation, the"},{"text":"framework first evaluates this property, and then applies the optional"},{"text":"``SampledAnimation/trimEnd``, in seconds."},{"text":""},{"text":"The framework requires this property to contain an integer multiple of"},{"text":"``SampledAnimation/frameInterval``. Note that the value of this property"},{"text":"can be irrational because frame interval is of type"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8metallicAC8MetallicVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","metallic"],"names":{"title":"metallic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8MetallicV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness of an entity."},{"text":""},{"text":"In physically based rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. Use this property to specify whether the"},{"text":"entity displays metallic qualities and reflects the surrounding"},{"text":"environment, or displays dielectric qualities and doesn’t reflect the"},{"text":"environment. With custom materials, RealityKit doesn’t automatically use"},{"text":"the values set on this property. To render a custom material using the"},{"text":"metallic property, the material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its surface"},{"text":"shader must specify a roughness value for rendering by calling"},{"text":"`params.surface().set_roughness()`."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The sphere"},{"text":"on the left is shiny but dielecric so doesn’t reflect the surrounding"},{"text":"environment other than specular highlights from the visible light. The"},{"text":"sphere on the right is metallic and reflects all of the surrounding"},{"text":"environment like a mirror"},{"text":"ball.](CustomMaterial-metallic-swift-property-1)"},{"text":""},{"text":"The following Swift code shows how to use an image and a scale to"},{"text":"specify roughness:"},{"text":""},{"text":"```swift"},{"text":"if let metallicResource = try? TextureResource.load(named:\"entity_metallic\") {"},{"text":" let metallic = MaterialParameters.Texture(metallicResource)"},{"text":" material.metallic = PhysicallyBasedMaterial.Metallic(scale: 1.0, texture:metallic)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"The following surface shader takes the scale and texture values from the"},{"text":"``CustomMaterial/metallic-swift.property`` property, multiplies them"},{"text":"together, and uses the result to specify the metallic value for"},{"text":"rendering, which emulates the behavior of ``PhysicallyBasedMaterial``."},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"// Use samplers to retrieve a color value from a texture based on // the"},{"text":"entity's UV coordinates. Samplers can be reused with different textures."},{"text":"// Surface shader functions should define no more than eight samplers."},{"text":"constexpr sampler textureSampler(address::clamp_to_edge,"},{"text":"filter::bicubic);"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters params)"},{"text":"{"},{"text":" // Retrieve the metallic scale from the CustomMaterial."},{"text":" float metallicScale = params.material_constants().metallic_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the metallic texture based on the UV coordinates."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.metallic().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture,"},{"text":" // and assign the result to the shader's metallic property."},{"text":" metallic *= metallicScale;"},{"text":" params.surface().set_metallic(metallic);"},{"text":"}"},{"text":""},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValues5UInt8Vvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bitmask representation of the option set."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryScan(_:_:)"],"names":{"title":"tryScan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current element to an error-throwing closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/tryScan(_:_:)`` to accumulate all previously-published values into a single value, which you then combine with each newly-published value."},{"text":"If your accumulator closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, ``Publisher/tryScan(_:_:)`` calls a division function on elements of a collection publisher. The ``Publishers/TryScan`` publisher publishes each result until the function encounters a `DivisionByZeroError`, which terminates the publisher."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":""},{"text":" /// A function that throws a DivisionByZeroError if `current` provided by the TryScan publisher is zero."},{"text":" func myThrowingFunction(_ lastValue: Int, _ currentValue: Int) throws -> Int {"},{"text":" guard currentValue != 0 else { throw DivisionByZeroError() }"},{"text":" return (lastValue + currentValue) / currentValue"},{"text":" }"},{"text":""},{"text":" let numbers = [1,2,3,4,5,0,6,7,8,9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryScan(10) { try myThrowingFunction($0, $1) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"11 6 3 1 1 -1 failure(DivisionByZeroError())\"."},{"text":""},{"text":"If the closure throws an error, the publisher fails with the error."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: An error-throwing closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","RawValue"],"names":{"title":"CharacterControllerComponent.CollisionFlags.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4name8duration4axis14startTransform13spinClockwise12orientToPath13rotationCount10bindTarget10blendLayer10repeatMode04fillV010isAdditive9trimStart0Z3End0Z8Duration6offset5delay5speedACSS_Sds5SIMD3VySfGAA0I0VS2bSfAA04BindR0OSgs5Int32VAA0d6RepeatV0OAA0d4FillV0VSbSdSgA8_A8_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","init(name:duration:axis:startTransform:spinClockwise:orientToPath:rotationCount:bindTarget:blendLayer:repeatMode:fillMode:isAdditive:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(name:duration:axis:startTransform:spinClockwise:orientToPath:rotationCount:bindTarget:blendLayer:repeatMode:fillMode:isAdditive:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that revolves an entity around its origin."},{"text":""},{"text":"- Parameters:"},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - duration: The elapsed time for one complete rotation."},{"text":""},{"text":" - axis: A 3D vector that points in the direction of the axis around"},{"text":"which to rotate."},{"text":""},{"text":" - startTransform: The orbiting entity's beginning position."},{"text":""},{"text":" - spinClockwise: A Boolean value that indicates whether the object"},{"text":"orbits the center point in the clockwise direction."},{"text":""},{"text":" - orientToPath: A Boolean value that indicates whether the orbiting"},{"text":"object updates its orientation during the animation to orient itself"},{"text":"along the rotation path."},{"text":""},{"text":" - rotationCount: The number of times to rotate the target entity before"},{"text":"stopping."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(x: 0.0, y: 1.0, z: 0.0), "},{"kind":"externalParam","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" = .identity, "},{"kind":"externalParam","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-4xn21`` to return a new publisher that combines the elements from two publishers using a transformation you specify to publish a new value to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, ``PassthroughSubject`` instances `numbersPub` and `lettersPub` emit values; ``Publisher/zip(_:_:)-4xn21`` receives the oldest value from each publisher, uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub) { anInt, aLetter in"},{"text":" String(repeating: aLetter, count: anInt)"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" zip output: \"A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" zip output: \"BB\""},{"text":" // Prints:"},{"text":" // A"},{"text":" // BB"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from two upstream publishers."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","clip()"],"names":{"title":"clip()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clip"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"AppKit","lines":[{"text":"Modifies the current graphics context clipping path by intersecting it"},{"text":"with the graphical union of this list of rects"},{"text":"This permanently modifies the graphics state, so the current state should"},{"text":"be saved beforehand and restored afterwards."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clip"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prepend(_:)"],"names":{"title":"prepend(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prefixes a publisher’s output with the specified values."},{"text":""},{"text":"Use ``Publisher/prepend(_:)-7wk5l`` when you need to prepend specific elements before the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/prepend(_:)-7wk5l`` operator publishes the provided elements before republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .prepend(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 255 0 1 2 3 4 5 6 7 8 9 10\""},{"text":""},{"text":"- Parameter elements: The elements to publish before this publisher’s elements."},{"text":"- Returns: A publisher that prefixes the specified elements prior to this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC13playAnimation5named18transitionDuration12startsPaused9recursiveAA0E18PlaybackControllerCSS_SdS2btF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(named:transitionDuration:startsPaused:recursive:)"],"names":{"title":"playAnimation(named:transitionDuration:startsPaused:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays all the animations with the given name on the entity."},{"text":""},{"text":"The method plays all the animations in the"},{"text":"``Entity/availableAnimations`` property with a matching name. If there"},{"text":"are none, the method returns a controller showing a stopped animation."},{"text":""},{"text":"- Parameters:"},{"text":" - animationName: The name of the animation."},{"text":""},{"text":"- transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":"- startsPaused: A Boolean that you set to `true` to return from the call"},{"text":"with the animations paused. Set to `false` to start the animations right"},{"text":"away."},{"text":""},{"text":"- recursive: Indicates whether to also play animations on all"},{"text":"descendants of the entity."},{"text":""},{"text":"- Returns: An animation playback controller that you can use to start"},{"text":"and stop the animations."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"animationName","declarationFragments":[{"kind":"identifier","spelling":"animationName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animationName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use playAnimation functions that utilize an AnimationResource instead of a name.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC13generatePlane5width5depth12cornerRadiusACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generatePlane(width:depth:cornerRadius:)"],"names":{"title":"generatePlane(width:depth:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new rectangle mesh with the specified dimensions in the"},{"text":"entity’s XZ-plane."},{"text":""},{"text":"The rectangle is centered at the entity’s origin and aligned with its x"},{"text":"and y axes. The surface normal points along the y-axis. The depth along"},{"text":"the y-axis is 0."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the rectangle along the x-axis."},{"text":""},{"text":" - depth: The depth, in meters, of the rectangle along the z-axis."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The rectangle mesh."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","removeDuplicates()"],"names":{"title":"removeDuplicates()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element."},{"text":""},{"text":"Use ``Publisher/removeDuplicates()`` to remove repeating elements from an upstream publisher. This operator has a two-element memory: the operator uses the current and previously published elements as the basis for its comparison."},{"text":""},{"text":"In the example below, ``Publisher/removeDuplicates()`` triggers on the doubled, tripled, and quadrupled occurrences of `1`, `3`, and `4` respectively. Because the two-element memory considers only the current element and the previous element, the operator prints the final `0` in the example data since its immediate predecessor is `4`."},{"text":""},{"text":" let numbers = [0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .removeDuplicates()"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 0\""},{"text":""},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO10pointCloudyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","pointCloud"],"names":{"title":"PhotogrammetrySession.Request.pointCloud","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloud"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The raw detected points from the pictures with no polygons connecting them."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloud"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValueAEs5UInt8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes collisions flags from a raw value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO8polygonsyAESays5UInt8VG_Says6UInt32VGtcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","polygons(_:_:)"],"names":{"title":"MeshDescriptor.Primitives.polygons(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"polygons"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":"], ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Polygons given by counts and indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"polygons"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":"], ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO5posesyAeC5PosesVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","poses(_:)"],"names":{"title":"PhotogrammetrySession.Result.poses(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"poses"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Poses","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Once initial photogrammetric calculations are complete, a data structure mapping each sample ID"},{"text":"(or index if a folder was used) to the 6DOF algorithmically estimated pose of that sample is returned."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"poses"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Poses","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s normal map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STs8IteratorSTQzRszrlE04makeA0xyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Iterator"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Iterator"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV6bottomAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","bottom"],"names":{"title":"bottom","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bottom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bottom of capsule was hit when moving in the down direction."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bottom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:)"],"names":{"title":"zip(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and deliver pairs of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:)`` to combine the latest elements from two publishers and emit a tuple to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together as a tuple to the subscriber."},{"text":""},{"text":"Much like a zipper or zip fastener on a piece of clothing pulls together rows of teeth to link the two sides, ``Publisher/zip(_:)`` combines streams from two different publishers by linking pairs of elements from each side."},{"text":""},{"text":"In this example, `numbers` and `letters` are ``PassthroughSubject``s that emit values; once ``Publisher/zip(_:)`` receives one value from each, it publishes the pair as a tuple to the downstream subscriber. It then waits for the next pair of values."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" letters.send(\"A\") // numbers: 1,2 letters:\"A\" zip output: "},{"text":" numbers.send(3) // numbers: 1,2,3 letters: zip output: (1,\"A\")"},{"text":" letters.send(\"B\") // numbers: 1,2,3 letters: \"B\" zip output: (2,\"B\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\")"},{"text":" // (2, \"B\")"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameter other: Another publisher."},{"text":"- Returns: A publisher that emits pairs of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(direction:to:)"],"names":{"title":"convert(direction:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of the entity on which"},{"text":"you called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","count()"],"names":{"title":"count()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the number of elements received from the upstream publisher."},{"text":""},{"text":"Use ``Publisher/count()`` to determine the number of elements received from the upstream publisher before it completes:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .count()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"11\""},{"text":""},{"text":"- Returns: A publisher that consumes all elements until the upstream publisher finishes, then emits a single value with the total number of elements received."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV11translations5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Pose","translation"],"names":{"title":"translation","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Position of the pose relative to the reference coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV8IteratorV4nextxSgyF","interfaceLanguage":"swift"},"pathComponents":["QueryResult","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Advances to the next entity and returns it."},{"text":""},{"text":"- Returns: Calling this method advances the iterator to the next"},{"text":"entity and returns it. If there is no next element, returns `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE4drop5whileAA22AsyncDropWhileSequenceVyxGSb7ElementQzYac_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncDropWhileSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Omits elements from the base asynchronous sequence until a given closure"},{"text":"returns false, after which it passes through all remaining elements."},{"text":""},{"text":"Use `drop(while:)` to omit elements from an asynchronous sequence until"},{"text":"the element received meets a condition you specify."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `drop(while:)` method causes the modified"},{"text":"sequence to ignore received values until it encounters one that is"},{"text":"divisible by `3`:"},{"text":""},{"text":" let stream = Counter(howHigh: 10)"},{"text":" .drop { $0 % 3 != 0 }"},{"text":" for await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"3 4 5 6 7 8 9 10 \""},{"text":""},{"text":"After the predicate returns `false`, the sequence never executes it again,"},{"text":"and from then on the sequence passes through elements from its underlying"},{"text":"sequence as-is."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and"},{"text":" returns a Boolean value indicating whether to drop the element from the"},{"text":" modified sequence."},{"text":"- Returns: An asynchronous sequence that skips over values from the"},{"text":" base sequence until the provided closure returns `false`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncDropWhileSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncDropWhileSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(position:to:)"],"names":{"title":"convert(position:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while a predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/prefix(while:)`` to emit values while elements from the upstream publisher meet a condition you specify. The publisher finishes when the closure returns `false`."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(while:)`` operator emits values while the element it receives is less than five:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" numbers.publisher"},{"text":" .prefix { $0 < 5 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations begin within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``AnimationGroup/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO9trianglesyAESays6UInt32VGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","triangles(_:)"],"names":{"title":"MeshDescriptor.Primitives.triangles(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangles"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All triangles given by indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangles"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","removeDuplicates(by:)"],"names":{"title":"removeDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided closure."},{"text":""},{"text":"Use ``Publisher/removeDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of the current and previously published elements using a closure you provide."},{"text":""},{"text":"Use the ``Publisher/removeDuplicates(by:)`` operator when comparing types that don’t themselves implement `Equatable`, or if you need to compare values differently than the type’s `Equatable` implementation."},{"text":""},{"text":"In the example below, the ``Publisher/removeDuplicates(by:)`` functionality triggers when the `x` property of the current and previous elements are equal, otherwise the operator publishes the current `Point` to the downstream subscriber:"},{"text":""},{"text":" struct Point {"},{"text":" let x: Int"},{"text":" let y: Int"},{"text":" }"},{"text":""},{"text":" let points = [Point(x: 0, y: 0), Point(x: 0, y: 1),"},{"text":" Point(x: 1, y: 1), Point(x: 2, y: 1)]"},{"text":" cancellable = points.publisher"},{"text":" .removeDuplicates { prev, current in"},{"text":" // Considers points to be duplicate if the x coordinate"},{"text":" // is equal, and ignores the y coordinate"},{"text":" prev.x == current.x"},{"text":" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: Point(x: 0, y: 0) Point(x: 1, y: 1) Point(x: 2, y: 1)"},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9baseColorAC04BaseF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","baseColor"],"names":{"title":"baseColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9BaseColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of an entity unmodified by lighting."},{"text":""},{"text":"In physically based rendering, the base color of an entity is its color"},{"text":"before RealityKit applies any lighting calculations or other rendering"},{"text":"calculations to it. With custom materials, the base color `texture` and"},{"text":"`tint` are available as inputs in your surface shader. With custom"},{"text":"materials, RealityKit doesn’t automatically use the values set on the"},{"text":"``CustomMaterial/baseColor-swift.property`` property. The material’s"},{"text":"surface shader is responsible for calculating or setting the actual base"},{"text":"color value for rendering by calling"},{"text":"`params.surface().set_base_color()`."},{"text":""},{"text":"The following code shows how to create a base color from a tint color"},{"text":"and a texture, and then assign it to a custom material:"},{"text":""},{"text":"```swift"},{"text":"// Load entity_basecolor.jpg from the app's bundle."},{"text":"if let baseResource = try? TextureResource.load(named: \"entity_basecolor\") {"},{"text":" let baseColor = CustomMaterial.Texture(baseResource)"},{"text":" customMaterial.baseColor = CustomMaterial.BaseColor(tint: .blue,"},{"text":" texture:baseColor)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"In your surface shader, you can access the `tint` of the material’s base"},{"text":"color property by calling"},{"text":"`params.material_constants().base_color_tint()`. You can access the"},{"text":"texture by calling `params.textures().base_color()`."},{"text":""},{"text":"The following surface shader function takes the tint and texture values"},{"text":"from the ``CustomMaterial/baseColor-swift.property`` property,"},{"text":"multiplies them together, and sets the resulting value as the base color"},{"text":"for rendering, which emulates the behavior of"},{"text":"``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```other"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"// Use samplers to retrieve a color value from a texture based on // UV"},{"text":"coordinates. Samplers can be reused with different textures. //"},{"text":"RealityKit reserves eight samplers for itself, so surface shaders should"},{"text":"// never define more than eight samplers. constexpr sampler"},{"text":"textureSampler(address::clamp_to_edge, filter::bicubic);"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters params)"},{"text":"{"},{"text":" // Retrieve the base color tint from the CustomMaterial."},{"text":" half3 baseColorTint = (half3)params.material_constants().base_color_tint();"},{"text":""},{"text":" // Sample a value from the CustomMaterial's base color texture"},{"text":" // using the entity's UV coordinates."},{"text":" auto uv = params.geometry().uv0();"},{"text":" auto tex = params.textures();"},{"text":" half3 color = (half3)tex.base_color().sample(textureSampler, uv).rgb;"},{"text":""},{"text":" // Multiply the tint and color sampled from the base color texture and"},{"text":" // assign the result to the shader's base color property."},{"text":" color *= baseColorTint;"},{"text":" params.surface().set_base_color(color);"},{"text":"} ```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assign(to:on:)"],"names":{"title":"assign(to:on:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Root"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Assigns each element from a publisher to a property on an object."},{"text":""},{"text":"Use the ``Publisher/assign(to:on:)`` subscriber when you want to set a given property each time a publisher produces a value."},{"text":""},{"text":"In this example, the ``Publisher/assign(to:on:)`` sets the value of the `anInt` property on an instance of `MyClass`:"},{"text":""},{"text":" class MyClass {"},{"text":" var anInt: Int = 0 {"},{"text":" didSet {"},{"text":" print(\"anInt was set to: \\(anInt)\", terminator: \"; \")"},{"text":" }"},{"text":" }"},{"text":" }"},{"text":""},{"text":" var myObject = MyClass()"},{"text":" let myRange = (0...2)"},{"text":" cancellable = myRange.publisher"},{"text":" .assign(to: \\.anInt, on: myObject)"},{"text":""},{"text":" // Prints: \"anInt was set to: 0; anInt was set to: 1; anInt was set to: 2\""},{"text":""},{"text":" > Important: The ``Subscribers/Assign`` instance created by this operator maintains a strong reference to `object`, and sets it to `nil` when the upstream publisher completes (either normally or with an error)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath: A key path that indicates the property to assign. See [Key-Path Expression](https://developer.apple.com/library/archive/documentation/Swift/Conceptual/Swift_Programming_Language/Expressions.html#//apple_ref/doc/uid/TP40014097-CH32-ID563) in _The Swift Programming Language_ to learn how to use key paths to specify a property of an object."},{"text":" - object: The object that contains the property. The subscriber assigns the object’s property every time it receives a new value."},{"text":"- Returns: An ``AnyCancellable`` instance. Call ``Cancellable/cancel()`` on this instance when you no longer want the publisher to automatically assign the property. Deinitializing this instance will also cancel automatic assignment."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">"}]},{"name":"on","internalName":"object","declarationFragments":[{"kind":"identifier","spelling":"object"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"Root","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Root"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"object"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation14ModelComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7uvIndexSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","uvIndex"],"names":{"title":"uvIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uvIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uvIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO7perFaceyAESays6UInt32VGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials","perFace(_:)"],"names":{"title":"MeshDescriptor.Materials.perFace(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"perFace"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A different material index for each face."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"perFace"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryRemoveDuplicates(by:)"],"names":{"title":"tryRemoveDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryRemoveDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of elements using an error-throwing closure you provide. If your closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, the closure provided to ``Publisher/tryRemoveDuplicates(by:)`` returns `true` when two consecutive elements are equal, thereby filtering out `0`,"},{"text":"`1`, `2`, and `3`. However, the closure throws an error when it encounters `4`. The publisher then terminates with this error."},{"text":""},{"text":" struct BadValuesError: Error {}"},{"text":" let numbers = [0, 0, 0, 0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryRemoveDuplicates { first, second -> Bool in"},{"text":" if (first == 4 && second == 4) {"},{"text":" throw BadValuesError()"},{"text":" }"},{"text":" return first == second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 failure(BadValuesError()\""},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first. If this closure throws an error, the publisher terminates with the thrown error."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext with that rect's"},{"text":"associated gray component value in the DeviceGray color space."},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like"},{"text":"`NSRectFillListWithGrays()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, gray: CGFloat)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, gray: CGFloat)"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV3topAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","top"],"names":{"title":"top","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"top"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The top of capsule was hit when moving in the up direction."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"top"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(normal:to:)"],"names":{"title":"convert(normal:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, given in the"},{"text":" local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func","displayName":"Function"},"identifier":{"precise":"s:17RealityFoundation5blend__4name10isAdditiveAA13BlendTreeNode_pAaE_p_AaE_pSSSbtF","interfaceLanguage":"swift"},"pathComponents":["blend(_:_:name:isAdditive:)"],"names":{"title":"blend(_:_:name:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Combines the animations that result from two blend-tree nodes into a single"},{"text":"blend-tree node."},{"text":""},{"text":"- Parameters:"},{"text":" - x: A blend-tree node whose animation combines with the second animation"},{"text":"argument."},{"text":""},{"text":" - y: A blend-tree node whose animation combines with the first animation"},{"text":"argument."},{"text":""},{"text":" - name: A unique name for the combined node."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation builds on"},{"text":"the current state of the target entity, or resets the state before running."},{"text":""},{"text":"- Returns: A blend-tree node that combines the given animations."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"isAdditive","declarationFragments":[{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6source4name6weightAcA19AnimationDefinition_p_SSAA0C6WeightOtcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","init(source:name:weight:)"],"names":{"title":"init(source:name:weight:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a node that defines an animation within a tree of other blend"},{"text":"nodes."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The blend node’s animation."},{"text":""},{"text":" - name: A textual name for the blend node."},{"text":""},{"text":"- weight: A normalized percentage that designates how much effect this"},{"text":"node has compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" = .value(1.0))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22CollisionCastQueryTypeO","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17OcclusionMaterialV23receivesDynamicLightingSbvp","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","receivesDynamicLighting"],"names":{"title":"receivesDynamicLighting","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receivesDynamicLighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the occlusion material receives dynamic"},{"text":"lighting."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receivesDynamicLighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5startSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","start"],"names":{"title":"start","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An integer multiple of the frame interval at which the animation plays."},{"text":""},{"text":"When calculating the visual beginning of a sampled animation, the"},{"text":"framework first evaluates this property, and then applies the optional"},{"text":"``SampledAnimation/trimStart``, in seconds."},{"text":""},{"text":"The framework requires this property to contain an integer multiple of"},{"text":"``SampledAnimation/frameInterval``. Note that the value of this property"},{"text":"can be irrational because frame interval is of type"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation11EventSourceP","interfaceLanguage":"swift"},"pathComponents":["EventSource"],"names":{"title":"EventSource","navigator":[{"kind":"identifier","spelling":"EventSource"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EventSource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type on which events can be published and subscribed."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EventSource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."},{"text":""},{"text":"The calling process owns the entity if the value is `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off the specified number of elements"},{"text":" at the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV8rotationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Pose","rotation"],"names":{"title":"rotation","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Rotation (orientation) of the pose relative to the reference coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/max()`` to determine the maximum value in the stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/max()`` operator emits a value when the publisher finishes, that value is the maximum of the values received from upstream, which is `10`."},{"text":""},{"text":" let numbers = [0, 10, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .max()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV7gravitySo14CMAccelerationaSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","gravity"],"names":{"title":"gravity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gravity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMAcceleration","preciseIdentifier":"c:@SA@CMAcceleration"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An image’s gravity vector."},{"text":""},{"text":"Some cameras, including iPhone cameras, capture a gravity vector for"},{"text":"each image. This vector indicates the orientation of the camera at the"},{"text":"moment you took the picture. RealityKit uses this gravity vector to"},{"text":"improve landmark matching with the other images in the session."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gravity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMAcceleration","preciseIdentifier":"c:@SA@CMAcceleration"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10repeatModeAA0f6RepeatH0Ovp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``FromToByAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``FromToByAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to determine the minimum value in the stream of elements from an upstream publisher using a comparison operation you specify."},{"text":""},{"text":"This operator is useful when the value received from the upstream publisher isn’t ."},{"text":""},{"text":"In the example below an array publishes enumeration elements representing playing card ranks. The ``Publisher/min(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the minimum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .king]"},{"text":" cancellable = cards.publisher"},{"text":" .min {"},{"text":" return $0.rawValue < $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"ace\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:)"],"names":{"title":"combineLatest(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and publishes a tuple upon receiving output from either publisher."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:)`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To pair elements from multiple publishers, use ``Publisher/zip(_:)`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:)-7qt71``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In this example, ``PassthroughSubject`` `pub1` and also `pub2` emit values; as ``Publisher/combineLatest(_:)`` receives input from either upstream publisher, it combines the latest value from each publisher into a tuple and publishes it."},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(3)"},{"text":" pub1.send(45)"},{"text":" pub2.send(22)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2). // pub1 latest = 2, pub2 latest = 2"},{"text":" // Result: (3, 2). // pub1 latest = 3, pub2 latest = 2"},{"text":" // Result: (45, 2). // pub1 latest = 45, pub2 latest = 2"},{"text":" // Result: (45, 22). // pub1 latest = 45, pub2 latest = 22"},{"text":""},{"text":"When all upstream publishers finish, this publisher finishes. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"- Parameter other: Another publisher to combine with this one."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7byValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness values as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.ClearcoatRoughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO8allFacesyAEs6UInt32VcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials","allFaces(_:)"],"names":{"title":"MeshDescriptor.Materials.allFaces(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allFaces"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A single material index for the whole mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allFaces"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Iterator"],"names":{"title":"Scene.AnchorCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An iterator that presents the elements of the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation23BindableValuesReferenceVyAA0C5ValueVyxGSgAA10BindTargetO_xmtcAA0C4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["BindableValuesReference","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the bindable value at the subscripted index."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23AnimationTimingFunctionV","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat roughness object from a custom material’s"},{"text":"clearcoat roughness property."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. When you enable clearcoat"},{"text":"rendering for a material, RealityKit renders the clearcoat as a"},{"text":"separate layer just above the surface of the entity. You can specify"},{"text":"a clearcoat roughness value for the clearcoat to indicate how much"},{"text":"the clearcoat scatters light that bounces off of it, which softens"},{"text":"and spreads out the highlights."},{"text":""},{"text":"This initializer creates an object that specifies the clearcoat"},{"text":"roughness for a material using the"},{"text":"``CustomMaterial/clearcoatRoughness-swift.property`` property from a"},{"text":"``CustomMaterial`` object."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s clearcoat roughness property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation9SpotLightC","interfaceLanguage":"swift"},"pathComponents":["SpotLight"],"names":{"title":"SpotLight","navigator":[{"kind":"identifier","spelling":"SpotLight"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpotLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity that illuminates virtual content in a cone-shaped volume."},{"text":""},{"text":"During an AR session, RealityKit automatically lights your virtual objects"},{"text":"to match real-world lighting. You can also explicitly add virtual lights"},{"text":"that act upon your virtual content. This is typically most useful outside of"},{"text":"an AR session (with the view’s ``ARView/cameraMode-swift.property`` property"},{"text":"set to ``ARView/CameraMode-swift.enum/nonAR``)."},{"text":""},{"text":"A RealityKit scene can contain up to eight dynamic lights, which are"},{"text":"``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit"},{"text":"doesn’t include light from image-based lighting."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpotLight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits the specified number of elements before republishing subsequent elements."},{"text":""},{"text":"Use ``Publisher/dropFirst(_:)`` when you want to drop the first `n` elements from the upstream publisher, and republish the remaining elements."},{"text":""},{"text":"The example below drops the first five elements from the stream:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" cancellable = numbers.publisher"},{"text":" .dropFirst(5)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"6 7 8 9 10 \""},{"text":""},{"text":"- Parameter count: The number of elements to omit. The default is `1`."},{"text":"- Returns: A publisher that doesn’t republish the first `count` elements."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9modelFileyAE0B03URLV_AE6DetailOAE8GeometryVSgtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","modelFile(url:detail:geometry:)"],"names":{"title":"PhotogrammetrySession.Request.modelFile(url:detail:geometry:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelFile"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"detail"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Detail","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"geometry"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object-creation request saved to a USDZ file or a folder (for OBJ output)."},{"text":""},{"text":"- Parameters:"},{"text":"- url: A file URL that points to the output location for this request. If the URL denotes a .usdz file,"},{"text":" then a compressed USDZ file is produced."},{"text":" If a directory URL is provided, an OBJ object and all texture maps will be placed in the folder."},{"text":""},{"text":" - detail: The level of detail for the created model."},{"text":""},{"text":" - geometry: The bounding box or transforms for the generated object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelFile"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"detail"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Detail","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"text","spelling":" = .reduced, "},{"kind":"externalParam","spelling":"geometry"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","ArrayLiteralElement"],"names":{"title":"MeshInstanceCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17OcclusionMaterialV23receivesDynamicLightingACSb_tcfc","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","init(receivesDynamicLighting:)"],"names":{"title":"init(receivesDynamicLighting:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receivesDynamicLighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an occlusion material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receivesDynamicLighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The model component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyAngleAC010AnisotropyG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","anisotropyAngle"],"names":{"title":"anisotropyAngle","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyAngle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyAngle","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy angle."},{"text":""},{"text":"This property controls the scattering angle for anisotropic objects. If"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` is `0.0`,"},{"text":"this property has no effect. This property takes a value between `0.0"},{"text":"`and `1.0` or a UV-mapped grayscale image specifying angles for"},{"text":"different parts of the entity.` A` value of black (`0.0)` means a"},{"text":"rotation of 0° and a value of white (`1.0)` indicates a rotation of"},{"text":"360°. To determine the"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property`` value from an"},{"text":"angle, divide the desired angle in degrees by `360.0` or the desired"},{"text":"angle in radians by pi times 2."},{"text":""},{"text":"```swift"},{"text":"let angleDegrees = Float(125.0)"},{"text":"let anisotropyAngleFromDegrees = angleDegrees / 360.0"},{"text":""},{"text":"let angleRadians = Float(2.181662) let anisotropyAngleFromRadians ="},{"text":"angleRadians / (Float.pi * Float(2.0))"},{"text":"```"},{"text":""},{"text":"The following example shows how to specify `anisotropyAngle` using"},{"text":"single values for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.anisotropyAngle = .AnisotropyAngle(floatLiteral: 0.25)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify anisotropy using a UV-mapped image"},{"text":"texture for ``PhysicallyBasedMaterial/anisotropyLevel-swift.property``"},{"text":"and a separate image for"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property``:"},{"text":""},{"text":"```swift"},{"text":"if let anisoLevelResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_level\") {"},{"text":" let anisoLevelMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.anisotropyLevel = .init(texture: anisoLevelMap)"},{"text":"}"},{"text":"if let anisoAngleResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_angle\") {"},{"text":" let anisoAngleMap = MaterialParameters.Texture(anisoAngleResource)"},{"text":" material.anisotropyAngle = .init(texture: anisoAngleMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyAngle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyAngle","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6sourceAA19AnimationDefinition_pSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","source"],"names":{"title":"source","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The blend node's animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0E4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["ParameterSet","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a bindable value for the given name."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMax(by:)"],"names":{"title":"tryMax(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMax(by:)`` to determine the maximum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMax(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMax { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first > second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: completion: failure(IllegalValueError())"},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":""},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV14orientedBounds9transformAgA19OrientedBoundingBoxV_AA9TransformVtcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","init(orientedBounds:transform:)"],"names":{"title":"init(orientedBounds:transform:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"orientedBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an instance from an oriented bounding box and transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"orientedBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" = Transform.identity)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO","interfaceLanguage":"swift"},"pathComponents":["AudioEvents"],"names":{"title":"AudioEvents","navigator":[{"kind":"identifier","spelling":"AudioEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with audio playback."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":""},{"text":" let s = \"Swift\""},{"text":" let i = s.index(s.startIndex, offsetBy: 4)"},{"text":" print(s[i])"},{"text":" // Prints \"t\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":"- Returns: An index offset by `distance` from the index `i`. If"},{"text":" `distance` is positive, this is the same value as the result of"},{"text":" `distance` calls to `index(after:)`. If `distance` is negative, this"},{"text":" is the same value as the result of `abs(distance)` calls to"},{"text":" `index(before:)`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6normalAC6NormalVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The normal map for the entity."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures fine"},{"text":"surface details for a model using a texture instead of increasing the"},{"text":"number of polygons in the model. It works by storing _surface normals_,"},{"text":"which are vectors perpendicular to the surface of the model, from a much"},{"text":"higher resolution version of the same 3D object. A normal map stores"},{"text":"each vector in the image by storing the vectors’ `X`, `Y`, and `Z`"},{"text":"values as the `R`, `G`, and `B` components of the corresponding pixel in"},{"text":"the UV-mapped image."},{"text":""},{"text":"If you provide a normal map, RealityKit uses the normals stored in the"},{"text":"image to do lighting calculations. This results in much more realistic"},{"text":"highlights, shadows, and reflections without incurring the computational"},{"text":"cost of using a much higher resolution 3D model. RealityKit uses"},{"text":"tangent-space normal maps."},{"text":""},{"text":"The following code loads a normal map texture and uses it to set this"},{"text":"property:"},{"text":""},{"text":"```swift"},{"text":"if let normalResource = try? TextureResource.load(named:"},{"text":"\"entity_normals\") {"},{"text":" let normalMap = MaterialParameters.Texture(normalResource)"},{"text":" material.normal = PhysicallyBasedMaterial.Normal(texture:normalMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4sideAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","side"],"names":{"title":"side","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"side"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The side of capsule was hit when moving in the direction tangent to the up vector."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"side"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV13CustomContentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry"],"names":{"title":"PhotogrammetrySession.Request.Geometry","navigator":[{"kind":"identifier","spelling":"Geometry"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Geometry"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a bounding box and transformation data for a request."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Geometry"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillRemoveEntity"],"names":{"title":"SceneEvents.WillRemoveEntity","navigator":[{"kind":"identifier","spelling":"WillRemoveEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemoveEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised before an entity is removed from the scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemoveEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationGroup/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17PerspectiveCameraC","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera"],"names":{"title":"PerspectiveCamera","navigator":[{"kind":"identifier","spelling":"PerspectiveCamera"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCamera"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A virtual camera that establishes the rendering perspective."},{"text":""},{"text":"During an AR session, RealityKit automatically uses the device’s camera to"},{"text":"define the perspective from which to render the scene. When rendering a"},{"text":"scene outside of an AR session (with the view’s"},{"text":"``ARView/cameraMode-swift.property`` property set to"},{"text":"``ARView/CameraMode-swift.enum/nonAR``), RealityKit uses a"},{"text":"``PerspectiveCamera`` instead. You can add a perspective camera anywhere in"},{"text":"your scene to control the point of view. If you don't explicitly provide"},{"text":"one, RealityKit creates a default camera for you."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCamera"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidActivateEntity"],"names":{"title":"SceneEvents.DidActivateEntity","navigator":[{"kind":"identifier","spelling":"DidActivateEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivateEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity becomes active."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivateEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","BaseColor"],"names":{"title":"UnlitMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent base color."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillDeactivateEntity"],"names":{"title":"SceneEvents.WillDeactivateEntity","navigator":[{"kind":"identifier","spelling":"WillDeactivateEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivateEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised before an entity becomes inactive."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivateEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(transform:to:)"],"names":{"title":"convert(transform:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of the entity on which you called this method to the local space"},{"text":"of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6bounds9transformAgA11BoundingBoxV_AA9TransformVtcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","init(bounds:transform:)"],"names":{"title":"init(bounds:transform:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an instance with an optional bounding box and transform."},{"text":""},{"text":"- Parameters:"},{"text":""},{"text":" - bounds: An optional bounding box to specify the size of the generated 3D model."},{"text":" If you don’t pass a value, the initializer sets the bounding box to .empty, which tells"},{"text":" RealityKit to calculate the object’s size."},{"text":""},{"text":" - transform: An optional ``Transform`` that RealityKit applies to the object after it’s"},{"text":" created. Use this to scale, rotate, or move the object before the session publishes the"},{"text":" ``PhotogrammetrySession/Output-swift.enum/requestComplete(_:_:)``"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" = BoundingBox.empty, "},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" = Transform.identity)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6shapesSayAA13ShapeResourceCGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","shapes"],"names":{"title":"shapes","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of shape resources that collectively represent the outer"},{"text":"dimensions of an entity for the purposes of collision detection."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV13frameIntervalSfvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frameInterval"],"names":{"title":"frameInterval","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The duration within the animation timeline for each frame in the frames"},{"text":"array."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidAddEntity"],"names":{"title":"SceneEvents.DidAddEntity","navigator":[{"kind":"identifier","spelling":"DidAddEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAddEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity is added to the scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAddEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect()"],"names":{"title":"collect()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects all received elements, and emits a single array of the collection when the upstream publisher finishes."},{"text":""},{"text":"Use ``Publisher/collect()`` to gather elements into an array that the operator emits after the upstream publisher finishes."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"This publisher requests an unlimited number of elements from the upstream publisher and uses an unbounded amount of memory to store the received values. The publisher may exert memory pressure on the system for very large sets of elements."},{"text":""},{"text":"The ``Publisher/collect()`` operator only sends the collected array to its downstream receiver after a request whose demand is greater than 0 items. Otherwise, ``Publisher/collect()`` waits until it receives a non-zero request."},{"text":""},{"text":"In the example below, an Integer range is a publisher that emits an array of integers:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\""},{"text":""},{"text":"- Returns: A publisher that collects all received items and returns them as an array upon completion."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of ambient occlusion specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE9fromValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerC14audioInputModeAA13AudioResourceC0gH0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","audioInputMode"],"names":{"title":"audioInputMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"audioInputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"audioInputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read a part given its name."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV_7samplerAeA0E8ResourceC_AE7SamplerVtcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","init(_:sampler:)"],"names":{"title":"init(_:sampler:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["Scene","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMin(by:)"],"names":{"title":"tryMin(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMin(by:)`` to determine the minimum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMin(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" numbers.publisher"},{"text":" .tryMin { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first < second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO10IdentifierV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a synchronization component."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO3pngyA2ImF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureFormat","png"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureFormat.png","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"png"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Textures will be output in (uncompressed) PNG format."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"png"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult"],"names":{"title":"QueryResult","navigator":[{"kind":"identifier","spelling":"QueryResult"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryResult"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that returns the results of an entity query."},{"text":""},{"text":"You can’t create query result objects. Instead, call"},{"text":"``Scene/performQuery(_:)``, which returns a ``QueryResult`` containing the"},{"text":"entities that meet your specified query criteria."},{"text":""},{"text":"```swift"},{"text":"// Ask the scene to perform the query and iterate over the returned entities."},{"text":"scene.performQuery(query).forEach { entity in"},{"text":" print(\"Returned entity: \\(entity)\")"},{"text":"}"},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryResult"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents"],"names":{"title":"CollisionEvents","navigator":[{"kind":"identifier","spelling":"CollisionEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with collisions."},{"text":""},{"text":"To subscribe to a collision event, import Combine, create a property of type "},{"text":"so that you maintain a reference to the subscription, then call ``RealityKit/Scene/subscribe(to:on:_:)``"},{"text":"or ``RealityKit/Scene/subscribe(to:on:componentType:_:)`` and provide a closure."},{"text":""},{"text":"The closure is passed an ``RealityKit/Scene/Event`` object that contains information relevant to the type of event you subscribed to."},{"text":""},{"text":"Here's an example of subscribing to the collision begain event and retrieving the two entities involved in the collision:"},{"text":""},{"text":"```swift"},{"text":" import AppKit"},{"text":" import RealityKit"},{"text":" import Combine"},{"text":""},{"text":" class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.subscribe("},{"text":" to: CollisionEvents.Began.self,"},{"text":" on: boxAnchor"},{"text":" ) { event in"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":" }"},{"text":" }"},{"text":"```"},{"text":""},{"text":"You can also create a function to respond to the event rather than a closure by using"},{"text":"."},{"text":"Here's an example of using a function to respond to a collision event:"},{"text":""},{"text":"```swift"},{"text":"import AppKit"},{"text":"import RealityKit"},{"text":"import Combine"},{"text":""},{"text":"class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.publisher(for: CollisionEvents.Began.self,"},{"text":" on:nil).sink(receiveValue: onCollisionBegan)"},{"text":" }"},{"text":""},{"text":" private func onCollisionBegan(_ event:"},{"text":" CollisionEvents.Began) {"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a color or texture."},{"text":""},{"text":"In physically based rendering, the `metallic` property represents"},{"text":"the reflectiveness of an entity. This initializer creates a new"},{"text":"object that passes a single scale value, a texture, or both to the"},{"text":"material’s shader functions."},{"text":""},{"text":"The following code demonstrates creating a roughness object using"},{"text":"this initalizer:"},{"text":""},{"text":"```swift"},{"text":"if let metallicResource = try? TextureResource.load(named:"},{"text":"\"metallic_roughness\") {"},{"text":" let metallic = MaterialParameters.Texture(metallicResource)"},{"text":" customMaterial.roughness = .init(scale: 0.5, texture: metallic)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, the `texture` and `scale` properties you set"},{"text":"on this property are available in your surface shader function, but"},{"text":"RealityKit doesn’t automatically use them to render your entity. To"},{"text":"render an entity with reflectiveness,"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its"},{"text":"surface shader must call `params.surface().set_metallic()`."},{"text":""},{"text":"To achieve the same metallic behavior as"},{"text":"``PhysicallyBasedMaterial``, the surface shader function multiplies"},{"text":"the metallic scale by the sampled value from the roughness texture,"},{"text":"as the following Metal code demonstrates:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the metallic scale from the CustomMaterial."},{"text":" float metallicScale = params.material_constants().metallic_scale();"},{"text":""},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the texture based on the resulting UVs."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.metallic().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and the sampled value from the texture, and assign"},{"text":" // the result to the shader's metallic property."},{"text":" metallic *= metallicScale;"},{"text":" params.surface().set_metallic(metallic);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The reflectiveness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO4holdyA2CmF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hold"],"names":{"title":"TweenMode.hold","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hold"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates a keyframe changes to the next abruptly."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hold"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO17trianglesAndQuadsyAESays6UInt32VG_AItcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","trianglesAndQuads(triangles:quads:)"],"names":{"title":"MeshDescriptor.Primitives.trianglesAndQuads(triangles:quads:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trianglesAndQuads"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"triangles"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"quads"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A combination of triangles and quads."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trianglesAndQuads"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"triangles"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"quads"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subject to this publisher."},{"text":""},{"text":"- Parameter subject: The subject to attach to this publisher."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value."},{"text":""},{"text":"In physically based rendering, the `metallic` property represents"},{"text":"the reflectiveness of an entity. This initializer creates a new"},{"text":"object that passes a single metallic value to your custom shader"},{"text":"functions but doesn’t pass a texture."},{"text":""},{"text":"The following Swift code shows how to specify reflectiveness using a"},{"text":"single value for the entire entity:"},{"text":""},{"text":"```swift"},{"text":"material.roughness = PhysicallyBasedMaterial.Roughness(floatLiteral: 0.0)"},{"text":"```"},{"text":""},{"text":"To render an entity with reflectiveness,"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its"},{"text":"surface shader function must call `params.surface().set_metallic()`."},{"text":""},{"text":"The following Metal code shows how to retrieve the value set in this"},{"text":"initializer in your surface shader and use it:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the metallic scale from the CustomMaterial."},{"text":" float metallic = params.material_constants().metallic_scale();"},{"text":""},{"text":" // Set the roughness value using the metallic scale value."},{"text":" params.surface().set_metallic(metallic);"},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The reflectiveness value for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``FromToByAnimation/trimStart``, ``FromToByAnimation/trimEnd``, or"},{"text":"``FromToByAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","receive(on:options:)"],"names":{"title":"receive(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to receive elements from the publisher."},{"text":""},{"text":"You use the ``Publisher/receive(on:options:)`` operator to receive results and completion on a specific scheduler, such as performing UI work on the main run loop. In contrast with ``Publisher/subscribe(on:options:)``, which affects upstream messages, ``Publisher/receive(on:options:)`` changes the execution context of downstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `jsonPublisher` to receive requests on `backgroundQueue`, while the"},{"text":"``Publisher/receive(on:options:)`` causes `labelUpdater` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let jsonPublisher = MyJSONLoaderPublisher() // Some publisher."},{"text":" let labelUpdater = MyLabelUpdateSubscriber() // Some subscriber that updates the UI."},{"text":""},{"text":" jsonPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(labelUpdater)"},{"text":""},{"text":""},{"text":"Prefer ``Publisher/receive(on:options:)`` over explicit use of dispatch queues when performing work in subscribers. For example, instead of the following pattern:"},{"text":""},{"text":" pub.sink {"},{"text":" DispatchQueue.main.async {"},{"text":" // Do something."},{"text":" }"},{"text":" }"},{"text":""},{"text":"Use this pattern instead:"},{"text":""},{"text":" pub.receive(on: DispatchQueue.main).sink {"},{"text":" // Do something."},{"text":" }"},{"text":""},{"text":" > Note: ``Publisher/receive(on:options:)`` doesn’t affect the scheduler used to call the subscriber’s ``Subscriber/receive(subscription:)`` method."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler the publisher uses for element delivery."},{"text":" - options: Scheduler options used to customize element delivery."},{"text":"- Returns: A publisher that delivers elements using the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC6entityAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity to which the animation applies."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"weak"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","ignoreOutput()"],"names":{"title":"ignoreOutput()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores all upstream elements, but passes along the upstream publisher's completion state (finished or failed)."},{"text":""},{"text":"Use the ``Publisher/ignoreOutput()`` operator to determine if a publisher is able to complete successfully or would fail."},{"text":""},{"text":"In the example below, the array publisher (`numbers`) delivers the first five of its elements successfully, as indicated by the ``Publisher/ignoreOutput()`` operator. The operator consumes, but doesn’t republish the elements downstream. However, the sixth element, `0`, causes the error throwing closure to catch a `NoZeroValuesAllowedError` that terminates the stream."},{"text":""},{"text":" struct NoZeroValuesAllowedError: Error {}"},{"text":" let numbers = [1, 2, 3, 4, 5, 0, 6, 7, 8, 9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter({ anInt in"},{"text":" guard anInt != 0 else { throw NoZeroValuesAllowedError() }"},{"text":" return anInt < 20"},{"text":" })"},{"text":" .ignoreOutput()"},{"text":" .sink(receiveCompletion: {print(\"completion: \\($0)\")},"},{"text":" receiveValue: {print(\"value \\($0)\")})"},{"text":""},{"text":" // Prints: \"completion: failure(NoZeroValuesAllowedError())\""},{"text":""},{"text":"The output type of this publisher is ."},{"text":""},{"text":"- Returns: A publisher that ignores all upstream elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent"],"names":{"title":"AccessibilityComponent","navigator":[{"kind":"identifier","spelling":"AccessibilityComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AccessibilityComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AccessibilityComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC14generateSphere6radiusACSf_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateSphere(radius:)"],"names":{"title":"generateSphere(radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new sphere mesh with the specified radius."},{"text":""},{"text":"The sphere is centered at the entity’s origin."},{"text":""},{"text":"- Parameters:"},{"text":" - radius: The radius, in meters, of the sphere."},{"text":""},{"text":"- Returns: A sphere mesh."}]},"functionSignature":{"parameters":[{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","look(at:from:upVector:relativeTo:)"],"names":{"title":"look(at:from:upVector:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions and orients the entity to look at a target from a given"},{"text":"position."},{"text":""},{"text":"You can use this method on any entity, but it’s particularly useful for"},{"text":"orienting cameras and lights to aim at a particular point in space."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The target position to look at."},{"text":""},{"text":" - position: The new position of the entity."},{"text":""},{"text":" - upVector: The up direction of the entity after moving."},{"text":""},{"text":" - relativeTo: The entity that defines a frame of reference. Set this to"},{"text":"`nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"upVector","declarationFragments":[{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(0, 1, 0), "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraP","interfaceLanguage":"swift"},"pathComponents":["HasPerspectiveCamera"],"names":{"title":"HasPerspectiveCamera","navigator":[{"kind":"identifier","spelling":"HasPerspectiveCamera"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPerspectiveCamera"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables you to configure a virtual camera that you can use"},{"text":"to define the rendering perspective when you’re not in an AR session."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPerspectiveCamera"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object that defines the opacity of an entity using a"},{"text":"single value, a UV-mapped image texture, or both."},{"text":""},{"text":"Both `scale` and `texture` are available to the material’s surface"},{"text":"shader function, but RealityKit draws the entity fully opaque unless"},{"text":"the surface shader function calls `params.surface().set_opacity()`."},{"text":""},{"text":"The following Metal code demonstrates how to emulate the blending"},{"text":"logic RealityKit uses to render entities with a"},{"text":"``PhysicallyBasedMaterial`` in your custom material’s surface shader"},{"text":"function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the opacity scale and threshold from the CustomMaterial."},{"text":" float opacityScale = params.material_constants().opacity_scale();"},{"text":" float opacityThreshold = params.material_constants().opacity_threshold();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Retrieve the opacity texture from the material."},{"text":" auto tex = params.textures();"},{"text":""},{"text":" // Sample the value from the opacity texture."},{"text":" half opacity = tex.opacity().sample(textureSampler, uv).r;"},{"text":""},{"text":" if (opacityThreshold > 0.0) {"},{"text":" // If the opacity threshold is greater than 0, use masking behavior"},{"text":" // and set the opacity to either 1.0 or 0.0 depending on the value"},{"text":" // of the opacity threshold."},{"text":" opacity = (opacity <= opacityThreshold) ? 0.0 : 1.0;"},{"text":" } else {"},{"text":" // If the opacity threshold is 0, then mutiply opacity by scale."},{"text":" opacity *= opacityScale;"},{"text":" }"},{"text":""},{"text":" // Use the calculated value to set the opacity for rendering."},{"text":" params.surface().set_opacity(opacity);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The opacity value for the entire material."},{"text":""},{"text":" - texture: The opacity values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV5sceneAA0C0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The updating scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO4jpegyAISf_tcAImF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureFormat","jpeg(compressionQuality:)"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureFormat.jpeg(compressionQuality:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jpeg"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"compressionQuality"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Textures will be output in JPG format with the given `compressionQuality` in the range of [0, 1],"},{"text":"where 1.0 is highest quality (least compression, larger size) and 0.0 is the lowest quality (most"},{"text":"compression, smallest size)."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jpeg"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"compressionQuality"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.8)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO6linearyA2CmF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","linear"],"names":{"title":"TweenMode.linear","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates that a keyframe changes to the next gradually."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO2eeoiySbAI_AItFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureFormat","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureFormat","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureFormat","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureFormat","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureFormat","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureFormat","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureFormat","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE7Texturea","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Texture"],"names":{"title":"UnlitMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent textures."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Geometry","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC2IDa","interfaceLanguage":"swift"},"pathComponents":["Scene","ID"],"names":{"title":"Scene.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC10isCompleteSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isComplete"],"names":{"title":"isComplete","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the animation has finished running."},{"text":""},{"text":"After an animation completes, the playback controller becomes invalid."},{"text":"To play the animation again, create a new controller with the same"},{"text":"resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new part to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"part","declarationFragments":[{"kind":"identifier","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["TweenMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV10identifiers6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","identifier"],"names":{"title":"identifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A unique identifier of an entity within a network session."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Blending"],"names":{"title":"UnlitMaterial.Blending","navigator":[{"kind":"identifier","spelling":"Blending"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent opacity information."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureFormat","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided ordering closure."},{"text":""},{"text":"Use ``Publisher/max(by:)`` to determine the maximum value of elements received from the upstream publisher based on an ordering closure you specify."},{"text":""},{"text":"In the example below, an array publishes enumeration elements representing playing card ranks. The ``Publisher/max(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the maximum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .jack]"},{"text":" cancellable = cards.publisher"},{"text":" .max {"},{"text":" return $0.rawValue > $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"queen\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVAGycfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","scan(_:_:)"],"names":{"title":"scan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current"},{"text":"element to a closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/scan(_:_:)`` to accumulate all previously-published values into a single"},{"text":"value, which you then combine with each newly-published value."},{"text":""},{"text":"The following example logs a running total of all values received"},{"text":"from the sequence publisher."},{"text":""},{"text":" let range = (0...5)"},{"text":" cancellable = range.publisher"},{"text":" .scan(0) { return $0 + $1 }"},{"text":" .sink { print (\"\\($0)\", terminator: \" \") }"},{"text":" // Prints: \"0 1 3 6 10 15 \"."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: A closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV5sceneAA0C0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The updated scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Geometry","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a normal object from a custom material’s normal property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The `normal` object from a `CustomMaterial`."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV12displacementAIvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","displacement"],"names":{"title":"displacement","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"displacement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The surface displacement map."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"displacement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation's rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureVyAeA0E8ResourceCcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic"],"names":{"title":"PhysicallyBasedMaterial.Metallic","navigator":[{"kind":"identifier","spelling":"Metallic"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the reflectiveness of an entity."},{"text":""},{"text":"Use this struct to specify an entity’s `metallic` property, which"},{"text":"specifies the reflectiveness of an entity. For more information, see"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","modelDebugOptions"],"names":{"title":"modelDebugOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configures the debug visualization of this model."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO20localizedDescriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing part. The old part is returned."}]},"functionSignature":{"parameters":[{"name":"part","declarationFragments":[{"kind":"identifier","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","buffer(size:prefetch:whenFull:)"],"names":{"title":"buffer(size:prefetch:whenFull:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Buffers elements received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/buffer(size:prefetch:whenFull:)`` to collect a specific number of elements from an upstream publisher before republishing them to the downstream subscriber according to the ``Publishers/BufferingStrategy`` and ``Publishers/PrefetchStrategy`` strategy you specify."},{"text":""},{"text":"If the publisher completes before reaching the `size` threshold, it buffers the elements and publishes them downstream prior to completion."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The maximum number of elements to store."},{"text":" - prefetch: The strategy to initially populate the buffer."},{"text":" - whenFull: The action to take when the buffer becomes full."},{"text":"- Returns: A publisher that buffers elements received from an upstream publisher."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"prefetch","declarationFragments":[{"kind":"identifier","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"}]},{"name":"whenFull","declarationFragments":[{"kind":"identifier","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringP","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring"],"names":{"title":"HasAnchoring","navigator":[{"kind":"identifier","spelling":"HasAnchoring"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasAnchoring"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables anchoring of virtual content to a real-world"},{"text":"object in an AR scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasAnchoring"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents"],"names":{"title":"AnimationEvents","navigator":[{"kind":"identifier","spelling":"AnimationEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Notable milestones that the framework signals during animation playback."},{"text":""},{"text":"This enumeration defines the playback states that an animated entity can"},{"text":"indicate to an app. To receive notification of a particular event, create a"},{"text":"completion handler:"},{"text":""},{"text":"```swift"},{"text":"private func onAnimationCompleted(_ event:"},{"text":" AnimationEvents.PlaybackCompleted) {"},{"text":" // Define code that runs when the animation completes."},{"text":"}"},{"text":"```"},{"text":""},{"text":"Then, subscribe the handler on the entity for the state of interest:"},{"text":""},{"text":"```swift"},{"text":"// Get an animation."},{"text":"let animationName ="},{"text":"entity.availableAnimations.first!.name!"},{"text":""},{"text":"// Pass the animation to an entity and get a controller."},{"text":"entity.playAnimation(named: animationName, transitionDuration: 0.0)"},{"text":""},{"text":"entitySubscription = view.scene.publisher(for:"},{"text":" AnimationEvents.PlaybackCompleted.self, on: entity)"},{"text":" .sink(receiveValue: onAnimationCompleted)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16ambientOcclusionAC07AmbientG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ambientOcclusion"],"names":{"title":"ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ambient occlusion values for a material."},{"text":""},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":""},{"text":"Specify ambient occlusion using a UV-mapped image called an _ambient"},{"text":"occlusion map_. A value of black (`0.0`) represents parts of the model"},{"text":"that receive less ambient light because that part of the model is a"},{"text":"crevice, dent, or recessed area, or because another part of the same"},{"text":"entity is preventing ambient light from reaching it. Ambient occlusion"},{"text":"values of white (`1.0`) represent flat portions of the model that"},{"text":"receive full ambient light. You generate ambient occlusion maps using a"},{"text":"3D software package."},{"text":""},{"text":"The following code loads an ambient occlusion map:"},{"text":""},{"text":"```swift if let aoResource = try? TextureResource.load(named:"},{"text":"\"entity_ao\") {"},{"text":" let aoMap = MaterialParameters.Texture(aoResource)"},{"text":" material.emissiveColor = .init(texture: aoMap)"},{"text":"} ```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC8isPausedSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isPaused"],"names":{"title":"isPaused","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the animation is paused."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation"],"names":{"title":"BlendTreeAnimation","navigator":[{"kind":"identifier","spelling":"BlendTreeAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations on the same property that the framework blends to"},{"text":"a single animation."},{"text":""},{"text":"This structure provides a way to form a single animation by mixing several"},{"text":"other animations together. You define a source node for each animation, and"},{"text":"a weight, which determines how much each individual animation takes effect"},{"text":"in the resulting animation."},{"text":""},{"text":"To create the blended animation, you define a _blend tree_ that sprouts from"},{"text":"``BlendTreeAnimation/root``, which consists of one or more blend-tree nodes"},{"text":"(``BlendTreeNode``). Each node may be one of the following conforming types:"},{"text":""},{"text":"- ``BlendTreeBlendNode``, which branches the tree for every element in"},{"text":"``BlendTreeBlendNode/sources``"},{"text":"- ``BlendTreeSourceNode``, which defines one of the animations to blend"},{"text":"via its ``BlendTreeSourceNode/source`` property"},{"text":""},{"text":"Because source nodes reference no other nodes, they represent leaf nodes in"},{"text":"the tree."},{"text":""},{"text":"## Blending Two Skeletal Movements to a Single Movement"},{"text":""},{"text":"The following animation plays a sampling of the animations named"},{"text":"`anim1` and `anim2`. To fine-tune the interplay between the two animations,"},{"text":"the code sets a blend weight for each animation. The weight of `0.25` for"},{"text":"`anim1` determines that the first animation's behavior is 25% prominent in"},{"text":"the final result. The `anim2` weight is `0.75`, as the cumulative blend"},{"text":"weight across all animations in the tree needs to equal `1`. This determines"},{"text":"that the second animation influences 75% of the visual behavior of the"},{"text":"blended animation."},{"text":""},{"text":"```swift"},{"text":"let anim1 = FromToByAnimation("},{"text":" name: \"anim1\","},{"text":" from: JointTransforms([Transform(scale: SIMD3(1, 2, 3),"},{"text":" rotation: simd_quatf(ix: 5, iy: 6, iz: 7, r: 8),"},{"text":" translation: SIMD3(10, 20, 30))]),"},{"text":" to: JointTransforms([Transform(scale: SIMD3(11, 21, 31),"},{"text":" rotation: simd_quatf(ix: 50, iy: 60, iz: 70, r: 80),"},{"text":" translation: SIMD3(100, 200, 300))]),"},{"text":" duration: 1.0)"},{"text":""},{"text":"let anim2 = FromToByAnimation("},{"text":" name: \"anim2\","},{"text":" from: JointTransforms([Transform(scale: SIMD3(10, 20, 30),"},{"text":" rotation: simd_quatf(ix: 4, iy: 5, iz: 5, r: 7),"},{"text":" translation: SIMD3(100, 200, 300))]),"},{"text":" to: JointTransforms([Transform(scale: SIMD3(110, 210, 310),"},{"text":" rotation: simd_quatf(ix: 500, iy: 60, iz: 70, r: 80),"},{"text":" translation: SIMD3(1000, 2000, 3000))]),"},{"text":" duration: 10.0)"},{"text":""},{"text":"let blendTree = BlendTreeAnimation("},{"text":" blend("},{"text":" BlendTreeSourceNode("},{"text":" source: anim1,"},{"text":" name: \"anim1\","},{"text":" weight: .value(0.25)),"},{"text":" BlendTreeSourceNode("},{"text":" source: anim2,"},{"text":" name: \"anim2\","},{"text":" weight: .value(0.75)),"},{"text":" name: \"blend\"),"},{"text":" name: \"blendTree\","},{"text":" bindTarget: .parameter(\"bar\")"},{"text":")"},{"text":"```"},{"text":""},{"text":"- Tip: To modify the weights for each frame, create a source node with a"},{"text":"dynamic ``BlendWeight``, such as with the"},{"text":"``BlendWeight/bindTarget(_:defaultWeight:)`` or"},{"text":"``BlendWeight/parameter(_:defaultWeight:)`` enumeration cases."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC14loadModelAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModelAsync(contentsOf:withName:)"],"names":{"title":"loadModelAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a model entity from a file URL asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as a ``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a transform."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7toValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV9tweenModeAA05TweenF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","tweenMode"],"names":{"title":"tweenMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how animation frames transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove a part by name."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV16ambientOcclusionAIvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","ambientOcclusion"],"names":{"title":"ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ambient occlusion (AO) map."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAeA0E10ParametersV7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a specified texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The image’s texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceNil(with:)"],"names":{"title":"replaceNil(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces nil elements in the stream with the provided element."},{"text":""},{"text":"The ``Publisher/replaceNil(with:)`` operator enables replacement of `nil` values in a stream with a substitute value. In the example below, a collection publisher contains a nil value. The ``Publisher/replaceNil(with:)`` operator replaces this with `0.0`."},{"text":""},{"text":" let numbers: [Double?] = [1.0, 2.0, nil, 3.0]"},{"text":" numbers.publisher"},{"text":" .replaceNil(with: 0.0)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"Optional(1.0) Optional(2.0) Optional(0.0) Optional(3.0)\""},{"text":""},{"text":"- Parameter output: The element to use when replacing `nil`."},{"text":"- Returns: A publisher that replaces `nil` elements from the upstream publisher with the provided element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"T?","rhsPrecise":"s:Sq"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update"],"names":{"title":"SceneEvents.Update","navigator":[{"kind":"identifier","spelling":"Update"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Update"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event triggered once per frame interval that you can use to execute"},{"text":"custom logic for each frame."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Update"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV4next7ElementQzSgyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element equal to the argument."},{"text":""},{"text":"Use ``Publisher/contains(_:)`` to find the first element in an upstream that’s equal to the supplied argument. The contains publisher consumes all received elements until the upstream publisher produces a matching element. Upon finding the first match, it emits `true` and finishes normally. If the upstream finishes normally without producing a matching element, this publisher emits `false` and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/contains(_:)`` operator emits `true` the first time it receives the value `5` from the `numbers.publisher`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 5, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains(5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter output: An element to match against."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged"],"names":{"title":"SceneEvents.AnchoredStateChanged","navigator":[{"kind":"identifier","spelling":"AnchoredStateChanged"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoredStateChanged"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event triggered when the anchored state of an anchoring entity"},{"text":"changes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoredStateChanged"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(untilOutputFrom:)"],"names":{"title":"prefix(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements until another publisher emits an element."},{"text":""},{"text":"After the second publisher publishes an element, the publisher returned by this method finishes."},{"text":""},{"text":"- Parameter publisher: A second publisher."},{"text":"- Returns: A publisher that republishes elements until the second publisher publishes an element."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21ownershipTransferModeAC09OwnershipfG0Ovp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","ownershipTransferMode"],"names":{"title":"ownershipTransferMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ownershipTransferMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s transfer ownership mode."},{"text":""},{"text":"By default, the transfer mode is"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``."},{"text":"You can set it to"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual`` to"},{"text":"require explicit confirmation of the request by your app."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ownershipTransferMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a metallic object from a physically based material’s"},{"text":"metallic property."},{"text":""},{"text":"This initializer creates a new object by copying the values from an"},{"text":"existing ``PhysicallyBasedMaterial/Metallic-swift.struct`` object."},{"text":""},{"text":"To render an entity with reflectiveness,"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_metallic()`. To achieve the same metallic"},{"text":"behavior as ``PhysicallyBasedMaterial``, the surface shader function"},{"text":"multiplies metallic scale by the sampled value from the texture, as"},{"text":"the following Metal code demonstrates:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the metallic scale from the CustomMaterial."},{"text":" float metallicScale = params.material_constants().metallic_scale();"},{"text":""},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the texture based on the resulting UVs."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.metallic().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and the sampled value from the texture,"},{"text":" // and assign the result to the shader's metallic property."},{"text":" metallic *= metallicScale;"},{"text":" params.surface().set_metallic(metallic);"},{"text":""},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The physically based material’s metallic property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryLast(where:)"],"names":{"title":"tryLast(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies an error-throwing predicate closure, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/tryLast(where:)`` when you need to republish the last element that satisfies an error-throwing closure you specify. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a publisher emits the last element that satisfies the error-throwing closure, then finishes normally:"},{"text":""},{"text":" struct RangeError: Error {}"},{"text":""},{"text":" let numbers = [-62, 1, 6, 10, 9, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast {"},{"text":" guard 0 != 0 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":" // Prints: \"5 completion: finished\""},{"text":" // If instead the numbers array had contained a `0`, the `tryLast` operator would terminate publishing with a RangeError.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:)"],"names":{"title":"merge(with:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from three other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 2 50 100 -2 \""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14CustomMaterialV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Parameters"],"names":{"title":"CustomMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","eraseToAnyPublisher()"],"names":{"title":"eraseToAnyPublisher()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Wraps this publisher with a type eraser."},{"text":""},{"text":"Use ``Publisher/eraseToAnyPublisher()`` to expose an instance of ``AnyPublisher`` to the downstream subscriber, rather than this publisher’s actual type."},{"text":"This form of _type erasure_ preserves abstraction across API boundaries, such as different modules."},{"text":"When you expose your publishers as the ``AnyPublisher`` type, you can change the underlying implementation over time without affecting existing clients."},{"text":""},{"text":"The following example shows two types that each have a `publisher` property. `TypeWithSubject` exposes this property as its actual type, ``PassthroughSubject``, while `TypeWithErasedSubject` uses ``Publisher/eraseToAnyPublisher()`` to expose it as an ``AnyPublisher``. As seen in the output, a caller from another module can access `TypeWithSubject.publisher` as its native type. This means you can’t change your publisher to a different type without breaking the caller. By comparison, `TypeWithErasedSubject.publisher` appears to callers as an ``AnyPublisher``, so you can change the underlying publisher type at will."},{"text":""},{"text":" public class TypeWithSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" }"},{"text":" public class TypeWithErasedSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" .eraseToAnyPublisher()"},{"text":" }"},{"text":""},{"text":" // In another module:"},{"text":" let nonErased = TypeWithSubject()"},{"text":" if let subject = nonErased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast nonErased.publisher.\")"},{"text":" }"},{"text":" let erased = TypeWithErasedSubject()"},{"text":" if let subject = erased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast erased.publisher.\")"},{"text":" }"},{"text":""},{"text":" // Prints \"Successfully cast nonErased.publisher.\""},{"text":""},{"text":"- Returns: An ``AnyPublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV7isOwnerSbvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","resetPhysicsTransform(recursive:)"],"names":{"title":"resetPhysicsTransform(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position, orientation, and velocities of the simulated"},{"text":"physics body."},{"text":""},{"text":"Call this method only for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s transform property directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: Apply the reset to all descendant entities."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV4name4from2to2by8duration6timing10isAdditive10bindTarget10blendLayer10repeatMode04fillT09trimStart0V3End0V8Duration6offset5delay5speedACyxGSS_xSgA2VSdAA0F14TimingFunctionVSbAA04BindP0OSgs5Int32VAA0f6RepeatT0OAA0f4FillT0VSdSgA6_A6_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two values for a property"},{"text":"of the target entity."},{"text":""},{"text":"- Parameters:"},{"text":" - name: A unique name for the animation."},{"text":""},{"text":" - from: The state of the animated property before the animation starts."},{"text":""},{"text":" - to: The state of the animated property after the animation ends."},{"text":""},{"text":" - by: An amount that increments the animated property during the"},{"text":"animation."},{"text":""},{"text":" - duration: The total playback time."},{"text":""},{"text":" - timing: An option that determines the animation’s pace over time."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"blends additively with concurrent animations."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The time, in seconds, at which the animation plays."},{"text":""},{"text":" - trimEnd: The time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO15lightingDiffuseyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","lightingDiffuse"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.lightingDiffuse","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingDiffuse"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the intensity of indirect light hitting the"},{"text":"entity as its surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`lightingDiffuse` to an entity to tell RealityKit to draw the"},{"text":"intensity of indirect, ambient lighting falling on the entity as its"},{"text":"surface color. RealityKit represents the intensity of indirect light"},{"text":"as a grayscale value from black (`0.0`) to white (`1.0`)."},{"text":""},{"text":"RealityKit calculates diffuse lighting for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray, which is a representation of"},{"text":"the amount of indirect light falling on the TV at each"},{"text":"point.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-lightingDiffuse-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingDiffuse"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9roughnessAC9RoughnessVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9RoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount the surface of the 3D object scatters reflected light."},{"text":""},{"text":"In physically based rendering, the `roughness` property represents how"},{"text":"much the surface of an entity scatters the light that it reflects. A"},{"text":"material with a high roughness has a matte appearance, whereas one with"},{"text":"a low roughness has a shiny appearance. With custom materials,"},{"text":"RealityKit doesn’t automatically use the values set on this property. To"},{"text":"render a custom material using roughness, the material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` must be"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its surface"},{"text":"shader must specify a roughness value for rendering by calling"},{"text":"`params.surface().set_roughness()`."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte appearance"},{"text":"with very soft specular highlights. The sphere on the right has no"},{"text":"highlights whatsoever.](CustomMaterial-roughness-swift-property-1)"},{"text":""},{"text":"With custom materials, the `texture` and `scale` values from the"},{"text":"``CustomMaterial/roughness-swift.property`` property are available in"},{"text":"your surface shader function, but RealityKit doesn’t automatically use"},{"text":"them to render your entity. Your surface shader is responsible for"},{"text":"calculating or setting the actual roughness value for rendering."},{"text":""},{"text":"The following example shows how to use an image and a scale value to"},{"text":"specify roughness:"},{"text":""},{"text":"```swift"},{"text":"if let roughnessResource = try? TextureResource.load(named: \"entity_roughness\") {"},{"text":" let roughness = MaterialParameters.Texture(roughnessResource)"},{"text":" material.roughness = PhysicallyBasedMaterial.Roughness(tint: .green, texture:roughness)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"The following surface shader takes the scale and texture from the"},{"text":"``CustomMaterial/roughness-swift.property`` property, multiplies them"},{"text":"together, and sets the resulting value as the roughness for rendering,"},{"text":"which emulates the behavior of ``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"// Samplers are used to retrieve a color value from a texture based on"},{"text":"// the entity's UV coordinates. Samplers can be reused with different"},{"text":"textures. // Surface shader functions should define no more than eight"},{"text":"samplers. constexpr sampler textureSampler(address::clamp_to_edge,"},{"text":"filter::bicubic);"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters params)"},{"text":"{"},{"text":" // Retrieve the roughness scale from the CustomMaterial."},{"text":" float roughnessScale = params.material_constants().roughness_scale();"},{"text":""},{"text":" // Retrieve the sampled value from the CustomMaterial's base color texture."},{"text":" auto uv = getFlippedUVs(params);"},{"text":" auto tex = params.textures();"},{"text":" half roughness = tex.roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture, and assign it"},{"text":" // to the shader's base color property."},{"text":" roughness *= roughnessScale;"},{"text":""},{"text":" // Set the roughness value to be used by the custom material shader."},{"text":" params.surface().set_roughness(roughness);"},{"text":"}"},{"text":""},{"text":"```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidOutputyAE0B03URLVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","invalidOutput(_:)"],"names":{"title":"PhotogrammetrySession.Error.invalidOutput(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidOutput"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The output location specified was invalid for some reason."},{"text":"It must be an empty directory or a non-existent file ending with '.usdz'."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidOutput"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Appends a publisher’s output with the specified elements."},{"text":""},{"text":"Use ``Publisher/append(_:)-1qb8d`` when you need to prepend specific elements after the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/append(_:)-1qb8d`` operator publishes the provided elements after republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .append(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 5 6 7 8 9 10 0 1 255\""},{"text":""},{"text":""},{"text":"- Parameter elements: Elements to publish after this publisher’s elements."},{"text":"- Returns: A publisher that appends the specifiecd elements after this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a 4x4 matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASfRszrlE6framesSaySfGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point values in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of `Float` values."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity"],"names":{"title":"SceneEvents.DidReparentEntity","navigator":[{"kind":"identifier","spelling":"DidReparentEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidReparentEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity has been reparented within the same scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidReparentEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO11modelEntityyAeA05ModelG0CcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","modelEntity(_:)"],"names":{"title":"PhotogrammetrySession.Result.modelEntity(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of a request for an in-memory entity."},{"text":""},{"text":"- Parameters:"},{"text":" - ModelEntity: The created object."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two animation playback controllers are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first controller to compare."},{"text":""},{"text":" - rhs: The second controller to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two controllers are"},{"text":"equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO9modelFileyAE0B03URLVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result","modelFile(_:)"],"names":{"title":"PhotogrammetrySession.Result.modelFile(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelFile"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of a request for a USDZ file."},{"text":""},{"text":"- Parameters:"},{"text":" - URL: A file URL pointing to the created USDZ file."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelFile"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV9deltaTimeSdvp","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext","deltaTime"],"names":{"title":"deltaTime","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of seconds elapsed since the last update."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic","FloatLiteralType"],"names":{"title":"CustomMaterial.Metallic.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidImagesyAE0B03URLVcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","invalidImages(_:)"],"names":{"title":"PhotogrammetrySession.Error.invalidImages(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidImages"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"There was a problem with the image folder URL provided."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidImages"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16lightingSpecularyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","lightingSpecular"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.lightingSpecular","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingSpecular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the intensity of direct light hitting the"},{"text":"entity as its surface color."},{"text":""},{"text":"Adding a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`lightingSpecular` to an entity tells RealityKit to draw the"},{"text":"intensity of direct light falling on the entity as its surface"},{"text":"color. The calculated value represents direct light hitting the"},{"text":"object from both real-world and virtual lights. RealityKit draws the"},{"text":"light intensity as a grayscale value from black (`0.0`) to white"},{"text":"(`1.0`)."},{"text":""},{"text":"RealityKit calculates specular lighting for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .lightingSpecular)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray, which is a representation of"},{"text":"the amount of direct light falling on the TV at each"},{"text":"point.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-lightingSpecular-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingSpecular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV3allAIvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","all"],"names":{"title":"all","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Option to include all maps."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureMapOutputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the parts."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV10isOnGroundSbvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","isOnGround"],"names":{"title":"isOnGround","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOnGround"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if character controller is grounded, otherwise false."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOnGround"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode"],"names":{"title":"TextureResource.MipmapsMode","navigator":[{"kind":"identifier","spelling":"MipmapsMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MipmapsMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An enumeration used to specify how mipmaps are allocated and generated"},{"text":"for this texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MipmapsMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP5owner2ofAA0C6PeerID_pSgAA6EntityC_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","owner(of:)"],"names":{"title":"owner(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"owner"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the device that owns a given entity, if any."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity for which you want the owner."},{"text":""},{"text":"- Returns: The networked device that owns the entity. The value is `nil`"},{"text":"if the entity isn’t synchronized or is owned locally."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"owner"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prepend(_:)"],"names":{"title":"prepend(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prefixes a publisher’s output with the specified values."},{"text":""},{"text":"Use ``Publisher/prepend(_:)-7wk5l`` when you need to prepend specific elements before the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/prepend(_:)-7wk5l`` operator publishes the provided elements before republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .prepend(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 255 0 1 2 3 4 5 6 7 8 9 10\""},{"text":""},{"text":"- Parameter elements: The elements to publish before this publisher’s elements."},{"text":"- Returns: A publisher that prefixes the specified elements prior to this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASdRszrlE6framesSaySdGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of double-precision values in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of `Double` values."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","removeDuplicates()"],"names":{"title":"removeDuplicates()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element."},{"text":""},{"text":"Use ``Publisher/removeDuplicates()`` to remove repeating elements from an upstream publisher. This operator has a two-element memory: the operator uses the current and previously published elements as the basis for its comparison."},{"text":""},{"text":"In the example below, ``Publisher/removeDuplicates()`` triggers on the doubled, tripled, and quadrupled occurrences of `1`, `3`, and `4` respectively. Because the two-element memory considers only the current element and the previous element, the operator prints the final `0` in the example data since its immediate predecessor is `4`."},{"text":""},{"text":" let numbers = [0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .removeDuplicates()"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 0\""},{"text":""},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","trimmingPrefix(_:)"],"names":{"title":"trimmingPrefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Returns a new collection of the same type by removing initial elements"},{"text":"that satisfy the given predicate from the start."},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":"as its argument and returns a Boolean value indicating whether the"},{"text":"element should be removed from the collection."},{"text":"- Returns: A collection containing the elements of the collection that are"},{"text":" not removed by `predicate`."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Prefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Prefix","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"Prefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of function found in library"},{"text":""},{"text":"This function should exist in the given library and be declared"},{"text":"with the `[[visible]]` attribute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE6filteryAA19AsyncFilterSequenceVyxGSb7ElementQzYacF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncFilterSequence","preciseIdentifier":"s:12_Concurrency19AsyncFilterSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that contains, in order, the elements of"},{"text":"the base sequence that satisfy the given predicate."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `filter(_:)` method returns `true` for even"},{"text":"values and `false` for odd values, thereby filtering out the odd values:"},{"text":""},{"text":" let stream = Counter(howHigh: 10)"},{"text":" .filter { $0 % 2 == 0 }"},{"text":" for await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"2 4 6 8 10 \""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" asynchronous sequence as its argument and returns a Boolean value"},{"text":" that indicates whether to include the element in the filtered sequence."},{"text":"- Returns: An asynchronous sequence that contains, in order, the elements"},{"text":" of the base sequence that satisfy the given predicate."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncFilterSequence","preciseIdentifier":"s:12_Concurrency19AsyncFilterSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncFilterSequence","preciseIdentifier":"s:12_Concurrency19AsyncFilterSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationP","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization"],"names":{"title":"HasSynchronization","navigator":[{"kind":"identifier","spelling":"HasSynchronization"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSynchronization"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables an entity to be synchronized between processes and"},{"text":"networked applications."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a ``SynchronizationComponent``"},{"text":"instance, and a collection of methods for manipulating the component, that"},{"text":"you use to manage ownership of the entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSynchronization"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular"],"names":{"title":"PhysicallyBasedMaterial.Specular","navigator":[{"kind":"identifier","spelling":"Specular"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the specular highlights of an entity."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials,"},{"text":"using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular highlights"},{"text":"are bright spots of reflected light that appear on shiny objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners. Both"},{"text":"have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-1)"},{"text":""},{"text":"Although many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by augmenting"},{"text":"the specular highlights."},{"text":""},{"text":"Use this object to specify the amount of"},{"text":"``PhysicallyBasedMaterial/specular-swift.property`` for a"},{"text":"``PhysicallyBasedMaterial``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryScan(_:_:)"],"names":{"title":"tryScan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current element to an error-throwing closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/tryScan(_:_:)`` to accumulate all previously-published values into a single value, which you then combine with each newly-published value."},{"text":"If your accumulator closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, ``Publisher/tryScan(_:_:)`` calls a division function on elements of a collection publisher. The ``Publishers/TryScan`` publisher publishes each result until the function encounters a `DivisionByZeroError`, which terminates the publisher."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":""},{"text":" /// A function that throws a DivisionByZeroError if `current` provided by the TryScan publisher is zero."},{"text":" func myThrowingFunction(_ lastValue: Int, _ currentValue: Int) throws -> Int {"},{"text":" guard currentValue != 0 else { throw DivisionByZeroError() }"},{"text":" return (lastValue + currentValue) / currentValue"},{"text":" }"},{"text":""},{"text":" let numbers = [1,2,3,4,5,0,6,7,8,9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryScan(10) { try myThrowingFunction($0, $1) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"11 6 3 1 1 -1 failure(DivisionByZeroError())\"."},{"text":""},{"text":"If the closure throws an error, the publisher fails with the error."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: An error-throwing closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Pose"],"names":{"title":"PhotogrammetrySession.Pose","navigator":[{"kind":"identifier","spelling":"Pose"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Pose"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A 6DOF pose relative to the estimated coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Pose"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-4xn21`` to return a new publisher that combines the elements from two publishers using a transformation you specify to publish a new value to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, ``PassthroughSubject`` instances `numbersPub` and `lettersPub` emit values; ``Publisher/zip(_:_:)-4xn21`` receives the oldest value from each publisher, uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub) { anInt, aLetter in"},{"text":" String(repeating: aLetter, count: anInt)"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" zip output: \"A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" zip output: \"BB\""},{"text":" // Prints:"},{"text":" // A"},{"text":" // BB"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from two upstream publishers."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a 4x4"},{"text":"matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","Decibel"],"names":{"title":"AudioPlaybackController.Decibel","navigator":[{"kind":"identifier","spelling":"Decibel"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Decibel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type for expressing gain in decibels."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Decibel"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO6entityyAC10EntityPathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","entity(_:)"],"names":{"title":"entity(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a complex bind path from a particular child entity of the"},{"text":"current entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and invokes a closure upon receiving output from either publisher."},{"text":""},{"text":"Use `combineLatest(_:)` to combine the current and one additional publisher and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by the two publishers, it multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2) { (first, second) in"},{"text":" return first * second"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(9)"},{"text":" pub1.send(3)"},{"text":" pub2.send(12)"},{"text":" pub1.send(13)"},{"text":" //"},{"text":" // Prints:"},{"text":" //Result: 4. (pub1 latest = 2, pub2 latest = 2)"},{"text":" //Result: 18. (pub1 latest = 9, pub2 latest = 2)"},{"text":" //Result: 6. (pub1 latest = 3, pub2 latest = 2)"},{"text":" //Result: 36. (pub1 latest = 3, pub2 latest = 12)"},{"text":" //Result: 156. (pub1 latest = 13, pub2 latest = 12)"},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher to combine with this one."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV13moveDirections5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","moveDirection"],"names":{"title":"moveDirection","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Move direction controller was moving (unit vector). In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP13giveOwnership2of6toPeerSbAA6EntityC_AA0cI2ID_ptF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","giveOwnership(of:toPeer:)"],"names":{"title":"giveOwnership(of:toPeer:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"giveOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transfers ownership of the given entity to the named network device."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity whose ownership is transferred."},{"text":""},{"text":" - toPeer: The networked device receiving ownership."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the ownership transfer succeeds."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"toPeer","declarationFragments":[{"kind":"identifier","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"giveOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4gainSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","gain"],"names":{"title":"gain","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The gain in decibels of the audio playback controller output."},{"text":""},{"text":"Use the ``AudioPlaybackController/fade(to:duration:)`` method to change"},{"text":"the gain gradually and create smooth transitions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The values from this property are available in the custom material’s"},{"text":"surface shader function regardless of the value of"},{"text":"``CustomMaterial/lightingModel-swift.property`` , but clearcoat"},{"text":"isn’t drawn unless the custom material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"surface shader calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the scale and"},{"text":"texture values from this property and use them to enable clearcoat"},{"text":"rendering."},{"text":""},{"text":"```other"},{"text":" // Retrieve the clearcoat scale and roughness from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":" float clearcoatRoughnessScale = params.material_constants().clearcoat_roughness_scale();"},{"text":""},{"text":" // Assign the clearcoat scale to enable clearcoat rendering (if"},{"text":" // lightingModel is .clearcoat)."},{"text":" params.surface().set_clearcoat(clearcoatScale);"},{"text":""},{"text":" // Assign the clearcoat roughness from the scale property set"},{"text":" // on the custom material."},{"text":" params.surface().set_clearcoat_roughness(clearcoatRoughnessScale);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The clearcoat value to use for the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV9transformSo13simd_float4x4avp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transform for the instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC12replaceAsync9withImage7optionsAA11LoadRequestCyACGSo10CGImageRefa_AC13CreateOptionsVtF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replaceAsync(withImage:options:)"],"names":{"title":"replaceAsync(withImage:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously and dynamically replaces the texture with a CoreGraphics image."},{"text":""},{"text":"This method blocks until the resource is updated. Do not use this method for framerate updates. For frequent texture changes,"},{"text":"see ``replace(withDrawables:)``. To ensure consistent usage of this texture resource, pass the same"},{"text":"semantic in `options` that you used to create the resource."},{"text":""},{"text":"- Note: The contents of a modified texture resource are not synced between network clients."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: Source image."},{"text":" - options: Options precising the type of texture to create. To preserve TextureResource's usage, the same semantic should be specified."}]},"functionSignature":{"parameters":[{"name":"withImage","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV7Elementa","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","Element"],"names":{"title":"CollisionGroup.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","orientation(relativeTo:)"],"names":{"title":"orientation(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the orientation of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The orientation of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV8velocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","velocity"],"names":{"title":"velocity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"velocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The linear speed relative to the phyics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"velocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15loadingStrategyAC07LoadingG0Ovp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","loadingStrategy"],"names":{"title":"loadingStrategy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The strategy a resource uses to access data."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assign(to:)"],"names":{"title":"assign(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements received from a publisher, by assigning them to a property marked as a publisher."},{"text":""},{"text":"Use this operator when you want to receive elements from a publisher and republish them through a property marked with the `@Published` attribute. The `assign(to:)` operator manages the life cycle of the subscription, canceling the subscription automatically when the ``Published`` instance deinitializes. Because of this, the `assign(to:)` operator doesn't return an ``AnyCancellable`` that you're responsible for like ``assign(to:on:)`` does."},{"text":""},{"text":"The example below shows a model class that receives elements from an internal , and assigns them to a `@Published` property called `lastUpdated`. Because the `to` parameter has the `inout` keyword, you need to use the `&` operator when calling this method."},{"text":""},{"text":" class MyModel: ObservableObject {"},{"text":" @Published var lastUpdated: Date = Date()"},{"text":" init() {"},{"text":" Timer.publish(every: 1.0, on: .main, in: .common)"},{"text":" .autoconnect()"},{"text":" .assign(to: &$lastUpdated)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"If you instead implemented `MyModel` with `assign(to: lastUpdated, on: self)`, storing the returned ``AnyCancellable`` instance could cause a reference cycle, because the ``Subscribers/Assign`` subscriber would hold a strong reference to `self`. Using `assign(to:)` solves this problem."},{"text":""},{"text":"While the `to` parameter uses the `inout` keyword, this method doesn't replace a reference type passed to it. Instead, this notation indicates that the operator may modify members of the assigned object, as seen in the following example:"},{"text":""},{"text":" class MyModel2: ObservableObject {"},{"text":" @Published var id: Int = 0"},{"text":" }"},{"text":" let model2 = MyModel2()"},{"text":" Just(100).assign(to: &model2.$id)"},{"text":""},{"text":"- Parameter published: A property marked with the `@Published` attribute, which receives and republishes all elements received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"published","declarationFragments":[{"kind":"identifier","spelling":"published"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"published"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12anchorEntityyAC0F4PathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","anchorEntity(_:)"],"names":{"title":"anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a complex bind path from a particular anchor entity in the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO6mediumyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","medium"],"names":{"title":"PhotogrammetrySession.Request.Detail.medium","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"medium"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A medium-quality object with moderate resource requirements."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"medium"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO9unorderedyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","unordered"],"names":{"title":"PhotogrammetrySession.Configuration.SampleOrdering.unordered","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unordered"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Images aren’t in sequential order."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unordered"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE4timeSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","time"],"names":{"title":"time","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"time"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation's location within the timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"time"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value or a texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The values from this property are available in the custom material’s"},{"text":"surface shader function regardless of the value of"},{"text":"``CustomMaterial/lightingModel-swift.property`` , but clearcoat"},{"text":"isn’t drawn unless the custom material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"surface shader calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates retrieving `scale` and"},{"text":"`texture` in a surface shader, and using them to specify the"},{"text":"clearcoat and clearcoat roughness values:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the clearcoat scale and roughness from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":" float clearcoatRoughnessScale = params.material_constants().clearcoat_roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample a value from the clearcoat and clearcoat roughness textures."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":" half clearcoatRoughess = tex.clearcoat_roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat"},{"text":" // and assign the result."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat roughness"},{"text":" // and assign the result."},{"text":" clearcoatRoughess *= clearcoatRoughnessScale;"},{"text":" params.surface().set_clearcoat_roughness(clearcoatRoughess);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat value for the entire material."},{"text":""},{"text":"- texture: The clearcoat values as the texture of a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4load5named2inACSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","load(named:in:)"],"names":{"title":"load(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an entity from a file in a bundle."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationPeerIDP","interfaceLanguage":"swift"},"pathComponents":["SynchronizationPeerID"],"names":{"title":"SynchronizationPeerID","navigator":[{"kind":"identifier","spelling":"SynchronizationPeerID"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationPeerID"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a peer among a group of networked devices."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationPeerID"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](CustomMaterial-Specular-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by"},{"text":"augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from a"},{"text":"single value that applies to the entire material. The specular"},{"text":"``CustomMaterial/Specular-swift.struct/scale`` value is available to"},{"text":"the material’s surface shader, but RealityKit doesn’t create"},{"text":"additional specular highlights unless the surface shader function"},{"text":"calls `params.surface().set_specular()`."},{"text":""},{"text":"The following Metal code demonstrates using the specular `scale`"},{"text":"value in a surface shader function:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the opacity scale from the CustomMaterial and assign it."},{"text":" float specularScale = params.material_constants().specular_scale();"},{"text":" params.surface().set_specular(specular);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: A value from `0.0` to `1.0` to use as the specular value"},{"text":"for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animations repeat."},{"text":""},{"text":"If you call ``FromToByAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationGroup/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setOrientation(_:relativeTo:)"],"names":{"title":"setOrientation(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the orientation of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - orientation: A new orientation, relative to `referenceEntity`."},{"text":""},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"orientation","declarationFragments":[{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO10sequentialyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","sequential"],"names":{"title":"PhotogrammetrySession.Configuration.SampleOrdering.sequential","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequential"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Images are in sequential order."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequential"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a"},{"text":"transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Result"],"names":{"title":"PhotogrammetrySession.Result","navigator":[{"kind":"identifier","spelling":"Result"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Result"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds the created 3D object."},{"text":""},{"text":"When ``RealityKit/PhotogrammetrySession`` completes a ``RealityKit/PhotogrammetrySession/Request``,"},{"text":"it publishes a ``RealityKit/PhotogrammetrySession/Output/requestComplete(_:_:)``"},{"text":"message to output, and includes the created object as the associated value of the"},{"text":"result parameter. The result type corresponds to the request type. For example, a"},{"text":"``RealityKit/PhotogrammetrySession/Request/modelFile(url:detail:geometry:)`` request"},{"text":"results in the session publishing a ``RealityKit/PhotogrammetrySession/Result/modelFile(_:)``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Result"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7impulseSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","impulse"],"names":{"title":"impulse","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The estimated strength of the impact."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SampleOrdering","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat roughness specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to find the minimum value in a stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/min(by:)`` operator emits a value when the publisher finishes, that value is the minimum of the values received from upstream, which is `-1`."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .min()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"-1\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE10compactMapyAA012AsyncCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AsyncCompactMapSequence","preciseIdentifier":"s:12_Concurrency23AsyncCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that maps the given closure over the"},{"text":"asynchronous sequence’s elements, omitting results that don't return a"},{"text":"value."},{"text":""},{"text":"Use the `compactMap(_:)` method to transform every element received from"},{"text":"a base asynchronous sequence, while also discarding any `nil` results"},{"text":"from the closure. Typically, you use this to transform from one type of"},{"text":"element to another."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The closure provided to the `compactMap(_:)`"},{"text":"method takes each `Int` and looks up a corresponding `String` from a"},{"text":"`romanNumeralDict` dictionary. Because there is no key for `4`, the closure"},{"text":"returns `nil` in this case, which `compactMap(_:)` omits from the"},{"text":"transformed asynchronous sequence."},{"text":""},{"text":" let romanNumeralDict: [Int: String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":" "},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .compactMap { romanNumeralDict[$0] }"},{"text":" for await numeral in stream {"},{"text":" print(numeral, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"I II III V \""},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an element"},{"text":" of this sequence as its parameter and returns a transformed value of the"},{"text":" same or of a different type."},{"text":"- Returns: An asynchronous sequence that contains, in order, the"},{"text":" non-`nil` elements produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncCompactMapSequence","preciseIdentifier":"s:12_Concurrency23AsyncCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AsyncCompactMapSequence","preciseIdentifier":"s:12_Concurrency23AsyncCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE14bindableValuesAA08BindableE9ReferenceVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","bindableValues"],"names":{"title":"bindableValues","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindableValues"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindableValuesReference","preciseIdentifier":"s:17RealityFoundation23BindableValuesReferenceV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindableValues"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindableValuesReference","preciseIdentifier":"s:17RealityFoundation23BindableValuesReferenceV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","transformMatrix(relativeTo:)"],"names":{"title":"transformMatrix(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the 4 x 4 transform matrix of an entity relative to the given"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V5colors5SIMD4Vys5UInt8VGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud","Point","color"],"names":{"title":"color","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Color of the point ordered as RGBA."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off the specified number of elements"},{"text":" at the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","synchronization"],"names":{"title":"synchronization","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s synchronization component."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","values"],"names":{"title":"values","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncThrowingPublisher","preciseIdentifier":"s:7Combine22AsyncThrowingPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"The elements produced by the publisher, as a throwing asynchronous sequence."},{"text":""},{"text":"This property provides an ``AsyncThrowingPublisher``, which allows you to use the Swift `async`-`await` syntax to receive the publisher's elements. Because ``AsyncPublisher`` conforms to , you iterate over its elements with a `for`-`await`-`in` loop, rather than attaching a subscriber. If the publisher terminates with an error, the awaiting caller receives the error as a `throw`."},{"text":""},{"text":"The following example shows how to use the `values` property to receive elements asynchronously. The example adapts a code snippet from the ``Publisher/tryFilter(_:)`` operator's documentation, which filters a sequence to only emit even integers, and terminate with an error on a `0`. This example replaces the ``Subscribers/Sink`` subscriber with a `for`-`await`-`in` loop that iterates over the ``AsyncPublisher`` provided by the `values` property. With this approach, the error handling previously provided in the sink subscriber's ``Subscribers/Sink/receiveCompletion`` closure goes instead in a `catch` block."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" let filterPublisher = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":""},{"text":" do {"},{"text":" for try await number in filterPublisher.values {"},{"text":" print (\"\\(number)\", terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print (\"\\(error)\")"},{"text":" }"},{"text":""},{"text":""}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncThrowingPublisher","preciseIdentifier":"s:7Combine22AsyncThrowingPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position representing the estimated point of contact."},{"text":""},{"text":"The point is an average calculated from the intersecting shapes."},{"text":"It’s specified in the coordinate space of the physics simulation,"},{"text":"which means it’s relative to ``ARView/physicsOrigin``. If the"},{"text":"physics origin is `nil`, the point is given in world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO5sceneyAC9ScenePathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","scene(_:)"],"names":{"title":"scene(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a bind path from a particular scene."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud","Point","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"3D position of the point"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV12depthDataMapSo11CVBufferRefaSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","depthDataMap"],"names":{"title":"depthDataMap","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthDataMap"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image’s depth data."},{"text":""},{"text":"Some cameras, including iPhone cameras, capture depth data in addition"},{"text":"to image data. Providing this data can help ``PhotogrammetrySession``"},{"text":"determine the real-world scale of the photographed object and result in"},{"text":"a correctly sized 3D object for placement in an AR scene. This property"},{"text":"is read-only."},{"text":""},{"text":"Depth data can be in either"},{"text":""},{"text":"or"},{"text":""},{"text":"format."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthDataMap"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO7reducedyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","reduced"],"names":{"title":"PhotogrammetrySession.Request.Detail.reduced","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduced"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mobile-quality object with low resource requirements."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduced"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value, a UV-mapped texture, or both."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](CustomMaterial-Specular-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by"},{"text":"augmenting the specular highlights."},{"text":""},{"text":"The specular ``CustomMaterial/Specular-swift.struct/scale`` and"},{"text":"``CustomMaterial/Specular-swift.struct/texture`` values are"},{"text":"available to the material’s surface shader, but RealityKit doesn’t"},{"text":"render additional specular highlights unless the surface shader"},{"text":"function calls `params.surface().set_specular()`."},{"text":""},{"text":"The following Metal code demonstrates using the specular `scale` and"},{"text":"`texture` values in a surface shader function to calculate specular"},{"text":"highlights, emulating the specular behavior of"},{"text":"``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the opacity scale from the CustomMaterial."},{"text":" float specularScale = params.material_constants().specular_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the specular texture."},{"text":" auto tex = params.textures();"},{"text":" half specular = tex.specular().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture and assign"},{"text":" // the result."},{"text":" specular *= specularScale;"},{"text":" params.surface().set_specular(specular);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- scale: A value from `0.0` to `1.0` to use as the specular value"},{"text":"for the material."},{"text":""},{"text":" - texture: An optional UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","delay(for:tolerance:scheduler:options:)"],"names":{"title":"delay(for:tolerance:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Delays delivery of all output to the downstream receiver by a specified amount of time on a particular scheduler."},{"text":""},{"text":"Use ``Publisher/delay(for:tolerance:scheduler:options:)`` when you need to delay the delivery of elements to a downstream by a specified amount of time."},{"text":""},{"text":"In this example, a publishes an event every second. The ``Publisher/delay(for:tolerance:scheduler:options:)`` operator holds the delivery of the initial element for 3 seconds (±0.5 seconds), after which each element is delivered to the downstream on the main run loop after the specified delay:"},{"text":""},{"text":" let df = DateFormatter()"},{"text":" df.dateStyle = .none"},{"text":" df.timeStyle = .long"},{"text":" cancellable = Timer.publish(every: 1.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .handleEvents(receiveOutput: { date in"},{"text":" print (\"Sending Timestamp \\'\\(df.string(from: date))\\' to delay()\")"},{"text":" })"},{"text":" .delay(for: .seconds(3), scheduler: RunLoop.main, options: .none)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \"\\n\") },"},{"text":" receiveValue: { value in"},{"text":" let now = Date()"},{"text":" print (\"At \\(df.string(from: now)) received Timestamp \\'\\(df.string(from: value))\\' sent: \\(String(format: \"%.2f\", now.timeIntervalSince(value))) secs ago\", terminator: \"\\n\")"},{"text":" }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Sending Timestamp '5:02:33 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:34 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:35 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:36 PM PDT' to delay()"},{"text":" // At 5:02:36 PM PDT received Timestamp '5:02:33 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:37 PM PDT' to delay()"},{"text":" // At 5:02:37 PM PDT received Timestamp '5:02:34 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:38 PM PDT' to delay()"},{"text":" // At 5:02:38 PM PDT received Timestamp '5:02:35 PM PDT' sent: 3.00 secs ago"},{"text":""},{"text":"The delay affects the delivery of elements and completion, but not of the original subscription."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The amount of time to delay."},{"text":" - tolerance: The allowed tolerance in delivering delayed events. The `Delay` publisher may deliver elements this much sooner or later than the interval specifies."},{"text":" - scheduler: The scheduler to deliver the delayed events."},{"text":" - options: Options relevant to the scheduler’s behavior."},{"text":"- Returns: A publisher that delays delivery of elements and completion to the downstream receiver."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"tolerance","declarationFragments":[{"kind":"identifier","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAsync(named:in:)"],"names":{"title":"loadAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an entity from a file in a bundle asynchronously."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","resetPhysicsTransform(_:recursive:)"],"names":{"title":"resetPhysicsTransform(_:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position and velocities of the simulated physics body."},{"text":""},{"text":"Call this method to change the transform applied to a body by physics"},{"text":"simulation. This only matters for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s ``HasTransform/transform`` property"},{"text":"directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":"- transform: The new transform to inject into the dynamic physics"},{"text":"simulation of the entity."},{"text":""},{"text":" - recursive: Apply the reset to child entities."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Will be hidden in RealityKit 2019.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation13HasPointLightP","interfaceLanguage":"swift"},"pathComponents":["HasPointLight"],"names":{"title":"HasPointLight","navigator":[{"kind":"identifier","spelling":"HasPointLight"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPointLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that defines a point light source component."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPointLight"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO7previewyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","preview"],"names":{"title":"PhotogrammetrySession.Request.Detail.preview","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preview"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A fast, low-quality object for previewing the final result."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preview"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO4highyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","high"],"names":{"title":"PhotogrammetrySession.Configuration.FeatureSensitivity.high","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"high"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session uses a slower, more sensitive algorithm to detect landmarks."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"high"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19processingCancelledyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","processingCancelled"],"names":{"title":"PhotogrammetrySession.Output.processingCancelled","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingCancelled"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All pending requests are canceled."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingCancelled"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD2VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point pairs in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point pairs."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits the specified number of elements before republishing subsequent elements."},{"text":""},{"text":"Use ``Publisher/dropFirst(_:)`` when you want to drop the first `n` elements from the upstream publisher, and republish the remaining elements."},{"text":""},{"text":"The example below drops the first five elements from the stream:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" cancellable = numbers.publisher"},{"text":" .dropFirst(5)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"6 7 8 9 10 \""},{"text":""},{"text":"- Parameter count: The number of elements to omit. The default is `1`."},{"text":"- Returns: A publisher that doesn’t republish the first `count` elements."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO18processingCompleteyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","processingComplete"],"names":{"title":"PhotogrammetrySession.Output.processingComplete","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingComplete"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session completed a request successfully."},{"text":""},{"text":"- Parameters:"},{"text":" - Request: The request in progress."},{"text":" - Result: The result of the Object Capture session."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingComplete"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent"],"names":{"title":"CharacterControllerStateComponent","navigator":[{"kind":"identifier","spelling":"CharacterControllerStateComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerStateComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that maintains state for a character controller."},{"text":""},{"text":"Add this component to an entity, this along with ``CharacterControllerComponent``, to"},{"text":"use the entity as a character that moves and animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerStateComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the bounding box by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"box."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","RawValue"],"names":{"title":"CollisionGroup.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to determine the minimum value in the stream of elements from an upstream publisher using a comparison operation you specify."},{"text":""},{"text":"This operator is useful when the value received from the upstream publisher isn’t ."},{"text":""},{"text":"In the example below an array publishes enumeration elements representing playing card ranks. The ``Publisher/min(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the minimum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .king]"},{"text":" cancellable = cards.publisher"},{"text":" .min {"},{"text":" return $0.rawValue < $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"ace\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two bounding boxes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first box to compare."},{"text":""},{"text":" - rhs: The second box to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two boxes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents"],"names":{"title":"ComponentEvents","navigator":[{"kind":"identifier","spelling":"ComponentEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides the events related to components."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error"],"names":{"title":"PhotogrammetrySession.Error","navigator":[{"kind":"identifier","spelling":"Error"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Error"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An error type thrown from various functions if problems in reconstruction are encountered."},{"text":""},{"text":"These should be localized by the app."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Error"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC9loadAsync10contentsOf8withName9inputMode15loadingStrategy10shouldLoopAA11LoadRequestCyACG0B03URLV_SSSgAA0cE0C05InputM0OAC07LoadingO0OSbtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","loadAsync(contentsOf:withName:inputMode:loadingStrategy:shouldLoop:)"],"names":{"title":"loadAsync(contentsOf:withName:inputMode:loadingStrategy:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio file resource from a URL asynchronously."},{"text":""},{"text":"As an asynchronous function, control returns as the function runs"},{"text":"simultaneously."},{"text":""},{"text":"This function caches one file per unique file path. Subsequent calls to"},{"text":"this function for the same file path override the previous"},{"text":"``AudioFileResource`` configuration. For example, both audio file"},{"text":"resources loop in the following code."},{"text":""},{"text":"```swift"},{"text":"guard let path = findTestDataFilePath(\"Music.m4a\") else { /*"},{"text":"Handle the error. */ } let url = URL(fileURLWithPath: path)"},{"text":"let audioFile1 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .nonSpatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: false)"},{"text":"let audioFile2 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .spatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: true)"},{"text":"```"},{"text":""},{"text":"To create looping and nonlooping versions of the same audio, create a"},{"text":"copy of the source audio file on disk and pass a unique file URL to each"},{"text":"audio file resource."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The URL from which to get the audio file resource."},{"text":""},{"text":" - resourceName: The name of the audio file."},{"text":""},{"text":" - inputMode: The input mode the audio file resource uses."},{"text":""},{"text":" - loadingStrategy: The loading strategy the audio file resource uses."},{"text":""},{"text":"- shouldLoop: A Boolean you set to `true` to instruct the playback"},{"text":"controller to loop the audio indefinitely."},{"text":""},{"text":"- Returns: A load request for an audio file resource that you can use to"},{"text":"initialize an ``AudioPlaybackController`` instance by calling an"},{"text":"entity’s ``Entity/prepareAudio(_:)`` method."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"inputMode","declarationFragments":[{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"loadingStrategy","declarationFragments":[{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"shouldLoop","declarationFragments":[{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/max()`` to determine the maximum value in the stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/max()`` operator emits a value when the publisher finishes, that value is the maximum of the values received from upstream, which is `10`."},{"text":""},{"text":" let numbers = [0, 10, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .max()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15requestProgressyAeC7RequestO_SdtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","requestProgress(_:fractionComplete:)"],"names":{"title":"PhotogrammetrySession.Output.requestProgress(_:fractionComplete:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestProgress"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fractionComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A progress update provided by the session."},{"text":""},{"text":"- Parameters:"},{"text":" - Request: The request in progress."},{"text":" - fractionComplete: A number from `0.0` to `1.0` indicating the current progress for the request."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestProgress"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fractionComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","GeometryModifier","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the geometry modifier function."},{"text":""},{"text":"This is the name of the Metal function that the custom material uses"},{"text":"as its geometry modifier. The name must match the name of a Metal"},{"text":"function in your Xcode project without parameters or parentheses."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","ArrayLiteralElement"],"names":{"title":"CollisionGroup.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV12moveDistanceSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","moveDistance"],"names":{"title":"moveDistance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Move distance controller was attempting to move. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:)"],"names":{"title":"combineLatest(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and publishes a tuple upon receiving output from either publisher."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:)`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To pair elements from multiple publishers, use ``Publisher/zip(_:)`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:)-7qt71``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In this example, ``PassthroughSubject`` `pub1` and also `pub2` emit values; as ``Publisher/combineLatest(_:)`` receives input from either upstream publisher, it combines the latest value from each publisher into a tuple and publishes it."},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(3)"},{"text":" pub1.send(45)"},{"text":" pub2.send(22)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2). // pub1 latest = 2, pub2 latest = 2"},{"text":" // Result: (3, 2). // pub1 latest = 3, pub2 latest = 2"},{"text":" // Result: (45, 2). // pub1 latest = 45, pub2 latest = 2"},{"text":" // Result: (45, 22). // pub1 latest = 45, pub2 latest = 22"},{"text":""},{"text":"When all upstream publishers finish, this publisher finishes. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"- Parameter other: Another publisher to combine with this one."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV5modelSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of the model to instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Blending","transparent(opacity:)"],"names":{"title":"CustomMaterial.Blending.transparent(opacity:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A transparent or translucent surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7impulseSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","impulse"],"names":{"title":"impulse","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The estimated strength of the impact."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryRemoveDuplicates(by:)"],"names":{"title":"tryRemoveDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryRemoveDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of elements using an error-throwing closure you provide. If your closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, the closure provided to ``Publisher/tryRemoveDuplicates(by:)`` returns `true` when two consecutive elements are equal, thereby filtering out `0`,"},{"text":"`1`, `2`, and `3`. However, the closure throws an error when it encounters `4`. The publisher then terminates with this error."},{"text":""},{"text":" struct BadValuesError: Error {}"},{"text":" let numbers = [0, 0, 0, 0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryRemoveDuplicates { first, second -> Bool in"},{"text":" if (first == 4 && second == 4) {"},{"text":" throw BadValuesError()"},{"text":" }"},{"text":" return first == second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 failure(BadValuesError()\""},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first. If this closure throws an error, the publisher terminates with the thrown error."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat roughness specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV10importanceSo08AXCustomF10ImportanceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","importance"],"names":{"title":"importance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Determines when to output custom accessibility content."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE10parametersAcAE12ParameterSetVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","parameters"],"names":{"title":"parameters","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameters"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParameterSet","preciseIdentifier":"s:17RealityFoundation6EntityCAAE12ParameterSetV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Represents a reference to the parameters for a particular entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameters"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParameterSet","preciseIdentifier":"s:17RealityFoundation6EntityCAAE12ParameterSetV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8BlendingO6opaqueyA2EmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Blending","opaque"],"names":{"title":"CustomMaterial.Blending.opaque","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation10PointLightC","interfaceLanguage":"swift"},"pathComponents":["PointLight"],"names":{"title":"PointLight","navigator":[{"kind":"identifier","spelling":"PointLight"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity that produces an omnidirectional light for virtual objects."},{"text":""},{"text":"During an AR session, RealityKit automatically lights your virtual objects"},{"text":"to match real-world lighting. You can also explicitly add virtual lights"},{"text":"that act upon your virtual content. This is typically most useful outside of"},{"text":"an AR session (with the view’s ``ARView/cameraMode-swift.property`` property"},{"text":"set to ``ARView/CameraMode-swift.enum/nonAR``)."},{"text":""},{"text":"The point light is an omnidirectional light that illuminates all the virtual"},{"text":"content within a configurable radius from the light. You can configure the"},{"text":"light’s color and intensity."},{"text":""},{"text":"A RealityKit scene can contain up to eight dynamic lights, which are"},{"text":"``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit"},{"text":"doesn’t include light from image-based lighting."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointLight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setTransformMatrix(_:relativeTo:)"],"names":{"title":"setTransformMatrix(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the transform of the entity relative to the given reference entity"},{"text":"using a 4x4 matrix representation."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Setting a ``HasTransform/transform``"},{"text":"using a 4x4 matrix is therefore a lossy event that might result in"},{"text":"certain transformations, like shear, being dropped."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 transform matrix, given relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while a predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/prefix(while:)`` to emit values while elements from the upstream publisher meet a condition you specify. The publisher finishes when the closure returns `false`."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(while:)`` operator emits values while the element it receives is less than five:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" numbers.publisher"},{"text":" .prefix { $0 < 5 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","visualBounds(recursive:relativeTo:excludeInactive:)"],"names":{"title":"visualBounds(recursive:relativeTo:excludeInactive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Computes a bounding box for the entity in the specified space,"},{"text":"optionally including child entities."},{"text":""},{"text":"The method has complexity `O(n)`, where `n` is the number of entities in"},{"text":"the hierarchy."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to incorporate the bounds"},{"text":"of all descendants."},{"text":""},{"text":" - referenceEntity: An entity that defines a frame of reference. Set to"},{"text":"`nil` to indicate world space."},{"text":""},{"text":"- excludeInactive: A Boolean that you set to `true` to exclude inactive"},{"text":"entities."},{"text":""},{"text":"- Returns: The bounding box."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"excludeInactive","declarationFragments":[{"kind":"identifier","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation's rate of playback."},{"text":""},{"text":"The animation applies the value of this property as an irrational factor"},{"text":"of the unaltered speed. For example, a value of `2` plays the animation"},{"text":"twice as fast, a value of `0.5` plays the animation at half speed, and a"},{"text":"value of `1` plays the animation at the unaltered rate."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3min3maxACs5SIMD3VySfG_AHtcfc","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","init(min:max:)"],"names":{"title":"init(min:max:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":" - min: The position of the minimum corner of the box."},{"text":""},{"text":" - max: The position of the maximum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12ParameterSetV","interfaceLanguage":"swift"},"pathComponents":["Entity","ParameterSet"],"names":{"title":"Entity.ParameterSet","navigator":[{"kind":"identifier","spelling":"ParameterSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Represents a reference to the parameters for a particular entity."},{"text":""},{"text":"Note this struct is a reference and does not have copy-on-write semantics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4copy2toySo10MTLTexture_p_tKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","copy(to:)"],"names":{"title":"copy(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Copies texture data to another texture."},{"text":""},{"text":"This method blocks until the data is copied. If a ``TextureResource/DrawableQueue`` has been attached"},{"text":"to this resource, this function detaches it. This method copies all available mipmap sizes"},{"text":"to `texture`."},{"text":""},{"text":"Even though `semantic` is an optional, it is recommended that you provide a value. Specifying a semantic for"},{"text":"this texture resource enables RealityKit to select an appropriate pixel format for the target texture."},{"text":""},{"text":"Here is an example of using ``copy(to:)`` to get a texture resource's raw pixel data:"},{"text":"```Swift"},{"text":"let device: MTLDevice = ..."},{"text":"let resource: TextureResource = ..."},{"text":"let descriptor = MTLTextureDescriptor.texture2DDescriptor("},{"text":" pixelFormat: .rgba8Unorm,"},{"text":" width: resource.width, // Must match"},{"text":" height: resource.height, // Must match"},{"text":" mipmapped: false)"},{"text":"descriptor.usage = .shaderWrite // Required for copy"},{"text":""},{"text":"guard let texture = device.makeTexture(descriptor: descriptor)"},{"text":"else { throw ... }"},{"text":"try resource.copy(to: texture)"},{"text":""},{"text":"#if os(OSX) // Managed mode exists only in OSX"},{"text":"if texture.storageMode == .managed {"},{"text":" // Managed textures need to be synchronized before accessing their data"},{"text":" guard let commandBuffer = device.makeCommandQueue()?.makeCommandBuffer(),"},{"text":" let blitEncoder = commandBuffer.makeBlitCommandEncoder()"},{"text":" else { throw ... }"},{"text":""},{"text":" blitEncoder.synchronize(resource: texture)"},{"text":" blitEncoder.endEncoding()"},{"text":" commandBuffer.commit()"},{"text":" commandBuffer.waitUntilCompleted()"},{"text":"}"},{"text":"#endif"},{"text":""},{"text":"// Getting raw pixel bytes"},{"text":"let bytesPerRow = 4 * texture.width"},{"text":"var bytes = [UInt8](repeating: 0, count: texture.height * bytesPerRow)"},{"text":"bytes.withUnsafeMutableBytes { bytesPtr in"},{"text":" texture.getBytes("},{"text":" bytesPtr.baseAddress!,"},{"text":" bytesPerRow: bytesPerRow,"},{"text":" from: .init(origin: .init(), size: .init(width: texture.width, height: texture.height, depth: 1)),"},{"text":" mipmapLevel: 0"},{"text":" )"},{"text":"}"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - texture: Target texture for copying the data. It must have the same width and height as the TextureResource, and .shaderWrite usage."},{"text":""}]},"functionSignature":{"parameters":[{"name":"to","internalName":"texture","declarationFragments":[{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CustomMaterialV13LightingModelO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","FloatLiteralType"],"names":{"title":"CustomMaterial.Specular.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP6entity3forAA6EntityCSgs6UInt64V_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","entity(for:)"],"names":{"title":"entity(for:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the entity with the given identifier."},{"text":""},{"text":"- Parameters:"},{"text":" - identifier: The identifier."},{"text":""},{"text":"- Returns: The entity with the corresponding identifier."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"identifier","declarationFragments":[{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(position:from:)"],"names":{"title":"convert(position:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of a reference entity to the"},{"text":"local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8rawValueACs6UInt32V_tcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision group from a raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set."},{"text":"Usually, you will want to create each collision groups setting a"},{"text":"different bit flag for each value, so that multiple individual groups"},{"text":"can be combined using"},{"text":" methods."},{"text":""},{"text":"Here is an example of creating four collision groups using different"},{"text":"bitflag values for each one."},{"text":""},{"text":"```swift"},{"text":" let redGroup = CollisionGroup(rawValue: 1 << 0)"},{"text":" let blueGroup = CollisionGroup(rawValue: 1 << 1)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 2)"},{"text":" let orangeGroup = CollisionGroup(rawValue: 1 << 3)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- rawValue: The raw value of the option set to create. Each bit of"},{"text":"rawValue potentially represents an element of the option set, though raw"},{"text":"values may include bits that are not defined as distinct values of the"},{"text":"OptionSet type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","removeDuplicates(by:)"],"names":{"title":"removeDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided closure."},{"text":""},{"text":"Use ``Publisher/removeDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of the current and previously published elements using a closure you provide."},{"text":""},{"text":"Use the ``Publisher/removeDuplicates(by:)`` operator when comparing types that don’t themselves implement `Equatable`, or if you need to compare values differently than the type’s `Equatable` implementation."},{"text":""},{"text":"In the example below, the ``Publisher/removeDuplicates(by:)`` functionality triggers when the `x` property of the current and previous elements are equal, otherwise the operator publishes the current `Point` to the downstream subscriber:"},{"text":""},{"text":" struct Point {"},{"text":" let x: Int"},{"text":" let y: Int"},{"text":" }"},{"text":""},{"text":" let points = [Point(x: 0, y: 0), Point(x: 0, y: 1),"},{"text":" Point(x: 1, y: 1), Point(x: 2, y: 1)]"},{"text":" cancellable = points.publisher"},{"text":" .removeDuplicates { prev, current in"},{"text":" // Considers points to be duplicate if the x coordinate"},{"text":" // is equal, and ignores the y coordinate"},{"text":" prev.x == current.x"},{"text":" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: Point(x: 0, y: 0) Point(x: 1, y: 1) Point(x: 2, y: 1)"},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO6normalyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","normal"],"names":{"title":"PhotogrammetrySession.Configuration.FeatureSensitivity.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session uses the default algorithm to detect landmarks."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","count()"],"names":{"title":"count()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the number of elements received from the upstream publisher."},{"text":""},{"text":"Use ``Publisher/count()`` to determine the number of elements received from the upstream publisher before it completes:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .count()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"11\""},{"text":""},{"text":"- Returns: A publisher that consumes all elements until the upstream publisher finishes, then emits a single value with the total number of elements received."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","ID"],"names":{"title":"MeshResource.Instance.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation5SceneC","interfaceLanguage":"swift"},"pathComponents":["Scene"],"names":{"title":"Scene","navigator":[{"kind":"identifier","spelling":"Scene"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Scene"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container that holds the collection of entities rendered by an AR view."},{"text":""},{"text":"You don’t create a ``Scene`` instance directly. Instead, you get the one and"},{"text":"only scene associated with a view from the ``ARView/scene`` property of an"},{"text":"``ARView`` instance."},{"text":""},{"text":"![Block diagram showing the scene as a property of an AR view, with anchor"},{"text":"entities as the scene’s children.](Scene-1)"},{"text":""},{"text":"To add content to the view’s scene, you first create and add one or more"},{"text":"``AnchorEntity`` instances to the scene’s ``RealityKit/Scene/anchors`` collection."},{"text":"Anchors tell RealityKit how to pin virtual content to real world objects,"},{"text":"like flat surfaces or images. You then add a hierarchy of other ``RealityKit/Entity``"},{"text":"instances to each anchor to indicate the geometry and behaviors that"},{"text":"RealityKit should render at a given anchor point."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Scene"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","physicsBody"],"names":{"title":"physicsBody","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that is used for physics simulations of the model entity in"},{"text":"accordance with the laws of Newtonian mechanics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15requestCompleteyAeC7RequestO_AC6ResultOtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","requestComplete(_:_:)"],"names":{"title":"PhotogrammetrySession.Output.requestComplete(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestComplete"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session finished handling all pending requests."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestComplete"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP10Identifiera","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","Identifier"],"names":{"title":"SynchronizationService.Identifier","navigator":[{"kind":"identifier","spelling":"Identifier"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a synchronization service identifier."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","linearVelocity"],"names":{"title":"linearVelocity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The linear velocity of the body in the physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8rawValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV8metadataSDySSypGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","metadata"],"names":{"title":"metadata","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metadata"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" : "},{"kind":"keyword","spelling":"Any"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An image’s EXIF metadata."},{"text":""},{"text":"You can provide EXIF metadata captured by your digital camera to assist"},{"text":"in the object-creation process. During object creation, RealityKit can"},{"text":"use data from the EXIF keys listed below."},{"text":""},{"text":"- `TIFFMake`"},{"text":"- `TIFFModel`"},{"text":"- `TIFFOrientation`"},{"text":"- `ExifBodySerialNumber`"},{"text":"- `ExifLensMake`"},{"text":"- `ExifLensModel`"},{"text":"- `ExifLensSerialNumber`"},{"text":"- `ExifFocalLength`"},{"text":"- `ExifFocalLengthIn35mmFilm`"},{"text":"- `GPSAltitude`"},{"text":"- `GPSAltitudeRef`"},{"text":"- `GPSLatitude`"},{"text":"- `GPSLatitudeRef`"},{"text":"- `GPSLongitude`"},{"text":"- `GPSLongitudeRef`"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metadata"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" : "},{"kind":"keyword","spelling":"Any"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasTransformP","interfaceLanguage":"swift"},"pathComponents":["HasTransform"],"names":{"title":"HasTransform","navigator":[{"kind":"identifier","spelling":"HasTransform"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables manipulating the scale, rotation, and translation"},{"text":"of an entity."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a ``Transform`` component, and"},{"text":"a collection of methods for manipulating the component, that you use to"},{"text":"position the entity in space."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasTransform"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:)"],"names":{"title":"zip(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and deliver pairs of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:)`` to combine the latest elements from two publishers and emit a tuple to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together as a tuple to the subscriber."},{"text":""},{"text":"Much like a zipper or zip fastener on a piece of clothing pulls together rows of teeth to link the two sides, ``Publisher/zip(_:)`` combines streams from two different publishers by linking pairs of elements from each side."},{"text":""},{"text":"In this example, `numbers` and `letters` are ``PassthroughSubject``s that emit values; once ``Publisher/zip(_:)`` receives one value from each, it publishes the pair as a tuple to the downstream subscriber. It then waits for the next pair of values."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" letters.send(\"A\") // numbers: 1,2 letters:\"A\" zip output: "},{"text":" numbers.send(3) // numbers: 1,2,3 letters: zip output: (1,\"A\")"},{"text":" letters.send(\"B\") // numbers: 1,2,3 letters: \"B\" zip output: (2,\"B\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\")"},{"text":" // (2, \"B\")"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameter other: Another publisher."},{"text":"- Returns: A publisher that emits pairs of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController"],"names":{"title":"AudioPlaybackController","navigator":[{"kind":"identifier","spelling":"AudioPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A controller that manages audio playback of a resource."},{"text":""},{"text":"You receive an audio playback controller by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` method. You typically pass an"},{"text":"``AudioFileResource`` instance to this call that tells the playback"},{"text":"controller how to stream the contents of an audio file from disk, or from a"},{"text":"URL."},{"text":""},{"text":"During playback, the audio appears to come from the entity that you used to"},{"text":"create the controller. As the user moves around the AR scene, RealityKit"},{"text":"modulates the characteristics of the audio to account for the user’s"},{"text":"location."},{"text":""},{"text":"After playback completes, or if you call the"},{"text":"``AudioPlaybackController/stop()`` method, the audio controller resets so"},{"text":"that you can play the resource from the beginning. Alternatively, you can"},{"text":"configure the audio to loop indefinitely by setting the `loops` property of"},{"text":"the audio resource to `true`."},{"text":""},{"text":"Look for one of the events in ``AudioEvents`` if you want to be alerted when"},{"text":"certain aspects of audio playback occur."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","load(contentsOf:withName:)"],"names":{"title":"load(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an entity from a file URL."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents"],"names":{"title":"SynchronizationEvents","navigator":[{"kind":"identifier","spelling":"SynchronizationEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with network synchronization of scene information."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12requestErroryAeC7RequestO_s0G0_ptcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","requestError(_:_:)"],"names":{"title":"PhotogrammetrySession.Output.requestError(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestError"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session aborted a request due to an error."},{"text":""},{"text":"- Parameters:"},{"text":" - Request: The request in progress."},{"text":" - Error: Details of the error."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestError"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8rawValueAGSgSi_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13inputCompleteyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","inputComplete"],"names":{"title":"PhotogrammetrySession.Output.inputComplete","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inputComplete"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The data ingestion portion of the process is complete."},{"text":""},{"text":"Once the session sends this messagae, processing on the actual requests begins."},{"text":"It only sends this on the first `process()` call after which the data from the original"},{"text":"processing is reused."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inputComplete"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a physically based material’s specular"},{"text":"property."},{"text":""},{"text":"This initializer creates an object by copying the values from an"},{"text":"existing ``PhysicallyBasedMaterial/Specular-swift.struct`` object."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](CustomMaterial-Specular-swift-struct-init(_:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by"},{"text":"augmenting the specular highlights."},{"text":""},{"text":"The specular ``CustomMaterial/Specular-swift.struct/scale`` and"},{"text":"``CustomMaterial/Specular-swift.struct/texture`` values are"},{"text":"available to the material’s surface shader, but RealityKit doesn’t"},{"text":"add specular highlights unless the surface shader function calls"},{"text":"`params.surface().set_specular()`."},{"text":""},{"text":"The following Metal code demonstrates using the specular `scale` and"},{"text":"`texture` values in a surface shader function to calculate"},{"text":"additional specular highlights, emulating the behavior of"},{"text":"``PhysicallyBasedMaterial``:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the opacity scale from the CustomMaterial."},{"text":" float specularScale = params.material_constants().specular_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the specular texture."},{"text":" auto tex = params.textures();"},{"text":" half specular = tex.specular().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture, and"},{"text":" // assign the result."},{"text":" specular *= specularScale;"},{"text":" params.surface().set_specular(specular);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The ``PhysicallyBasedMaterial/specular-swift.property``"},{"text":"property from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxVACycfc","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an empty bounding box."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8fillModeAA0d4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV12urlsBySampleSDySi0B03URLVGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Poses","urlsBySample"],"names":{"title":"urlsBySample","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"urlsBySample"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mapping from the sample ID to the image URL in the input folder corresponding to that sample ID. This simplifies the"},{"text":"visualization of which image in the input folder corresponds to a given computed pose."},{"text":""},{"text":"Note: the dictionary is empty unless a folder of images was used to create this session. If the session is created from"},{"text":"a custom `Sequence` it is expected that the caller has maintained the map from provided sample ID to original image"},{"text":"location."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"urlsBySample"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s position relative to its parent. To get the"},{"text":"world-space position of the entity in the scene, use"},{"text":"``HasTransform/position(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/translation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification","navigator":[{"kind":"identifier","spelling":"CustomDetailSpecification"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomDetailSpecification"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A structure for specifying various customizable options on the reconstructed model and textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomDetailSpecification"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD3VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point triplets in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point triplets."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters"],"names":{"title":"MaterialParameters","navigator":[{"kind":"identifier","spelling":"MaterialParameters"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameters"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameters"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0F4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["Entity","ParameterSet","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accessor for the parameters, returns a bindable value."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Writes the token’s data into an encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container. This function throws an"},{"text":" if any values"},{"text":"are invalid for the given encoder’s format."},{"text":""},{"text":"- Parameters:"},{"text":" - encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyLinearImpulse(_:relativeTo:)"],"names":{"title":"applyLinearImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at its center of mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5clockyXlvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","clock"],"names":{"title":"clock","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference clock to synchronize the animation with other events."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","SubSequence"],"names":{"title":"Scene.AnchorCollection.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A sequence that represents a contiguous subrange of the collection’s"},{"text":"elements."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV19maximumPolygonCountSuvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","maximumPolygonCount"],"names":{"title":"maximumPolygonCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumPolygonCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The upper limit on polygons in the model mesh."},{"text":""},{"text":"Note: this is an upper bound to control the amount of decimation performed on complicated meshes"},{"text":"to allow the user to target specific renderer resource budgets, and not a specification for how"},{"text":"many polygons to use. Specifically, for less complex models, the actual number of polygons may be"},{"text":"significantly less than this value -- the algorithm will use as many as it deems necessary (within"},{"text":"this limit) to accurately represent the reconstructed model."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumPolygonCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subject to this publisher."},{"text":""},{"text":"- Parameter subject: The subject to attach to this publisher."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8RawValuea","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","RawValue"],"names":{"title":"PhotogrammetrySession.Request.Detail.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","SurfaceShader","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the surface shader function."},{"text":""},{"text":"This is the name of the Metal function the custom material uses as"},{"text":"its surface shader. The name must match the name of a Metal function"},{"text":"in your Xcode project and can’t include parameters or parentheses."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int16","preciseIdentifier":"s:s5Int16V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided ordering closure."},{"text":""},{"text":"Use ``Publisher/max(by:)`` to determine the maximum value of elements received from the upstream publisher based on an ordering closure you specify."},{"text":""},{"text":"In the example below, an array publishes enumeration elements representing playing card ranks. The ``Publisher/max(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the maximum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .jack]"},{"text":" cancellable = cards.publisher"},{"text":" .max {"},{"text":" return $0.rawValue > $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"queen\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the shape by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"shape."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","ignoreOutput()"],"names":{"title":"ignoreOutput()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores all upstream elements, but passes along the upstream publisher's completion state (finished or failed)."},{"text":""},{"text":"Use the ``Publisher/ignoreOutput()`` operator to determine if a publisher is able to complete successfully or would fail."},{"text":""},{"text":"In the example below, the array publisher (`numbers`) delivers the first five of its elements successfully, as indicated by the ``Publisher/ignoreOutput()`` operator. The operator consumes, but doesn’t republish the elements downstream. However, the sixth element, `0`, causes the error throwing closure to catch a `NoZeroValuesAllowedError` that terminates the stream."},{"text":""},{"text":" struct NoZeroValuesAllowedError: Error {}"},{"text":" let numbers = [1, 2, 3, 4, 5, 0, 6, 7, 8, 9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter({ anInt in"},{"text":" guard anInt != 0 else { throw NoZeroValuesAllowedError() }"},{"text":" return anInt < 20"},{"text":" })"},{"text":" .ignoreOutput()"},{"text":" .sink(receiveCompletion: {print(\"completion: \\($0)\")},"},{"text":" receiveValue: {print(\"value \\($0)\")})"},{"text":""},{"text":" // Prints: \"completion: failure(NoZeroValuesAllowedError())\""},{"text":""},{"text":"The output type of this publisher is ."},{"text":""},{"text":"- Returns: A publisher that ignores all upstream elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC12isProcessingSbvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","isProcessing"],"names":{"title":"isProcessing","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isProcessing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session is actively processing requests."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isProcessing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","receive(on:options:)"],"names":{"title":"receive(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to receive elements from the publisher."},{"text":""},{"text":"You use the ``Publisher/receive(on:options:)`` operator to receive results and completion on a specific scheduler, such as performing UI work on the main run loop. In contrast with ``Publisher/subscribe(on:options:)``, which affects upstream messages, ``Publisher/receive(on:options:)`` changes the execution context of downstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `jsonPublisher` to receive requests on `backgroundQueue`, while the"},{"text":"``Publisher/receive(on:options:)`` causes `labelUpdater` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let jsonPublisher = MyJSONLoaderPublisher() // Some publisher."},{"text":" let labelUpdater = MyLabelUpdateSubscriber() // Some subscriber that updates the UI."},{"text":""},{"text":" jsonPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(labelUpdater)"},{"text":""},{"text":""},{"text":"Prefer ``Publisher/receive(on:options:)`` over explicit use of dispatch queues when performing work in subscribers. For example, instead of the following pattern:"},{"text":""},{"text":" pub.sink {"},{"text":" DispatchQueue.main.async {"},{"text":" // Do something."},{"text":" }"},{"text":" }"},{"text":""},{"text":"Use this pattern instead:"},{"text":""},{"text":" pub.receive(on: DispatchQueue.main).sink {"},{"text":" // Do something."},{"text":" }"},{"text":""},{"text":" > Note: ``Publisher/receive(on:options:)`` doesn’t affect the scheduler used to call the subscriber’s ``Subscriber/receive(subscription:)`` method."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler the publisher uses for element delivery."},{"text":" - options: Scheduler options used to customize element delivery."},{"text":"- Returns: A publisher that delivers elements using the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE3mapyAA24AsyncThrowingMapSequenceVyxqd__Gqd__7ElementQzYaKclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Transformed"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingMapSequence","preciseIdentifier":"s:12_Concurrency24AsyncThrowingMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that maps the given error-throwing"},{"text":"closure over the asynchronous sequence’s elements."},{"text":""},{"text":"Use the `map(_:)` method to transform every element received from a base"},{"text":"asynchronous sequence. Typically, you use this to transform from one type"},{"text":"of element to another."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The closure provided to the `map(_:)` method"},{"text":"takes each `Int` and looks up a corresponding `String` from a"},{"text":"`romanNumeralDict` dictionary. This means the outer `for await in` loop"},{"text":"iterates over `String` instances instead of the underlying `Int` values"},{"text":"that `Counter` produces. Also, the dictionary doesn't provide a key for"},{"text":"`4`, and the closure throws an error for any key it can't look up, so"},{"text":"receiving this value from `Counter` ends the modified sequence with an"},{"text":"error."},{"text":""},{"text":" let romanNumeralDict: [Int: String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" do {"},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .map { (value) throws -> String in"},{"text":" guard let roman = romanNumeralDict[value] else {"},{"text":" throw MyError()"},{"text":" }"},{"text":" return roman"},{"text":" }"},{"text":" for try await numeral in stream {"},{"text":" print(numeral, terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print(\"Error: \\(error)\")"},{"text":" }"},{"text":" // Prints \"I II III Error: MyError() \""},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an element"},{"text":" of this sequence as its parameter and returns a transformed value of the"},{"text":" same or of a different type. `transform` can also throw an error, which"},{"text":" ends the transformed sequence."},{"text":"- Returns: An asynchronous sequence that contains, in order, the elements"},{"text":" produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncThrowingMapSequence","preciseIdentifier":"s:12_Concurrency24AsyncThrowingMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Transformed","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Transformed"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingMapSequence","preciseIdentifier":"s:12_Concurrency24AsyncThrowingMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transformed"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC17compatibilityWithyAC0D0OACF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","compatibilityWith(_:)"],"names":{"title":"compatibilityWith(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatibilityWith"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Compares network compatibility tokens between the local device and"},{"text":"another device."},{"text":""},{"text":"- Parameters:"},{"text":"- otherToken: The token for the remote client against which the local"},{"text":"device checks compatibility"},{"text":""},{"text":"- Returns: Returns"},{"text":"``NetworkCompatibilityToken/Compatibility/compatible`` if the local"},{"text":"client and the remote client represented by `otherToken` can be synced."},{"text":"Any other result indicates that the two devices are incompatible and you"},{"text":"shouldn’t proceed with the connection."}]},"functionSignature":{"parameters":[{"name":"otherToken","declarationFragments":[{"kind":"identifier","spelling":"otherToken"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatibilityWith"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"otherToken"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Indices"],"names":{"title":"Scene.AnchorCollection.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents the indices that are valid for subscripting"},{"text":"the collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC14activeRequestsSayAC7RequestOGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","activeRequests"],"names":{"title":"activeRequests","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activeRequests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session’s active request objects."},{"text":""},{"text":"This property provides read-only access to the requests that the session actively processes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activeRequests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9copyAsync2to17completionHandlerySo10MTLTexture_p_ys5Error_pSgctF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","copyAsync(to:completionHandler:)"],"names":{"title":"copyAsync(to:completionHandler:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copyAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"completionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously copies texture data to another texture."},{"text":""},{"text":"This function is asynchronous. It returns immediately and runs in the background, calling `completionHandler` when it finishes or errors."},{"text":"This method copies all available mipmap sizes to `texture`."},{"text":""},{"text":"Even though `semantic` is an optional, it is recommended that you provide a value. Specifying a semantic for this texture resource enables RealityKit to select an appropriate pixel"},{"text":"format for the target texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: Target texture for copying the data. It must have the same width and height as the TextureResource, and .shaderWrite usage."},{"text":" - completionHandler: A closure called after once copy has completed, with nil error if succeeded."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"texture","declarationFragments":[{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]},{"name":"completionHandler","declarationFragments":[{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": @"},{"kind":"typeIdentifier","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copyAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"completionHandler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" @"},{"kind":"typeIdentifier","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label5value10importanceAE0B023LocalizedStringResourceV_AKSo08AXCustomF10ImportanceVtcfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","init(label:value:importance:)"],"names":{"title":"init(label:value:importance:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new CustomContent with the given label, value, and importance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect()"],"names":{"title":"collect()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects all received elements, and emits a single array of the collection when the upstream publisher finishes."},{"text":""},{"text":"Use ``Publisher/collect()`` to gather elements into an array that the operator emits after the upstream publisher finishes."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"This publisher requests an unlimited number of elements from the upstream publisher and uses an unbounded amount of memory to store the received values. The publisher may exert memory pressure on the system for very large sets of elements."},{"text":""},{"text":"The ``Publisher/collect()`` operator only sends the collected array to its downstream receiver after a request whose demand is greater than 0 items. Otherwise, ``Publisher/collect()`` waits until it receives a non-zero request."},{"text":""},{"text":"In the example below, an Integer range is a publisher that emits an array of integers:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\""},{"text":""},{"text":"- Returns: A publisher that collects all received items and returns them as an array upon completion."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV13posesBySampleSDySiAC4PoseVGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Poses","posesBySample"],"names":{"title":"posesBySample","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"posesBySample"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Pose","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mapping from the sample ID to the 6DOF algorithmically estimated pose"},{"text":"of that sample. Each `Pose` will have a world translation and rotation representing that shot's estimated"},{"text":"pose (position and orientation in space) with respect to the estimated coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"posesBySample"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Pose","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two shapes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first shape to compare."},{"text":""},{"text":" - rhs: The second shape to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two shapes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The specular value as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat roughness object using a single value or a"},{"text":"texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. When you enable clearcoat"},{"text":"rendering for a material, RealityKit renders the clearcoat as a"},{"text":"separate layer just above the surface of the entity. You can specify"},{"text":"a clearcoat roughness value for the clearcoat to indicate how much"},{"text":"the clearcoat scatters light that bounces off of it, which softens"},{"text":"and spreads out the highlights."},{"text":""},{"text":"This initializer creates an object that specifies the clearcoat"},{"text":"roughness for a material using a single value for the entire"},{"text":"material, a UV-mapped image, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the clearcoat"},{"text":"roughness for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify a `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s clearcoat roughness. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat roughness value for the entire material."},{"text":""},{"text":" - texture: The clearcoat roughness values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMin(by:)"],"names":{"title":"tryMin(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMin(by:)`` to determine the minimum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMin(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" numbers.publisher"},{"text":" .tryMin { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first < second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension"],"names":{"title":"PhotogrammetrySession.Configuration.CustomDetailSpecification.TextureDimension","navigator":[{"kind":"identifier","spelling":"TextureDimension"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureDimension"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"One of the discrete texture dimensions to specify the size of the model texture maps."},{"text":"For example, a `.twoK` dimension means the texture map size can be up to size 2048x2048."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureDimension"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic"],"names":{"title":"TextureResource.Semantic","navigator":[{"kind":"identifier","spelling":"Semantic"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object used to specify the intended usage of a texture."},{"text":""},{"text":"RealityKit uses image textures to transmit different types of data Metal"},{"text":"shaders. For example, it uses textures to send RGB images with the base"},{"text":"color of the entity, to send grayscale images holding roughness and"},{"text":"metallic information, and to send surface normals for doing lighting"},{"text":"calculations."},{"text":""},{"text":"This object specifies the intended use of the texture by an individual"},{"text":"property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightP","interfaceLanguage":"swift"},"pathComponents":["HasDirectionalLight"],"names":{"title":"HasDirectionalLight","navigator":[{"kind":"identifier","spelling":"HasDirectionalLight"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasDirectionalLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that defines a directional light source component."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasDirectionalLight"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position representing the estimated point of contact."},{"text":""},{"text":"The point is an average calculated from the intersecting shapes."},{"text":"It’s specified in the coordinate space of the physics simulation,"},{"text":"which means it’s relative to ``ARView/physicsOrigin``. If the"},{"text":"physics origin is `nil`, the point is given in world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV15angularVelocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","angularVelocity"],"names":{"title":"angularVelocity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The angular velocity of the body around the center of mass."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat roughness object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. When you enable clearcoat"},{"text":"rendering for a material, RealityKit renders the clearcoat as a"},{"text":"separate layer just above the surface of the entity. You can specify"},{"text":"a clearcoat roughness value for the clearcoat to indicate how much"},{"text":"the clearcoat scatters light that bounces off of it, which softens"},{"text":"and spreads out the highlights."},{"text":""},{"text":"This initializer creates an object that specifies the clearcoat"},{"text":"roughness for a material using a single value for the entire"},{"text":"material."},{"text":""},{"text":"- Parameters:"},{"text":"- value: The clearcoat roughness value to use for the entire"},{"text":"material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV5named2inAESS_So10MTLLibrary_ptcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","GeometryModifier","init(named:in:)"],"names":{"title":"init(named:in:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a geometry modifier object from a named function in a Metal"},{"text":"library."},{"text":""},{"text":"To create a geometry modifier function for a custom material, create"},{"text":"a Metal file in your Xcode project. Prefix the function with the"},{"text":"keyword `[[visible]]`. The function must take a single parameter of"},{"text":"type `realitykit::geometry_parameters`."},{"text":""},{"text":"Here’s what a minimal geometry modifier function looks like:"},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"[[visible]] void myGeometryModifier(realitykit::geometry_parameters"},{"text":"params) {"},{"text":" // User params.geometry().set_model_position_offset() to move the vertex."},{"text":"} ```"},{"text":""},{"text":"To create a custom material using this shader, get a reference to"},{"text":"your app’s Metal library. You can do that like this:"},{"text":""},{"text":"```swift"},{"text":"guard let device = MTLCreateSystemDefaultDevice() else {"},{"text":" fatalError(\"Error creating default metal device.\")"},{"text":"}"},{"text":"guard let library = maybeDevice.makeDefaultLibrary() else {"},{"text":" fatalError(\"Error creating default metal library\")"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Once you’ve got a reference to your Metal library, use it to create"},{"text":"the surface shader reference like this:"},{"text":""},{"text":"```swift"},{"text":"let geometryModifier = CustomMaterial.GeometryModifier("},{"text":" named: \"myGeometryModifier\","},{"text":" in: library)"},{"text":"```"},{"text":""},{"text":"- Important: RealityKit loads surface shader functions by name, so"},{"text":"the name of your surface shader function must be unique and must"},{"text":"exactly match the `named` parameter."},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the geometry modifier function."},{"text":""},{"text":" - library: The Metal library that contains the function."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource"],"names":{"title":"PhysicsMaterialResource","navigator":[{"kind":"identifier","spelling":"PhysicsMaterialResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMaterialResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material properties, like friction, of a physically simulated object."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMaterialResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV12makeIteratorAA6EntityC05ChildE0V08IndexingG0Vy__AEGyF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The length of time the animation spans, in seconds."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC7raycast4from2to5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_AoA0kL9QueryTypeOAA0K5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","raycast(from:to:query:mask:relativeTo:)"],"names":{"title":"raycast(from:to:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex ray cast against all the geometry in the scene for a"},{"text":"ray between two end points."},{"text":""},{"text":"The method ignores entities that lack a ``CollisionComponent``."},{"text":""},{"text":"- Parameters:"},{"text":"- startPosition: The start position of the ray relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- endPosition: The end position of the ray relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- query: A query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the ray, starting at `startPosition` and ending at `endPosition`,"},{"text":"hit a particular entity in the scene."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"startPosition","declarationFragments":[{"kind":"identifier","spelling":"startPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"endPosition","declarationFragments":[{"kind":"identifier","spelling":"endPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"startPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"endPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext in the context's"},{"text":"fill color."},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like `NSRectFill()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyAngularImpulse(_:relativeTo:)"],"names":{"title":"applyAngularImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an angular (torque) impulse to the physics body at its center of"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An angular impulse in kilogram square meters per second."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","position(relativeTo:)"],"names":{"title":"position(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the position of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Element"],"names":{"title":"Scene.AnchorCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15PhysicsBodyModeO","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyImpulse(_:at:relativeTo:)"],"names":{"title":"applyImpulse(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":" - position: The position at which to apply the impulse."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `impulse` are defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3maxs5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the maximum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE9dropFirstyAA09AsyncDropC8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncDropFirstSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Omits a specified number of elements from the base asynchronous sequence,"},{"text":"then passes through all remaining elements."},{"text":""},{"text":"Use `dropFirst(_:)` when you want to drop the first *n* elements from the"},{"text":"base sequence and pass through the remaining elements."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `dropFirst(_:)` method causes the modified"},{"text":"sequence to ignore the values `1` through `3`, and instead emit `4` through `10`:"},{"text":""},{"text":" for await number in Counter(howHigh: 10).dropFirst(3) {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" // Prints \"4 5 6 7 8 9 10 \""},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"sequence, the result is an empty sequence."},{"text":""},{"text":"- Parameter count: The number of elements to drop from the beginning of"},{"text":" the sequence. `count` must be greater than or equal to zero."},{"text":"- Returns: An asynchronous sequence that drops the first `count`"},{"text":" elements from the base sequence."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncDropFirstSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"AsyncDropFirstSequence","preciseIdentifier":"s:12_Concurrency22AsyncDropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6cancelyyF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","cancel()"],"names":{"title":"cancel()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cancel"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests cancellation of any running requests."},{"text":""},{"text":"When cancellation has completed, a `.processingCancelled` message will be output and"},{"text":"`isProcessing` will be `false`. Calling this method has no effect if `!isProcessing`."},{"text":""},{"text":"- Note: This call is asynchronous and it may take some time before the pipeline fully stops, resources are"},{"text":"reclaimed, and the error is actually produced, so callers should monitor `output` for the message before"},{"text":"making a new session."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cancel"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC9loadAsync5named2in9inputMode15loadingStrategy10shouldLoopAA11LoadRequestCyACGSS_So8NSBundleCSgAA0cE0C05InputK0OAC07LoadingM0OSbtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","loadAsync(named:in:inputMode:loadingStrategy:shouldLoop:)"],"names":{"title":"loadAsync(named:in:inputMode:loadingStrategy:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio file resource from a bundle file asynchronously."},{"text":""},{"text":"As an asynchronous function, control returns as the function runs"},{"text":"simultaneously."},{"text":""},{"text":"This function caches one file per unique file path. Subsequent calls to"},{"text":"this function for the same file path override the previous"},{"text":"``AudioFileResource`` configuration. For example, both audio file"},{"text":"resources loop in the following code."},{"text":""},{"text":"```swift"},{"text":"guard let path = Bundle.main.path(forResource: \"Music\", ofType:"},{"text":"\"m4a\") else { /* Handle the error. */ }"},{"text":"let url = URL(fileURLWithPath:path)"},{"text":"let audioFile1 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .nonSpatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: false)"},{"text":"let audioFile2 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .spatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: true)"},{"text":"```"},{"text":""},{"text":"To create looping and nonlooping versions of the same audio, create a"},{"text":"copy of the source audio file in the app bundle and pass a unique file"},{"text":"URL to each audio file resource."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The name of the audio file resource the function searches for in"},{"text":"the bundle."},{"text":""},{"text":"- bundle: The bundle the function searches. Set to `nil` to use the"},{"text":"app’s bundle."},{"text":""},{"text":" - inputMode: The input mode the audio file resource uses."},{"text":""},{"text":" - loadingStrategy: The loading strategy the audio file resource uses."},{"text":""},{"text":"- shouldLoop: A Boolean you set to `true` to instruct the playback"},{"text":"controller to loop the audio indefinitely."},{"text":""},{"text":"- Returns: A load request for an audio file resource that you can use to"},{"text":"initialize an ``AudioPlaybackController`` instance by calling an"},{"text":"entity’s ``Entity/prepareAudio(_:)`` method."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]},{"name":"inputMode","declarationFragments":[{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"loadingStrategy","declarationFragments":[{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"shouldLoop","declarationFragments":[{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV6modelsAA0C15ModelCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","models"],"names":{"title":"models","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"models"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"models"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyP","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy"],"names":{"title":"HasHierarchy","navigator":[{"kind":"identifier","spelling":"HasHierarchy"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasHierarchy"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides access to a parent entity and child entities."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a collection of methods for"},{"text":"managing the hierarchy."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasHierarchy"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV9transformAA9TransformVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Pose","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A unit scale ``Transform`` representing the 6DOF pose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6NormalV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Normal","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s normal map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMax(by:)"],"names":{"title":"tryMax(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMax(by:)`` to determine the maximum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMax(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMax { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first > second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: completion: failure(IllegalValueError())"},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":""},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7process8requestsySayAC7RequestOG_tKF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","process(requests:)"],"names":{"title":"process(requests:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"process"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"requests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Starts processing of the provided processing `requests`. Messages begin to be produced to"},{"text":"the `output` publisher."},{"text":""},{"text":"On the first `process()`call the data in the input source will be ingested entirely and"},{"text":"`inputComplete` produced on the `output` stream before any request processing progress will begin."},{"text":"Before `inputComplete`, warnings about samples will be published, if any."},{"text":""},{"text":"- Throws: if `isProcessing` another batch still, the session is invalid (an Error was produced on `output` or"},{"text":" if one of the requests is invalid."}]},"functionSignature":{"parameters":[{"name":"requests","declarationFragments":[{"kind":"identifier","spelling":"requests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"process"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"requests"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV5imageSo11CVBufferRefavp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","image"],"names":{"title":"image","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image data for this sample."},{"text":""},{"text":"Provide image data in the"},{"text":""},{"text":"or"},{"text":""},{"text":"pixel formats. This property is read-only."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CVPixelBuffer","preciseIdentifier":"c:@T@CVPixelBufferRef"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD4VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point quadruples in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point quadruplets."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addForce(_:at:relativeTo:)"],"names":{"title":"addForce(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at the specified position."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":" - position: The position at which to apply the force."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `force` are defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","makeConnectable()"],"names":{"title":"makeConnectable()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeConnectable"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Creates a connectable wrapper around the publisher."},{"text":""},{"text":"In the following example, ``Publisher/makeConnectable()`` wraps its upstream publisher (an instance of ``Publishers/Share``) with a ``ConnectablePublisher``. Without this, the first sink subscriber would receive all the elements from the sequence publisher and cause it to complete before the second subscriber attaches. By making the publisher connectable, the publisher doesn’t produce any elements until after the ``ConnectablePublisher/connect()`` call."},{"text":""},{"text":" let subject = Just(\"Sent\")"},{"text":" let pub = subject"},{"text":" .share()"},{"text":" .makeConnectable()"},{"text":" cancellable1 = pub.sink { print (\"Stream 1 received: \\($0)\") }"},{"text":""},{"text":" // For example purposes, use DispatchQueue to add a second subscriber"},{"text":" // a second later, and then connect to the publisher a second after that."},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + 1) {"},{"text":" self.cancellable2 = pub.sink { print (\"Stream 2 received: \\($0)\") }"},{"text":" }"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + 2) {"},{"text":" self.connectable = pub.connect()"},{"text":" }"},{"text":" // Prints:"},{"text":" // Stream 2 received: Sent"},{"text":" // Stream 1 received: Sent"},{"text":""},{"text":" > Note: The ``ConnectablePublisher/connect()`` operator returns a ``Cancellable`` instance that you must retain. You can also use this instance to cancel publishing."},{"text":""},{"text":"- Returns: A ``ConnectablePublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeConnectable"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setPosition(_:relativeTo:)"],"names":{"title":"setPosition(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the position of the entity relative to the given reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: A new position, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12stopAllAudioyyF","interfaceLanguage":"swift"},"pathComponents":["Entity","stopAllAudio()"],"names":{"title":"stopAllAudio()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAudio"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops audio playback."},{"text":""},{"text":"You can stop a specific ``AudioPlaybackController`` instance from"},{"text":"playing a particular resource by calling the controller’s"},{"text":"``AudioPlaybackController/stop()`` method. To stop all controllers"},{"text":"associated with a particular ``Entity`` instance with a single call, use"},{"text":"the ``Entity/stopAllAudio()`` method instead."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAudio"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began"],"names":{"title":"CollisionEvents.Began","navigator":[{"kind":"identifier","spelling":"Began"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Began"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised when two objects collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Began"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO29surfaceShaderFunctionNotFoundyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","surfaceShaderFunctionNotFound"],"names":{"title":"CustomMaterialError.surfaceShaderFunctionNotFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"surfaceShaderFunctionNotFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"surfaceShaderFunctionNotFound"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","Element"],"names":{"title":"CharacterControllerComponent.CollisionFlags.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility"],"names":{"title":"NetworkCompatibilityToken.Compatibility","navigator":[{"kind":"identifier","spelling":"Compatibility"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Compatibility"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two devices running RealityKit are compatible and able"},{"text":"to connect and sync scenes."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Compatibility"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionVyAA12HasAnchoring_pSicip","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses the element at the specified position."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO3anyyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","any"],"names":{"title":"CollisionCastQueryType.any","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report one hit."},{"text":""},{"text":"This query type typically executes fastest, but doesn’t guarantee"},{"text":"anything about which hit it returns. If you need the hit closest to the"},{"text":"origin of the cast, use ``CollisionCastQueryType/nearest`` instead."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a color or texture."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light it reflects. A material with a high roughness"},{"text":"has a matte appearance, while one with a low roughness has a shiny"},{"text":"appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-Roughness-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"Use this initializer to create a new object from a single roughness"},{"text":"value, from an image texture, or from both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `roughness` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, then RealityKit uses `scale` as the entire entity’s"},{"text":"roughness. If you provide a color image for `texture` rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s"},{"text":"red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The roughness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position in the sequence of the joint that follows the given"},{"text":"position."},{"text":""},{"text":"For more on calculating indices, see"},{"text":"."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated"],"names":{"title":"CollisionEvents.Updated","navigator":[{"kind":"identifier","spelling":"Updated"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Updated"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised on every frame when two objects are in contact."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Updated"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this instance."},{"text":""},{"text":"Calling this property directly is discouraged. Instead, convert an"},{"text":"instance of any type to a string by using the `String(describing:)`"},{"text":"initializer. This initializer works with any type, and uses the custom"},{"text":"`description` property for types that conform to"},{"text":"`CustomStringConvertible`:"},{"text":""},{"text":" struct Point: CustomStringConvertible {"},{"text":" let x: Int, y: Int"},{"text":""},{"text":" var description: String {"},{"text":" return \"(\\(x), \\(y))\""},{"text":" }"},{"text":" }"},{"text":""},{"text":" let p = Point(x: 21, y: 30)"},{"text":" let s = String(describing: p)"},{"text":" print(s)"},{"text":" // Prints \"(21, 30)\""},{"text":""},{"text":"The conversion of `p` to a string in the assignment to `s` uses the"},{"text":"`Point` type's `description` property."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO32geometryModifierFunctionNotFoundyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","geometryModifierFunctionNotFound"],"names":{"title":"CustomMaterialError.geometryModifierFunctionNotFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"geometryModifierFunctionNotFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"geometryModifierFunctionNotFound"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs"],"names":{"title":"PhotogrammetrySession.Outputs","navigator":[{"kind":"identifier","spelling":"Outputs"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Outputs"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An asynchronous sequence of session-related updates."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Outputs"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Appends a publisher’s output with the specified elements."},{"text":""},{"text":"Use ``Publisher/append(_:)-1qb8d`` when you need to prepend specific elements after the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/append(_:)-1qb8d`` operator publishes the provided elements after republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .append(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 5 6 7 8 9 10 0 1 255\""},{"text":""},{"text":""},{"text":"- Parameter elements: Elements to publish after this publisher’s elements."},{"text":"- Returns: A publisher that appends the specifiecd elements after this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","failureReason"],"names":{"title":"failureReason","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing the reason for the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(untilOutputFrom:)"],"names":{"title":"prefix(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements until another publisher emits an element."},{"text":""},{"text":"After the second publisher publishes an element, the publisher returned by this method finishes."},{"text":""},{"text":"- Parameter publisher: A second publisher."},{"text":"- Returns: A publisher that republishes elements until the second publisher publishes an element."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element equal to the argument."},{"text":""},{"text":"Use ``Publisher/contains(_:)`` to find the first element in an upstream that’s equal to the supplied argument. The contains publisher consumes all received elements until the upstream publisher produces a matching element. Upon finding the first match, it emits `true` and finishes normally. If the upstream finishes normally without producing a matching element, this publisher emits `false` and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/contains(_:)`` operator emits `true` the first time it receives the value `5` from the `numbers.publisher`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 5, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains(5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter output: An element to match against."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19OrientedBoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud"],"names":{"title":"PhotogrammetrySession.PointCloud","navigator":[{"kind":"identifier","spelling":"PointCloud"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointCloud"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A sparse point cloud data structure output as the payload of a `.pointCloud` request."},{"text":"A point cloud is an array of `PointCloud.Point` instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointCloud"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:)"],"names":{"title":"merge(with:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from three other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 2 50 100 -2 \""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","FloatLiteralType"],"names":{"title":"CustomMaterial.ClearcoatRoughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC5localACvpZ","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","local"],"names":{"title":"local","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A token containing the local peer’s networking compatibility info."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation16DirectionalLightC","interfaceLanguage":"swift"},"pathComponents":["DirectionalLight"],"names":{"title":"DirectionalLight","navigator":[{"kind":"identifier","spelling":"DirectionalLight"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DirectionalLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity that casts a virtual light in a particular direction."},{"text":""},{"text":"During an AR session, RealityKit automatically lights your virtual objects"},{"text":"to match real-world lighting. You can also explicitly add virtual lights"},{"text":"that act upon your virtual content. This is typically most useful outside of"},{"text":"an AR session (with the view’s ``ARView/cameraMode-swift.property`` property"},{"text":"set to ``ARView/CameraMode-swift.enum/nonAR``)."},{"text":""},{"text":"A directional light uniformly casts light along its z-axis—specifically,"},{"text":"along `(0, 0, -1)`. Use the light’s `look(at:from:upVector:relativeTo:)`"},{"text":"method to aim the light in a particular direction."},{"text":""},{"text":"You can configure the light’s color and intensity. You can also control how"},{"text":"or if it casts a shadow."},{"text":""},{"text":"A RealityKit scene can contain up to eight dynamic lights, which are"},{"text":"``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit"},{"text":"doesn’t include light from image-based lighting."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DirectionalLight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","eraseToAnyPublisher()"],"names":{"title":"eraseToAnyPublisher()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Wraps this publisher with a type eraser."},{"text":""},{"text":"Use ``Publisher/eraseToAnyPublisher()`` to expose an instance of ``AnyPublisher`` to the downstream subscriber, rather than this publisher’s actual type."},{"text":"This form of _type erasure_ preserves abstraction across API boundaries, such as different modules."},{"text":"When you expose your publishers as the ``AnyPublisher`` type, you can change the underlying implementation over time without affecting existing clients."},{"text":""},{"text":"The following example shows two types that each have a `publisher` property. `TypeWithSubject` exposes this property as its actual type, ``PassthroughSubject``, while `TypeWithErasedSubject` uses ``Publisher/eraseToAnyPublisher()`` to expose it as an ``AnyPublisher``. As seen in the output, a caller from another module can access `TypeWithSubject.publisher` as its native type. This means you can’t change your publisher to a different type without breaking the caller. By comparison, `TypeWithErasedSubject.publisher` appears to callers as an ``AnyPublisher``, so you can change the underlying publisher type at will."},{"text":""},{"text":" public class TypeWithSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" }"},{"text":" public class TypeWithErasedSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" .eraseToAnyPublisher()"},{"text":" }"},{"text":""},{"text":" // In another module:"},{"text":" let nonErased = TypeWithSubject()"},{"text":" if let subject = nonErased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast nonErased.publisher.\")"},{"text":" }"},{"text":" let erased = TypeWithErasedSubject()"},{"text":" if let subject = erased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast erased.publisher.\")"},{"text":" }"},{"text":""},{"text":" // Prints \"Successfully cast nonErased.publisher.\""},{"text":""},{"text":"- Returns: An ``AnyPublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC4load5named2in9inputMode15loadingStrategy10shouldLoopACSS_So8NSBundleCSgAA0cE0C05InputJ0OAC07LoadingL0OSbtKFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","load(named:in:inputMode:loadingStrategy:shouldLoop:)"],"names":{"title":"load(named:in:inputMode:loadingStrategy:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio file resource from a bundle synchronously."},{"text":""},{"text":"As a synchronous implementation, this function blocks the calling thread"},{"text":"until it returns."},{"text":""},{"text":"This function caches one file per unique file path. Subsequent calls to"},{"text":"this function for the same file path override the previous"},{"text":"``AudioFileResource`` configuration. For example, both audio file"},{"text":"resources loop in the following code."},{"text":""},{"text":"```swift"},{"text":"guard let path = Bundle.main.path(forResource: \"Music\", ofType:\"m4a\")"},{"text":" else { /* Handle the error. */ }"},{"text":"let url = URL(fileURLWithPath:path)"},{"text":"let audioFile1 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .nonSpatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: false)"},{"text":"let audioFile2 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .spatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: true)"},{"text":"```"},{"text":""},{"text":"To create looping and nonlooping versions of the same audio, create a"},{"text":"copy of the source audio file in the app bundle and pass a unique file"},{"text":"URL to each audio file resource."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The name of the audio file resource the function searches for in"},{"text":"the bundle."},{"text":""},{"text":"- bundle: The bundle the function searches. Set to `nil` to use the"},{"text":"app’s bundle."},{"text":""},{"text":" - inputMode: The input mode the audio file resource uses."},{"text":""},{"text":" - loadingStrategy: The loading strategy the audio file resource uses."},{"text":""},{"text":"- shouldLoop: A Boolean you set to `true` to instruct the playback"},{"text":"controller to loop the audio indefinitely."},{"text":""},{"text":"- Returns: An audio file resource that you can use to initialize an"},{"text":"``AudioPlaybackController`` instance by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` method."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]},{"name":"inputMode","declarationFragments":[{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"loadingStrategy","declarationFragments":[{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"shouldLoop","declarationFragments":[{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC7raycast6origin9direction6length5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_APSfAA0lM9QueryTypeOAA0L5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","raycast(origin:direction:length:query:mask:relativeTo:)"],"names":{"title":"raycast(origin:direction:length:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex ray cast against all the geometry in the scene for a"},{"text":"ray of a given origin, direction, and length."},{"text":""},{"text":"The method ignores entities that lack a ``CollisionComponent``."},{"text":""},{"text":"- Parameters:"},{"text":" - origin: The origin of the ray relative to `referenceEntity`."},{"text":""},{"text":" - direction: The direction of the ray relative to `referenceEntity`."},{"text":""},{"text":" - length: The length of the ray relative to `referenceEntity`."},{"text":""},{"text":" - query: A query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the ray, starting at a given point and traveling in a given"},{"text":"direction, hit a particular entity in the scene."},{"text":""},{"text":"The ``CollisionCastHit/normal`` property on returned result objects"},{"text":"contains the surface normal at the point of intersection with the"},{"text":"entity’s collision shape."}]},"functionSignature":{"parameters":[{"name":"origin","declarationFragments":[{"kind":"identifier","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"length","declarationFragments":[{"kind":"identifier","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 100, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":""},{"text":" let s = \"Swift\""},{"text":" let i = s.index(s.startIndex, offsetBy: 4)"},{"text":" print(s[i])"},{"text":" // Prints \"t\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":"- Returns: An index offset by `distance` from the index `i`. If"},{"text":" `distance` is positive, this is the same value as the result of"},{"text":" `distance` calls to `index(after:)`. If `distance` is negative, this"},{"text":" is the same value as the result of `abs(distance)` calls to"},{"text":" `index(before:)`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO023defaultSurfaceShaderForD8NotFoundyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","defaultSurfaceShaderForMaterialNotFound"],"names":{"title":"CustomMaterialError.defaultSurfaceShaderForMaterialNotFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSurfaceShaderForMaterialNotFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSurfaceShaderForMaterialNotFound"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC10loadAnchor5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchor(named:in:)"],"names":{"title":"loadAnchor(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an anchor entity from a file in a bundle."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as an"},{"text":"``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryLast(where:)"],"names":{"title":"tryLast(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies an error-throwing predicate closure, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/tryLast(where:)`` when you need to republish the last element that satisfies an error-throwing closure you specify. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a publisher emits the last element that satisfies the error-throwing closure, then finishes normally:"},{"text":""},{"text":" struct RangeError: Error {}"},{"text":""},{"text":" let numbers = [-62, 1, 6, 10, 9, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast {"},{"text":" guard 0 != 0 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":" // Prints: \"5 completion: finished\""},{"text":" // If instead the numbers array had contained a `0`, the `tryLast` operator would terminate publishing with a RangeError.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceNil(with:)"],"names":{"title":"replaceNil(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces nil elements in the stream with the provided element."},{"text":""},{"text":"The ``Publisher/replaceNil(with:)`` operator enables replacement of `nil` values in a stream with a substitute value. In the example below, a collection publisher contains a nil value. The ``Publisher/replaceNil(with:)`` operator replaces this with `0.0`."},{"text":""},{"text":" let numbers: [Double?] = [1.0, 2.0, nil, 3.0]"},{"text":" numbers.publisher"},{"text":" .replaceNil(with: 0.0)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"Optional(1.0) Optional(2.0) Optional(0.0) Optional(3.0)\""},{"text":""},{"text":"- Parameter output: The element to use when replacing `nil`."},{"text":"- Returns: A publisher that replaces `nil` elements from the upstream publisher with the provided element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"T?","rhsPrecise":"s:Sq"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2id5model2atAESS_SSSo13simd_float4x4aSgtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","init(id:model:at:)"],"names":{"title":"init(id:model:at:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":"?)"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light it reflects. A material with a high roughness"},{"text":"has a matte appearance, while one with a low roughness has a shiny"},{"text":"appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-Roughness-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"Use this initializer to create an object to specify the amount of"},{"text":"roughness using a single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The roughness value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO7nearestyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","nearest"],"names":{"title":"CollisionCastQueryType.nearest","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nearest"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report the closest hit."},{"text":""},{"text":"If you only want to test if a hit occurs and don’t care about which hit"},{"text":"out of multiple possible hits is returned, use"},{"text":"``CollisionCastQueryType/any`` instead because it typically executes"},{"text":"faster."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nearest"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO3allyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","all"],"names":{"title":"CollisionCastQueryType.all","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report all hits sorted in ascending order by distance from the cast"},{"text":"origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC5speedSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rate of playback of the audio resource, with a range from half speed"},{"text":"to double speed."},{"text":""},{"text":"Use a value of `1` for normal playback. You can set the value from as"},{"text":"low as `0.5` for half speed, to as high as `2` for double speed."},{"text":""},{"text":"Depending on the underlying resource, the playback controller might"},{"text":"ignore the speed value in some cases."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE11blendFactorSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","blendFactor"],"names":{"title":"blendFactor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The level of influence the controller gives to its animation."},{"text":""},{"text":"You can run multiple animations on the same property, for example,"},{"text":"walking and jumping animations that affect the same joint transforms."},{"text":"When multiple animations adjust the same property at runtime, the"},{"text":"framework applies this blend factor on the animations' respective"},{"text":"controllers to calculate a middle ground value that displays at runtime."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Poses"],"names":{"title":"PhotogrammetrySession.Poses","navigator":[{"kind":"identifier","spelling":"Poses"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Poses"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Once initial photogrammetric calculations are complete, a data structure mapping the sample ID (or index if"},{"text":"a folder was used) to the 6DOF algorithmically estimated pose of that sample is returned."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Poses"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent"],"names":{"title":"PhysicsMotionComponent","navigator":[{"kind":"identifier","spelling":"PhysicsMotionComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMotionComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that controls the motion of the body in physics simulations."},{"text":""},{"text":"You specify velocities in the coordinate space of the physics simulation"},{"text":"defined by ``ARView/physicsOrigin``."},{"text":""},{"text":"The behavior of an entity with a physics motion component depends on the"},{"text":"entity’s ``PhysicsBodyComponent/mode`` setting:"},{"text":""},{"text":"- term ``PhysicsBodyMode/static``: The physics simulation ignores the"},{"text":"velocities. The entity doesn’t move. - term ``PhysicsBodyMode/kinematic``:"},{"text":"The physics simulation moves the body according to the values you set for"},{"text":"``PhysicsMotionComponent/angularVelocity`` and"},{"text":"``PhysicsMotionComponent/linearVelocity``. - term"},{"text":"``PhysicsBodyMode/dynamic``: The physics simulation overwrites the velocity"},{"text":"values based on simulation, and ignores any values that you write."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMotionComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom clearcoat object from a physically based material’s"},{"text":"clearcoat property."},{"text":""},{"text":"This initializer creates a new object by copying the"},{"text":"``PhysicallyBasedMaterial/ClearcoatRoughness-swift.struct/scale``"},{"text":"and"},{"text":"``PhysicallyBasedMaterial/ClearcoatRoughness-swift.struct/texture``"},{"text":"values from an existing"},{"text":"``PhysicallyBasedMaterial/ClearcoatRoughness-swift.struct`` object."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The values from this property are available in the custom material’s"},{"text":"surface shader function regardless of the value of"},{"text":"``CustomMaterial/lightingModel-swift.property`` , but clearcoat"},{"text":"isn’t drawn unless the custom material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"surface shader calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve `scale` and"},{"text":"`texture` in a surface shader, and use them to specify the clearcoat"},{"text":"and clearcoat roughness values:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the clearcoat scale and roughness from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":" float clearcoatRoughnessScale = params.material_constants().clearcoat_roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample a value from the clearcoat and clearcoat roughness textures."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":" half clearcoatRoughess = tex.clearcoat_roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat,"},{"text":" // and assign the result."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat roughness,"},{"text":" // and assign the result."},{"text":" clearcoatRoughess *= clearcoatRoughnessScale;"},{"text":" params.surface().set_clearcoat_roughness(clearcoatRoughess);"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The"},{"text":"``PhysicallyBasedMaterial/clearcoatRoughness-swift.property``"},{"text":"property from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocity07angularG0ACs5SIMD3VySfG_AHtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","init(linearVelocity:angularVelocity:)"],"names":{"title":"init(linearVelocity:angularVelocity:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics motion component with the given velocities."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .zero, "},{"kind":"externalParam","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .zero)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV6pointsSayAE0E0VGvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud","points"],"names":{"title":"points","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PointCloud","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Point","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The fixed array of points describing the point cloud."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PointCloud","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Point","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterialError","preciseIdentifier":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAsync(contentsOf:withName:)"],"names":{"title":"loadAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an entity from a file URL asynchronously."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","PointCloud","Point"],"names":{"title":"PhotogrammetrySession.PointCloud.Point","navigator":[{"kind":"identifier","spelling":"Point"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Point"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Point"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","recoverySuggestion"],"names":{"title":"recoverySuggestion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing how one might recover from the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9modelFileAE0B03URLV_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","init(modelFile:)"],"names":{"title":"init(modelFile:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"modelFile"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an instance based on the contents of a USDZ file."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"modelFile"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position one greater than the last valid subscript argument."},{"text":""},{"text":"When you need a range that includes the last element of an array,"},{"text":"use the half-open range operator (`..<`) with"},{"text":"``Scene/AnchorCollection/endIndex``. The `..<` operator creates a"},{"text":"range that doesn’t include the upper bound, so it’s always safe to"},{"text":"use with ``Scene/AnchorCollection/endIndex``."},{"text":""},{"text":"If the array is empty, ``Scene/AnchorCollection/endIndex`` is equal"},{"text":"to ``Scene/AnchorCollection/startIndex``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV2idSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Unique identifier for the sample."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output"],"names":{"title":"PhotogrammetrySession.Output","navigator":[{"kind":"identifier","spelling":"Output"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Status updates on the object-creation process."},{"text":""},{"text":"RealityKit’s Object Capture is a long-running background task. The session publishes"},{"text":"messages status and error messages to ``RealityKit/PhotogrammetrySession/outputs-swift.property``,"},{"text":"a Swift ."},{"text":""},{"text":"Your app can respond to these updates using a `for`-`await`-`in` loop inside of a"},{"text":"`Task`, as this example demonstrates."},{"text":""},{"text":"```swift"},{"text":"let waiter = Task {"},{"text":" do {"},{"text":" for try await output in session.outputs {"},{"text":" switch output {"},{"text":" case .processingComplete:"},{"text":" // RealityKit has processed all requests."},{"text":" case .requestError(let request, let error):"},{"text":" // Request encountered an error."},{"text":" case .requestComplete(let request, let result):"},{"text":" // RealityKit has finished processing a request."},{"text":" case .requestProgress(let request, let fractionComplete):"},{"text":" // Periodic progress update. Update UI here."},{"text":" case requestProgressInfo(let request, let progressInfo):"},{"text":" // Periodic progress info update."},{"text":" case .inputComplete:"},{"text":" // Ingestion of images is complete and processing begins."},{"text":" case .invalidSample(let id, let reason):"},{"text":" // RealityKit deemed a sample invalid and didn't use it."},{"text":" case .skippedSample(let id):"},{"text":" // RealityKit was unable to use a provided sample."},{"text":" case .automaticDownsampling:"},{"text":" // RealityKit downsampled the input images because of"},{"text":" // resource constraints."},{"text":" case .processingCancelled"},{"text":" // Processing was canceled."},{"text":" @unknown default:"},{"text":" // Unrecognized output."},{"text":" }"},{"text":" }"},{"text":" } catch {"},{"text":" print(\"Output: ERROR = \\(String(describing: error))\")"},{"text":" // Handle error."},{"text":" }"},{"text":"}"},{"text":""},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","orientation"],"names":{"title":"orientation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s rotation relative to its parent. To get the"},{"text":"world-space orientation of the entity, use"},{"text":"``HasTransform/orientation(relativeTo:)``, passing `nil` as the"},{"text":"reference entity."},{"text":""},{"text":"This is the same as the ``Transform/rotation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19PointLightComponentV","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics motion component at rest."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV7librarySo10MTLLibrary_pvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","GeometryModifier","library"],"names":{"title":"library","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The Metal library that contains this surface shader function."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","buffer(size:prefetch:whenFull:)"],"names":{"title":"buffer(size:prefetch:whenFull:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Buffers elements received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/buffer(size:prefetch:whenFull:)`` to collect a specific number of elements from an upstream publisher before republishing them to the downstream subscriber according to the ``Publishers/BufferingStrategy`` and ``Publishers/PrefetchStrategy`` strategy you specify."},{"text":""},{"text":"If the publisher completes before reaching the `size` threshold, it buffers the elements and publishes them downstream prior to completion."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The maximum number of elements to store."},{"text":" - prefetch: The strategy to initially populate the buffer."},{"text":" - whenFull: The action to take when the buffer becomes full."},{"text":"- Returns: A publisher that buffers elements received from an upstream publisher."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"prefetch","declarationFragments":[{"kind":"identifier","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"}]},{"name":"whenFull","declarationFragments":[{"kind":"identifier","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addTorque(_:relativeTo:)"],"names":{"title":"addTorque(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a torque to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added torque until the end of the"},{"text":"frame interval. To continue exerting the torque after that time, add the"},{"text":"torque again with another call to the method. Handle the"},{"text":"``SceneEvents/Update`` event to receive an indication of when the frame"},{"text":"interval ends. For an app that renders at 60 frames per second (fps),"},{"text":"this event occurs about once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - torque: A torque in newton meters per radian."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `torque` is defined."}]},"functionSignature":{"parameters":[{"name":"torque","declarationFragments":[{"kind":"identifier","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO5posesyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","poses"],"names":{"title":"PhotogrammetrySession.Request.poses","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"poses"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests the estimated pose of the camera in each shot (relative to the common estimated coordinate"},{"text":"system shared with the `.bounds` request)."},{"text":""},{"text":"Once initial photogrammetric calculations are complete, a ``PhotogrammetrySession/Poses`` object"},{"text":"will be returned with the estimated camera pose for each sample that was used in the reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"poses"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16InternalBindPathV","interfaceLanguage":"swift"},"pathComponents":["InternalBindPath"],"names":{"title":"InternalBindPath","navigator":[{"kind":"identifier","spelling":"InternalBindPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InternalBindPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for framework-provided properties."},{"text":""},{"text":"This structure defines a bind path for the ``BindTarget/internal(_:)`` case."},{"text":"As a reference to framework properties, this bind target hides its path. You"},{"text":"can, however, store and assign instances of this structure."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InternalBindPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9playAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAudio(_:)"],"names":{"title":"playAudio(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAudio"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays sound from an audio resource on this entity."},{"text":""},{"text":"This method first prepares the audio by calling"},{"text":"``Entity/prepareAudio(_:)``, and then immediately calls the"},{"text":"``AudioPlaybackController/play()`` method on the returned controller."},{"text":""},{"text":"- Parameters:"},{"text":"- resource: The audio resource to play. You typically use the"},{"text":"`loadAsync(named:in:inputMode:loadingStrategy:loops:)` method to get a"},{"text":"resource from a file on disk, or the"},{"text":"`loadAsync(contentsOf:withName:inputMode:loadingStrategy:loops:)` method"},{"text":"to retrieve a resource from a URL."},{"text":""},{"text":"- Returns: An ``AudioPlaybackController`` instance that you use to"},{"text":"manage audio playback. Use the controller to set playback"},{"text":"characteristics like volume and reverb, and then start or stop playback."}]},"functionSignature":{"parameters":[{"name":"resource","declarationFragments":[{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAudio"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a custom material’s roughness"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s roughness property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3mins5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the minimum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12prepareAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","interfaceLanguage":"swift"},"pathComponents":["Entity","prepareAudio(_:)"],"names":{"title":"prepareAudio(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepareAudio"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Prepares an audio resource for playback."},{"text":""},{"text":"If you want to start playback right away, use the"},{"text":"``Entity/playAudio(_:)`` method instead."},{"text":""},{"text":"- Parameters:"},{"text":"- resource: The audio resource to prepare. You typically use the"},{"text":"`loadAsync(named:in:inputMode:loadingStrategy:loops:)` method to get a"},{"text":"resource from a file on disk, or the"},{"text":"`loadAsync(contentsOf:withName:inputMode:loadingStrategy:loops:)` method"},{"text":"to retrieve a resource from a URL."},{"text":""},{"text":"- Returns: An ``AudioPlaybackController`` instance that you use to"},{"text":"manage audio playback. Use the controller to set playback"},{"text":"characteristics like volume and reverb, and then start or stop playback."}]},"functionSignature":{"parameters":[{"name":"resource","declarationFragments":[{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepareAudio"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","scan(_:_:)"],"names":{"title":"scan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current"},{"text":"element to a closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/scan(_:_:)`` to accumulate all previously-published values into a single"},{"text":"value, which you then combine with each newly-published value."},{"text":""},{"text":"The following example logs a running total of all values received"},{"text":"from the sequence publisher."},{"text":""},{"text":" let range = (0...5)"},{"text":" cancellable = range.publisher"},{"text":" .scan(0) { return $0 + $1 }"},{"text":" .sink { print (\"\\($0)\", terminator: \" \") }"},{"text":" // Prints: \"0 1 3 6 10 15 \"."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: A closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","clearForcesAndTorques()"],"names":{"title":"clearForcesAndTorques()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Clears all forces previously added to the physics body."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the first element in a nonempty collection."},{"text":""},{"text":"If the collection is empty, `startIndex` is equal to `endIndex`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartVyAA0C6BufferVy7ElementQzGSgxcAA0cF8SemanticRzluip","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC4fromACs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new instance from a decoder."},{"text":""},{"text":"Throws an error if reading from `decoder` fails, or if the data is"},{"text":"corrupted or otherwise invalid."},{"text":""},{"text":"- Parameters:"},{"text":" - decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","ArrayLiteralElement"],"names":{"title":"CharacterControllerComponent.CollisionFlags.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV2IDa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample","ID"],"names":{"title":"PhotogrammetrySample.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage","navigator":[{"kind":"identifier","spelling":"ProcessingStage"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ProcessingStage"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Processing stages during reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ProcessingStage"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC4load10contentsOf8withName9inputMode15loadingStrategy10shouldLoopAC0B03URLV_SSSgAA0cE0C05InputL0OAC07LoadingN0OSbtKFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","load(contentsOf:withName:inputMode:loadingStrategy:shouldLoop:)"],"names":{"title":"load(contentsOf:withName:inputMode:loadingStrategy:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio file resource from a URL synchronously."},{"text":""},{"text":"As a synchronous implementation, this function blocks the calling thread"},{"text":"until it returns."},{"text":""},{"text":"This function caches one file per unique file path. Subsequent calls to"},{"text":"this function for the same file path override the previous"},{"text":"``AudioFileResource`` configuration. For example, both audio file"},{"text":"resources loop in the following code."},{"text":""},{"text":"```swift"},{"text":"guard let path = findTestDataFilePath(\"Music.m4a\") else { /*"},{"text":"Handle the error. */ }"},{"text":"let url = URL(fileURLWithPath: path) let"},{"text":"audioFile1 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .nonSpatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: false)"},{"text":"let audioFile2 = try AudioFileResource.load(contentsOf: url,"},{"text":" inputMode: .spatial,"},{"text":" loadingStrategy: .preload,"},{"text":" shouldLoop: true)"},{"text":"```"},{"text":""},{"text":"To create looping and nonlooping versions of the same audio, create a"},{"text":"copy of the source audio file on disk and pass a unique file URL to each"},{"text":"audio file resource."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The URL from which to get the audio file resource."},{"text":""},{"text":" - resourceName: The name of the audio file."},{"text":""},{"text":" - inputMode: The input mode the audio file resource uses."},{"text":""},{"text":" - loadingStrategy: The loading strategy the audio file resource uses."},{"text":""},{"text":"- shouldLoop: A Boolean you set to `true` to instruct the playback"},{"text":"controller to loop the audio indefinitely."},{"text":""},{"text":"- Returns: An audio file resource that you can use to initialize an"},{"text":"``AudioPlaybackController`` instance by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` method."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"inputMode","declarationFragments":[{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"loadingStrategy","declarationFragments":[{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"shouldLoop","declarationFragments":[{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended"],"names":{"title":"CollisionEvents.Ended","navigator":[{"kind":"identifier","spelling":"Ended"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Ended"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised when two objects, previously in contact, separate."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Ended"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable"],"names":{"title":"TextureResource.Drawable","navigator":[{"kind":"identifier","spelling":"Drawable"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Drawable"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A drawable associated with a drawable queue"}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Drawable"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Error","helpAnchor"],"names":{"title":"helpAnchor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message providing \"help\" text if the user requests help."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Roughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness"],"names":{"title":"PhysicallyBasedMaterial.ClearcoatRoughness","navigator":[{"kind":"identifier","spelling":"ClearcoatRoughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the degree to which an entity’s clear, shiny"},{"text":"coating scatters light to create soft highlights."},{"text":""},{"text":"This object specifies clearcoat roughness for entities that have"},{"text":"clearcoat enabled. A clearcoat is a separate layer of transparent"},{"text":"specular highlights used to simulate a clear coating, like on a car or"},{"text":"the surface of lacquered objects. When you enable clearcoat rendering"},{"text":"for a material, RealityKit renders the clearcoat as a separate layer"},{"text":"just above the surface of the entity. You can specify a clearcoat"},{"text":"roughness value to indicate how much the clearcoat scatters light that"},{"text":"bounces off of it, which softens and spreads out the highlights."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV5Indexa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Index"],"names":{"title":"Scene.AnchorCollection.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a position in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext with that rect's"},{"text":"associated gray component value in the DeviceGray color space."},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like"},{"text":"`NSRectFillListWithGrays()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, gray: CGFloat)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, gray: CGFloat)"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","SubSequence"],"names":{"title":"Entity.ChildCollection.IndexingIterator.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnySequence","preciseIdentifier":"s:s11AnySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``AnimationDefinition/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationDefinition/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4stopyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","stop()"],"names":{"title":"stop()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops playback of the audio resource and discards the location in the"},{"text":"audio stream."},{"text":""},{"text":"If you call the ``AudioPlaybackController/stop()`` method, the next time"},{"text":"you call ``AudioPlaybackController/play()``, playback starts at the"},{"text":"beginning of the stream."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness value for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction"],"names":{"title":"MaterialFunction","navigator":[{"kind":"identifier","spelling":"MaterialFunction"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialFunction"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The abstract superclass for objects representing compute functions for RealityKit custom materials ."},{"text":""},{"text":"This class is the parent of, and contains common properties and methods for ``GeometryModifier``"},{"text":"and ``SurfaceShader``. Don’t create an instance of this superclass yourself."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialFunction"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhysicsMassPropertiesV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","first()"],"names":{"title":"first()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream, then finishes."},{"text":""},{"text":"Use ``Publisher/first()`` to publish just the first element from an upstream publisher, then finish normally. The ``Publisher/first()`` operator requests ``Subscribers/Demand/unlimited`` from its upstream as soon as downstream requests at least one element. If the upstream completes before ``Publisher/first()`` receives any elements, it completes without emitting any values."},{"text":""},{"text":"In this example, the ``Publisher/first()`` publisher republishes the first element received from the sequence publisher, `-10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Print: \"-10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the first element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","FloatLiteralType"],"names":{"title":"CustomMaterial.Clearcoat.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC15generateCapsule6height6radiusACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateCapsule(height:radius:)"],"names":{"title":"generateCapsule(height:radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCapsule"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a capsule shape with the specified height and radius."},{"text":""},{"text":"- Parameters:"},{"text":"- height: The height of the capsule including the spherical caps in"},{"text":"meters, measured along the local y-axis."},{"text":""},{"text":" - radius: The radius of the capsule in meters."},{"text":""},{"text":"- Returns: The new capsule."}]},"functionSignature":{"parameters":[{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCapsule"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12BindableDataP","interfaceLanguage":"swift"},"pathComponents":["BindableData"],"names":{"title":"BindableData","navigator":[{"kind":"identifier","spelling":"BindableData"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableData"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque base protocol for bindable data objects."},{"text":""},{"text":"The templated bindable-value object, ``BindableValue`` ``, determines"},{"text":"that the value you choose for type `T` adopts this protocol. The types that"},{"text":"the framework accepts are: ``Transform``,"},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":", and"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableData"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(transform:to:)"],"names":{"title":"convert(transform:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of the entity on which you called this method to the local space"},{"text":"of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue"],"names":{"title":"TextureResource.DrawableQueue","navigator":[{"kind":"identifier","spelling":"DrawableQueue"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DrawableQueue"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A drawable queue that may be used to update a texture resource dynamically"}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DrawableQueue"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV11orientation08boundingE0ACSo10simd_quatfa_AA0dE0Vtcfc","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","init(orientation:boundingBox:)"],"names":{"title":"init(orientation:boundingBox:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" = simd_quatf(ix: 0, iy: 0, iz: 0, r: 1), "},{"kind":"externalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" = BoundingBox.empty)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection"],"names":{"title":"MeshModelCollection","navigator":[{"kind":"identifier","spelling":"MeshModelCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshModelCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh models."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshModelCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["Scene","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A name for the scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AudioEvents","PlaybackCompleted","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The audio playback controller that triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5emptyACvpZ","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","empty"],"names":{"title":"empty","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"empty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An empty bounding box."},{"text":""},{"text":"An empty bounding box is defined with ``min`` set to positive infinity and ``max`` set to negative"},{"text":"infinity."},{"text":""},{"text":"- Note: An empty bounding box where ``min`` is greater than ``max`` is different from a bounding"},{"text":"box of size 0, where ``min`` is equal to ``max``. The former defines empty space without a position. The"},{"text":"latter describes an object of size 0 at a certain position in space."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"empty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntityAA0H0Cvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","characterEntity"],"names":{"title":"characterEntity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Entity owning the character controller component."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV15processingStageAE010ProcessingI0OSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProgressInfo","processingStage"],"names":{"title":"processingStage","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingStage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"processingStage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10bindTargetAA04BindG0Ovp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC10shouldLoopSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","shouldLoop"],"names":{"title":"shouldLoop","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the audio restarts from the"},{"text":"beginning after it finishes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV22estimatedRemainingTimeSdSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProgressInfo","estimatedRemainingTime"],"names":{"title":"estimatedRemainingTime","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"estimatedRemainingTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"estimatedRemainingTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV5partsAA0C14PartCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","parts"],"names":{"title":"parts","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of parts composing this mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13UnlitMaterialV","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Parameters"],"names":{"title":"UnlitMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies a predicate closure, after upstream finishes."},{"text":""},{"text":"Use ``Publisher/last(where:)`` when you need to republish only the last element of a stream that satisfies a closure you specify."},{"text":""},{"text":"In the example below, a range publisher emits the last element that satisfies the closure’s criteria, then finishes normally:"},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last { $0 < 6 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"5\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation10BindTargetO","interfaceLanguage":"swift"},"pathComponents":["BindTarget","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","ID"],"names":{"title":"MeshResource.Model.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18TransientComponentP","interfaceLanguage":"swift"},"pathComponents":["TransientComponent"],"names":{"title":"TransientComponent","navigator":[{"kind":"identifier","spelling":"TransientComponent"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TransientComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface for components that aren’t saved to file or cloned."},{"text":""},{"text":"Components that conform to the ``TransientComponent`` protocol aren’t"},{"text":"included when RealityKit serializes its owning entity to save it to a file."},{"text":"Similarly, when you clone an entity, any transient components on that entity"},{"text":"aren’t copied to the clone."},{"text":""},{"text":"To ensure that cloned entities, or entities saved to file get a copy of the"},{"text":"transient component with default values, create and initialize the component"},{"text":"in your entity’s `init()` method:"},{"text":""},{"text":"```swift"},{"text":"class MyEntity: Entity {"},{"text":" required init() {"},{"text":" let newComponent = MyComponent()"},{"text":" components[MyComponent.self] = newComponent"},{"text":" return newComponent"},{"text":" }"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Alternatively, you can create a computed"},{"text":"property for your component that initializes it to default values the first"},{"text":"time your code accesses it."},{"text":""},{"text":"```swift"},{"text":"class MyEntity: Entity {"},{"text":" var myComponent: MyComponent {"},{"text":" // If the component exists, return it."},{"text":" if let component = components[MyComponent] as? MyComponent {"},{"text":" return component"},{"text":" }"},{"text":""},{"text":" // Create a new component and return it."},{"text":" components[MyComponent.self] = MyComponent()"},{"text":" return newComponent"},{"text":" }"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Use transient components to represent runtime state for an entity. For"},{"text":"example, an entity representing a fish in a virtual aquarium might store"},{"text":"attributes such as hunger in a transient component."},{"text":""},{"text":"In networked AR experiences, RealityKit sends transient components to peers"},{"text":"when it sends the entity, if the component also conforms to"},{"text":". If transient"},{"text":"components don’t conform, ReaityKit still sends the entity to network peers,"},{"text":"but it excludes the transient component."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TransientComponent"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasSpotLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A spotlight component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom clearcoat object from a physically based material’s"},{"text":"clearcoat property."},{"text":""},{"text":"This initializer creates an object by copying the scale and texture"},{"text":"values from the ``PhysicallyBasedMaterial/clearcoat-swift.property``"},{"text":"property of a ``PhysicallyBasedMaterial``."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The copied values for"},{"text":"``CustomMaterial/Clearcoat-swift.struct/scale`` and"},{"text":"``CustomMaterial/Clearcoat-swift.struct/texture`` are available in"},{"text":"the material’s surface shader function, regardless of the material’s"},{"text":"lighting model; however RealityKit only renders a clearcoat when"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"material’s surface shader function calls"},{"text":"`params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the clearcoat"},{"text":"`scale` and `texture` values in a surface shader, and use them to"},{"text":"calculate the final clearcoat value for rendering:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the base color tint from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":""},{"text":" // Retrieve the entity's primary texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from a USDZ of .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the clearcoat texture to get the value UV-mapped to this pixel."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture, and assign it"},{"text":" // to the shader's base color property."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- value: The ``PhysicallyBasedMaterial/clearcoat-swift.property``"},{"text":"property from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfySayAA12HasAnchoring_pG_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds anchors from an array to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - array: The array of anchor entities to add."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"array","declarationFragments":[{"kind":"identifier","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13EmissiveColorVyAeA015PhysicallyBasedD0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","EmissiveColor","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a color of emitted light based on the emissive color"},{"text":"property from a physically based material."},{"text":""},{"text":"- Parameters:"},{"text":"- value: The"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` property"},{"text":"from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","look(at:from:upVector:relativeTo:)"],"names":{"title":"look(at:from:upVector:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions and orients the entity to look at a target from a given"},{"text":"position."},{"text":""},{"text":"You can use this method on any entity, but it’s particularly useful for"},{"text":"orienting cameras and lights to aim at a particular point in space."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The target position to look at."},{"text":""},{"text":" - position: The new position of the entity."},{"text":""},{"text":" - upVector: The up direction of the entity after moving."},{"text":""},{"text":" - relativeTo: The entity that defines a frame of reference. Set this to"},{"text":"`nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"upVector","declarationFragments":[{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(0, 1, 0), "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat"],"names":{"title":"PhysicallyBasedMaterial.Clearcoat","navigator":[{"kind":"identifier","spelling":"Clearcoat"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the intensity of an entity’s clear, shiny"},{"text":"coating."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights used"},{"text":"to simulate a clear coating, like on a car or the surface of lacquered"},{"text":"objects."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index,"},{"text":"unless that distance is beyond a given limiting index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":"The operation doesn't require going beyond the limiting `s.endIndex`"},{"text":"value, so it succeeds."},{"text":""},{"text":" let s = \"Swift\""},{"text":" if let i = s.index(s.startIndex, offsetBy: 4, limitedBy: s.endIndex) {"},{"text":" print(s[i])"},{"text":" }"},{"text":" // Prints \"t\""},{"text":""},{"text":"The next example attempts to retrieve an index six positions from"},{"text":"`s.startIndex` but fails, because that distance is beyond the index"},{"text":"passed as `limit`."},{"text":""},{"text":" let j = s.index(s.startIndex, offsetBy: 6, limitedBy: s.endIndex)"},{"text":" print(j)"},{"text":" // Prints \"nil\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: An index offset by `distance` from the index `i`, unless that"},{"text":" index would be beyond `limit` in the direction of movement. In that"},{"text":" case, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","ArrayLiteralElement"],"names":{"title":"AccessibilityComponent.SupportedActions.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryDrop(while:)"],"names":{"title":"tryDrop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until an error-throwing closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/tryDrop(while:)`` to omit elements from an upstream until an error-throwing closure you provide returns false, after which the remaining items in the stream are published. If the closure throws, no elements are emitted and the publisher fails with an error."},{"text":""},{"text":"In the example below, elements are ignored until `-1` is encountered in the stream and the closure returns `false`. The publisher then republishes the remaining elements and finishes normally. Conversely, if the `guard` value in the closure had been encountered, the closure would throw and the publisher would fail with an error."},{"text":""},{"text":" struct RangeError: Error {}"},{"text":" var numbers = [1, 2, 3, 4, 5, 6, -1, 7, 8, 9, 10]"},{"text":" let range: CountableClosedRange = (1...100)"},{"text":" cancellable = numbers.publisher"},{"text":" .tryDrop {"},{"text":" guard $0 != 0 else { throw RangeError() }"},{"text":" return range.contains($0)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 7 8 9 10 completion: finished\""},{"text":" // If instead numbers was [1, 2, 3, 4, 5, 6, 0, -1, 7, 8, 9, 10], tryDrop(while:) would fail with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`, and then republishes all remaining elements. If the predicate closure throws, the publisher fails with an error."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV0G0a","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","Iterator"],"names":{"title":"Entity.ChildCollection.IndexingIterator.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult","navigator":[{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of an ownership transfer request."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/reduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on a closure you provide."},{"text":""},{"text":"In the following example, the ``Publisher/reduce(_:_:)`` operator collects all the integer values it receives from its upstream publisher:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .reduce(0, { accum, next in accum + next })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"55\""},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: A closure that produces a new value by taking the previously-accumulated value and the next element it receives from the upstream publisher."},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes. If ``Publisher/reduce(_:_:)`` receives an error from the upstream publisher, the operator delivers it to the downstream subscriber, the publisher terminates and publishes no value."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC11generateBox5width6height5depthACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateBox(width:height:depth:)"],"names":{"title":"generateBox(width:height:depth:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a box shape with the specified dimensions."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The extent of the box along the x-axis in meters."},{"text":""},{"text":" - height: The extent of the box along the y-axis in meters."},{"text":""},{"text":" - depth: The extent of the box along the z-axis in meters."},{"text":""},{"text":"- Returns: The new box centered at the local origin and aligned with the"},{"text":"local axes."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV5named2inAESS_So10MTLLibrary_ptcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","SurfaceShader","init(named:in:)"],"names":{"title":"init(named:in:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a surface shader object from a named function in a Metal"},{"text":"library."},{"text":""},{"text":"To create a surface shader for a custom material, create a Metal"},{"text":"file in your Xcode project. Prefix the function with the keyword"},{"text":"`[[visible]]`. The function must take a single parameter of type"},{"text":"`realitykit::surface_parameters`."},{"text":""},{"text":"Here’s what a minimal surface shader function looks like:"},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":""},{"text":"// Specify the current default namespace as metal so our code //"},{"text":"doesn't have to to prefix Metal Standard Library symbols. using"},{"text":"namespace metal;"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters"},{"text":"params) {"},{"text":" // Calculate parameters needed for rendering. } ```"},{"text":""},{"text":"To create a custom material using this shader, get a reference to"},{"text":"your app’s Metal library:"},{"text":""},{"text":"```swift"},{"text":"guard let device = MTLCreateSystemDefaultDevice() else {"},{"text":" fatalError(\"Error creating default metal device.\")"},{"text":"}"},{"text":"guard let library = maybeDevice.makeDefaultLibrary() else {"},{"text":" fatalError(\"Error creating default metal library\")"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Once you have a reference to your Metal library, use it to create"},{"text":"the surface shader reference:"},{"text":""},{"text":"```swift"},{"text":"let surfaceShader = CustomMaterial.SurfaceShader("},{"text":" named: \"mySurfaceShader\","},{"text":" in: library"},{"text":")"},{"text":"```"},{"text":""},{"text":"- Important: RealityKit loads surface shader functions by name, so"},{"text":"name your surface shader uniquely and to exactly match the `named`"},{"text":"parameter."},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the surface shader function."},{"text":""},{"text":" - library: The Metal library that contains the function."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryV","interfaceLanguage":"swift"},"pathComponents":["EntityQuery"],"names":{"title":"EntityQuery","navigator":[{"kind":"identifier","spelling":"EntityQuery"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityQuery"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that retrieves entities from a scene."},{"text":""},{"text":"Use entity queries to iterate through all entities in a RealityKit scene"},{"text":"that meet certain criteria. To specify which entities to retrieve, use a"},{"text":"``QueryPredicate``."},{"text":""},{"text":"To execute the query, pass it into the scene’s ``RealityKit/Scene/performQuery(_:)``"},{"text":"method and then iterate over the results."},{"text":""},{"text":"```swift"},{"text":"// Build a query to retrieve all anchor components."},{"text":"let query = EntityQuery(where: .has(AnchorComponent.self)"},{"text":""},{"text":"// Ask the scene to perform the query and iterate over the returned"},{"text":"entities. scene.performQuery(query).forEach { entity in"},{"text":" // Make any needed changes to entities."},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityQuery"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5index6beforeS2i_tF","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(before:)"],"names":{"title":"index(before:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position in the sequence of the joint that preceeds the"},{"text":"given position."},{"text":""},{"text":"For more on calculating indices, see"},{"text":"."}]},"functionSignature":{"parameters":[{"name":"before","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","Element"],"names":{"title":"AccessibilityComponent.SupportedActions.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5usageSo15MTLTextureUsageVvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","usage"],"names":{"title":"usage","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how you can use each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor"],"names":{"title":"PhysicallyBasedMaterial.EmissiveColor","navigator":[{"kind":"identifier","spelling":"EmissiveColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the color of the light an entity emits."},{"text":""},{"text":"With physically based rendering (PBR), you can give entities in"},{"text":"RealityKit the appearance of emitting light. Define the color of the"},{"text":"light the entity emits by using this object."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27AnimationPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4playyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","play()"],"names":{"title":"play()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"play"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays the audio resource."},{"text":""},{"text":"The controller plays from the beginning of the resource, or from the"},{"text":"point at which it was paused if you previously called the"},{"text":"``AudioPlaybackController/pause()`` method during playback."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"play"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV13materialIndexSivp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","materialIndex"],"names":{"title":"materialIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material index for the part."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC7replace13withDrawablesyAC13DrawableQueueC_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replace(withDrawables:)"],"names":{"title":"replace(withDrawables:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withDrawables"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Dynamically replaces the texture with a drawable queue."}]},"functionSignature":{"parameters":[{"name":"withDrawables","internalName":"drawableQueue","declarationFragments":[{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withDrawables"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","Element"],"names":{"title":"Entity.ChildCollection.IndexingIterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6appendyyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds a new anchor at the end of the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The element to append to the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV15distanceSquared7toPointSfs5SIMD3VySfG_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","distanceSquared(toPoint:)"],"names":{"title":"distanceSquared(toPoint:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distanceSquared"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calculates the distance from a point to the bounding box."},{"text":""},{"text":"- Parameters:"},{"text":" - toPoint: The point."},{"text":""},{"text":"- Returns: The square of the distance, in meters, from the point to the"},{"text":"box."}]},"functionSignature":{"parameters":[{"name":"toPoint","declarationFragments":[{"kind":"identifier","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distanceSquared"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OrientedBoundingBox","preciseIdentifier":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18featureSensitivityAE07FeatureG0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","featureSensitivity"],"names":{"title":"featureSensitivity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"featureSensitivity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The precision of landmark detection."},{"text":""},{"text":"The photogrammetry process relies on finding identifiable landmarks in the overlap"},{"text":"between images. Landmarks can be hard to identify if the images don’t have enough"},{"text":"contrast, aren’t in focus, or if the object is all one color and lacks surface detail."},{"text":""},{"text":"When ``PhotogrammetrySession/Configuration-swift.struct/featureSensitivity-swift.property``"},{"text":"is set to ``PhotogrammetrySession/Configuration-swift.struct/FeatureSensitivity-swift.enum/high``,"},{"text":"it instructs RealityKit to search an image for landmarks using an algorithm that"},{"text":"analyzes an image closely and in detail. This slower, more sensitive process can"},{"text":"produce an accurate 3D object even when landmarks are difficult to discern."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"featureSensitivity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FeatureSensitivity","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC6buffer9inputMode10shouldLoopACSo07AVAudioD0C_AA0cE0C05InputH0OSbtKcfc","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","init(buffer:inputMode:shouldLoop:)"],"names":{"title":"init(buffer:inputMode:shouldLoop:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"buffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVAudioBuffer","preciseIdentifier":"c:objc(cs)AVAudioBuffer"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an audio resource from the given buffer that optionally plays"},{"text":"with a 3D effect or restarts from the beginning after it finishes."},{"text":""},{"text":"- Parameters:"},{"text":" - buffer: The audio data."},{"text":""},{"text":"- inputMode: An option that determines whether the audio plays with a 3D"},{"text":"effect."},{"text":""},{"text":"- shouldLoop: A Boolean value that indicates whether the audio restarts"},{"text":"from the beginning after it finishes."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"buffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVAudioBuffer","preciseIdentifier":"c:objc(cs)AVAudioBuffer"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" = .spatial, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC5pauseyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","pause()"],"names":{"title":"pause()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Pauses playback of the audio resource while maintaining the position in"},{"text":"the audio stream."},{"text":""},{"text":"Resume playback of a paused audio resource by calling the"},{"text":"``AudioPlaybackController/play()`` method."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceError(with:)"],"names":{"title":"replaceError(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces any errors in the stream with the provided element."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher emits the provided element, then finishes normally."},{"text":""},{"text":"In the example below, a publisher of strings fails with a `MyError` instance, which sends a failure completion downstream. The ``Publisher/replaceError(with:)`` operator handles the failure by publishing the string `(replacement element)` and completing normally."},{"text":""},{"text":" struct MyError: Error {}"},{"text":" let fail = Fail(error: MyError())"},{"text":" cancellable = fail"},{"text":" .replaceError(with: \"(replacement element)\")"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(replacement element) finished\"."},{"text":""},{"text":"This ``Publisher/replaceError(with:)`` functionality is useful when you want to handle an error by sending a single replacement element and end the stream. Use ``Publisher/catch(_:)`` to recover from an error and provide a replacement publisher to continue providing elements to the downstream subscriber."},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher fails."},{"text":"- Returns: A publisher that replaces an error from the upstream publisher with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/first(where:)`` to republish only the first element of a stream that satisfies a closure you specify. The publisher ignores all elements after the first element that satisfies the closure and finishes normally."},{"text":"If this publisher doesn’t receive any elements, it finishes without publishing."},{"text":""},{"text":"In the example below, the provided closure causes the ``Publishers/FirstWhere`` publisher to republish the first received element that’s greater than `0`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first { $0 > 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"1\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Request","Detail","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeCACycfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation17OcclusionMaterialV","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","Parameters"],"names":{"title":"OcclusionMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO20localizedDescriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Localized string containing any extra information about the message, such as the reason"},{"text":"why a sample is invalid."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","SurfaceShader"],"names":{"title":"CustomMaterial.SurfaceShader","navigator":[{"kind":"identifier","spelling":"SurfaceShader"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SurfaceShader"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The custom material’s surface shader function."},{"text":""},{"text":"Custom materials work together with a surface shader function to render"},{"text":"entities. The ``CustomMaterial`` properties related to rendering, such"},{"text":"as ``CustomMaterial/baseColor-swift.property`` and"},{"text":"``CustomMaterial/normal-swift.property``, are available in the surface"},{"text":"shader function, but RealityKit doesn’t use them directly."},{"text":""},{"text":"Instead, the material’s surface shader function allows you to calculate"},{"text":"or specify all the material parameters that RealityKit uses to render"},{"text":"your entity, such as ``CustomMaterial/baseColor-swift.property``,"},{"text":"``CustomMaterial/normal-swift.property``, and"},{"text":"``CustomMaterial/roughness-swift.property``. RealityKit’s fragment"},{"text":"shader calls your surface shader function once for each pixel it"},{"text":"renders."},{"text":""},{"text":"Here’s a simple example of a surface shader that sets the entity’s base"},{"text":"color:"},{"text":""},{"text":"```swift"},{"text":"#include "},{"text":"#include "},{"text":""},{"text":"// Specify the current default namespace as metal so that it's not //"},{"text":"necessary to prefix Metal Standard Library symbols. using namespace"},{"text":"metal;"},{"text":""},{"text":"[[visible]] void mySurfaceShader(realitykit::surface_parameters params)"},{"text":"{"},{"text":" // Set the base color"},{"text":" params.surface().set_base_color(half3(1.0, 0.5, 0.5));"},{"text":"} ```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SurfaceShader"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:)-48buc`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:_:)-16rcy`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, ``Publisher/combineLatest(_:_:_:)-48buc`` receives input from any of the publishers, combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":" //"},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9, 1)."},{"text":" // Result: (3, 2, 9, 1)."},{"text":" // Result: (3, 12, 9, 1)."},{"text":" // Result: (13, 12, 9, 1)."},{"text":" // Result: (13, 12, 19, 1)."},{"text":""},{"text":"If any individual publisher of the combined set terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9transform2byySo13simd_float4x4a_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","transform(by:)"],"names":{"title":"transform(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transforms the bounding box."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform to apply to the box."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:_:)"],"names":{"title":"combineLatest(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:_:)`` when you need to combine the current and 3 additional publishers and transform the values using a closure in which you specify the published elements, to publish a new element."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, as ``Publisher/combineLatest(_:_:_:_:)`` receives the most-recent values published by four publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4) { firstValue, secondValue, thirdValue, fourthValue in"},{"text":" return firstValue * secondValue * thirdValue * fourthValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 36. // pub = 2, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 54. // pub = 3, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 324. // pub = 3, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 1404. // pub = 13, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 2964. // pub = 13, pub2 = 12, pub3 = 19, pub4 = 1"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","ID"],"names":{"title":"MeshResource.Part.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC11generateBox4sizeACs5SIMD3VySfG_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateBox(size:)"],"names":{"title":"generateBox(size:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a box shape with the specified extent."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The box extent in meters along the local axes."},{"text":""},{"text":"- Returns: The new box centered at the local origin and aligned with the"},{"text":"local axes."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","decode(type:decoder:)"],"names":{"title":"decode(type:decoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Decodes the output from the upstream using a specified decoder."},{"text":""},{"text":"Use ``Publisher/decode(type:decoder:)`` with a (or a for property lists) to decode data received from a or other data source using the protocol."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes a JSON string. The JSON decoder parses the string, converting its fields according to the protocol implemented by `Article`, and successfully populating a new `Article`. The ``Publishers/Decode`` publisher then publishes the `Article` to the downstream. If a decoding operation fails, which happens in the case of missing or malformed data in the source JSON string, the stream terminates and passes the error to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" cancellable = dataProvider"},{"text":" .decode(type: Article.self, decoder: JSONDecoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\")},"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" dataProvider.send(Data(\"{\\\"pubDate\\\":1574273638.575666, \\\"title\\\" : \\\"My First Article\\\", \\\"author\\\" : \\\"Gita Kumar\\\" }\".utf8))"},{"text":""},{"text":" // Prints: \".sink() data received Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: 2050-11-20 18:13:58 +0000)\""},{"text":""},{"text":"- Parameters:"},{"text":" - type: The encoded data to decode into a struct that conforms to the protocol."},{"text":" - decoder: A decoder that implements the ``TopLevelDecoder`` protocol."},{"text":"- Returns: A publisher that decodes a given type using a specified decoder and publishes the result."}]},"functionSignature":{"parameters":[{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type"}]},{"name":"decoder","declarationFragments":[{"kind":"identifier","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Item","index":0,"depth":1},{"name":"Coder","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Item","rhs":"Decodable","rhsPrecise":"s:Se"},{"kind":"conformance","lhs":"Coder","rhs":"TopLevelDecoder","rhsPrecise":"s:7Combine15TopLevelDecoderP"},{"kind":"sameType","lhs":"Self.Output","rhs":"Coder.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Decodable","preciseIdentifier":"s:Se"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelDecoder","preciseIdentifier":"s:7Combine15TopLevelDecoderP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:_:)"],"names":{"title":"zip(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:_:)`` to return a new publisher that combines the elements from three other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, the ``PassthroughSubject`` publishers, `numbersPub`,"},{"text":"`fractionsPub`, `lettersPub`, and `emojiPub` emit values. The ``Publisher/zip(_:_:_:_:)`` operator receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times and prints out the value in `fractionsPub`."},{"text":""},{"text":" let numbersPub = PassthroughSubject() // first publisher"},{"text":" let lettersPub = PassthroughSubject() // second"},{"text":" let emojiPub = PassthroughSubject() // third"},{"text":" let fractionsPub = PassthroughSubject()// fourth"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub) { anInt, aLetter, anEmoji, aFraction in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt)) \\(aFraction)\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: zip output: \"🥰🥰 BB\""},{"text":" // Prints:"},{"text":" //1 😀 A 0.1"},{"text":" //2 🥰🥰 BB 0.8"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from four upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","drop(untilOutputFrom:)"],"names":{"title":"drop(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores elements from the upstream publisher until it receives an element from a second publisher."},{"text":""},{"text":"Use ``Publisher/drop(untilOutputFrom:)`` to ignore elements from the upstream publisher until another, second, publisher delivers its first element."},{"text":"This publisher requests a single value from the second publisher, and it ignores (drops) all elements from the upstream publisher until the second publisher produces a value. After the second publisher produces an element, ``Publisher/drop(untilOutputFrom:)`` cancels its subscription to the second publisher, and allows events from the upstream publisher to pass through."},{"text":""},{"text":"After this publisher receives a subscription from the upstream publisher, it passes through backpressure requests from downstream to the upstream publisher. If the upstream publisher acts on those requests before the other publisher produces an item, this publisher drops the elements it receives from the upstream publisher."},{"text":""},{"text":"In the example below, the `pub1` publisher defers publishing its elements until the `pub2` publisher delivers its first element:"},{"text":""},{"text":" let upstream = PassthroughSubject()"},{"text":" let second = PassthroughSubject()"},{"text":" cancellable = upstream"},{"text":" .drop(untilOutputFrom: second)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" upstream.send(1)"},{"text":" upstream.send(2)"},{"text":" second.send(\"A\")"},{"text":" upstream.send(3)"},{"text":" upstream.send(4)"},{"text":" // Prints \"3 4\""},{"text":""},{"text":"- Parameter publisher: A publisher to monitor for its first emitted element."},{"text":"- Returns: A publisher that drops elements from the upstream publisher until the `other` publisher produces a value."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13VideoMaterialV","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","Parameters"],"names":{"title":"VideoMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``AnimationDefinition/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14imageAlignmentyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","imageAlignment"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.imageAlignment","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"imageAlignment"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"imageAlignment"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackTerminated","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"that applies to the entire material."},{"text":""},{"text":"The clearcoat value is available in the material’s surface shader"},{"text":"function, but RealityKit doesn’t render a clearcoat unless the"},{"text":"material’s ``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its"},{"text":"surface shader function calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the clearcoat"},{"text":"``CustomMaterial/Clearcoat-swift.struct/scale`` in a surface shader"},{"text":"function and use it to set the final clearcoat value for rendering:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the base color tint from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":""},{"text":" // Assign the scale value as the clearcoat value for this pixel."},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The clearcoat value to use for the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO5sceneyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","scene(_:)"],"names":{"title":"BindPath.Part.scene(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for a nested scene."},{"text":""},{"text":"This path component indicates that another component follows, and at"},{"text":"the same time specifies the entity, scene, or property that"},{"text":"animates."},{"text":""},{"text":"Because no path contains nested scenes, this component exists only"},{"text":"as the first element of a multicomponent path."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10repeatModeAA0d6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``SampledAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``SampledAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity"],"names":{"title":"Entity","navigator":[{"kind":"identifier","spelling":"Entity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Entity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An element of a RealityKit scene to which you attach components that provide"},{"text":"appearance and behavior characteristics for the entity."},{"text":""},{"text":"You create and configure entities to embody objects that you want to place"},{"text":"in the real world in an AR app. You do this by adding ``Entity`` instances"},{"text":"to the ``Scene`` instance associated with an ``ARView``."},{"text":""},{"text":"RealityKit defines a few concrete subclasses of ``Entity`` that provide"},{"text":"commonly used functionality. For example, you typically start by creating an"},{"text":"instance of ``AnchorEntity`` to anchor your content, and add the anchor to a"},{"text":"scene’s ``Scene/anchors`` collection. You might then instantiate a"},{"text":"``ModelEntity`` to represent a physical object in the scene, and add that as"},{"text":"a child entity to the anchor. You can also create custom entities, and add"},{"text":"them either to an anchor, or as children of another entity."},{"text":""},{"text":"![Block diagram showing how entity hierarchies, composed of different kinds"},{"text":"of entities, attach to a scene, which is itself a child of the AR"},{"text":"view.](Entity-1)"},{"text":""},{"text":"You can load predefined entities or a hierarchy of entities from your app’s"},{"text":"bundle, or from a file on disk, using the methods in ."},{"text":"Alternatively, you can create entities programmatically."},{"text":""},{"text":"Entities contain components (instances conforming to the ``Component``"},{"text":"protocol) that provide appearance and behaviors for the entity. For example,"},{"text":"the ``Transform`` component contains the scale, rotation, and translation"},{"text":"information needed to position an entity in space. You store components in"},{"text":"the entity’s ``Entity/components`` collection, which can hold exactly one of"},{"text":"any component type. It makes sense to have only a single ``Transform``"},{"text":"component, one ``ModelComponent`` (specifying the visual appearance of the"},{"text":"entity), and so on."},{"text":""},{"text":"![Diagram showing the components present in the base entity class, as well"},{"text":"as in the derived anchor entity and model entity classes.](Entity-2)"},{"text":""},{"text":"All entities inherit a few common components from the ``Entity`` base class:"},{"text":"the ``Transform`` component for spatial positioning, and"},{"text":"``SynchronizationComponent``, which enables synchronization of the entity"},{"text":"among networked peers. Specific types of entities define additional"},{"text":"behaviors. For example, the model entity has components for visual"},{"text":"appearance (``ModelComponent``), collision detection"},{"text":"(``CollisionComponent``), and physics simulations (``PhysicsBodyComponent``"},{"text":"and ``PhysicsMotionComponent``)."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Entity"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV11transformed2byACSo13simd_float4x4a_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","transformed(by:)"],"names":{"title":"transformed(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transforms the bounding box and finds the bounds of the result."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform to apply to the box."},{"text":""},{"text":"- Returns: The bounds of the transformed box."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","setFailureType(to:)"],"names":{"title":"setFailureType(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setFailureType"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Changes the failure type declared by the upstream publisher."},{"text":""},{"text":"Use ``Publisher/setFailureType(to:)`` when you need set the error type of a publisher that cannot fail."},{"text":""},{"text":"Conversely, if the upstream can fail, you would use ``Publisher/mapError(_:)`` to provide instructions on converting the error types to needed by the downstream publisher’s inputs."},{"text":""},{"text":"The following example has two publishers with mismatched error types: `pub1`’s error type is , and `pub2`’s error type is . Because of the mismatch, the ``Publisher/combineLatest(_:)`` operator requires that `pub1` use ``Publisher/setFailureType(to:)`` to make it appear that `pub1` can produce the type, like `pub2` can."},{"text":""},{"text":" let pub1 = [0, 1, 2, 3, 4, 5].publisher"},{"text":" let pub2 = CurrentValueSubject(0)"},{"text":" let cancellable = pub1"},{"text":" .setFailureType(to: Error.self)"},{"text":" .combineLatest(pub2)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completed: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\")}"},{"text":" )"},{"text":""},{"text":" // Prints: \"value: (5, 0)\"."},{"text":""},{"text":"- Parameter failureType: The `Failure` type presented by this publisher."},{"text":"- Returns: A publisher that appears to send the specified failure type."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"failureType","declarationFragments":[{"kind":"identifier","spelling":"failureType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setFailureType"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"failureType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelComponent"],"names":{"title":"ModelComponent","navigator":[{"kind":"identifier","spelling":"ModelComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of resources that create the visual appearance of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O10compatibleyA2EmF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","compatible"],"names":{"title":"NetworkCompatibilityToken.Compatibility.compatible","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatible"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An indication that the compared devices are running compatible"},{"text":"versions of RealityKit."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatible"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateSphere6radiusACSf_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateSphere(radius:)"],"names":{"title":"generateSphere(radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a sphere shape with the specified radius."},{"text":""},{"text":"- Parameters:"},{"text":" - radius: The radius of the sphere in meters."},{"text":""},{"text":"- Returns: The new sphere centered at the local origin."}]},"functionSignature":{"parameters":[{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAll12keepCapacityySb_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","removeAll(keepCapacity:)"],"names":{"title":"removeAll(keepCapacity:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all anchors from the collection."},{"text":""},{"text":"- Parameters:"},{"text":"- keepCapacity: Pass true to keep the existing capacity of the array"},{"text":"after removing its elements. The default value is false."}]},"functionSignature":{"parameters":[{"name":"keepCapacity","declarationFragments":[{"kind":"identifier","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16SystemDependencyO","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO03preF0yA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","preProcessing"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.preProcessing","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preProcessing"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preProcessing"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV8fillModeAA0e4FillG0Vvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a transform."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O30sessionProtocolVersionMismatchyA2EmF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","sessionProtocolVersionMismatch"],"names":{"title":"NetworkCompatibilityToken.Compatibility.sessionProtocolVersionMismatch","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sessionProtocolVersionMismatch"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An indication that two peers running incompatible versions of"},{"text":"RealityKit can’t sync."},{"text":""},{"text":"The ``NetworkCompatibilityToken/compatibilityWith(_:)`` method"},{"text":"returns this value when two devices have different OS versions and"},{"text":"there has been a significant change in networking protocol between"},{"text":"those releases."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sessionProtocolVersionMismatch"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt16","preciseIdentifier":"s:s6UInt16V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materials14collisionShape4massAcA12MeshResourceC_SayAA8Material_pGAA0hK0CSftcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:collisionShape:mass:)"],"names":{"title":"init(mesh:materials:collisionShape:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"collisionShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh, set of materials,"},{"text":"collision shape, and mass."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."},{"text":""},{"text":" - collisionShape: A collection of shape resources that define a composite collision shape."},{"text":""},{"text":" - mass: The mass of the model in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [], "},{"kind":"externalParam","spelling":"collisionShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13drawableQueueAC08DrawableF0CSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","drawableQueue"],"names":{"title":"drawableQueue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The drawable queue that was used to replace the texture."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6remove2atySi_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","remove(at:)"],"names":{"title":"remove(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes and returns the anchor at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":"- index: The position of the anchor to remove. index must be a valid"},{"text":"index of the collection."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV16opacityThresholdSfSgvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A threshold below which RealityKit ignores opacity."},{"text":""},{"text":"When blending is transparent, this value controls how the opacity value affects rendering. The"},{"text":"default ``opacityThreshold`` value of `0.0` indicates that the opacity values render at the specified"},{"text":"transparency, with 0.0 rendered fully transparent, `1.0` rendered fully opaque, and values between"},{"text":"`0.0` and `1.0` rendering partially transparent."},{"text":""},{"text":"If ``opacityThreshold`` is greater than `0.0`, RealityKit doesn’t render opacity values less"},{"text":"than the `opacityThreshold` at all, and renders opacity values greater than or equal to"},{"text":"``opacityThreshold`` fully opaque."},{"text":""},{"text":"When ``blending`` is ``UnlitMaterial/Blending``, RealityKit ignores this value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness values as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasSpotLight","shadow"],"names":{"title":"shadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shadow for the spotlight."},{"text":""},{"text":"Set this property to `nil` to remove shadows for the light. Set it to an"},{"text":"instance of ``SpotLightComponent/Shadow`` to create shadows."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","ArrayLiteralElement"],"names":{"title":"AnimationFillMode.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV7librarySo10MTLLibrary_pvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","SurfaceShader","library"],"names":{"title":"library","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The Metal library that contains this surface shader function."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceEmpty(with:)"],"names":{"title":"replaceEmpty(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces an empty stream with the provided element."},{"text":""},{"text":"Use ``Publisher/replaceEmpty(with:)`` to provide a replacement element if the upstream publisher finishes without producing any elements."},{"text":""},{"text":"In the example below, the empty `Double` array publisher doesn’t produce any elements, so ``Publisher/replaceEmpty(with:)`` publishes `Double.nan` and finishes normally."},{"text":""},{"text":" let numbers: [Double] = []"},{"text":" cancellable = numbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints \"(nan)\"."},{"text":""},{"text":"Conversely, providing a non-empty publisher publishes all elements and the publisher then terminates normally:"},{"text":""},{"text":" let otherNumbers: [Double] = [1.0, 2.0, 3.0]"},{"text":" cancellable2 = otherNumbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: 1.0 2.0 3.0"},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher finishes without emitting any elements."},{"text":"- Returns: A publisher that replaces an empty stream with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode","navigator":[{"kind":"identifier","spelling":"OwnershipTransferMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Modes of ownership transfer."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV10intersectsySbACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","intersects(_:)"],"names":{"title":"intersects(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersects"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box intersects the specified bounds."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box intersects the specified"},{"text":"bounds."}]},"functionSignature":{"parameters":[{"name":"boundingBox","declarationFragments":[{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersects"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryFirst(where:)"],"names":{"title":"tryFirst(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a throwing predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/tryFirst(where:)`` when you need to republish only the first element of a stream that satisfies an error-throwing closure you specify."},{"text":"The publisher ignores all elements after the first. If this publisher doesn’t receive any elements, it finishes without publishing. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a range publisher emits the first element in the range then finishes normally:"},{"text":""},{"text":" let numberRange: ClosedRange = (-1...50)"},{"text":" numberRange.publisher"},{"text":" .tryFirst {"},{"text":" guard $0 < 99 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 completion: finished\""},{"text":" // If instead the number range were ClosedRange = (100...200), the tryFirst operator would terminate publishing with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO20pointCloudGenerationyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","pointCloudGeneration"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.pointCloudGeneration","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloudGeneration"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pointCloudGeneration"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV19checkpointDirectory0B03URLVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","checkpointDirectory"],"names":{"title":"checkpointDirectory","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"checkpointDirectory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"For macOS reconstruction, the checkpoint directory is used as a temporary reconstruction space if it is not nil."},{"text":"Reconstruction always starts from scratch, there is no resuming."},{"text":""},{"text":"For iOS reconstruction, if the same checkpoint directory used by ObjectCaptureSession or a previous"},{"text":"interrupted PhotogrammetrySession is passed in, PhotogrammetrySession will try to use the previously"},{"text":"saved checkpoint for this reconstruction rather than starting from scratch on the images."},{"text":"A `checkpointDirectory` should be unique for each images folder."},{"text":""},{"text":"If set to an empty folder, the `checkpointDirectory` will be used to save checkpoints during processing to be"},{"text":"reused in a subsequent restart. If it is nil, no checkpoints will be used or saved and every reconstruction"},{"text":"will start from scratch on the images folder."},{"text":""},{"text":"If `checkpointDirectory` is set but a found checkpoint is not compatible with the image folder or"},{"text":"other configuration settings, the session will also start from scratch and write new checkpoints into this"},{"text":"folder."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"checkpointDirectory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8activateAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","activate"],"names":{"title":"activate","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to activate itself."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","clip()"],"names":{"title":"clip()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clip"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"AppKit","lines":[{"text":"Modifies the current graphics context clipping path by intersecting it"},{"text":"with the graphical union of this list of rects"},{"text":"This permanently modifies the graphics state, so the current state should"},{"text":"be saved beforehand and restored afterwards."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clip"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11mipmapsModeAC07MipmapsH0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how mipmaps are handled for each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV15triangleIndicesAA0C6BufferVys6UInt32VGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleIndices","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Index buffer for triangles."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleIndices","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromAcA04MeshD0C_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateConvex(from:)"],"names":{"title":"generateConvex(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a convex shape from the given mesh."},{"text":""},{"text":"- Parameters:"},{"text":"- mesh: A mesh with the shape of the convex polyhedron. Use meshes with"},{"text":"a small number of vertices to avoid hurting performance."},{"text":""},{"text":"- Returns: The new shape."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"mesh","declarationFragments":[{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV5scale7textureAESf_AC0cD7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value or a texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear coating, like on a car or the surface of"},{"text":"lacquered objects. Use this initializer to create an object to"},{"text":"specify the amount of clearcoat for a material using a single value"},{"text":"for the entire material, a UV-mapped image to specify different"},{"text":"values for different parts of the entity, or both."},{"text":""},{"text":"The copied values for"},{"text":"``CustomMaterial/Clearcoat-swift.struct/scale`` and"},{"text":"``CustomMaterial/Clearcoat-swift.struct/texture`` are available in"},{"text":"the material’s surface shader function, regardless of the material’s"},{"text":"lighting model; however RealityKit only renders a clearcoat when"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the"},{"text":"material’s surface shader function calls"},{"text":"`params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the clearcoat"},{"text":"`scale` and `texture` in a surface shader function and use them to"},{"text":"calculate the final clearcoat value for rendering:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the base color tint from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":""},{"text":" // Retrieve the entity's primary texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from a USDZ of .reality file use texture coordinates"},{"text":" // with a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the clearcoat texture to get the value UV-mapped to this pixel."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the tint and the sampled value from the texture, and assign it"},{"text":" // to the shader's base color property."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat value for the entire material."},{"text":""},{"text":"- texture: The clearcoat values as the texture of a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The model component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/filter(_:)`` operator performs an operation similar to that of in the Swift Standard Library: it uses a closure to test each element to determine whether to republish the element to the downstream subscriber."},{"text":""},{"text":"The following example, uses a filter operation that receives an `Int` and only republishes a value if it’s even."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 4\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value indicating whether to republish the element."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation19CustomMaterialErrorO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError"],"names":{"title":"CustomMaterialError","navigator":[{"kind":"identifier","spelling":"CustomMaterialError"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterialError"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Errors generated when loading custom material functions."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterialError"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6removeyyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the anchor at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The anchor to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation10HasPhysicsP","interfaceLanguage":"swift"},"pathComponents":["HasPhysics"],"names":{"title":"HasPhysics","navigator":[{"kind":"identifier","spelling":"HasPhysics"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysics"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that combines the physics body and physics motion interfaces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysics"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasPhysicsBody","preciseIdentifier":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"HasPhysicsMotion","preciseIdentifier":"s:17RealityFoundation16HasPhysicsMotionP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation2oooiyAA14QueryPredicateVyxGAE_AEtlF","interfaceLanguage":"swift"},"pathComponents":["||(_:_:)"],"names":{"title":"||(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"||"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `left` OR `right` evaluates to `true`."}]},"functionSignature":{"parameters":[{"name":"left","declarationFragments":[{"kind":"identifier","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},{"name":"right","declarationFragments":[{"kind":"identifier","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"||"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"internalParam","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a 4x4 matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext with that rect's"},{"text":"associated color"},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like `NSRectFill()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, NSColor)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, NSColor)"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV8containsySbACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box contains the specified bounds."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box contains the specified"},{"text":"bounds."}]},"functionSignature":{"parameters":[{"name":"boundingBox","declarationFragments":[{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","trimmingPrefix(_:)"],"names":{"title":"trimmingPrefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Returns a new collection of the same type by removing initial elements"},{"text":"that satisfy the given predicate from the start."},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":"as its argument and returns a Boolean value indicating whether the"},{"text":"element should be removed from the collection."},{"text":"- Returns: A collection containing the elements of the collection that are"},{"text":" not removed by `predicate`."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Prefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Prefix","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"Prefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueAESi_tcfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromACSays5SIMD3VySfGG_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateConvex(from:)"],"names":{"title":"generateConvex(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a convex shape from the given points."},{"text":""},{"text":"- Parameters:"},{"text":"- points: An array of 3D points that define the convex polyhedron. Keep"},{"text":"the number of points small to avoid hurting performance."},{"text":""},{"text":"- Returns: The new shape."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"points","declarationFragments":[{"kind":"identifier","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","interfaceLanguage":"swift"},"pathComponents":["AudioEvents","PlaybackCompleted"],"names":{"title":"AudioEvents.PlaybackCompleted","navigator":[{"kind":"identifier","spelling":"PlaybackCompleted"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Audio playback completed."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2id13materialIndexAESS_Sitcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","init(id:materialIndex:)"],"names":{"title":"init(id:materialIndex:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a new part."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The specular value for the entire entity or a multiplier for values"},{"text":"sampled from the material’s texture."},{"text":""},{"text":"If ``CustomMaterial/Specular-swift.struct/texture`` is `nil`,"},{"text":"RealityKit uses this value for the opacity of the entire material."},{"text":"If ``CustomMaterial/Specular-swift.struct/texture`` isn’t `nil`,"},{"text":"RealityKit multiplies the value sampled from"},{"text":"``CustomMaterial/Specular-swift.struct/texture`` by this property to"},{"text":"calculate the final opacity values."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASo10simd_quatfaRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of quaternions in which each element represents a discrete"},{"text":"state of the animated property at a given point in the animation’s"},{"text":"timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of quaternions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation14QueryPredicateV3hasyACyAA6EntityCGqd__mAA9ComponentRd__lFZ","interfaceLanguage":"swift"},"pathComponents":["QueryPredicate","has(_:)"],"names":{"title":"has(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new predicate that describes entities that have a specific"},{"text":"component."},{"text":""},{"text":"To create a `has` predicate, pass the component class’s `self` property."},{"text":""},{"text":"```swift"},{"text":"let myPredicate = QueryPredicate.has(ModelComponent.self)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - t: The type of component."},{"text":""},{"text":"- Returns: A predicate that describes entities with a specified"},{"text":"component."}]},"functionSignature":{"parameters":[{"name":"t","declarationFragments":[{"kind":"identifier","spelling":"t"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0},{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"t"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitEntityAA0H0Cvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitEntity"],"names":{"title":"hitEntity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity that was hit by the character controller."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyP","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody"],"names":{"title":"HasPhysicsBody","navigator":[{"kind":"identifier","spelling":"HasPhysicsBody"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsBody"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables physics simulations based on the rules of"},{"text":"Newtonian mechanics."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsBody"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasCollision","preciseIdentifier":"s:17RealityFoundation12HasCollisionP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionP","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsMotion"],"names":{"title":"HasPhysicsMotion","navigator":[{"kind":"identifier","spelling":"HasPhysicsMotion"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsMotion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides velocity properties for physics simulations."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsMotion"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueCyA2E10DescriptorVKcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a new drawable queue."},{"text":""},{"text":"- Parameter descriptor: A descriptor object that describes the texture to be created."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfyx_tSTRzAA12HasAnchoring7ElementRpzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds anchors from a sequence to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The sequence of anchor entities to add."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"S.Element","rhs":"HasAnchoring","rhsPrecise":"s:17RealityFoundation12HasAnchoringP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8BindPathV5partsSayAC4PartOGvp","interfaceLanguage":"swift"},"pathComponents":["BindPath","parts"],"names":{"title":"parts","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of the individual components of a complete bind path."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an unlit material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV8containsySbs5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box contains the specified point."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box contains the specified"},{"text":"point."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","RawValue"],"names":{"title":"AccessibilityComponent.SupportedActions.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC10convexCast0D5Shape12fromPosition0G11Orientation02toH00jI05query4mask10relativeToSayAA09CollisionE3HitVGAA0F8ResourceC_s5SIMD3VySfGSo10simd_quatfaAtvA0oE9QueryTypeOAA0O5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)"],"names":{"title":"convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convexCast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex shape cast against all the geometry in the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - convexShape: The convex shape to cast."},{"text":""},{"text":"- fromPosition: The starting position of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- fromOrientation: The starting orientation of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- toPosition: The ending position of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- toOrientation: The ending orientation of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":" - query: The query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the convex shape, starting at a given point and traveling in a"},{"text":"given direction, collides with entities in the scene. To retrieve the"},{"text":"hit entity from a returned ``CollisionCastHit``, use the"},{"text":"``CollisionCastHit/entity`` property."},{"text":""},{"text":"For objects that intersect the convex shape at its starting position and"},{"text":"orientation, the returned collision cast hit result’s"},{"text":"``CollisionCastHit/position`` is `(0, 0, 0)` and the"},{"text":"``CollisionCastHit/normal`` points in the opposite direction of the"},{"text":"sweep."}]},"functionSignature":{"parameters":[{"name":"convexShape","declarationFragments":[{"kind":"identifier","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},{"name":"fromPosition","declarationFragments":[{"kind":"identifier","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"fromOrientation","declarationFragments":[{"kind":"identifier","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"toPosition","declarationFragments":[{"kind":"identifier","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"toOrientation","declarationFragments":[{"kind":"identifier","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convexCast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance between two indices."},{"text":""},{"text":"Unless the collection conforms to the `BidirectionalCollection` protocol,"},{"text":"`start` must be less than or equal to `end`."},{"text":""},{"text":"- Parameters:"},{"text":" - start: A valid index of the collection."},{"text":" - end: Another valid index of the collection. If `end` is equal to"},{"text":" `start`, the result is zero."},{"text":"- Returns: The distance between `start` and `end`. The result can be"},{"text":" negative only if the collection conforms to the"},{"text":" `BidirectionalCollection` protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the"},{"text":" resulting distance."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part"],"names":{"title":"BindPath.Part","navigator":[{"kind":"identifier","spelling":"Part"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An individual piece of a larger path that refers to the target of an"},{"text":"animation."},{"text":""},{"text":"Path-based instances of ``AnimationDefinition/bindTarget``, or those"},{"text":"identified by the ``BindTarget/path(_:)`` call, consist of one or more"},{"text":"components identified by these enumeration options."},{"text":""},{"text":"For example, the succession of ``BindPath/Part`` calls in the following"},{"text":"code results in a path with a ``BindPath/parts`` array that contains"},{"text":"three components: `entityA`, `entityB`, and `myInt`."},{"text":""},{"text":"```swift"},{"text":"let target3: BindTarget = .entity(\"entityA\").entity(\"entityB\").parameter(\"myInt\")"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation1nopyAA14QueryPredicateVyxGAElF","interfaceLanguage":"swift"},"pathComponents":["!(_:)"],"names":{"title":"!(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `operand` evaluates to `false`."}]},"functionSignature":{"parameters":[{"name":"operand","declarationFragments":[{"kind":"identifier","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materials15collisionShapes4massAcA12MeshResourceC_SayAA8Material_pGSayAA05ShapeK0CGSftcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:collisionShapes:mass:)"],"names":{"title":"init(mesh:materials:collisionShapes:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"collisionShapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh, set of materials, a"},{"text":"composite collision shape, and mass."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."},{"text":""},{"text":" - collisionShapes: A collection of shape resources that define a composite collision shape."},{"text":""},{"text":" - mass: The mass of the model in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [], "},{"kind":"externalParam","spelling":"collisionShapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:)"],"names":{"title":"merge(with:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from two other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:)-5crqg``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:)-8d7k7``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":""},{"text":" // Prints: \"1 40 90 2 50 100\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO6streamyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","stream"],"names":{"title":"AudioFileResource.LoadingStrategy.stream","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stream"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stream data from disk, decoding in real time."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stream"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueSivp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-16rcy`` to return a new publisher that combines the elements from three other publishers to publish a tuple to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, several ``PassthroughSubject`` instances emit values; ``Publisher/zip(_:_:_:)-16rcy`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":" let fractionsPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" fractionsPub: 0.1 zip output: (1, \"A\", \"😀\", 0.1)"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: (2, \"B\", \"🥰\", 0.8)"},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\", 0.1)"},{"text":" // (2, \"B\", \"🥰\", 0.8)"},{"text":""},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(direction:from:)"],"names":{"title":"convert(direction:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of a reference entity"},{"text":"to the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector specified relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``OrbitAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``OrbitAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``OrbitAnimation/trimStart`` and ``OrbitAnimation/trimEnd`` are `nil`,"},{"text":"the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``OrbitAnimation/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``OrbitAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9decrementAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","decrement"],"names":{"title":"decrement","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decrement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to decrement the value of its content."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decrement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO7preloadyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","preload"],"names":{"title":"AudioFileResource.LoadingStrategy.preload","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preload"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Load and decode all the data into memory before playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preload"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8HasModelP","interfaceLanguage":"swift"},"pathComponents":["HasModel"],"names":{"title":"HasModel","navigator":[{"kind":"identifier","spelling":"HasModel"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasModel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides meshes and materials to define the visual"},{"text":"appearance of an entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasModel"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC15reverbSendLevelSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","reverbSendLevel"],"names":{"title":"reverbSendLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbSendLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The send level in decibels from the playback controller to the reverb"},{"text":"system."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbSendLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isStoppedSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isStopped"],"names":{"title":"isStopped","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStopped"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation stopped."},{"text":""},{"text":"This function returns `true` for stopped animations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStopped"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that changes the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s ``SampledAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV8blendingAA015PhysicallyBasedD0V8BlendingOvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","blending"],"names":{"title":"blending","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparency options for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5unionyA2CF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box containing the current bounds and the specified"},{"text":"bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another bounding box."},{"text":""},{"text":"- Returns: The new bounding box."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO3rawyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","raw"],"names":{"title":"TextureResource.Semantic.raw","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture unmodified."},{"text":""},{"text":"For texture properties that use the `raw` semantic, the number of"},{"text":"channels and values is the same as the source image. If the source"},{"text":"image contains color space information, RealityKit ignores it. For"},{"text":"`raw` textures, each individual pixel containes one floating-point"},{"text":"value between `0.0` and `1.0` for each channel in the source image."},{"text":"For example, a grayscale source image results in a texture that"},{"text":"contains one value per pixel, and an RGB source image results in"},{"text":"three values per pixel."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGSayAA0C10DescriptorVG_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateAsync(from:)"],"names":{"title":"generateAsync(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from a list of mesh descriptors asynchronously."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"descriptors","declarationFragments":[{"kind":"identifier","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. Use this initializer to"},{"text":"create an object to specify the amount of clearcoat for a material"},{"text":"using a single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The clearcoat value to use for the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9formUnionyyACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Expands the bounding box to contain the specified bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another bounding box."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6limitsAC6LimitsVvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","limits"],"names":{"title":"limits","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"limits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Limits","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Observer for the device-specific constant hardware limits for reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"limits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Limits","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two components of a"},{"text":"bind path are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The component of the bind path on the left side of the operator."},{"text":""},{"text":" - rhs: The component of the bind path on the right side of the"},{"text":"operator."},{"text":""},{"text":"- Returns: Returns `true` if the components of the bind path are"},{"text":"equal. Otherwise, returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGSaySfGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationVAEycfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a configuration using default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO15jointTransformsyA2EmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","jointTransforms"],"names":{"title":"BindPath.Part.jointTransforms","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate joint transforms."},{"text":""},{"text":"This path component terminates an array of components, and at the"},{"text":"same time specifies the entity's joint transforms that animate."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO21automaticDownsamplingyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","automaticDownsampling"],"names":{"title":"PhotogrammetrySession.Output.automaticDownsampling","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"automaticDownsampling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session reduced the image size because of memory constraints."},{"text":""},{"text":"If ``PhotogrammetrySession`` encounters serious resource constraints during the"},{"text":"object-creation process, it attempts to reduce memory usage by creating scaled-down copies"},{"text":"of the sample images, and publishes this message."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"automaticDownsampling"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO5coloryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","color"],"names":{"title":"TextureResource.Semantic.color","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store colors data."},{"text":""},{"text":"Properties that specify a semantic of `color` use the RGB color data"},{"text":"from the texture. If the source image contains color space"},{"text":"information, RealityKit modifies the individual pixels to fit the"},{"text":"color space. If the source image is grayscale, RealityKit converts"},{"text":"it to an RGB image first."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlE8elements7indicesACySfGSaySfG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls a closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Combine’s ``Publisher/compactMap(_:)`` operator performs a function similar to that of in the Swift standard library: the ``Publisher/compactMap(_:)`` operator in Combine removes `nil` elements in a publisher’s stream and republishes non-`nil` elements to the downstream subscriber."},{"text":""},{"text":"The example below uses a range of numbers as the source for a collection based publisher. The ``Publisher/compactMap(_:)`` operator consumes each element from the `numbers` publisher attempting to access the dictionary using the element as the key. If the example’s dictionary returns a `nil`, due to a non-existent key, ``Publisher/compactMap(_:)`` filters out the `nil` (missing) elements."},{"text":""},{"text":" let numbers = (0...5)"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .compactMap { romanNumeralDict[$0] }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"I II III V\""},{"text":""},{"text":"- Parameter transform: A closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of the calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO9transformyA2EmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","transform"],"names":{"title":"BindPath.Part.transform","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate a transform."},{"text":""},{"text":"This path component terminates an array of paths, and at the same"},{"text":"time specifies a transform that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO6scalaryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","scalar"],"names":{"title":"TextureResource.Semantic.scalar","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scalar"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store a single value in each pixel."},{"text":""},{"text":"Properties that specify a semantic of `scalar` use the texture to"},{"text":"store a single floating point value in each pixel. If the texture’s"},{"text":"source is an RGB image, the property uses only the red channel"},{"text":"value."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scalar"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV11hitPositions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitPosition"],"names":{"title":"hitPosition","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hit position relative to physics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC04nextE0AC0E0CyKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","nextDrawable()"],"names":{"title":"nextDrawable()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nextDrawable"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Waits until a drawable is available and then returns it. This call can block the calling thread while waiting."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nextDrawable"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionP","interfaceLanguage":"swift"},"pathComponents":["HasCollision"],"names":{"title":"HasCollision","navigator":[{"kind":"identifier","spelling":"HasCollision"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasCollision"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface used for ray casting and collision detection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasCollision"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO6normalyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","normal"],"names":{"title":"TextureResource.Semantic.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store surface normals."},{"text":""},{"text":"Properties that specify a semantic of `normal` use the texture to"},{"text":"store tangent-space surface normal vectors for use in lighting"},{"text":"calculations. Each pixel’s `R` channel stores the `X` value from the"},{"text":"vector. The `G` channel stores the `Y` value from the vector, and"},{"text":"the `B` channel stores the `Z` value from the vector. All values are"},{"text":"between `-1.0` and `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest"],"names":{"title":"LoadRequest","navigator":[{"kind":"identifier","spelling":"LoadRequest"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadRequest"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A resource loader that acts as a publisher."}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadRequest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Output"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","requestOwnership(timeout:_:)"],"names":{"title":"requestOwnership(timeout:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests ownership of the entity."},{"text":""},{"text":"Requesting ownership isn’t guaranteed to succeed."},{"text":""},{"text":"- Parameters:"},{"text":" - timeout: A time in seconds to wait before giving up."},{"text":""},{"text":"- callback: A closure that the method calls when the request completes"},{"text":"or times out."}]},"functionSignature":{"parameters":[{"name":"timeout","declarationFragments":[{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"callback","declarationFragments":[{"kind":"identifier","spelling":"callback"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 15, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"callback"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(normal:from:)"],"names":{"title":"convert(normal:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of a reference entity to"},{"text":"the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, specified"},{"text":"relative to specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackCompleted","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO8hdrColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hdrColor"],"names":{"title":"TextureResource.Semantic.hdrColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hdrColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store a high-dynamic range image."},{"text":""},{"text":"Properties that specify a semantic of `hdrColor` use the texture to"},{"text":"store high-dynamic range RGB color data. If the source image"},{"text":"contains color space information, RealityKit modifies the individual"},{"text":"pixels to fit the color space. If the source image is grayscale,"},{"text":"RealityKit converts it to an RGB image first."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hdrColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV6centers5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","center"],"names":{"title":"center","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"center"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The center of the bounding box."},{"text":""},{"text":"This value is (0, 0, 0) if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"center"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC010allowsNextE7TimeoutSbvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","allowsNextDrawableTimeout"],"names":{"title":"allowsNextDrawableTimeout","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allowsNextDrawableTimeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that determines whether requests for a new drawable expire if the system can’t satisfy them."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allowsNextDrawableTimeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV7textureAC0cD7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","EmissiveColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional image texture that defines the color of light emission."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9formUnionyys5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Expands the bounding box to contain the specified point."},{"text":""},{"text":"- Parameters:"},{"text":" - point: A point in space."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO9parameteryAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","parameter(_:)"],"names":{"title":"BindPath.Part.parameter(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate a named parameter."},{"text":""},{"text":"This path component terminates an array of paths, and at the same"},{"text":"time specifies a named scene or entity property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9SpotLightCACycfc","interfaceLanguage":"swift"},"pathComponents":["SpotLight","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a color or texture."},{"text":""},{"text":"In PBR rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. This initializer creates a new object"},{"text":"from a single value to describe the reflectiveness of the entire"},{"text":"material. This initializer creates a new object from a single value"},{"text":"or a grayscale image texture, or from both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `metallic` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, then RealityKit uses `scale` as the entire entity’s"},{"text":"reflectiveness. If you provide a color image for `texture` rather"},{"text":"than a grayscale image, RealityKit only uses the intensity of the"},{"text":"image’s red channel."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The"},{"text":"sphere on the left is shiny but dielecric so doesn’t reflect the"},{"text":"surrounding environment other than specular highlights from the"},{"text":"visible light. The sphere on the right is metallic and reflects all"},{"text":"of the surrounding environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-Metallic-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The reflectiveness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual representation of this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction","library"],"names":{"title":"library","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Metal Library containing the given function. Most often this is your"},{"text":"app's default library."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Clearcoat.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection"],"names":{"title":"MeshPartCollection","navigator":[{"kind":"identifier","spelling":"MeshPartCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshPartCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshPartCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow"],"names":{"title":"DirectionalLightComponent.Shadow","navigator":[{"kind":"identifier","spelling":"Shadow"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Shadow"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines shadow characteristics for a directional light."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Shadow"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Limits"],"names":{"title":"PhotogrammetrySession.Limits","navigator":[{"kind":"identifier","spelling":"Limits"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Limits"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Data structure to observe hardware limits for reconstruction. Note that these are specific to the device on which the"},{"text":"`PhotogrammetrySession` is run."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Limits"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4fade2to8durationySd_SdtF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","fade(to:duration:)"],"names":{"title":"fade(to:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fade"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transitions the gain to the given value over a time interval using a"},{"text":"linear curve."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"gain","declarationFragments":[{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fade"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8generate4fromACSayAA0C10DescriptorVG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generate(from:)"],"names":{"title":"generate(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from a list of mesh descriptors."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"descriptors","declarationFragments":[{"kind":"identifier","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:)-5crqg`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:)-8d7k7`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In this example, three instances of ``PassthroughSubject`` emit values; as ``Publisher/combineLatest(_:_:)-5crqg`` receives input from any of the upstream publishers, it combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9)."},{"text":" // Result: (3, 2, 9)."},{"text":" // Result: (3, 12, 9)."},{"text":" // Result: (13, 12, 9)."},{"text":" // Result: (13, 12, 19)."},{"text":""},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController"],"names":{"title":"VideoPlaybackController","navigator":[{"kind":"identifier","spelling":"VideoPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that controls the playback of video for a video material."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13skippedSampleyAESi_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","skippedSample(id:)"],"names":{"title":"PhotogrammetrySession.Output.skippedSample(id:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skippedSample"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of element used for Object Capture updates."},{"text":"The ``PhotogrammetrySample`` with the ``PhotogrammetrySample/id`` indicated was not able to be used for reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skippedSample"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0C0V5values5SIMD4VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Custom","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A custom vector that the framework sends to the material’s shader"},{"text":"functions."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use `combineLatest(_:,_:)` to combine the current and two additional publishers and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by three publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3) { firstValue, secondValue, thirdValue in"},{"text":" return firstValue * secondValue * thirdValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(10)"},{"text":""},{"text":" pub.send(9)"},{"text":" pub3.send(4)"},{"text":" pub2.send(12)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 40. // pub = 2, pub2 = 2, pub3 = 10"},{"text":" // Result: 180. // pub = 9, pub2 = 2, pub3 = 10"},{"text":" // Result: 72. // pub = 9, pub2 = 2, pub3 = 4"},{"text":" // Result: 432. // pub = 9, pub2 = 12, pub3 = 4"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-9yqi1`` to return a new publisher that combines the elements from two other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject`` that emit values; ``Publisher/zip(_:_:_:)-9yqi1`` receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(letters, emoji) { anInt, aLetter, anEmoji in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt))\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub:\"😀\", \"🥰\" zip output: \"🥰🥰 BB\""},{"text":""},{"text":" // Prints:"},{"text":" // 😀 A"},{"text":" // 🥰🥰 BB"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from three upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object from a custom material’s clearcoat"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s clearcoat property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO6entityyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","entity(_:)"],"names":{"title":"BindPath.Part.entity(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for a nested entity."},{"text":""},{"text":"This path component indicates that another component follows, which"},{"text":"either contains or identifies the property of the entity that"},{"text":"animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Always call this function instead of ``Publisher/receive(subscriber:)``."},{"text":"Adopters of ``Publisher`` must implement ``Publisher/receive(subscriber:)``. The implementation of ``Publisher/subscribe(_:)-4u8kn`` provided by ``Publisher`` calls through to ``Publisher/receive(subscriber:)``."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this publisher. After attaching, the subscriber can start to receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGAcAE8ContentsV_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateAsync(from:)"],"names":{"title":"generateAsync(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from contents asynchronously."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position immediately after the given index."},{"text":""},{"text":"- Parameters:"},{"text":"- i: A valid index of the collection. i must be less than endIndex."},{"text":""},{"text":"- Returns: The index value immediately after i."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(transform:from:)"],"names":{"title":"convert(transform:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of a reference entity to the local space of the entity on which"},{"text":"you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC6anchorAA12HasAnchoring_pSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","anchor"],"names":{"title":"anchor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The nearest ancestor entity that can act as an anchor."},{"text":""},{"text":"This property returns `nil` if no ancestor can act as an anchor. An"},{"text":"entity can act as an anchor if it adopts the ``HasAnchoring`` protocol."},{"text":"Just because an ancestor can be anchored doesn’t mean that it is."},{"text":"Inspect the ``Entity/isAnchored`` property to see if an entity (or one"},{"text":"of its ancestors) is anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13invalidSampleyAESi_SStcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","invalidSample(id:reason:)"],"names":{"title":"PhotogrammetrySession.Output.invalidSample(id:reason:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidSample"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"reason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A provided sample was invalid."},{"text":""},{"text":"- Parameters:"},{"text":" - id: The sample ID."},{"text":" - reason: The reason the sample is invalid."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidSample"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"reason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from single value."},{"text":""},{"text":"In PBR rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. This initializer creates a new object"},{"text":"from a single value to describe the reflectiveness of the entire"},{"text":"material. A value of 0.0 creates a _dielectric_ (or non-reflective)"},{"text":"material. Values greater than 0.0 result in an increasingly"},{"text":"_metallic_ (or reflective) materials."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The"},{"text":"sphere on the left is shiny but dielecric so doesn’t reflect the"},{"text":"surrounding environment other than specular highlights from the"},{"text":"visible light. The sphere on the right is metallic and reflects all"},{"text":"of the surrounding environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-Metallic-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The reflectiveness value for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGqd__cSTRd__Sf7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackLooped","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO12anchorEntityyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","anchorEntity(_:)"],"names":{"title":"BindPath.Part.anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for the scene's anchor entity."},{"text":""},{"text":"This path component indicates that another component follows, which"},{"text":"either contains or identifies the property of the entity that"},{"text":"animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A9TransformVRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of transforms in which each element represents a discrete state"},{"text":"of the target entity at a given point in the animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of tranforms."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements up to the specified maximum count."},{"text":""},{"text":"Use ``Publisher/prefix(_:)`` to limit the number of elements republished to the downstream subscriber."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(_:)`` operator limits its output to the first two elements before finishing normally:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .prefix(2)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to republish."},{"text":"- Returns: A publisher that publishes up to the specified number of elements."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","withUnsynchronized(_:)"],"names":{"title":"withUnsynchronized(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"(() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calls the given closure in a way such that component changes that the"},{"text":"closure makes don’t trigger synchronization."},{"text":""},{"text":"Use this method to make local changes that don’t affect remote peers,"},{"text":"like aligning a billboard component to face the local camera."},{"text":""},{"text":"Using this method doesn’t permanently prevent changes from being"},{"text":"synchronized. If you modify the same components immediately before the"},{"text":"call to ``HasSynchronization/withUnsynchronized(_:)``, or anytime"},{"text":"afterward, the changes are synchronized."},{"text":""},{"text":"If the local peer doesn’t own the associated entity, changes that the"},{"text":"remote owner makes continue to synchronize, overwriting local,"},{"text":"unsynchronized changes."},{"text":""},{"text":"- Parameters:"},{"text":"- changes: A closure that the method calls while suppressing"},{"text":"synchronization triggers."}]},"functionSignature":{"parameters":[{"name":"changes","declarationFragments":[{"kind":"identifier","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assertNoFailure(_:file:line:)"],"names":{"title":"assertNoFailure(_:file:line:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a fatal error when its upstream publisher fails, and otherwise republishes all received input."},{"text":""},{"text":"Use `assertNoFailure()` for internal integrity checks that are active during testing. However, it is important to note that, like its Swift counterpart `fatalError(_:)`, the `assertNoFailure()` operator asserts a fatal exception when triggered during development and testing, _and_ in shipping versions of code."},{"text":""},{"text":"In the example below, a `CurrentValueSubject` publishes the initial and second values successfully. The third value, containing a `genericSubjectError`, causes the `assertNoFailure()` operator to assert a fatal exception stopping the process:"},{"text":""},{"text":" public enum SubjectError: Error {"},{"text":" case genericSubjectError"},{"text":" }"},{"text":""},{"text":" let subject = CurrentValueSubject(\"initial value\")"},{"text":" subject"},{"text":" .assertNoFailure()"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0).\") }"},{"text":" )"},{"text":""},{"text":" subject.send(\"second value\")"},{"text":" subject.send(completion: Subscribers.Completion.failure(SubjectError.genericSubjectError))"},{"text":""},{"text":" // Prints:"},{"text":" // value: initial value."},{"text":" // value: second value."},{"text":" // The process then terminates in the debugger as the assertNoFailure operator catches the genericSubjectError."},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string used at the beginning of the fatal error message."},{"text":" - file: A filename used in the error message. This defaults to `#file`."},{"text":" - line: A line number used in the error message. This defaults to `#line`."},{"text":"- Returns: A publisher that raises a fatal error when its upstream publisher fails."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"file","declarationFragments":[{"kind":"identifier","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"}]},{"name":"line","declarationFragments":[{"kind":"identifier","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#file"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#line"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id11descriptorsAESS_SayAA0C10DescriptorVGtKcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","init(id:descriptors:)"],"names":{"title":"init(id:descriptors:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"modelID"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:)"],"names":{"title":"init(mesh:materials:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh and set of materials."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation9SpotLightC","interfaceLanguage":"swift"},"pathComponents":["SpotLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A spotlight component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9incrementAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","increment"],"names":{"title":"increment","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increment"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to increment the value of its content."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increment"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryCompactMap(_:)"],"names":{"title":"tryCompactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls an error-throwing closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Use ``Publisher/tryCompactMap(_:)`` to remove `nil` elements from a publisher’s stream based on an error-throwing closure you provide. If the closure throws an error, the publisher cancels the upstream publisher and sends the thrown error to the downstream subscriber as a ``Publisher/Failure``."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection-based publisher. A ``Publisher/tryCompactMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform the numbers from its Arabic to Roman numerals, as an optional ."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` fails to look up a Roman numeral, it returns the optional String `(unknown)`."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` determines the input is `0`, it throws an error. The ``Publisher/tryCompactMap(_:)`` operator catches this error and stops publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from: Int) throws -> String? {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 4: \"IV\", 5: \"V\"]"},{"text":" guard from != 0 else { throw ParseError() }"},{"text":" return romanNumeralDict[from]"},{"text":" }"},{"text":" let numbers = [6, 5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryCompactMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(Unknown) V IV III II I failure(ParseError())\""},{"text":""},{"text":"- Parameter transform: An error-throwing closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14QueryPredicateV","interfaceLanguage":"swift"},"pathComponents":["QueryPredicate"],"names":{"title":"QueryPredicate","navigator":[{"kind":"identifier","spelling":"QueryPredicate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryPredicate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the criteria for an entity query."},{"text":""},{"text":"Query predicates specify the entities an ``EntityQuery`` returns from a"},{"text":"scene. Predicates describe entities based on which components they contain,"},{"text":"or on the entity’s relationship to other entities in the scene. For example,"},{"text":"you can build a predicate to retrieve the model entities from a scene."},{"text":""},{"text":"```swift"},{"text":"let modelPredicate = QueryPredicate.has(ModelComponent.self)"},{"text":"```"},{"text":""},{"text":"## Create Compound Predicates"},{"text":""},{"text":"You can combine predicates using Swift’s logical operators to create"},{"text":"compound predicates. ``QueryPredicate`` supports Swift’s logical `AND`"},{"text":"(`&&`), logical `OR` (`||`), and logical `NOT` (`!`) operators. The"},{"text":"following code shows how to build a compound predicate that returns all"},{"text":"entities that are either model entities or anchor entities."},{"text":""},{"text":"```swift"},{"text":"let orPredicate = QueryPredicate.has(ModelComponent.self) ||"},{"text":"QueryPredicate.has(AnchorComponent.self) ```"},{"text":""},{"text":"Use parentheses to control the order of operations when combining"},{"text":"predicates. For example, you can create a query that returns any entity that"},{"text":"has both a model component and a physics body component, or any entity that"},{"text":"has only an anchor component."},{"text":""},{"text":"```swift"},{"text":"let multiPredicate: QueryPredicate ="},{"text":".has(ModelComponent.self) && .has(PhysicsBodyComponent.self)"},{"text":" || .has(AnchorComponent.self)"},{"text":""},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryPredicate"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isPlayingSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isPlaying"],"names":{"title":"isPlaying","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation plays."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the bounding box is empty."},{"text":""},{"text":"This value is `true` if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationGroup/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryFilter(_:)"],"names":{"title":"tryFilter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryFilter(_:)`` to filter elements evaluated in an error-throwing closure. If the `isIncluded` closure throws an error, the publisher fails with that error."},{"text":""},{"text":"In the example below, ``Publisher/tryFilter(_:)`` checks to see if the element provided by the publisher is zero, and throws a `ZeroError` before terminating the publisher with the thrown error. Otherwise, it republishes the element only if it's even:"},{"text":""},{"text":" struct ZeroError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"2 4 failure(DivisionByZeroError())\"."},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value that indicated whether to republish the element or throws an error."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV14boundingRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","boundingRadius"],"names":{"title":"boundingRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The radius of a bounding sphere that encompasses the bounding box."},{"text":""},{"text":"This value is 0 if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5unionyACs5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box containing the current bounds and the specified"},{"text":"point."},{"text":""},{"text":"- Parameters:"},{"text":" - point: A point in space."},{"text":""},{"text":"- Returns: The new bounding box."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``SampledAnimation/trimStart`` instead and choose a"},{"text":"``SampledAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath"],"names":{"title":"BindTarget.EntityPath","navigator":[{"kind":"identifier","spelling":"EntityPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind path context for a particular entity."},{"text":""},{"text":"This structure references all the animated properties of an entity."},{"text":""},{"text":"To access the animated properties of one of the entity's children, call"},{"text":"``BindTarget/EntityPath/entity(_:)`` and pass in the child's name."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions"],"names":{"title":"TextureResource.CreateOptions","navigator":[{"kind":"identifier","spelling":"CreateOptions"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CreateOptions"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds texture resource creation options."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CreateOptions"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormatSo08MTLPixelI0Vvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","pixelFormat"],"names":{"title":"pixelFormat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The size and bit layout of all pixels in each drawable's texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(position:to:)"],"names":{"title":"convert(position:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlE8elements7indicesACyAEGSayAEG_AItcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryContains(where:)"],"names":{"title":"tryContains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the throwing predicate closure."},{"text":""},{"text":"Use ``Publisher/tryContains(where:)`` to find the first element in an upstream that satisfies the error-throwing closure you provide."},{"text":""},{"text":"This operator consumes elements produced from the upstream publisher until the upstream publisher either:"},{"text":""},{"text":"- Produces a matching element, after which it emits `true` and the publisher finishes normally."},{"text":"- Emits `false` if no matching element is found and the publisher finishes normally."},{"text":""},{"text":"If the predicate throws an error, the publisher fails, passing the error to its downstream."},{"text":""},{"text":"In the example below, the ``Publisher/tryContains(where:)`` operator tests values to find an element less than `10`; when the closure finds an odd number, like `3`, the publisher terminates with an `IllegalValueError`."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers = [3, 2, 10, 5, 0, 9]"},{"text":" numbers.publisher"},{"text":" .tryContains {"},{"text":" if ($0 % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return $0 < 10"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14SimpleMaterialV","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","Parameters"],"names":{"title":"SimpleMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials"],"names":{"title":"MeshDescriptor.Materials","navigator":[{"kind":"identifier","spelling":"Materials"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Materials"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Materials"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV08boundingE0AA0dE0Vvp","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","boundingBox"],"names":{"title":"boundingBox","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Axis aligned bounding box"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-8d7k7`` to return a new publisher that combines the elements from two additional publishers to publish a tuple to the downstream. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject``;"},{"text":"``Publisher/zip(_:_:)-8d7k7`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" zip output: (1, \"A\", \"😀\")"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub: zip output: (2, \"B\", \"🥰\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\")"},{"text":" // (2, \"B\", \"🥰\")"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO3lityA2EmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","lit"],"names":{"title":"CustomMaterial.LightingModel.lit","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lit"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity renders using physically based rendering techniques"},{"text":"without a clearcoat."},{"text":""},{"text":"A custom material using the"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` lighting model uses"},{"text":"physically based rendering techniques, but doesn’t render a"},{"text":"clearcoat. If a ``CustomMaterial/LightingModel-swift.enum/lit``"},{"text":"material’s surface shader calls `params.surface().set_clearcoat()`"},{"text":"or `params.surface().set_clearcoat_roughness(),` ReallityKit ignores"},{"text":"it."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lit"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the source animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath"],"names":{"title":"BindTarget.ScenePath","navigator":[{"kind":"identifier","spelling":"ScenePath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ScenePath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind path for a particular scene."},{"text":""},{"text":"This structure defines an absolute bind path for a scene. You determine"},{"text":"the scene that a particular instance references by specifying the"},{"text":"scene's name as the argument to ``BindPath/Part/scene(_:)``."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ScenePath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","interfaceLanguage":"swift"},"pathComponents":["Component","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackCompleted"],"names":{"title":"AnimationEvents.PlaybackCompleted","navigator":[{"kind":"identifier","spelling":"PlaybackCompleted"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an animation reaches the end of its duration."},{"text":""},{"text":"This event isn’t triggered if you call the"},{"text":"``AnimationPlaybackController/stop()`` method on a playback controller."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackLooped"],"names":{"title":"AnimationEvents.PlaybackLooped","navigator":[{"kind":"identifier","spelling":"PlaybackLooped"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackLooped"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an animation loops."},{"text":""},{"text":"You loop animation playback by creating an ``AnimationResource``"},{"text":"instance from an existing one with either the"},{"text":"``AnimationResource/repeat(count:)`` or the"},{"text":"``AnimationResource/repeat(duration:)`` method."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackLooped"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC9isPlayingSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","isPlaying"],"names":{"title":"isPlaying","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether playback is currently active."},{"text":""},{"text":"You may experience a small delay between when you call the"},{"text":"``AudioPlaybackController/play()`` method and when the"},{"text":"``AudioPlaybackController/isPlaying`` property reports `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","print(_:to:)"],"names":{"title":"print(_:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prints log messages for all publishing events."},{"text":""},{"text":"Use ``Publisher/print(_:to:)`` to log messages the console."},{"text":""},{"text":"In the example below, log messages are printed on the console:"},{"text":""},{"text":" let integers = (1...2)"},{"text":" cancellable = integers.publisher"},{"text":" .print(\"Logged a message\", to: nil)"},{"text":" .sink { _ in }"},{"text":""},{"text":" // Prints:"},{"text":" // Logged a message: receive subscription: (1..<2)"},{"text":" // Logged a message: request unlimited"},{"text":" // Logged a message: receive value: (1)"},{"text":" // Logged a message: receive finished"},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string —- which defaults to empty -— with which to prefix all log messages."},{"text":" - stream: A stream for text output that receives messages, and which directs output to the console by default. A custom stream can be used to log messages to other destinations."},{"text":"- Returns: A publisher that prints log messages for all publishing events."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"to","internalName":"stream","declarationFragments":[{"kind":"identifier","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","GeometryModifier"],"names":{"title":"CustomMaterial.GeometryModifier","navigator":[{"kind":"identifier","spelling":"GeometryModifier"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"GeometryModifier"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The custom material’s optional shader function that can manipulate an"},{"text":"entity’s vertex data."},{"text":""},{"text":"A geometry modifier is an optional Metal function that you can use with"},{"text":"custom materials. Use a geometry modifier to change vertex data, such as"},{"text":"vertex position, color, or texture coordinates. For example, offsetting"},{"text":"a vertex’s position changes the size and shape of the entity for"},{"text":"rendering only. If your custom material has a geometry modifier,"},{"text":"RealityKit’s custom material vertex shader calls it once for each vertex"},{"text":"in the entity. Changes that your geometry modifier makes are transient"},{"text":"and don’t affect the vertex positions of the original ``ModelEntity``."},{"text":""},{"text":"Here’s a simple example of a geometry modifier that offsets the vertex"},{"text":"positions along the Z axis based on the elapsed time:"},{"text":""},{"text":"```other"},{"text":"#include "},{"text":"#include "},{"text":"using namespace metal;"},{"text":""},{"text":"[[visible]] void myGeometryModifier(realitykit::geometry_parameters"},{"text":"params) {"},{"text":" float3 zOffset = float3(0.0, 0.0, params.uniforms().time() / 50.0);"},{"text":" params.geometry().set_world_position_offset(zOffset);"},{"text":"} ```"},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"GeometryModifier"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id5partsAESS_SayAcAE4PartVGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","init(id:parts:)"],"names":{"title":"init(id:parts:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE7isValidSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isValid"],"names":{"title":"isValid","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isValid"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation controller is"},{"text":"functional."},{"text":""},{"text":"This function returns `false` for stopped animations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isValid"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Metallic.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO9clearcoatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","clearcoat"],"names":{"title":"CustomMaterial.LightingModel.clearcoat","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity renders using physically based rendering techniques with"},{"text":"a clearcoat."},{"text":""},{"text":"A custom material using the"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` lighting model"},{"text":"uses physically based rendering, including a clearcoat if the"},{"text":"material’s surface shader calls `params.surface().set_clearcoat()`."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationDefinition/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LightingModel","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitNormals5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitNormal"],"names":{"title":"hitNormal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hit normal relative to physics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a metallic object from a custom material’s metallic"},{"text":"property."},{"text":""},{"text":"In PBR rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. This initializer creates a new object"},{"text":"from the ``CustomMaterial/metallic-swift.property`` property of a"},{"text":"``CustomMaterial``."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s metallic property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO5unlityA2EmF","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel","unlit"],"names":{"title":"CustomMaterial.LightingModel.unlit","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unlit"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity renders with no light or shadow calculations."},{"text":""},{"text":"A custom material that uses the unlit lighting model renders much"},{"text":"like an entity with an ``UnlitMaterial``. Custom materials using"},{"text":"``CustomMaterial/LightingModel-swift.enum/unlit`` don’t respond to"},{"text":"lights in the scene. Use this lighting model for user interface"},{"text":"elements or other elements where visibility is more important than"},{"text":"fitting in to the environment."},{"text":""},{"text":"The surface shader for a custom material has access to all of the"},{"text":"custom material’s properties as inputs, but only renders based on"},{"text":"the value passed to `params.surface().set_emissive_color()`."},{"text":"RealityKit ignores any other property your shader sets on"},{"text":"`params.surface().`"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unlit"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO4pathyAcA0C4PathVcACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","path(_:)"],"names":{"title":"BindTarget.path(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"path"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a complex bind path capable of animating additional entities"},{"text":"other than the current entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"path"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC10shouldLoopSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","shouldLoop"],"names":{"title":"shouldLoop","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean you set to indicate whether the resource loops during"},{"text":"playback."},{"text":""},{"text":"Set this value to true to tell the associated"},{"text":"``AudioPlaybackController`` instance to loop playback indefinitely. You"},{"text":"typically do this with resources prepared specifically to loop from the"},{"text":"end back to the beginning without audible interruptions (seamless"},{"text":"loops). This lets you create ambient sound that never ends, for example."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives"],"names":{"title":"MeshDescriptor.Primitives","navigator":[{"kind":"identifier","spelling":"Primitives"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Primitives"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Primitives"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5input13configurationACx_AC13ConfigurationVtKcSTRzAA0C6SampleV7ElementRtzlufc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","init(input:configuration:)"],"names":{"title":"init(input:configuration:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"input"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a session from a sequence of samples."},{"text":""},{"text":"Creates a new session instance from a custom sequence of ``PhotogrammetrySample`` objects by iterating"},{"text":"over the provided object."},{"text":""},{"text":"The constructor will only use `makeIterator()` on `input` and will then iterate through the sequence"},{"text":"only once. A provided iterator should be lazy, or a lazy and map used."},{"text":""},{"text":"- Parameter input: the input `Sequence` that will be iterated once to yield all input data."},{"text":"- Parameter configuration: the session-wide configuration to use for this session."},{"text":""},{"text":"- Note: To minimize memory usage, use lazy sequences that only create a ``PhotogrammetrySample`` as it iterates by making calls to `next()` on its associated"},{"text":" ."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"PhotogrammetrySample","rhsPrecise":"s:17RealityFoundation20PhotogrammetrySampleV"}]},"declarationFragments":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"input"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":" = Configuration()) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySample","preciseIdentifier":"s:17RealityFoundation20PhotogrammetrySampleV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotation11translationACSo10simd_quatfa_s5SIMD3VySfGtF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(rotation:translation:)"],"names":{"title":"offsetBy(rotation:translation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a rotation and a translation."},{"text":""},{"text":"- Parameters:"},{"text":" - rotation: The rotation to apply to the existing shape resource."},{"text":""},{"text":"- translation: The translation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"rotation","declarationFragments":[{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"translation","declarationFragments":[{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" = simd_quatf(ix: 0, iy: 0, iz: 0, r: 1), "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3()) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(direction:to:)"],"names":{"title":"convert(direction:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of the entity on which"},{"text":"you called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProgressInfo"],"names":{"title":"PhotogrammetrySession.Output.ProgressInfo","navigator":[{"kind":"identifier","spelling":"ProgressInfo"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ProgressInfo"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"ProgressInfo includes the estimated remaining time and the progress stage during reconstruction."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ProgressInfo"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8semanticAC8SemanticOSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","semantic"],"names":{"title":"semantic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended usage of the texture resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the predicate closure."},{"text":""},{"text":"Use ``Publisher/contains(where:)`` to find the first element in an upstream that satisfies the closure you provide. This operator consumes elements produced from the upstream publisher until the upstream publisher produces a matching element."},{"text":""},{"text":"This operator is useful when the upstream publisher produces elements that don’t conform to `Equatable`."},{"text":""},{"text":"In the example below, the ``Publisher/contains(where:)`` operator tests elements against the supplied closure and emits `true` for the first elements that’s greater than `4`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains {$0 > 4}"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryPrefix(while:)"],"names":{"title":"tryPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while an error-throwing predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/tryPrefix(while:)`` to emit values from the upstream publisher that meet a condition you specify in an error-throwing closure."},{"text":"The publisher finishes when the closure returns `false`. If the closure throws an error, the publisher fails with that error."},{"text":""},{"text":" struct OutOfRangeError: Error {}"},{"text":""},{"text":" let numbers = (0...10).reversed()"},{"text":" cancellable = numbers.publisher"},{"text":" .tryPrefix {"},{"text":" guard $0 != 0 else {throw OutOfRangeError()}"},{"text":" return $0 <= numbers.max()!"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"10 9 8 7 6 5 4 3 2 1 completion: failure(OutOfRangeError()) \""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value indicating whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate throws or indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","Iterator","Element"],"names":{"title":"PhotogrammetrySession.Outputs.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO15jointTransformsyA2CmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","jointTransforms"],"names":{"title":"BindTarget.jointTransforms","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that specifies that the entity's joint transforms animate."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation2aaoiyAA14QueryPredicateVyxGAE_AEtlF","interfaceLanguage":"swift"},"pathComponents":["&&(_:_:)"],"names":{"title":"&&(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `left` AND `right` evaluate to `true`."}]},"functionSignature":{"parameters":[{"name":"left","declarationFragments":[{"kind":"identifier","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},{"name":"right","declarationFragments":[{"kind":"identifier","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"internalParam","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19stitchingIncompleteyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","stitchingIncomplete"],"names":{"title":"PhotogrammetrySession.Output.stitchingIncomplete","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stitchingIncomplete"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The session reconstruction could not fully stitch all images of the object."},{"text":""},{"text":"This may indicate that sections of the reconstructed model (such as the bottom after a flip) are incomplete."},{"text":"This may occur if a non-rigid object is flipped such that its shape subtly changes before and after the flip or if an object"},{"text":"is shiny and lighting causes highlight changes across a flip. It is recommended that users are reminded of proper"},{"text":"object and environment selection if this message is output, and that they check their model for potential issues."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stitchingIncomplete"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV4nameACSS_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","init(name:)"],"names":{"title":"init(name:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create an empty mesh descriptor."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9parameteryACSScACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","parameter(_:)"],"names":{"title":"BindTarget.parameter(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a property that animates from the given textual name."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE7flatMapyAA017AsyncThrowingFlatC8SequenceVyxqd__Gqd__7ElementQzYaKcSciRd__lF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingFlatMapSequence","preciseIdentifier":"s:12_Concurrency28AsyncThrowingFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that concatenates the results of calling"},{"text":"the given error-throwing transformation with each element of this"},{"text":"sequence."},{"text":""},{"text":"Use this method to receive a single-level asynchronous sequence when your"},{"text":"transformation produces an asynchronous sequence for each element."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The transforming closure takes the received `Int`"},{"text":"and returns a new `Counter` that counts that high. For example, when the"},{"text":"transform receives `3` from the base sequence, it creates a new `Counter`"},{"text":"that produces the values `1`, `2`, and `3`. The `flatMap(_:)` method"},{"text":"\"flattens\" the resulting sequence-of-sequences into a single"},{"text":"`AsyncSequence`. However, when the closure receives `4`, it throws an"},{"text":"error, terminating the sequence."},{"text":""},{"text":" do {"},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .flatMap { (value) -> Counter in"},{"text":" if value == 4 {"},{"text":" throw MyError()"},{"text":" }"},{"text":" return Counter(howHigh: value)"},{"text":" }"},{"text":" for try await number in stream {"},{"text":" print(number, terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print(error)"},{"text":" }"},{"text":" // Prints \"1 1 2 1 2 3 MyError() \""},{"text":""},{"text":"- Parameter transform: An error-throwing mapping closure. `transform`"},{"text":" accepts an element of this sequence as its parameter and returns an"},{"text":" `AsyncSequence`. If `transform` throws an error, the sequence ends."},{"text":"- Returns: A single, flattened asynchronous sequence that contains all"},{"text":" elements in all the asynchronous sequences produced by `transform`. The"},{"text":" sequence ends either when the last sequence created from the last"},{"text":" element from base sequence ends, or when `transform` throws an error."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncThrowingFlatMapSequence","preciseIdentifier":"s:12_Concurrency28AsyncThrowingFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingFlatMapSequence","preciseIdentifier":"s:12_Concurrency28AsyncThrowingFlatMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AsyncSequence","preciseIdentifier":"s:Sci"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9transformyA2CmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","transform"],"names":{"title":"BindTarget.transform","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A option that specifies that the target entity's transform animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV4nextAC6OutputOSgyYaKF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Asynchronously advances to the next element and returns it, or ends the"},{"text":"sequence if there is no next element."},{"text":""},{"text":"- Returns: The next element, if it exists, or `nil` to signal the end of"},{"text":" the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19requestProgressInfoyAeC7RequestO_AE0gH0VtcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","requestProgressInfo(_:_:)"],"names":{"title":"PhotogrammetrySession.Output.requestProgressInfo(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestProgressInfo"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProgressInfo","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestProgressInfo"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Request","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProgressInfo","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryReduce(_:_:)"],"names":{"title":"tryReduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies an error-throwing closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/tryReduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on an error-throwing closure you provide."},{"text":"If the closure throws an error, the publisher fails and passes the error to its subscriber."},{"text":""},{"text":"In the example below, the publisher’s `0` element causes the `myDivide(_:_:)` function to throw an error and publish the result:"},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" var numbers: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" numbers.publisher"},{"text":" .tryReduce(numbers.first!, { accum, next in try myDivide(accum, next) })"},{"text":" .catch({ _ in Just(Double.nan) })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: An error-throwing closure that takes the previously-accumulated value and the next element from the upstream publisher to produce a new value."},{"text":""},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC5input13configurationAC0B03URLV_AC13ConfigurationVtKcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","init(input:configuration:)"],"names":{"title":"init(input:configuration:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"input"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a session from a specified directory of images."},{"text":""},{"text":"Creates a new session instance using all images in the specified input directory as samples for reconstruction."},{"text":""},{"text":"- Parameter input: the directory containing a folder of images to use as reconstruction inputs."},{"text":"- Parameter configuration: the configuration to use for this session."},{"text":""},{"text":"- Throws: if `input` is not a file ."}]},"declarationFragments":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"input"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":" = Configuration()) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy11translationACs5SIMD3VySfG_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(translation:)"],"names":{"title":"offsetBy(translation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a translation."},{"text":""},{"text":"- Parameters:"},{"text":"- translation: The translation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"translation","declarationFragments":[{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV19checkpointDirectoryAE0B03URLV_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","init(checkpointDirectory:)"],"names":{"title":"init(checkpointDirectory:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"checkpointDirectory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"checkpointDirectory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","none"],"names":{"title":"TextureResource.MipmapsMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Do not allocate mipmaps for the texture resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp::SYNTHESIZED::s:17RealityFoundation9SpotLightC","interfaceLanguage":"swift"},"pathComponents":["SpotLight","shadow"],"names":{"title":"shadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shadow for the spotlight."},{"text":""},{"text":"Set this property to `nil` to remove shadows for the light. Set it to an"},{"text":"instance of ``SpotLightComponent/Shadow`` to create shadows."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpotLightComponent","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","modelDebugOptions"],"names":{"title":"modelDebugOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configures the debug visualization of this model."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","timeout(_:scheduler:options:customError:)"],"names":{"title":"timeout(_:scheduler:options:customError:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Terminates publishing if the upstream publisher exceeds the specified time interval without producing an element."},{"text":""},{"text":"Use ``Publisher/timeout(_:scheduler:options:customError:)`` to terminate a publisher if an element isn’t delivered within a timeout interval you specify."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes elements and is configured to time out if no new elements are received within its `TIME_OUT` window of 5 seconds. A single value is published after the specified 2-second `WAIT_TIME`, after which no more elements are available; the publisher then times out and completes normally."},{"text":""},{"text":" var WAIT_TIME : Int = 2"},{"text":" var TIMEOUT_TIME : Int = 5"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" let cancellable = subject"},{"text":" .timeout(.seconds(TIMEOUT_TIME), scheduler: DispatchQueue.main, options: nil, customError:nil)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0) at \\(Date())\") },"},{"text":" receiveValue: { print (\"value: \\($0) at \\(Date())\") }"},{"text":" )"},{"text":""},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(WAIT_TIME),"},{"text":" execute: { subject.send(\"Some data - sent after a delay of \\(WAIT_TIME) seconds\") } )"},{"text":""},{"text":" // Prints: value: Some data - sent after a delay of 2 seconds at 2020-03-10 23:47:59 +0000"},{"text":" // completion: finished at 2020-03-10 23:48:04 +0000"},{"text":""},{"text":""},{"text":"If `customError` is `nil`, the publisher completes normally; if you provide a closure for the `customError` argument, the upstream publisher is instead terminated upon timeout, and the error is delivered to the downstream."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The maximum time interval the publisher can go without emitting an element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to deliver events."},{"text":" - options: Scheduler options that customize the delivery of elements."},{"text":" - customError: A closure that executes if the publisher times out. The publisher sends the failure returned by this closure to the subscriber as the reason for termination."},{"text":"- Returns: A publisher that terminates if the specified interval elapses with no events received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]},{"name":"customError","declarationFragments":[{"kind":"identifier","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV7extentss5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","extents"],"names":{"title":"extents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"extents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The extents of the bounding box."},{"text":""},{"text":"This value is (0, 0, 0) if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"extents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(normal:to:)"],"names":{"title":"convert(normal:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, given in the"},{"text":" local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO8internalyAcA08InternalC4PathVcACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","internal(_:)"],"names":{"title":"BindTarget.internal(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`internal`"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"InternalBindPath","preciseIdentifier":"s:17RealityFoundation16InternalBindPathV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target that refers to a framework-provided property."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`internal`"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"InternalBindPath","preciseIdentifier":"s:17RealityFoundation16InternalBindPathV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackTerminated"],"names":{"title":"AnimationEvents.PlaybackTerminated","navigator":[{"kind":"identifier","spelling":"PlaybackTerminated"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackTerminated"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an event has been terminated, regardless of"},{"text":"whether it ran to completion."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackTerminated"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity"],"names":{"title":"ModelEntity","navigator":[{"kind":"identifier","spelling":"ModelEntity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a physical object that RealityKit renders and optionally"},{"text":"simulates."},{"text":""},{"text":"Use one or more model entities to place physical objects in a scene. In"},{"text":"addition to the components they inherit from the ``Entity`` class, model"},{"text":"entities have geometry, described by their ``ModelComponent``. Model"},{"text":"entities acquire the model component by conforming to the ``HasModel``"},{"text":"protocol. You specify meshes and materials to control how a model entity"},{"text":"appears."},{"text":""},{"text":"![Diagram showing the components present in the model"},{"text":"entity.](ModelEntity-1)"},{"text":""},{"text":"Models respond to physics simulations because they conform to the"},{"text":"``HasPhysics`` protocol. You give them mass and other physical properties"},{"text":"with a ``PhysicsBodyComponent`` instance, and then apply forces or impulses."},{"text":"The simulator uses a ``PhysicsMotionComponent`` to manage the linear and"},{"text":"angular velocity of the object. Alternatively, you can selectively"},{"text":"circumvent the simulation to control position and velocity yourself. Do this"},{"text":"for a given model by setting its physics body ``PhysicsBodyComponent/mode``"},{"text":"to ``PhysicsBodyMode/kinematic``."},{"text":""},{"text":"Models can also collide with one another, and with other entities that"},{"text":"conform to the ``HasCollision`` protocol. The ``CollisionComponent``"},{"text":"provides parameters that let you manage which models collide with each"},{"text":"other. It also lets you control the collision shape, which for performance"},{"text":"reasons, is typically simpler than the visual geometry."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotationACSo10simd_quatfa_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(rotation:)"],"names":{"title":"offsetBy(rotation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a rotation."},{"text":""},{"text":"- Parameters:"},{"text":" - rotation: The rotation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"rotation","declarationFragments":[{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value or a texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. Use this initializer to"},{"text":"create an object to specify the amount of clearcoat for a material"},{"text":"using a single value for the entire material, a UV-mapped image to"},{"text":"specify different values for different parts of the entity, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the clearcoat"},{"text":"intensity for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s clearcoat intensity value. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat value for the entire material."},{"text":""},{"text":"- texture: The clearcoat values as the texture of a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNames6frames4name9tweenMode13frameInterval10isAdditive0O13ScaleAnimated0o8RotationR00o11TranslationR010bindTarget10blendLayer06repeatL004fillL09trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SayAEGSSAA05TweenL0OSfS4bAA04BindV0OSgs5Int32VAA0d6RepeatL0OAA0d4FillL0VSdSgA11_A11_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","init(jointNames:frames:name:tweenMode:frameInterval:isAdditive:isScaleAnimated:isRotationAnimated:isTranslationAnimated:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(jointNames:frames:name:tweenMode:frameInterval:isAdditive:isScaleAnimated:isRotationAnimated:isTranslationAnimated:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two configurations of the"},{"text":"given joints."},{"text":""},{"text":"- Parameters:"},{"text":" - jointNames: The names of the joints to animate."},{"text":""},{"text":" - frames: The value of the joints to animate."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - tweenMode: An option that determines how animation frames transition."},{"text":""},{"text":" - frameInterval: The duration within the animation timeline for each"},{"text":"frame in the frames array."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - isScaleAnimated: A Boolean value that indicates whether the animation"},{"text":"observes changes in the entity’s size."},{"text":""},{"text":" - isRotationAnimated: A Boolean value that indicates whether the"},{"text":"animation observes rotational changes in the entity’s transform."},{"text":""},{"text":" - isTranslationAnimated: A Boolean value that indicates whether the"},{"text":"animation observes translational changes in the entity’s transform."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0 / 30.0, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."},{"text":""},{"text":"The calling process owns the entity if the value is `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO11allocateAllyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","allocateAll"],"names":{"title":"TextureResource.MipmapsMode.allocateAll","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAll"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Allocate memory for all mipmaps, but don’t generate them."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAll"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV11orientationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox","orientation"],"names":{"title":"orientation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Orientation (rotation) of the bounding box"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the source animation’s duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationDefinition/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationDefinition/trimStart`` and ``AnimationDefinition/trimEnd``"},{"text":"are `nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationDefinition/duration`` causes the"},{"text":"animation to repeat, applying the characteristics defined by"},{"text":"``AnimationDefinition/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC04findC05namedACSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","findEntity(named:)"],"names":{"title":"findEntity(named:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Recursively searches all descendant entities for one with the given"},{"text":"name."},{"text":""},{"text":"The ``Entity/findEntity(named:)`` method conducts a depth-first,"},{"text":"recursive search over all of the entity’s descendants for one whose"},{"text":"``Entity/name`` property matches the given name. The method returns the"},{"text":"first match. Entity names need not be unique."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The entity name for which to search."},{"text":""},{"text":"- Returns: An entity with the given name, or `nil` if no entity is"},{"text":"found."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasPointLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A point light component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms"],"names":{"title":"JointTransforms","navigator":[{"kind":"identifier","spelling":"JointTransforms"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of animatable transform values for joints that collectively represent"},{"text":"a single skeletal pose."},{"text":""},{"text":"This structure provides a template that informs an animation on how to animate a"},{"text":"character. The resulting movement bases on"},{"text":"the _from_ (``FromToByAnimation/fromValue-6msd``)"},{"text":", _to_ (``FromToByAnimation/toValue-813jk``)"},{"text":", or _by_ values (``FromToByAnimation/byValue-3bp3q``) you"},{"text":"supply for a ``FromToByAnimation``. The animation determines which joints take"},{"text":"on the movement through its ``FromToByAnimation/jointNames`` property."},{"text":""},{"text":"## Animate an Entity's Skeleton"},{"text":""},{"text":"The following code moves the joints of a 3D asset by specifying the joint,"},{"text":"`joint1`, beginning, and ending values."},{"text":""},{"text":"```swift"},{"text":"// Define the joint's pose at the start of the animation."},{"text":"let fromTransforms: [Transform] = [Transform(scale: SIMD3(1, 2, 3), rotation: simd_quatf(ix: 5.0, iy: 6.0, iz: 7.0, r: 8.0), translation: SIMD3(10, 20, 30))]"},{"text":"let fromPose = JointTransforms(fromTransforms)"},{"text":""},{"text":"// Define the joint's pose at the end of the animation."},{"text":"let toTransforms: [Transform] = [Transform(scale: SIMD3(10, 20, 30), rotation:"},{"text":"simd_quatf(ix: 50.0, iy: 60.0, iz: 70.0, r: 80.0), translation:"},{"text":"SIMD3(100, 200, 300)) ]"},{"text":"let toPose = JointTransforms(toTransforms)"},{"text":""},{"text":"// Indicate that the animation applies to the joint named 'joint1'."},{"text":"let jointNames = [\"joint1\"]"},{"text":""},{"text":"// Configure the animation specifics."},{"text":"var fromToBy = FromToByAnimation()"},{"text":"fromToBy.name = \"anim\""},{"text":"fromToBy.blendLayer = 100"},{"text":"fromToBy.duration = 10.0"},{"text":"fromToBy.fillMode = .forwards"},{"text":"fromToBy.jointNames = jointNames"},{"text":"fromToBy.fromValue = fromPose"},{"text":"fromToBy.toValue = toPose"},{"text":"fromToBy.bindTarget = .transform"},{"text":""},{"text":"// Generate a resource from the animation."},{"text":"let animationResource = fromToBy.create()"},{"text":"```"},{"text":""},{"text":"To run the animation on an entity and animate the joints, call"},{"text":"`playAnimation(_:transitionDuration:startsPaused:)`. Optionally, you can"},{"text":"control the animation's playback by storing the returned controller object."},{"text":""},{"text":"```swift"},{"text":"// Play the animation on an entity."},{"text":"let entity = AnchorEntity(...)"},{"text":"let controller = entity.playAnimation(animationResource)"},{"text":""},{"text":"// Optionally control playback using the returned controller."},{"text":"controller.pause()"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``OrbitAnimation/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV12arrayLiteralAcA9TransformVd_tcfc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of animatable transforms using the argument"},{"text":"elements for a single skeletal pose."},{"text":""},{"text":"- Parameters:"},{"text":"- elements: A comma-delimited list of transforms, which define position,"},{"text":"rotation, and scale data for the joints."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC9isEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isEnabled"],"names":{"title":"isEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that you set to enable or disable the entity and its"},{"text":"descendants."},{"text":""},{"text":"Set this value to `true` to enable the entity. Unless an ancestor is"},{"text":"disabled, the entity and all of its enabled descendants, up to the first"},{"text":"that’s disabled, report ``Entity/isEnabledInHierarchy`` of `true`. If an"},{"text":"ancestor is disabled, they all report `false`. The state of"},{"text":"``Entity/isActive`` for enabled entities is `true` if they are anchored,"},{"text":"or `false` otherwise."},{"text":""},{"text":"If you disable an entity, it and all of its descendants become both"},{"text":"disabled (``Entity/isEnabledInHierarchy`` returns `false`) and inactive"},{"text":"(``Entity/isActive`` returns `false`), regardless of any other state."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationView/offset``. - A range determined by"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV15collisionFilterAA09CollisionG0Vvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","collisionFilter"],"names":{"title":"collisionFilter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character's collision filter."},{"text":""},{"text":"For more information on using collision filters, see ."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers"],"names":{"title":"MeshBuffers","navigator":[{"kind":"identifier","spelling":"MeshBuffers"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffers"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds the data for an model entity's mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffers"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given predicate."},{"text":""},{"text":"Use the ``Publisher/allSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/allSatisfy(_:)`` operator tests if each an integer array publisher’s elements fall into the `targetRange`:"},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .allSatisfy { targetRange.contains($0) }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVACycfc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of animatable transforms for a single skeletal"},{"text":"pose."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","ranges(of:)"],"names":{"title":"ranges(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the ranges of the all occurrences of a given sequence"},{"text":"within the collection."},{"text":"- Parameter other: The sequence to search for."},{"text":"- Returns: A collection of ranges of all occurrences of `other`. Returns"},{"text":" an empty collection if `other` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","reanchor(_:preservingWorldTransform:)"],"names":{"title":"reanchor(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Changes the entity’s anchoring, preserving either the world transform or"},{"text":"the local transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: Describes how the entity should be anchored in AR."},{"text":""},{"text":"- preservingWorldTransform: A Boolean you set to `true` to preserve the"},{"text":"current world space position, or `false` to use the position relative to"},{"text":"the previous anchor for the new anchor."}]},"functionSignature":{"parameters":[{"name":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","mapError(_:)"],"names":{"title":"mapError(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Converts any failure from the upstream publisher into a new error."},{"text":""},{"text":"Use the ``Publisher/mapError(_:)`` operator when you need to replace one error type with another, or where a downstream operator needs the error types of its inputs to match."},{"text":""},{"text":"The following example uses a ``Publisher/tryMap(_:)`` operator to divide `1` by each element produced by a sequence publisher. When the publisher produces a `0`, the ``Publisher/tryMap(_:)`` fails with a"},{"text":"`DivisionByZeroError`. The ``Publisher/mapError(_:)`` operator converts this into a `MyGenericError`."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" struct MyGenericError: Error { var wrappedError: Error }"},{"text":""},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" let divisors: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" divisors.publisher"},{"text":" .tryMap { try myDivide(1, $0) }"},{"text":" .mapError { MyGenericError(wrappedError: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") ,"},{"text":" receiveValue: { print (\"value: \\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0.2 0.25 0.3333333333333333 0.5 1.0 completion: failure(MyGenericError(wrappedError: DivisionByZeroError()))\""},{"text":""},{"text":"- Parameter transform: A closure that takes the upstream failure as a parameter and returns a new error for the publisher to terminate with."},{"text":"- Returns: A publisher that replaces any upstream failure with a new error produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC8didClone4fromyAC_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","didClone(from:)"],"names":{"title":"didClone(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"didClone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells a newly cloned entity that cloning is complete."},{"text":""},{"text":"This method clones all component data automatically. When you clone an"},{"text":"entity that stores custom data that’s not part of a component, override"},{"text":"the ``Entity/didClone(from:)`` method to copy that data manually after"},{"text":"the clone finishes."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The entity from which the cloned entity was copied."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"source","declarationFragments":[{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"didClone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"],"names":{"title":"handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Performs the specified closures when publisher events occur."},{"text":""},{"text":"Use ``Publisher/handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)`` when you want to examine elements as they progress through the stages of the publisher’s lifecycle."},{"text":""},{"text":"In the example below, a publisher of integers shows the effect of printing debugging information at each stage of the element-processing lifecycle:"},{"text":""},{"text":" let integers = (0...2)"},{"text":" cancellable = integers.publisher"},{"text":" .handleEvents(receiveSubscription: { subs in"},{"text":" print(\"Subscription: \\(subs.combineIdentifier)\")"},{"text":" }, receiveOutput: { anInt in"},{"text":" print(\"in output handler, received \\(anInt)\")"},{"text":" }, receiveCompletion: { _ in"},{"text":" print(\"in completion handler\")"},{"text":" }, receiveCancel: {"},{"text":" print(\"received cancel\")"},{"text":" }, receiveRequest: { (demand) in"},{"text":" print(\"received demand: \\(demand.description)\")"},{"text":" })"},{"text":" .sink { _ in return }"},{"text":""},{"text":" // Prints:"},{"text":" // received demand: unlimited"},{"text":" // Subscription: 0x7f81284734c0"},{"text":" // in output handler, received 0"},{"text":" // in output handler, received 1"},{"text":" // in output handler, received 2"},{"text":" // in completion handler"},{"text":""},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: An optional closure that executes when the publisher receives the subscription from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveOutput: An optional closure that executes when the publisher receives a value from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveCompletion: An optional closure that executes when the upstream publisher finishes normally or terminates with an error. This value defaults to `nil`."},{"text":" - receiveCancel: An optional closure that executes when the downstream receiver cancels publishing. This value defaults to `nil`."},{"text":" - receiveRequest: An optional closure that executes when the publisher receives a request for more elements. This value defaults to `nil`."},{"text":"- Returns: A publisher that performs the specified closures when publisher events occur."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCancel","declarationFragments":[{"kind":"identifier","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveRequest","declarationFragments":[{"kind":"identifier","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:_:)"],"names":{"title":"map(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of two key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:)`` operator uses the Swift key path syntax to access the `die1` and `die2` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these two values (as an `(Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1) (total: \\(values.0 + values.1))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 6, 4 (total: 10)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of another property on `Output`."},{"text":"- Returns: A publisher that publishes the values of two key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE5first5where7ElementQzSgSbAEYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `10`. The `first(where:)` method returns the first"},{"text":"member of the sequence that's evenly divisible by both `2` and `3`."},{"text":""},{"text":" let divisibleBy2And3 = await Counter(howHigh: 10)"},{"text":" .first { $0 % 2 == 0 && $0 % 3 == 0 }"},{"text":" print(divisibleBy2And3 ?? \"none\")"},{"text":" // Prints \"6\""},{"text":""},{"text":"The predicate executes each time the asynchronous sequence produces an"},{"text":"element, until either the predicate finds a match or the sequence ends."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the asynchronous"},{"text":" sequence as its argument and returns a Boolean value that indicates"},{"text":" whether the element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The width of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC10isAnchoredSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isAnchored"],"names":{"title":"isAnchored","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity is anchored."},{"text":""},{"text":"The value of this property is `true` if the entity is anchored in a"},{"text":"scene. An entity that isn’t anchored becomes inactive"},{"text":"(``Entity/isActive`` returns `false`), meaning RealityKit doesn’t render"},{"text":"or simulate it."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV9intensitySfvp","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","intensity"],"names":{"title":"intensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of the point light, measured in lumen."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offset5scale8rotationAEs5SIMD2VySfG_AKSftcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","init(offset:scale:rotation:)"],"names":{"title":"init(offset:scale:rotation:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a texture coordinate transform object."},{"text":""},{"text":"- Parameters:"},{"text":" - offset: The amount to offset the UV texture coordinates."},{"text":""},{"text":" - scale: The amount to scale the UV texture coordinates."},{"text":""},{"text":"- rotation: The amount to rotate the UV texture coordinates in"},{"text":"radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(), "},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(1, 1), "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent"],"names":{"title":"ModelDebugOptionsComponent","navigator":[{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that changes how RealityKit renders its entity to help with"},{"text":"debugging."},{"text":""},{"text":"Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells"},{"text":"RealityKit to change the way it renders that entity based on a specified"},{"text":"``ModelDebugOptionsComponent/visualizationMode-swift.property``. This"},{"text":"component isolates individual parts of the rendering process, such as the"},{"text":"entity’s transparency or roughness, and displays surface color to help"},{"text":"identify visual anomalies."},{"text":""},{"text":"To use this component, create a `ModelDebugOptionsComponent` and set its"},{"text":"``ModelDebugOptionsComponent/visualizationMode-swift.property`` to the"},{"text":"desired value. Then, set the component as the entity’s"},{"text":"``ModelEntity/modelDebugOptions`` property:"},{"text":""},{"text":"```swift"},{"text":"if let robot = anchor.findEntity(named: \"Robot\") as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .normal)"},{"text":" robot.modelDebugOptions = component"},{"text":"}"},{"text":"```"},{"text":""},{"text":"For more information on the visualization modes supported by"},{"text":"`ModelDebugOptionsComponent`, see"},{"text":"``ModelDebugOptionsComponent/VisualizationMode-swift.enum``."},{"text":""},{"text":"## Attach a Debug Component to an Entity"},{"text":""},{"text":"To attach a debug component to a particular entity, traverse the entity tree"},{"text":"while passing the component to each child:"},{"text":""},{"text":"```swift"},{"text":"// Traverse the entity tree to attach a certain debug mode through components."},{"text":"func attachDebug(entity: Entity, debug:"},{"text":"ModelDebugOptionsComponent) {"},{"text":" entity.components.set(debug)"},{"text":" for child in entity.children {"},{"text":" attachDebug(entity: child, debug: debug)"},{"text":" }"},{"text":"}"},{"text":"// Respond to a button or UI element. func"},{"text":"debugLightingDiffuseButtonCallback() {"},{"text":" let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" attachDebug(entity: model, debug: debugComponent)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"## Attach a Debug Component to a Trait"},{"text":""},{"text":"To attach a debug component based on a trait, traverse the entity tree while"},{"text":"checking for ``HasModel`` adoption:"},{"text":""},{"text":"```swift"},{"text":"func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent)"},{"text":"{"},{"text":" if let model = entity as? ModelEntity {"},{"text":" model.visualizationMode = debug"},{"text":" }"},{"text":" for child in entity.children {"},{"text":" attachDebug(entity: child, debug: debug)"},{"text":" }"},{"text":"}"},{"text":"// Respond to a button or UI element. func"},{"text":"debugLightingDiffuseButtonCallback() {"},{"text":" let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" attachDebug(entity: model, debug: debugComponent)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV17emissiveIntensitySfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","emissiveIntensity"],"names":{"title":"emissiveIntensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveIntensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of light emitted by the entity."},{"text":""},{"text":"To make a material _emissive_ and appear to emit light, set this"},{"text":"property to a value greater than zero and set"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` to a value"},{"text":"other than black. RealityKit multiplies"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` by this value,"},{"text":"so the higher the value, the more intense the entity’s emission of"},{"text":"light."},{"text":""},{"text":"You can set this property to values greater than `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveIntensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13LightingModelO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","LightingModel"],"names":{"title":"CustomMaterial.LightingModel","navigator":[{"kind":"identifier","spelling":"LightingModel"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LightingModel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines how the framework renders a custom material."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LightingModel"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","last()"],"names":{"title":"last()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/last()`` when you need to emit only the last element from an upstream publisher."},{"text":""},{"text":"In the example below, the range publisher only emits the last element from the sequence publisher, `10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the last element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model"],"names":{"title":"MeshResource.Model","navigator":[{"kind":"identifier","spelling":"Model"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Model"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A model consists of a list of parts."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Model"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:)"],"names":{"title":"merge(with:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from four other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 33 2 50 100 -2 33\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","loadAsync(named:in:)"],"names":{"title":"loadAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously loads a environment resource. (Function returns immediately.)"},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the environment resource (without any file extension)."},{"text":" - bundle: The bundle containing the resource. Specify nil to search the app’s main"},{"text":" bundle."},{"text":""},{"text":"- Returns: A object representing the load operation."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0cD7TextureV8resourceAA0E8ResourceCvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","CustomMaterialTexture","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture resource you use to create a custom texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation5SceneC","interfaceLanguage":"swift"},"pathComponents":["Scene","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation6EntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["Entity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVyACxcSTRzAA9TransformV7ElementRtzlufc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of transforms of a specific type for a single"},{"text":"skeletal pose."},{"text":""},{"text":"- Parameters:"},{"text":"- transforms: An array of position, rotation, and scale data for the"},{"text":"joints."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Element"],"names":{"title":"MeshModelCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(of:)"],"names":{"title":"index(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5,"minor":0},"renamed":"firstIndex(of:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two collections of joints"},{"text":"are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The collection of joints on the left side of the operator."},{"text":""},{"text":" - rhs: The collection of joints on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the two collections of joints are equal."},{"text":"Otherwise, returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV_4name10isAdditive10bindTarget10blendLayer10repeatMode04fillN09trimStart0P3End0P8Duration6offset5delay5speedACyxGAA0cD4Node_p_SSSbAA04BindJ0OSgs5Int32VAA0e6RepeatN0OAA0e4FillN0VSdSgA_A_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","init(_:name:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(_:name:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a unique animation from a combination of other animations in the"},{"text":"form of a tree."},{"text":""},{"text":"- Parameters:"},{"text":" - root: The first node in a tree of animations."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The behavior when the animated property reaches its end"},{"text":"value."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the source"},{"text":"animation plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the source animation"},{"text":"stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryCatch(_:)"],"names":{"title":"tryCatch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by either replacing it with another publisher or throwing a new error."},{"text":""},{"text":"Use ``Publisher/tryCatch(_:)`` to decide how to handle from an upstream publisher by either replacing the publisher with a new publisher, or throwing a new error."},{"text":""},{"text":"In the example below, an array publisher emits values that a ``Publisher/tryMap(_:)`` operator evaluates to ensure the values are greater than zero. If the values aren’t greater than zero, the operator throws an error to the downstream subscriber to let it know there was a problem. The subscriber, ``Publisher/tryCatch(_:)``, replaces the error with a new publisher using ``Just`` to publish a final value before the stream ends normally."},{"text":""},{"text":" enum SimpleError: Error { case error }"},{"text":" var numbers = [5, 4, 3, 2, 1, -1, 7, 8, 9, 10]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { v in"},{"text":" if v > 0 {"},{"text":" return v"},{"text":" } else {"},{"text":" throw SimpleError.error"},{"text":" }"},{"text":" }"},{"text":" .tryCatch { error in"},{"text":" Just(0) // Send a final value before completing normally."},{"text":" // Alternatively, throw a new error to terminate the stream."},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print (\"Received \\($0).\") }"},{"text":" )"},{"text":" // Received 5."},{"text":" // Received 4."},{"text":" // Received 3."},{"text":" // Received 2."},{"text":" // Received 1."},{"text":" // Received 0."},{"text":" // Completion: finished."},{"text":""},{"text":"- Parameter handler: A throwing closure that accepts the upstream failure as input. This closure can either replace the upstream publisher with a new one, or throw a new error to the downstream subscriber."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher, or an error."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC8isActiveSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isActive"],"names":{"title":"isActive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isActive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity is active."},{"text":""},{"text":"The value of this property is `true` if the entity is anchored in a"},{"text":"scene, and it and all of its ancestors are enabled (``Entity/isEnabled``"},{"text":"is set to `true`). RealityKit doesn’t simulate or render inactive"},{"text":"entities."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isActive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstIndex(of:)"],"names":{"title":"firstIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `firstIndex(of:)` to find the position of a particular element"},{"text":"in a collection, you can use it to access the element by subscripting."},{"text":"This example shows how you can modify one of the names in an array of"},{"text":"students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\"]"},{"text":" if let i = students.firstIndex(of: \"Maxime\") {"},{"text":" students[i] = \"Max\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The first index where `element` is found. If `element` is not"},{"text":" found in the collection, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","resetPhysicsTransform(recursive:)"],"names":{"title":"resetPhysicsTransform(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position, orientation, and velocities of the simulated"},{"text":"physics body."},{"text":""},{"text":"Call this method only for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s transform property directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: Apply the reset to all descendant entities."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8reverseds18ReversedCollectionVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a view presenting the elements of the collection in reverse"},{"text":"order."},{"text":""},{"text":"You can reverse a collection without allocating new space for its"},{"text":"elements by calling this `reversed()` method. A `ReversedCollection`"},{"text":"instance wraps an underlying collection and provides access to its"},{"text":"elements in reverse order. This example prints the characters of a"},{"text":"string in reverse order:"},{"text":""},{"text":" let word = \"Backwards\""},{"text":" for char in word.reversed() {"},{"text":" print(char, terminator: \"\")"},{"text":" }"},{"text":" // Prints \"sdrawkcaB\""},{"text":""},{"text":"If you need a reversed collection of the same type, you may be able to"},{"text":"use the collection's sequence-based or collection-based initializer. For"},{"text":"example, to get the reversed version of a string, reverse its"},{"text":"characters and initialize a new `String` instance from the result."},{"text":""},{"text":" let reversedWord = String(word.reversed())"},{"text":" print(reversedWord)"},{"text":" // Prints \"sdrawkcaB\""},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV37isContinuousCollisionDetectionEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isContinuousCollisionDetectionEnabled"],"names":{"title":"isContinuousCollisionDetectionEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isContinuousCollisionDetectionEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that controls whether the physics simulation performs"},{"text":"continuous collision detection."},{"text":""},{"text":"Set the value to `true` to perform continuous collision detection. The"},{"text":"value is `false` by default, indicating the simulation should apply"},{"text":"discrete collision detection."},{"text":""},{"text":"Discrete collision detection considers only the position of a body once"},{"text":"per rendered frame, or about every 16 milliseconds at 60 frames per"},{"text":"second. Continuous collision detection considers the position of the"},{"text":"body throughout the frame interval. The latter is more computationally"},{"text":"expensive, but can help to avoid missing a collision for a quickly"},{"text":"moving object, like a projectile."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isContinuousCollisionDetectionEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8MaterialP","interfaceLanguage":"swift"},"pathComponents":["Material"],"names":{"title":"Material","navigator":[{"kind":"identifier","spelling":"Material"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Material"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that describes the material aspects of a mesh, like color and"},{"text":"texture."},{"text":""},{"text":"In RealityKit, a _material_ defines the surface properties of a 3D model. It"},{"text":"specifies how RealityKit renders the entity, including its color and whether"},{"text":"it’s shiny or reflective. A ``ModelEntity`` may have one material that"},{"text":"defines the way RealityKit renders the entire entity, or it may have several"},{"text":"that define the look of different parts of the model."},{"text":""},{"text":"RealityKit provides several different material structures for different"},{"text":"types of rendering, including ``PhysicallyBasedMaterial``, which is a"},{"text":"versatile material capable of simulating real-world objects in a highly"},{"text":"realistic manner, and ``UnlitMaterial``, which RealityKit draws with no"},{"text":"lighting effects or shadows."},{"text":""},{"text":"If you import a model from a USDZ file, RealityKit automatically creates one"},{"text":"or more ``PhysicallyBasedMaterial`` instances from the material properties"},{"text":"contained in the file."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Material"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","anchorIdentifier"],"names":{"title":"anchorIdentifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identifier of the AR anchor with which the anchor entity is"},{"text":"associated, or `nil` if it isn’t currently anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV5value0B023LocalizedStringResourceVSgvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that represents the current value of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationDefinition/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"This property is `nil` by default, which indicates that the animation"},{"text":"stops after one play that spans ``SampledAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``SampledAnimation/trimStart`` and ``SampledAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``SampledAnimation/duration`` causes the animation"},{"text":"to repeat, applying the characteristics defined by"},{"text":"``SampledAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC23generateCollisionShapes9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","generateCollisionShapes(recursive:)"],"names":{"title":"generateCollisionShapes(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCollisionShapes"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the shape used to detect collisions between two entities that"},{"text":"have collision components."},{"text":""},{"text":"Call this method on entities that adopt the ``HasModel`` and"},{"text":"``HasCollision`` protocols to prepare a shape used for collision"},{"text":"detection. The method stores the shape in the entity’s"},{"text":"``CollisionComponent`` instance."},{"text":""},{"text":"For non-model entities, the method has no effect. Nevertheless, the"},{"text":"method is defined for all entities so that you can call it on any"},{"text":"entity, and have the calculation propagate recursively to all that"},{"text":"entity’s descendants."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to also generate the"},{"text":" collision shapes for all descendants of the entity."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCollisionShapes"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection"],"names":{"title":"MeshInstanceCollection","navigator":[{"kind":"identifier","spelling":"MeshInstanceCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshInstanceCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh resource instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshInstanceCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE3min2by7ElementQzSgSbAE_AEtYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the minimum element in the asynchronous sequence, using the given"},{"text":"predicate as the comparison between elements."},{"text":""},{"text":"Use this method when the asynchronous sequence's values don't conform"},{"text":"to `Comparable`, or when you want to apply a custom ordering to the"},{"text":"sequence."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That is,"},{"text":"for any elements `a`, `b`, and `c`, the following conditions must hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The following example uses an enumeration of playing cards ranks, `Rank`,"},{"text":"which ranges from `ace` (low) to `king` (high). An asynchronous sequence"},{"text":"called `RankCounter` produces all elements of the array. The predicate"},{"text":"provided to the `min(by:)` method sorts ranks based on their `rawValue`:"},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let min = await RankCounter()"},{"text":" .min { $0.rawValue < $1.rawValue }"},{"text":" print(min ?? \"none\")"},{"text":" // Prints \"ace\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: The sequence’s minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns `nil`."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC11MipmapsModeO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/map(_:)-99evh`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/map(_:)-99evh`` to transform from one kind of element to another."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/map(_:)-99evh`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/map(_:)-99evh``’s closure fails to look up a Roman numeral, it returns the string `(unknown)`."},{"text":""},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" cancellable = numbers.publisher"},{"text":" .map { romanNumeralDict[$0] ?? \"(unknown)\" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"V IV III II I (unknown)\""},{"text":""},{"text":"If your closure can throw an error, use Combine’s ``Publisher/tryMap(_:)`` operator instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator"],"names":{"title":"MeshModelCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture’s width in pixels."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV15triangleIndicesAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV13defaultRadiusSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultRadius"],"names":{"title":"defaultRadius","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE3max2by7ElementQzSgSbAE_AEtYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Returns the maximum element in the asynchronous sequence, using the given"},{"text":"predicate as the comparison between elements."},{"text":""},{"text":"Use this method when the asynchronous sequence's values don't conform"},{"text":"to `Comparable`, or when you want to apply a custom ordering to the"},{"text":"sequence."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That is,"},{"text":"for any elements `a`, `b`, and `c`, the following conditions must hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The following example uses an enumeration of playing cards ranks, `Rank`,"},{"text":"which ranges from `ace` (low) to `king` (high). An asynchronous sequence"},{"text":"called `RankCounter` produces all elements of the array. The predicate"},{"text":"provided to the `max(by:)` method sorts ranks based on their `rawValue`:"},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let max = await RankCounter()"},{"text":" .max { $0.rawValue < $1.rawValue }"},{"text":" print(max ?? \"none\")"},{"text":" // Prints \"king\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: The sequence’s minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns `nil`."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16ambientOcclusionAC07AmbientF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ambientOcclusion"],"names":{"title":"ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ambient light exposure for a material."},{"text":""},{"text":"Ambient occlusion (AO) represents the entity’s exposure to ambient"},{"text":"light. Specify ambient occlusion using a UV-mapped image called an"},{"text":"_ambient occlusion map_. In an AO map, black pixels represent parts of"},{"text":"the model that receive no ambient light because of a crevice, dent, or"},{"text":"recessed area, or another part of the entity blocking ambient light from"},{"text":"reaching it. White pixels represent flat portions of the model that"},{"text":"receive full ambient light. You generate ambient occlusion maps using a"},{"text":"3D software package."},{"text":""},{"text":"The following code loads an ambient occlusion map and adds it to the"},{"text":"custom material:"},{"text":""},{"text":"```swift"},{"text":"if let aoResource = try? TextureResource.load(named:\"entity_ao\") {"},{"text":" let aoMap = MaterialParameters.Texture(aoResource)"},{"text":" material.emissiveColor = .init(texture: aoMap)"},{"text":"}"},{"text":" ```"},{"text":""},{"text":"In a custom material, RealityKit doesn’t automatically use the value you"},{"text":"set on this property to render your entity. The ambient occlusion"},{"text":"texture is available in the material’s shader functions, but RealityKit"},{"text":"only renders ambient occlusion if the material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and its surface"},{"text":"shader calls `params.surface().set_ambient_occlusion()`."},{"text":""},{"text":"The following Metal code shows how to sample the ambient occlusion"},{"text":"texture to set the AO value in a surface shader function:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from USDZ or .reality files have texture coordinates"},{"text":" // with a flipped y-axis. This adjusts for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the ambient occlusion texture and use it to set the"},{"text":" // ambient occlusion value to use during rendering."},{"text":" auto tex = params.textures();"},{"text":" half metallic = tex.ambient_occlusion().sample(textureSampler, uv).r;"},{"text":" params.surface().set_ambient_occlusion(metallic);"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent","Shadow","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV6shapes7density8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(shapes:density:material:mode:)"],"names":{"title":"init(shapes:density:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component deriving mass properties from shape and"},{"text":"density."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The shape for which to estimate the mass, rotational inertia,"},{"text":"and center of mass."},{"text":""},{"text":" - density: The density of the object in kilograms per cubic meter."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":" - mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The height of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``OrbitAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new anchor entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV4rootAA0cD4Node_pvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","root"],"names":{"title":"root","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first node in a tree of animations."},{"text":""},{"text":"This property defines the node that represents the root of a blend tree."},{"text":"If you assign this property a ``BlendTreeBlendNode`` instance, the root"},{"text":"branches for every member you add to the instance's"},{"text":"``BlendTreeBlendNode/sources`` property."},{"text":""},{"text":"If you define a ``BlendTreeSourceNode`` instance to this property, the"},{"text":"tree contains a single animation, which blends with no other animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The relative joint transforms of the model entity."},{"text":""},{"text":"Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints."},{"text":""},{"text":"- Note: Active animations may override the joint transforms set using this property.."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","AmbientOcclusion"],"names":{"title":"CustomMaterial.AmbientOcclusion","navigator":[{"kind":"identifier","spelling":"AmbientOcclusion"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s exposure to ambient light."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV17attenuationRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","attenuationRadius"],"names":{"title":"attenuationRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The point light attenuation radius in meters."},{"text":""},{"text":"At any distance greater from the light that's greater than this value, the light's"},{"text":"intensity is zero."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from six other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers; it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubE, pubG)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 2 50 100 -2 33 33 54\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial"],"names":{"title":"CustomMaterial","navigator":[{"kind":"identifier","spelling":"CustomMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A material that works with custom Metal shader functions."},{"text":""},{"text":"Custom, or programmable, materials allow you to leverage RealityKit’s"},{"text":"existing shader pipeline to render physically based or unlit materials that"},{"text":"support custom Metal shader functions. These functions modify how RealityKit"},{"text":"renders an entity. Custom materials support two different types of custom"},{"text":"Metal shader functions: geometry modifiers and surface shaders."},{"text":""},{"text":"Use a _surface shader _to calculate or specify all the material attributes"},{"text":"that RealityKit uses to render your entity, such as"},{"text":"``CustomMaterial/baseColor-swift.property``,"},{"text":"``CustomMaterial/normal-swift.property``, and"},{"text":"``CustomMaterial/roughness-swift.property``. A _geometry modifier_ can"},{"text":"offset the position of an entity’s vertices to change the size and shape of"},{"text":"an entity. It can also change other per-vertex data, such as vertex color"},{"text":"and UV texture coordinates, which define how RealityKit maps textures on to"},{"text":"the model."},{"text":""},{"text":"- Important: For the Metal API documentation for custom material shader"},{"text":"functions, see the Metal RealityKit APIs"},{"text":"PDF."},{"text":""},{"text":"For more information on creating custom materials and writing shader"},{"text":"functions, see ."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV8rotationSfvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","rotation"],"names":{"title":"rotation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework rotates the UV texture coordinates"},{"text":"you specify in radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isScaleAnimated"],"names":{"title":"isScaleAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes changes in"},{"text":"the entity’s size."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates scale"},{"text":"differences in the entity’s transform by interpolating to the target"},{"text":"scale across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryAllSatisfy(_:)"],"names":{"title":"tryAllSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given error-throwing predicate."},{"text":""},{"text":"Use the ``Publisher/tryAllSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria in an error-throwing predicate you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes. If the predicate throws an error, the publisher fails and passes the error to its downstream subscriber."},{"text":""},{"text":"In the example below, an error-throwing predicate tests if each of an integer array publisher’s elements fall into the `targetRange`; the predicate throws an error if an element is zero and terminates the stream."},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 10, 5, 0]"},{"text":""},{"text":" numbers.publisher"},{"text":" .tryAllSatisfy { anInt in"},{"text":" guard anInt != 0 else { throw RangeError() }"},{"text":" return targetRange.contains(anInt)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(RangeError())\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete. The closure may throw an error, in which case the publisher cancels the upstream publisher and fails with the thrown error."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV13defaultHeightSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultHeight"],"names":{"title":"defaultHeight","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultHeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultHeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the value of a key path."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:)-6sm0a`` operator uses the Swift key path syntax to access the `die` member of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only the value of this `Int`, not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die:Int.random(in:1...6)))"},{"text":" .map(\\.die)"},{"text":" .sink {"},{"text":" print (\"Rolled: \\($0)\")"},{"text":" }"},{"text":" // Prints \"Rolled: 3\" (or some other random value)."},{"text":""},{"text":"- Parameter keyPath: The key path of a property on `Output`."},{"text":"- Returns: A publisher that publishes the value of the key path."}]},"functionSignature":{"parameters":[{"name":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Joint names that define the joints in the skeletal pose."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture’s height in pixels."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","catch(_:)"],"names":{"title":"catch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by replacing it with another publisher."},{"text":""},{"text":"Use `catch()` to replace an error from an upstream publisher with a new publisher."},{"text":""},{"text":"In the example below, the `catch()` operator handles the `SimpleError` thrown by the upstream publisher by replacing the error with a `Just` publisher. This continues the stream by publishing a single value and completing normally."},{"text":""},{"text":" struct SimpleError: Error {}"},{"text":" let numbers = [5, 4, 3, 2, 1, 0, 9, 8, 7, 6]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast(where: {"},{"text":" guard $0 != 0 else {throw SimpleError()}"},{"text":" return true"},{"text":" })"},{"text":" .catch({ (error) in"},{"text":" Just(-1)"},{"text":" })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" // Prints: -1"},{"text":""},{"text":"Backpressure note: This publisher passes through `request` and `cancel` to the upstream. After receiving an error, the publisher sends sends any unfulfilled demand to the new `Publisher`."},{"text":"SeeAlso: `replaceError`"},{"text":"- Parameter handler: A closure that accepts the upstream failure as input and returns a publisher to replace the upstream publisher."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","RawValue"],"names":{"title":"AnimationFillMode.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC5worldACs5SIMD3VySfG_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(world:)"],"names":{"title":"init(world:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchor entity with a target fixed at the given position in"},{"text":"the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position with which to initialize the world target."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic"],"names":{"title":"MeshBufferSemantic","navigator":[{"kind":"identifier","spelling":"MeshBufferSemantic"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferSemantic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A protocol that holds an identifier value for mesh buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferSemantic"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Identifiable","preciseIdentifier":"s:s12IdentifiableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16DirectionalLightCACycfc","interfaceLanguage":"swift"},"pathComponents":["DirectionalLight","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa","interfaceLanguage":"swift"},"pathComponents":["Material","Parameters"],"names":{"title":"Material.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","ArrayLiteralElement"],"names":{"title":"JointTransforms.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of all the joints in the model entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMap(_:)"],"names":{"title":"tryMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided error-throwing closure."},{"text":""},{"text":"Combine’s ``Publisher/tryMap(_:)`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/tryMap(_:)`` to transform from one kind of element to another, and to terminate publishing when the map’s closure throws an error."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/tryMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/tryMap(_:)``’s closure fails to look up a Roman numeral, it throws an error. The ``Publisher/tryMap(_:)`` operator catches this error and terminates publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from:Int) throws -> String {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" guard let numeral = romanNumeralDict[from] else {"},{"text":" throw ParseError()"},{"text":" }"},{"text":" return numeral"},{"text":" }"},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"V IV III II I completion: failure(ParseError())\""},{"text":""},{"text":"If your closure doesn’t throw, use ``Publisher/map(_:)-99evh`` instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element. If the closure throws an error, the publisher fails with the thrown error."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","share()"],"names":{"title":"share()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Shares the output of an upstream publisher with multiple subscribers."},{"text":""},{"text":"The publisher returned by this operator supports multiple subscribers, all of whom receive unchanged elements and completion states from the upstream publisher."},{"text":""},{"text":" - Tip: ``Publishers/Share`` is effectively a combination of the ``Publishers/Multicast`` and ``PassthroughSubject`` publishers, with an implicit ``ConnectablePublisher/autoconnect()``."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator. It uses a ``Publisher/share()`` operator to share the same random number to each of two subscribers. This example uses a ``Publisher/delay(for:tolerance:scheduler:options:)`` operator only to prevent the first subscriber from exhausting the sequence publisher immediately; an asynchronous publisher wouldn’t need this."},{"text":""},{"text":" let pub = (1...3).publisher"},{"text":" .delay(for: 1, scheduler: DispatchQueue.main)"},{"text":" .map( { _ in return Int.random(in: 0...100) } )"},{"text":" .print(\"Random\")"},{"text":" .share()"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: (20)"},{"text":" // Stream 1 received: 20"},{"text":" // Stream 2 received: 20"},{"text":" // Random: receive value: (85)"},{"text":" // Stream 1 received: 85"},{"text":" // Stream 2 received: 85"},{"text":" // Random: receive value: (98)"},{"text":" // Stream 1 received: 98"},{"text":" // Stream 2 received: 98"},{"text":""},{"text":""},{"text":"Without the ``Publisher/share()`` operator, stream 1 receives three random values, followed by stream 2 receiving three different random values."},{"text":""},{"text":"Also note that ``Publishers/Share`` is a class rather than a structure like most other publishers. This means you can use this operator to create a publisher instance that uses reference semantics."},{"text":"- Returns: A class instance that shares elements received from its upstream to multiple subscribers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityCyAcA18AnchoringComponentV6TargetOcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV14massProperties8material4modeAcA0c4MassG0V_AA0C16MaterialResourceCSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(massProperties:material:mode:)"],"names":{"title":"init(massProperties:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component with the given mass properties,"},{"text":"material, and mode."},{"text":""},{"text":"- Parameters:"},{"text":" - massProperties: The mass properties, like inertia."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":"- mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":" = .default, "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the animated property."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8rawValueACs4Int8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a fill mode from its backing data type."},{"text":""},{"text":"Use this initializer to unarchive a fill mode from data:"},{"text":""},{"text":"```swift"},{"text":"let rawValue = unarchiveNextInt8(from: data) // Psuedo code."},{"text":"let fillMode = AnimationFillMode(rawValue: rawValue)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - rawValue: The backing data value for the fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6NormalV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Normal"],"names":{"title":"CustomMaterial.Normal","navigator":[{"kind":"identifier","spelling":"Normal"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that stores fine surface details for an entity in an image"},{"text":"texture."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures fine"},{"text":"surface details for a model by using a texture instead of by increasing"},{"text":"the number of polygons in the model. It works by storing _surface"},{"text":"normals_, which are vectors perpendicular to the surface of the model,"},{"text":"from a much higher-resolution version of the same 3D object. A normal"},{"text":"map stores each vector in the image by storing the vectors’ `X`, `Y`,"},{"text":"and `Z` values as the `R`, `G`, and `B` components of the corresponding"},{"text":"pixel in the UV-mapped image. This object defines a normal map for a"},{"text":"custom material."},{"text":""},{"text":"For more information on using normal map values in a custom material,"},{"text":"see ``CustomMaterial/normal-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","anchoring"],"names":{"title":"anchoring","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this instance."},{"text":""},{"text":"Calling this property directly is discouraged. Instead, convert an"},{"text":"instance of any type to a string by using the `String(describing:)`"},{"text":"initializer. This initializer works with any type, and uses the custom"},{"text":"`description` property for types that conform to"},{"text":"`CustomStringConvertible`:"},{"text":""},{"text":" struct Point: CustomStringConvertible {"},{"text":" let x: Int, y: Int"},{"text":""},{"text":" var description: String {"},{"text":" return \"(\\(x), \\(y))\""},{"text":" }"},{"text":" }"},{"text":""},{"text":" let p = Point(x: 21, y: 30)"},{"text":" let s = String(describing: p)"},{"text":" print(s)"},{"text":" // Prints \"(21, 30)\""},{"text":""},{"text":"The conversion of `p` to a string in the assignment to `s` uses the"},{"text":"`Point` type's `description` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","init(mesh:materials:)"],"names":{"title":"init(mesh:materials:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model component from a mesh and a collection of materials."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: The mesh that describes the shape of the model."},{"text":""},{"text":" - materials: Materials used to give the mesh a certain visual appearance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component with default settings."},{"text":""},{"text":"For the default settings used in a new physics body component, see the"},{"text":"discussions of the component’s individual properties."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV4nearSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","near"],"names":{"title":"near","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The minimum distance in meters from the camera that the camera can see."},{"text":""},{"text":"The value defaults to 1 centimeter. Always use a value greater than `0`"},{"text":"and less than the value of ``PerspectiveCameraComponent/far``. The"},{"text":"renderer clips any surface closer than the"},{"text":"``PerspectiveCameraComponent/near`` point."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV12makeIteratorAE08IndexingG0Vy__AEGyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5usageSo15MTLTextureUsageVvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","usage"],"names":{"title":"usage","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how you can use each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC7textureSo10MTLTexture_pvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Metal texture object that contains the drawable’s contents."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13customContentSayAC06CustomF0VGvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","customContent"],"names":{"title":"customContent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customContent"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The Custom Content API is useful for delivering accessibility information from complex data sets to your users in measured portions."},{"text":"Using this API allows you to leverage assistive technologies to present only the accessible content your app’s users need, when they need it."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customContent"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Clearcoat"],"names":{"title":"CustomMaterial.Clearcoat","navigator":[{"kind":"identifier","spelling":"Clearcoat"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the intensity of an entity’s clear, shiny"},{"text":"coating."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasDirectionalLight","shadow"],"names":{"title":"shadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shadow settings for a directional light."},{"text":""},{"text":"Set this value to `nil` to remove shadows."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Shadow","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC6shapes6filterACSayAA13ShapeResourceCG_AA15CollisionFilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init(shapes:filter:)"],"names":{"title":"init(shapes:filter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume with the given composite shape and collision"},{"text":"filter."},{"text":""},{"text":"- Parameters:"},{"text":"- shapes: A collection of shapes which taken together define the"},{"text":"composite shape of the trigger volume."},{"text":""},{"text":"- filter: A collision filter that lets you differentiate among collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .sensor)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","throttle(for:scheduler:latest:)"],"names":{"title":"throttle(for:scheduler:latest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes either the most-recent or first element published by the upstream publisher in the specified time interval."},{"text":""},{"text":"Use ``Publisher/throttle(for:scheduler:latest:)`` to selectively republish elements from an upstream publisher during an interval you specify. Other elements received from the upstream in the throttling interval aren’t republished."},{"text":""},{"text":"In the example below, a produces elements on one-second intervals; the ``Publisher/throttle(for:scheduler:latest:)`` operator delivers the first event, then republishes only the latest event in the following ten second intervals:"},{"text":""},{"text":" cancellable = Timer.publish(every: 3.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .print(\"\\(Date().description)\")"},{"text":" .throttle(for: 10.0, scheduler: RunLoop.main, latest: true)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print(\"Received Timestamp \\($0).\") }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:26:57 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:26:57 +0000."},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:00 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:03 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:06 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:09 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:27:09 +0000."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The interval at which to find and emit either the most recent or the first element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to publish elements."},{"text":" - latest: A Boolean value that indicates whether to publish the most recent element. If `false`, the publisher emits the first element received during the interval."},{"text":"- Returns: A publisher that emits either the most-recent or first element received during the specified interval."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"latest","declarationFragments":[{"kind":"identifier","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until the"},{"text":"``SampledAnimation/end`` frame interval. If you set a value, the"},{"text":"animation subtracts an additional seconds duration from the animation"},{"text":"data that the ``SampledAnimation/end`` frame interval references."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10repeatModeAA0d6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``OrbitAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``OrbitAnimation/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet"],"names":{"title":"Entity.ComponentSet","navigator":[{"kind":"identifier","spelling":"ComponentSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of stored components."},{"text":""},{"text":"The set represents all the components stored on an entity. It can hold"},{"text":"only one component of any given type."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV17defaultSlopeLimitSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultSlopeLimit"],"names":{"title":"defaultSlopeLimit","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSlopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSlopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","difference(from:by:)"],"names":{"title":"difference(from:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference needed to produce this collection's ordered"},{"text":"elements from the given collection, using the given predicate as an"},{"text":"equivalence test."},{"text":""},{"text":"This function does not infer element moves. If you need to infer moves,"},{"text":"call the `inferringMoves()` method on the resulting difference."},{"text":""},{"text":"- Parameters:"},{"text":" - other: The base state."},{"text":" - areEquivalent: A closure that returns a Boolean value indicating"},{"text":" whether two elements are equivalent."},{"text":""},{"text":"- Returns: The difference needed to produce the receiver's state from"},{"text":" the parameter's state."},{"text":""},{"text":"- Complexity: Worst case performance is O(*n* * *m*), where *n* is the"},{"text":" count of this collection and *m* is `other.count`. You can expect"},{"text":" faster execution when the collections share many common elements."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BidirectionalCollection","preciseIdentifier":"s:SK"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13emissiveColorAC08EmissiveG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","emissiveColor"],"names":{"title":"emissiveColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of the light the entity emits."},{"text":""},{"text":"With Physically Based Rendering (PBR), you can give entities in"},{"text":"RealityKit the appearance of emitting light. Use this property to"},{"text":"simulate real-world objects that glow, such as objects with LEDs or"},{"text":"computer screens. To enable light emission from a material, set"},{"text":"``PhysicallyBasedMaterial/emissiveIntensity`` to a value greater than"},{"text":"zero, then specify a color for the emitted light other than black using"},{"text":"this property. You can specify a single emissive color for the entire"},{"text":"material, or use a UV-mapped image texture to use different colors for"},{"text":"different parts of the entity."},{"text":""},{"text":"The following example uses a single color for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.emissiveIntensity = 2.0"},{"text":"self.emissiveColor = PhysicallyBasedMaterial.EmissiveColor(color: .red)"},{"text":"```"},{"text":""},{"text":"This example uses an image map to control the light emission color:"},{"text":""},{"text":"```swift"},{"text":"if let emissiveResource = try? TextureResource.load(named:\"entity_emissive\") {"},{"text":" let emissiveMap = MaterialParameters.Texture(emissiveResource)"},{"text":" material.emissiveColor = .init(texture: emissiveMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC5worldACSo13simd_float4x4a_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(world:)"],"names":{"title":"init(world:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchor entity with a target fixed at the given position in"},{"text":"the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform with which to initialize the world target."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Opacity.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV16isRealWorldProxySbvp","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","isRealWorldProxy"],"names":{"title":"isRealWorldProxy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRealWorldProxy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that you use to control whether the directional light operates"},{"text":"as a proxy for a real-world light."},{"text":""},{"text":"Set the value to `true` when you want the light to cast shadows on"},{"text":"virtual content without illuminating anything in the scene. You can use"},{"text":"this to create shadows on occlusion materials that accept dynamic"},{"text":"lighting."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRealWorldProxy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationDefinition/trimStart`` instead and choose a"},{"text":"``AnimationDefinition/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19OrientedBoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["OrientedBoundingBox"],"names":{"title":"OrientedBoundingBox","navigator":[{"kind":"identifier","spelling":"OrientedBoundingBox"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrientedBoundingBox"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Representation for an oriented bounding box."},{"text":"Uses a combination of an axis-aligned bounding box and a rotation vector around"},{"text":"the centroid of the said axis-aligned bounding box to represent an oriented bounding box."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrientedBoundingBox"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC7presentyyF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","present()"],"names":{"title":"present()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Presents the updated texture to the renderer as soon as possible."},{"text":""},{"text":"Needs to be called after all commands in the command buffer have been executed (e.g."},{"text":"after `MTLCommandBuffer.waitUntilCompleted()`). When you call this method, the drawable"},{"text":"will make the new texture content available to the renderer."},{"text":""},{"text":"Alternatively, instead of waiting for completion you can call"},{"text":"`MTLCommandBuffer.present(_:)` to signal in the command buffer that the texture is ready"},{"text":"to use."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC5shape6filterAcA13ShapeResourceC_AA15CollisionFilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init(shape:filter:)"],"names":{"title":"init(shape:filter:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume with the given shape and collision filter."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape of the trigger volume."},{"text":""},{"text":"- filter: A collision filter that lets you differentiate among collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .sensor)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the collection are not returned as part"},{"text":"of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \"))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the collection and for each instance of `separator` at"},{"text":" the start or end of the collection. If `true`, only nonempty"},{"text":" subsequences are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyyxSTRzAA12HasAnchoring7ElementRpzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces the existing anchor collection with a provided sequence."},{"text":""},{"text":"- Parameters:"},{"text":"- entities: A sequence of anchors to replace the existing"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"S.Element","rhs":"HasAnchoring","rhsPrecise":"s:17RealityFoundation12HasAnchoringP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","ClearcoatRoughness"],"names":{"title":"CustomMaterial.ClearcoatRoughness","navigator":[{"kind":"identifier","spelling":"ClearcoatRoughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the degree to which an entity’s clear, shiny"},{"text":"coating scatters light to create soft highlights."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"coating, like on a car or the surface of lacquered objects. Use this"},{"text":"object to specify a clearcoat roughness value and indicate how much the"},{"text":"clearcoat scatters light that bounces off of it, which softens and"},{"text":"disperses the highlights."},{"text":""},{"text":"For information, see"},{"text":"``CustomMaterial/clearcoatRoughness-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV16defaultSkinWidthSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultSkinWidth"],"names":{"title":"defaultSkinWidth","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSkinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSkinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all anchors from the collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO12optimizationyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","optimization"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.optimization","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"optimization"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"optimization"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity"],"names":{"title":"CustomMaterial.Opacity","navigator":[{"kind":"identifier","spelling":"Opacity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the transparency options for a custom material."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4int8yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int8"],"names":{"title":"MeshBuffers.ElementType.int8","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int8"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int8"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a base color object from a custom material’s base color"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s base color property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Iterator"],"names":{"title":"Entity.ChildCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the collection's iteration interface and"},{"text":"encapsulates its iteration state."},{"text":""},{"text":"By default, a collection conforms to the `Sequence` protocol by"},{"text":"supplying `IndexingIterator` as its associated `Iterator`"},{"text":"type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV18clearcoatRoughnessAC09ClearcoatF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","clearcoatRoughness"],"names":{"title":"clearcoatRoughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The degree to which an entity’s clear, shiny coating scatters light to"},{"text":"create soft highlights."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"coating, like on a car or the surface of lacquered objects. This"},{"text":"property allows you to specify a clearcoat roughness value to indicate"},{"text":"how much the clearcoat scatters light that bounces off of it, which"},{"text":"softens and disperses the highlights."},{"text":""},{"text":"You can specify a single value that applies to the entire material, or"},{"text":"you can supply a UV-mapped image texture containing different roughness"},{"text":"values for different parts of the entity. This value is available in"},{"text":"your surface shader. RealityKit won’t render a clearcoat with roughness"},{"text":"unless your surface shader calls both"},{"text":"`params.surface().set_clearcoat_roughness()` and"},{"text":"`params.surface().set_clearcoat()` with a value greater than `0.0`."},{"text":""},{"text":"The following Swift code demonstrates setting the `clearcoatRoughness`"},{"text":"using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoatRoughness = .init(floatLiteral: 0.5)"},{"text":"```"},{"text":""},{"text":"This example shows how to set the `clearcoatRoughness` using a UV-mapped"},{"text":"image:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatRoughnessResource = try?"},{"text":"TextureResource.load(named: \"entity_cc_roughness\") {"},{"text":" let ccRoughnessMap = MaterialParameters.Texture(clearcoatRoughnessResource)"},{"text":" material.clearcoat = .init(texture: ccRoughnessMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, RealityKit only renders a clearcoat if"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the material’s"},{"text":"surface shader function calls `params.surface().set_clearcoat()`. To"},{"text":"specify ``CustomMaterial/clearcoatRoughness-swift.property``, your"},{"text":"surface shader function must also call"},{"text":"`params.surface().set_clearcoat_roughness()`."},{"text":""},{"text":"The following Metal code demonstrates using"},{"text":"``CustomMaterial/clearcoat-swift.property`` and"},{"text":"``CustomMaterial/clearcoatRoughness-swift.property`` in a surface"},{"text":"shader, replicating the behavior of the ``PhysicallyBasedMaterial``"},{"text":"shader:"},{"text":""},{"text":"```other"},{"text":" // Retrieve the clearcoat scale and roughness from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":" float clearcoatRoughnessScale = params.material_constants().clearcoat_roughness_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Entities loaded from a USDZ or .reality file use texture coordinates with"},{"text":" // a flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample a value from the clearcoat and clearcoat roughness textures."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":" half clearcoatRoughess = tex.clearcoat_roughness().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat and"},{"text":" // assign the result."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":""},{"text":" // Multiply the scale and sampled texture value from the clearcoat roughness"},{"text":" // and assign the result."},{"text":" clearcoatRoughess *= clearcoatRoughnessScale;"},{"text":" params.surface().set_clearcoat_roughness(clearcoatRoughess);"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ProcessingStage","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt32yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt32"],"names":{"title":"MeshBuffers.ElementType.uInt32","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt32"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt32"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isRotationAnimated"],"names":{"title":"isRotationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes rotational"},{"text":"changes in the entity’s transform."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates"},{"text":"rotational differences in the entity's transform by interpolating to the"},{"text":"target rotation across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt16yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt16"],"names":{"title":"MeshBuffers.ElementType.uInt16","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt16"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt16"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14meshGenerationyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","meshGeneration"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.meshGeneration","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"meshGeneration"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"meshGeneration"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent"],"names":{"title":"PointLightComponent","navigator":[{"kind":"identifier","spelling":"PointLightComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointLightComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines a point light source."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PointLightComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5uInt8yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt8"],"names":{"title":"MeshBuffers.ElementType.uInt8","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt8"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt8"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes"],"names":{"title":"MaterialParameterTypes","navigator":[{"kind":"identifier","spelling":"MaterialParameterTypes"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameterTypes"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of typesused for material parameters."},{"text":""},{"text":"This class contains many nested types used to specify various properties of"},{"text":"material."},{"text":""},{"text":"Many material properties support more than one type of data. For example,"},{"text":"you can specify ``PhysicallyBasedMaterial/baseColor-swift.property`` using"},{"text":"either a single `Float`, or a UV mapped image texture."},{"text":"MaterialParameterTypes and its nested symbols implement the ability to"},{"text":"accept different data types for the same property."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameterTypes"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","removeFromParent(preservingWorldTransform:)"],"names":{"title":"removeFromParent(preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from its current parent or from the scene if it is a"},{"text":"root entity."},{"text":""},{"text":"This method behaves like the"},{"text":"``HasHierarchy/setParent(_:preservingWorldTransform:)`` method with a"},{"text":"value of `nil` for the `parent` parameter, except that method has no"},{"text":"effect on root entities. A root entity is one that is stored in a"},{"text":"scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of any modified parent"},{"text":"entities are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14textureMappingyA2GmF","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","textureMapping"],"names":{"title":"PhotogrammetrySession.Output.ProcessingStage.textureMapping","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureMapping"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureMapping"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","removeChild(_:preservingWorldTransform:)"],"names":{"title":"removeChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the given child from the entity."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasPerspectiveCamera","camera"],"names":{"title":"camera","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A camera component for the perspective camera entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstRange(of:)"],"names":{"title":"firstRange(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the range of the first occurrence of a given collection"},{"text":"within this collection."},{"text":""},{"text":"- Parameter other: The collection to search for."},{"text":"- Returns: A range in the collection of the first occurrence of `sequence`."},{"text":"Returns nil if `sequence` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","addChild(_:preservingWorldTransform:)"],"names":{"title":"addChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the given entity to the collection of child entities."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/addChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyySayAA12HasAnchoring_pGF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces the existing anchor collection with a provided collection."},{"text":""},{"text":"This method removes all anchors currently in the collection, then"},{"text":"appends all the elements in `entities` to the collection."},{"text":""},{"text":"- Parameters:"},{"text":"- entities: An array of anchors to replace the existing collection."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from five other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 2 50 100 -2 33 33\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","debounce(for:scheduler:options:)"],"names":{"title":"debounce(for:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements only after a specified time interval elapses between events."},{"text":""},{"text":"Use the ``Publisher/debounce(for:scheduler:options:)`` operator to control the number of values and time between delivery of values from the upstream publisher. This operator is useful to process bursty or high-volume event streams where you need to reduce the number of values delivered to the downstream to a rate you specify."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes elements on a schedule defined by the `bounces` array. The array is composed of tuples representing a value sent by the ``PassthroughSubject``, and a ranging from one-quarter second up to 2 seconds that drives a delivery timer. As the queue builds, elements arriving faster than one-half second `debounceInterval` are discarded, while elements arriving at a rate slower than `debounceInterval` are passed through to the ``Publisher/sink(receiveValue:)`` operator."},{"text":""},{"text":" let bounces:[(Int,TimeInterval)] = ["},{"text":" (0, 0),"},{"text":" (1, 0.25), // 0.25s interval since last index"},{"text":" (2, 1), // 0.75s interval since last index"},{"text":" (3, 1.25), // 0.25s interval since last index"},{"text":" (4, 1.5), // 0.25s interval since last index"},{"text":" (5, 2) // 0.5s interval since last index"},{"text":" ]"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" cancellable = subject"},{"text":" .debounce(for: .seconds(0.5), scheduler: RunLoop.main)"},{"text":" .sink { index in"},{"text":" print (\"Received index \\(index)\")"},{"text":" }"},{"text":""},{"text":" for bounce in bounces {"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + bounce.1) {"},{"text":" subject.send(bounce.0)"},{"text":" }"},{"text":" }"},{"text":""},{"text":" // Prints:"},{"text":" // Received index 1"},{"text":" // Received index 4"},{"text":" // Received index 5"},{"text":""},{"text":" // Here is the event flow shown from the perspective of time, showing value delivery through the `debounce()` operator:"},{"text":""},{"text":" // Time 0: Send index 0."},{"text":" // Time 0.25: Send index 1. Index 0 was waiting and is discarded."},{"text":" // Time 0.75: Debounce period ends, publish index 1."},{"text":" // Time 1: Send index 2."},{"text":" // Time 1.25: Send index 3. Index 2 was waiting and is discarded."},{"text":" // Time 1.5: Send index 4. Index 3 was waiting and is discarded."},{"text":" // Time 2: Debounce period ends, publish index 4. Also, send index 5."},{"text":" // Time 2.5: Debounce period ends, publish index 5."},{"text":""},{"text":"- Parameters:"},{"text":" - dueTime: The time the publisher should wait before publishing an element."},{"text":" - scheduler: The scheduler on which this publisher delivers elements"},{"text":" - options: Scheduler options that customize this publisher’s delivery of elements."},{"text":"- Returns: A publisher that publishes events only after a specified time elapses."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"dueTime","declarationFragments":[{"kind":"identifier","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","retry(_:)"],"names":{"title":"retry(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Attempts to recreate a failed subscription with the upstream publisher up to the number of times you specify."},{"text":""},{"text":"Use ``Publisher/retry(_:)`` to try a connecting to an upstream publisher after a failed connection attempt."},{"text":""},{"text":"In the example below, a attempts to connect to a remote URL. If the connection attempt succeeds, it publishes the remote service’s HTML to the downstream publisher and completes normally. Otherwise, the retry operator attempts to reestablish the connection. If after three attempts the publisher still can’t connect to the remote URL, the ``Publisher/catch(_:)`` operator replaces the error with a new publisher that publishes a “connection timed out” HTML page. After the downstream subscriber receives the timed out message, the stream completes normally."},{"text":""},{"text":" struct WebSiteData: Codable {"},{"text":" var rawHTML: String"},{"text":" }"},{"text":""},{"text":" let myURL = URL(string: \"https://www.example.com\")"},{"text":""},{"text":" cancellable = URLSession.shared.dataTaskPublisher(for: myURL!)"},{"text":" .retry(3)"},{"text":" .map({ (page) -> WebSiteData in"},{"text":" return WebSiteData(rawHTML: String(decoding: page.data, as: UTF8.self))"},{"text":" })"},{"text":" .catch { error in"},{"text":" return Just(WebSiteData(rawHTML: \"Unable to load page - timed out.\"))"},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: The HTML content from the remote URL upon a successful connection,"},{"text":" // or returns \"Unable to load page - timed out.\" if the number of retries exceeds the specified value."},{"text":""},{"text":"After exceeding the specified number of retries, the publisher passes the failure to the downstream receiver."},{"text":"- Parameter retries: The number of times to attempt to recreate the subscription."},{"text":"- Returns: A publisher that attempts to recreate its subscription to a failed upstream publisher."}]},"functionSignature":{"parameters":[{"name":"retries","declarationFragments":[{"kind":"identifier","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC16mipmapLevelCountSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","mipmapLevelCount"],"names":{"title":"mipmapLevelCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapLevelCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of mipmaps contained in this texture."},{"text":""},{"text":"Mipmaps are additional copies of the same texture at different"},{"text":"resolutions. This property contains the number of different versions of"},{"text":"this texture, including the original-size version."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapLevelCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","measureInterval(using:options:)"],"names":{"title":"measureInterval(using:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Measures and emits the time interval between events received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/measureInterval(using:options:)`` to measure the time between events delivered from an upstream publisher."},{"text":""},{"text":"In the example below, a 1-second is used as the data source for an event publisher; the ``Publisher/measureInterval(using:options:)`` operator reports the elapsed time between the reception of events on the main run loop:"},{"text":""},{"text":" cancellable = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .measureInterval(using: RunLoop.main)"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Stride(magnitude: 1.0013610124588013)"},{"text":" // Stride(magnitude: 0.9992760419845581)"},{"text":""},{"text":"The output type of the returned publisher is the time interval of the provided scheduler."},{"text":""},{"text":"This operator uses the provided scheduler’s ``Scheduler/now`` property to measure intervals between events."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: A scheduler to use for tracking the timing of events."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher that emits elements representing the time interval between the elements it receives."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor"],"names":{"title":"TextureResource.DrawableQueue.Descriptor","navigator":[{"kind":"identifier","spelling":"Descriptor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Descriptor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Describes the texture managed by the drawable queue"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Descriptor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"],"names":{"title":"breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal when a provided closure needs to stop the process in the debugger."},{"text":""},{"text":"Use ``Publisher/breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)`` to examine one or more stages of the subscribe/publish/completion process and stop in the debugger, based on conditions you specify. When any of the provided closures returns `true`, this operator raises the `SIGTRAP` signal to stop the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes strings to a breakpoint republisher. When the breakpoint receives the string “`DEBUGGER`”, it returns `true`, which stops the app in the debugger."},{"text":""},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .breakpoint("},{"text":" receiveOutput: { value in return value == \"DEBUGGER\" }"},{"text":" )"},{"text":" .sink { print(\"\\(String(describing: $0))\" , terminator: \" \") }"},{"text":""},{"text":" publisher.send(\"DEBUGGER\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: A closure that executes when the publisher receives a subscription. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveOutput: A closure that executes when the publisher receives a value. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveCompletion: A closure that executes when the publisher receives a completion. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":"- Returns: A publisher that raises a debugger signal when one of the provided closures returns `true`."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13systemActionsAC09SupportedF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","systemActions"],"names":{"title":"systemActions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"systemActions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The set of supported accessibility actions."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"systemActions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Output","ProcessingStage","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties"],"names":{"title":"PhysicsMassProperties","navigator":[{"kind":"identifier","spelling":"PhysicsMassProperties"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMassProperties"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mass properties of a physics body."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMassProperties"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Element"],"names":{"title":"Entity.ChildCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV5group4maskAcA0C5GroupV_AGtcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","init(group:mask:)"],"names":{"title":"init(group:mask:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision filter."},{"text":""},{"text":"Collision filters are created for the collision group specified in the"},{"text":"`group` parameter. The `mask` parameter defines which objects will"},{"text":"collide with the objects that use this filter. Because"},{"text":"``CollisionGroup`` conforms to"},{"text":", you can"},{"text":"specify any combination of collision groups in the `mask` parameter by"},{"text":"using the various"},{"text":" methods"},{"text":"like ``CollisionGroup/union(_:)``, ``CollisionGroup/subtracting(_:)``,"},{"text":"and ``CollisionGroup/intersection(_:)``. Entities from any group"},{"text":"contained in `mask` will collide with entities using this filter, while"},{"text":"those not contained by `mask` will not."},{"text":""},{"text":"To combine multiple groups into a filter, use the"},{"text":"``CollisionGroup/union(_:)`` method, like this:"},{"text":""},{"text":"```swift"},{"text":"let groupA = CollisionGroup(rawValue: 1 << 0)"},{"text":"let groupB = CollisionGroup(rawValue: 1 << 1)"},{"text":"let groupC = CollisionGroup(rawValue: 1 << 2)"},{"text":""},{"text":"// Create a filter that collides with A and C, but not B"},{"text":"let theFilter = CollisionFilter(group: groupA, mask: groupA.union(groupB))"},{"text":"```"},{"text":""},{"text":"A common use case is to want entities to collide with everything except"},{"text":"one group, or a few groups. In a game, for example, you might not want a"},{"text":"player’s pieces to collide with their own pieces, or you might not want"},{"text":"players on the same team to collide with each other. You can accomplish"},{"text":"that by starting with the ``CollisionGroup/all`` property, subtracting"},{"text":"the group or groups that you don’t want the entities using this filter"},{"text":"to collide with, like this:"},{"text":""},{"text":"```swift"},{"text":"// Create a filter that collides with everything except B"},{"text":"let notGroupB = CollisionGroup.all.subtracting(groupB)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - group: The collision group identifier."},{"text":""},{"text":"- mask: The collision mask defines what objects will collide with"},{"text":"objects using this filter."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV12boundsMarginSfvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","boundsMargin"],"names":{"title":"boundsMargin","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundsMargin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A margin applied to an entity’s bounding box that determines object"},{"text":"visibility."},{"text":""},{"text":"When determining which entities are currently visible, RealityKit tests"},{"text":"each entity’s bounding box to see if it overlaps with the camera’s field"},{"text":"of view (also known as the camera’s _frustum_). For efficiency, entities"},{"text":"with a bounding box that don’t overlap the camera’s frustum aren’t"},{"text":"rendered. Use this property to prevent RealityKit from incorrectly"},{"text":"culling entities that use a ``CustomMaterial`` with a geometry modifier"},{"text":"that moves vertices outside of the entity’s bounding box."},{"text":""},{"text":"RealityKit adds the value of `boundsMargin` to the bounding box before"},{"text":"determining which entities are visible."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundsMargin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20PhotogrammetrySampleV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySample"],"names":{"title":"PhotogrammetrySample","navigator":[{"kind":"identifier","spelling":"PhotogrammetrySample"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhotogrammetrySample"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that represents one image and its corresponding metadata."},{"text":""},{"text":"This object holds a single input image for constructing 3D objects from a"},{"text":"series of photographs, along with the image’s metadata, such as EXIF data or"},{"text":"information about a depth buffer, an object mask, or gravity vector."},{"text":""},{"text":"Use a unique ``RealityKit/PhotogrammetrySample/id-swift.property-8ew3n`` for each ``PhotogrammetrySession`` so RealityKit can distinguish different ``PhotogrammetrySample``"},{"text":"instances in status updates, error messages, and other contexts."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhotogrammetrySample"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the entity."},{"text":""},{"text":"You can find an entity by name in a scene by calling the scene’s"},{"text":"``Scene/findEntity(named:)`` method. Or you can recursively search among"},{"text":"the children of a given entity by calling the entity’s"},{"text":"``Entity/findEntity(named:)`` method."},{"text":""},{"text":"Entity names are not guaranteed to be unique. When you search by name,"},{"text":"these methods return the first entity encountered with the given name."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV4noneACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","none"],"names":{"title":"none","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates an animation doesn't display frame data outside"},{"text":"of its normal duration."},{"text":""},{"text":"For example, if you rewind an animation of a hand waving for one second"},{"text":"by setting ``SampledAnimation/trimStart`` to `-1.0`, a"},{"text":"``SampledAnimation/fillMode`` of `none` determines that the hand is"},{"text":"invisible for one second before appearing and waving."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11mipmapsModeAC07MipmapsI0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that determines whether the resource should generate mipmaps for each drawable's texture after it was updated."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that changes the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9roughnessAC9RoughnessVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount the surface of the 3D object scatters reflected light."},{"text":""},{"text":"The `roughness` property represents how much the surface of the entity"},{"text":"scatters light it reflects. A material with a high roughness has a matte"},{"text":"appearance, while one with a low roughness has a shiny appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte appearance"},{"text":"with very soft specular highlights. The sphere on the right has no"},{"text":"highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-roughness-swift-property-1)"},{"text":""},{"text":"Specify this property using a"},{"text":" to represent a"},{"text":"uniform `roughness` for the entire entity, or a UV-mapped grayscale"},{"text":"image that uses shades of gray to represent the roughness of different"},{"text":"parts of the entity. When using an image, black pixels represent areas"},{"text":"that have a low roughness and appear shiny, while white represents areas"},{"text":"that have a high roughness and display a matte finish."},{"text":""},{"text":"If you initialize this property with a color image rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"The following example uses a single value to specify roughness:"},{"text":""},{"text":"```swift"},{"text":"material.roughness = PhysicallyBasedMaterial.Roughness(floatLiteral: 0.0)"},{"text":"```"},{"text":""},{"text":"The following example uses an image to specify roughness:"},{"text":""},{"text":"```swift"},{"text":"if let roughnessResource = try? TextureResource.load(named:"},{"text":"\"entity_roughness\") {"},{"text":" let roughness = MaterialParameters.Texture(roughnessResource)"},{"text":" material.roughness = PhysicallyBasedMaterial.Roughness(texture:roughness)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd"],"names":{"title":"ComponentEvents.DidAdd","navigator":[{"kind":"identifier","spelling":"DidAdd"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAdd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been added to an entity,"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAdd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC4load5named2inACSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","load(named:in:)"],"names":{"title":"load(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an environment resource. (Blocks until the resource is available.)"},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the environment resource (without any file extension)."},{"text":" - bundle: The bundle containing the resource. Specify nil to search the app’s main"},{"text":" bundle."},{"text":""},{"text":"- Returns: The loaded environment resource."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object using a single value or a texture."},{"text":""},{"text":"This initializer allows you to create an instance using either a"},{"text":"single value for the entire material or a UV-mapped image. If"},{"text":"`texture` is non-`nil`, RealityKit uses that image to determine the"},{"text":"material’s opacity and ignores `scale`. If `texture` is `nil`, then"},{"text":"it uses `scale` for the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The opacity value for the entire material."},{"text":""},{"text":" - texture: The opacity values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8BlendingO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Blending"],"names":{"title":"CustomMaterial.Blending","navigator":[{"kind":"identifier","spelling":"Blending"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that specifies the transparency of an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO11faceVaryingyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","faceVarying"],"names":{"title":"MeshBuffers.Rate.faceVarying","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceVarying"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the index rate. The buffer count must match the number of indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceVarying"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV6normals5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The normal of the hit."},{"text":""},{"text":"The frame of reference for this point depends on the reference entity"},{"text":"used in the call to either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method"},{"text":"or the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method that generated the hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasDirectionalLight","light"],"names":{"title":"light","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A directional light component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"light"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DirectionalLightComponent","preciseIdentifier":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV16defaultStepLimitSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultStepLimit"],"names":{"title":"defaultStepLimit","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultStepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultStepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO4faceyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","face"],"names":{"title":"MeshBuffers.Rate.face","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the face rate. The buffer count must match the number of polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation from the"},{"text":"starting frame defined by ``SampledAnimation/start``."},{"text":""},{"text":"If you set a value for this property, the animation visually begins from"},{"text":"an additional seconds offset from the starting frame and decreases the"},{"text":"duration by that amount."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``SampledAnimation/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:_:_:)"],"names":{"title":"map(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of three key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:_:)`` operator uses the Swift key path syntax to access the `die1`, `die2`, and `die3` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these three values (as an `(Int, Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" let die3: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6),"},{"text":" die3: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2, \\.die3)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1), \\(values.2) (total \\(values.0 + values.1 + values.2))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 5, 4, 2 (total 11)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of a second property on `Output`."},{"text":" - keyPath2: The key path of a third property on `Output`."},{"text":"- Returns: A publisher that publishes the values of three key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},{"name":"keyPath2","declarationFragments":[{"kind":"identifier","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1},{"name":"T2","index":2,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryVACycfc","interfaceLanguage":"swift"},"pathComponents":["EntityQuery","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a query that returns all entities in a scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semantic11mipmapsModeAeC8SemanticOSg_AC07MipmapsI0Otcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","init(semantic:mipmapsMode:)"],"names":{"title":"init(semantic:mipmapsMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new texture creation options structure."},{"text":""},{"text":"The `semantic` value you pass tells RealityKit how you plan to use the texture data from this resource. For example, passing"},{"text":" ``RealityKit/TextureResource/Semantic-swift.enum/color`` lets RealityKit know you're"},{"text":" using the texture to pass perceptual color information to the shaders, such as for providing a UV-mapped base color for physically"},{"text":" based rendering materials. Passing ``RealityKit/TextureResource/Semantic-swift.enum/raw`` tells RealityKit to pass the pixel"},{"text":" values with as little processing as possible."},{"text":""},{"text":"If semantic is `nil`, RealityKit tries to infer a semantic from the texture's source data. If it's unable to determine a semantic from the texture source"},{"text":" data, it will infer a semantic from the texture's usage. Providing a value for `semantic` ensures that RealityKit passes the texture resource exactly as you intend."},{"text":""},{"text":"- Note: RealityKit only takes embedded color space data into account when rendering a texture if you pass"},{"text":" ``RealityKit/TextureResource/Semantic-swift.enum/color`` for `semantic`."},{"text":""},{"text":"- Parameters:"},{"text":" - semantic: The intended use of the texture resource."},{"text":""},{"text":" - mipmapsMode: Whether to automatically allocate or generate mipmaps."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":" = .allocateAndGenerateAll)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO6vertexyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","vertex"],"names":{"title":"MeshBuffers.Rate.vertex","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertex"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the vertex rate. The buffer count must match the number of points."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertex"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryV5whereAcA0D9PredicateVyAA0C0CG_tcfc","interfaceLanguage":"swift"},"pathComponents":["EntityQuery","init(where:)"],"names":{"title":"init(where:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a query that returns all entities in a scene that match specific"},{"text":"criteria."},{"text":""},{"text":"- Parameters:"},{"text":" - predicate: The criteria that specifies the entities to return."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25DirectionalLightComponentV9intensitySfvp","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","intensity"],"names":{"title":"intensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of the directional light, measured in lumen per square"},{"text":"meter."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate"],"names":{"title":"ComponentEvents.DidActivate","navigator":[{"kind":"identifier","spelling":"DidActivate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been activated."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sci12_ConcurrencyE10compactMapyAA020AsyncThrowingCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaKclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Outputs","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingCompactMapSequence","preciseIdentifier":"s:12_Concurrency31AsyncThrowingCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}]},"docComment":{"module":"_Concurrency","lines":[{"text":"Creates an asynchronous sequence that maps an error-throwing closure over"},{"text":"the base sequence’s elements, omitting results that don't return a value."},{"text":""},{"text":"Use the `compactMap(_:)` method to transform every element received from"},{"text":"a base asynchronous sequence, while also discarding any `nil` results"},{"text":"from the closure. Typically, you use this to transform from one type of"},{"text":"element to another."},{"text":""},{"text":"In this example, an asynchronous sequence called `Counter` produces `Int`"},{"text":"values from `1` to `5`. The closure provided to the `compactMap(_:)`"},{"text":"method takes each `Int` and looks up a corresponding `String` from a"},{"text":"`romanNumeralDict` dictionary. Since there is no key for `4`, the closure"},{"text":"returns `nil` in this case, which `compactMap(_:)` omits from the"},{"text":"transformed asynchronous sequence. When the value is `5`, the closure"},{"text":"throws `MyError`, terminating the sequence."},{"text":""},{"text":" let romanNumeralDict: [Int: String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" do {"},{"text":" let stream = Counter(howHigh: 5)"},{"text":" .compactMap { (value) throws -> String? in"},{"text":" if value == 5 {"},{"text":" throw MyError()"},{"text":" }"},{"text":" return romanNumeralDict[value]"},{"text":" }"},{"text":" for try await numeral in stream {"},{"text":" print(numeral, terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print(\"Error: \\(error)\")"},{"text":" }"},{"text":" // Prints \"I II III Error: MyError() \""},{"text":""},{"text":"- Parameter transform: An error-throwing mapping closure. `transform`"},{"text":" accepts an element of this sequence as its parameter and returns a"},{"text":" transformed value of the same or of a different type. If `transform`"},{"text":" throws an error, the sequence ends."},{"text":"- Returns: An asynchronous sequence that contains, in order, the"},{"text":" non-`nil` elements produced by the `transform` closure. The sequence"},{"text":" ends either when the base sequence ends or when `transform` throws an"},{"text":" error."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AsyncThrowingCompactMapSequence","preciseIdentifier":"s:12_Concurrency31AsyncThrowingCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"_Concurrency","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AsyncThrowingCompactMapSequence","preciseIdentifier":"s:12_Concurrency31AsyncThrowingCompactMapSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Texture"],"names":{"title":"PhysicallyBasedMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture type to use for materials of this class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until a given closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/drop(while:)`` to omit elements from an upstream publisher until the element received meets a condition you specify."},{"text":""},{"text":"In the example below, the operator omits all elements in the stream until the first element arrives that’s a positive integer, after which the operator publishes all remaining elements:"},{"text":""},{"text":" let numbers = [-62, -1, 0, 10, 0, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .drop { $0 <= 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10 0, 22 41 -1 5\""},{"text":""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO5afteryAcA0C0_pXpcACmF","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","after(_:)"],"names":{"title":"SystemDependency.after(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"after"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An update order that requests RealityKit update this system after it"},{"text":"updates another specified system."},{"text":""},{"text":"- Parameters:"},{"text":" - System: A system that this system updates after."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"after"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC5sceneAA5SceneCSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scene that owns the entity."},{"text":""},{"text":"An entity belongs to a scene if the entity is part of a hierarchy that’s"},{"text":"rooted in the scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The value of the property is `nil` if the entity isn’t currently"},{"text":"attached to any scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Transform","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","load(contentsOf:withName:)"],"names":{"title":"load(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL."},{"text":""},{"text":"This method loads the image specified by `URL` and creates a texture"},{"text":"resource from it. The method blocks until it has loaded the image and"},{"text":"created the texture resource. RealityKit uses the resource name to"},{"text":"distinguish resources locally, and to match texture resources between networked"},{"text":"peers. Specify a unique name for each texture resource you load or"},{"text":"generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The loaded resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV8distanceSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","distance"],"names":{"title":"distance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The distance from the ray origin to the hit, or the convex shape travel"},{"text":"distance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate"],"names":{"title":"ComponentEvents.WillDeactivate","navigator":[{"kind":"identifier","spelling":"WillDeactivate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised before a component is deactivated."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureDimension","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8rawValues4Int8Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE9formIndex6beforey0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(before:)"],"names":{"title":"formIndex(before:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its predecessor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be greater than"},{"text":" `startIndex`."}]},"functionSignature":{"parameters":[{"name":"before","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC8SemanticO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17PerspectiveCameraCACycfc","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a perspective camera entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV15defaultUpVectors5SIMD3VySfGvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultUpVector"],"names":{"title":"defaultUpVector","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultUpVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultUpVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity that was hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","output(at:)"],"names":{"title":"output(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a specific element, indicated by its index in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(at:)`` when you need to republish a specific element specified by its position in the stream. If the publisher completes normally or with an error before publishing the specified element, then the publisher doesn’t produce any elements."},{"text":""},{"text":"In the example below, the array publisher emits the fifth element in the sequence of published elements:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" numbers.publisher"},{"text":" .output(at: 5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"6\""},{"text":""},{"text":"- Parameter index: The index that indicates the element to publish."},{"text":"- Returns: A publisher that publishes a specific indexed element."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8SpecularV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Specular"],"names":{"title":"CustomMaterial.Specular","navigator":[{"kind":"identifier","spelling":"Specular"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the specular highlights of an entity."},{"text":""},{"text":"In physically based rendering (PBR), specular highlights primarily come"},{"text":"from the object’s ``PhysicallyBasedMaterial/roughness-swift.property``"},{"text":"value. RealityKit renders materials that have a low roughness value with"},{"text":"specular highlights based on the environment, lighting, and shape of the"},{"text":"entity."},{"text":""},{"text":"For more information on using specular values in a custom material, see"},{"text":"``CustomMaterial/specular-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntity03hitH00I8Position0I6Normal13moveDirection0L8DistanceAeA0H0C_AMs5SIMD3VySfGA2PSftcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","init(characterEntity:hitEntity:hitPosition:hitNormal:moveDirection:moveDistance:)"],"names":{"title":"init(characterEntity:hitEntity:hitPosition:hitNormal:moveDirection:moveDistance:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create Collision and initialize all fields."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV9materialsSayAA8Material_pGvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","materials"],"names":{"title":"materials","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The materials used by the model."},{"text":""},{"text":"Each ``RealityKit/MeshResource`` requires a set of materials. An entity that has no materials"},{"text":"renders using a pink, striped material. To determine the number of materials a model entity requires"},{"text":", use `MeshResource.expectedMaterialCount`"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isTranslationAnimated"],"names":{"title":"isTranslationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes"},{"text":"translational changes in the entity's transform."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates"},{"text":"translation differences in the entity’s transform by interpolating to"},{"text":"the target translation across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","BaseColor"],"names":{"title":"SimpleMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent base color."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC13drawableQueueAC0eG0Cvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","drawableQueue"],"names":{"title":"drawableQueue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The DrawableQueue that this Drawable is owned by"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9inputModeAC05InputF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AudioResource","inputMode"],"names":{"title":"inputMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The input mode used by an audio resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inputMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove"],"names":{"title":"ComponentEvents.WillRemove","navigator":[{"kind":"identifier","spelling":"WillRemove"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemove"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised before a component is removed from an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemove"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object using a custom material’s opacity"},{"text":"property."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s opacity property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode"],"names":{"title":"PhysicsBodyMode","navigator":[{"kind":"identifier","spelling":"PhysicsBodyMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ways that a physics body can move in response to physical forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8forwardsACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","forwards"],"names":{"title":"forwards","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that freezes the last frame of the animation until it stops."},{"text":""},{"text":"For example, if you increase a hand-waving animation’s duration one"},{"text":"second by setting ``SampledAnimation/trimEnd`` to"},{"text":"``SampledAnimation/duration`` + `1.0`, a ``SampledAnimation/fillMode``"},{"text":"of `forwards` determines that the hand waves and then freezes on its"},{"text":"final animation frame for one second before disappearing."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange"],"names":{"title":"ComponentEvents.DidChange","navigator":[{"kind":"identifier","spelling":"DidChange"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidChange"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been modified."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidChange"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object using a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The opacity value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13customActionsSay0B023LocalizedStringResourceVGvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","customActions"],"names":{"title":"customActions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customActions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of custom actions supported by the entity, identified by their localized string key."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customActions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","breakpointOnError()"],"names":{"title":"breakpointOnError()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal upon receiving a failure."},{"text":""},{"text":"When the upstream publisher fails with an error, this publisher raises the `SIGTRAP` signal, which stops the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In this example a ``PassthroughSubject`` publishes strings, but its downstream ``Publisher/tryMap(_:)`` operator throws an error. This sends the error downstream as a ``Subscribers/Completion/failure(_:)``. The ``Publisher/breakpointOnError()`` operator receives this completion and stops the app in the debugger."},{"text":""},{"text":" struct CustomError : Error {}"},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .tryMap { stringValue in"},{"text":" throw CustomError()"},{"text":" }"},{"text":" .breakpointOnError()"},{"text":" .sink("},{"text":" receiveCompletion: { completion in print(\"Completion: \\(String(describing: completion))\") },"},{"text":" receiveValue: { aValue in print(\"Result: \\(String(describing: aValue))\") }"},{"text":" )"},{"text":""},{"text":" publisher.send(\"TEST DATA\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Returns: A publisher that raises a debugger signal upon receiving a failure."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationView/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation17PerspectiveCameraC","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera","camera"],"names":{"title":"camera","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A camera component for the perspective camera entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume"],"names":{"title":"TriggerVolume","navigator":[{"kind":"identifier","spelling":"TriggerVolume"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriggerVolume"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An invisible 3D shape that detects when objects enter or exit a given region"},{"text":"of space."},{"text":""},{"text":"A trigger volume is an entity that can participate in collisions because it"},{"text":"has a ``CollisionComponent``. You use a trigger volume as a sensor that"},{"text":"indicates when another collision-capable entity, like a ``ModelEntity``,"},{"text":"enters the region of space occupied by the trigger volume. You can use the"},{"text":"generated ``CollisionEvents`` between the trigger volume and the other"},{"text":"entity to trigger an action, like indicating to the user that a projectile"},{"text":"hit its target."},{"text":""},{"text":"![Diagram showing the components present in the trigger volume"},{"text":"entity.](TriggerVolume-1)"},{"text":""},{"text":"The trigger volume itself is very simple. It lacks any physical appearance,"},{"text":"and doesn’t participate in physics simulations. This makes it very efficient"},{"text":"for tasks that require only collision detection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriggerVolume"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV16isRotationLockedSb1x_Sb1ySb1ztvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isRotationLocked"],"names":{"title":"isRotationLocked","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A tuple of Boolean values that you use to lock rotation of the physics"},{"text":"body around any of the three axes."},{"text":""},{"text":"For any one of the three Booleans in the tuple that you set to `true`,"},{"text":"rotation is restricted on the axis represented by that item. For"},{"text":"example, if you set the `x` item to true, then the body can’t rotate"},{"text":"around the x-axis. By default, rotation isn’t restricted."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","output(in:)"],"names":{"title":"output(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements specified by their range in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(in:)`` to republish a range indices you specify in the published stream. After publishing all elements, the publisher finishes normally. If the publisher completes normally or with an error before producing all the elements in the range, it doesn’t publish the remaining elements."},{"text":""},{"text":"In the example below, an array publisher emits the subset of elements at the indices in the specified range:"},{"text":""},{"text":" let numbers = [1, 1, 2, 2, 2, 3, 4, 5, 6]"},{"text":" numbers.publisher"},{"text":" .output(in: (3...5))"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 2 3\""},{"text":""},{"text":"- Parameter range: A range that indicates which elements to publish."},{"text":"- Returns: A publisher that publishes elements specified by a range."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"R","rhs":"RangeExpression","rhsPrecise":"s:SX"},{"kind":"sameType","lhs":"R.Bound","rhs":"Int","rhsPrecise":"s:Si"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RangeExpression","preciseIdentifier":"s:SX"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Bound"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC","interfaceLanguage":"swift"},"pathComponents":["MeshResource"],"names":{"title":"MeshResource","navigator":[{"kind":"identifier","spelling":"MeshResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A high-level representation of a collection of vertices and edges that"},{"text":"define a shape."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVAAE7Texturea","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","Texture"],"names":{"title":"SimpleMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent textures."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the hit."},{"text":""},{"text":"The frame of reference for this point depends on the reference entity"},{"text":"used in the call to either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method"},{"text":"or the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method that generated the hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","loadAsync(contentsOf:withName:)"],"names":{"title":"loadAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL asynchronously."},{"text":""},{"text":"RealityKit uses the resource name to distinguish resources locally, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":"- Returns: A load operation that publishes the resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9clearcoatAC9ClearcoatVvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","clearcoat"],"names":{"title":"clearcoat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparent highlights that simulate a clear, shiny coating on an"},{"text":"entity."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"coating, like on a car or the surface of lacquered objects."},{"text":""},{"text":"This property allows you to specify"},{"text":"``PhysicallyBasedMaterial/clearcoat-swift.property`` using a single"},{"text":"`Float` that applies to the entire material, or a UV-mapped grayscale"},{"text":"image to provide different values for different parts of an entity."},{"text":""},{"text":"The following example specifies `clearcoat` using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoat = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify `clearcoat` using a UV-mapped image"},{"text":"texture:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatResource = try? TextureResource.load(named:"},{"text":"\"entity_clearcoat\") {"},{"text":" let clearcoatMap = MaterialParameters.Texture(clearcoatResource)"},{"text":" material.clearcoat = .init(texture: clearcoatMap)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"With custom materials, RealityKit doesn’t automatically use the values"},{"text":"you set for this property to render your entity. The values from this"},{"text":"property are available to the custom material’s surface shader, but it"},{"text":"doesn’t render a clearcoat unless the custom material’s"},{"text":"``CustomMaterial/lightingModel-swift.property`` is"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the surface"},{"text":"shader calls `params.surface().set_clearcoat()`."},{"text":""},{"text":"The following Metal code demonstrates how to retrieve the scale and"},{"text":"texture from this property, and use them to enable clearcoat rendering."},{"text":""},{"text":"```other"},{"text":" // Retrieve the clearcoat scale from the CustomMaterial."},{"text":" float clearcoatScale = params.material_constants().clearcoat_scale();"},{"text":""},{"text":" // Retrieve the entity's texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or .reality files use texture coordinates with a"},{"text":" // flipped y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the clearcoat texture using the texture coordinates."},{"text":" auto tex = params.textures();"},{"text":" half clearcoat = tex.clearcoat().sample(textureSampler, uv).r;"},{"text":""},{"text":" // Multiply the scale and sampled value from the texture, and assign"},{"text":" // the result."},{"text":" clearcoat *= clearcoatScale;"},{"text":" params.surface().set_clearcoat(clearcoat);"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV11mipmapsModeAC07MipmapsH0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Whether the texture resource automatically generates mipmaps."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withName7optionsAC0B03URLV_SSSgAC13CreateOptionsVtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","load(contentsOf:withName:options:)"],"names":{"title":"load(contentsOf:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL with options."},{"text":""},{"text":"This method loads the image specified by the `URL` and creates a texture"},{"text":"resource from it. This method blocks until it has loaded the image and"},{"text":"created the texture resource."},{"text":""},{"text":"RealityKit uses the resource name to identify resources, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The URL of the resource."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: The loaded resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9skinWidthSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","skinWidth"],"names":{"title":"skinWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An added tolerance around the character capsule."},{"text":""},{"text":"A small skin, known as the *contact offset*, is maintained around the controller's volume to avoid"},{"text":"rounding and precision issues with collision detection. Specify this value relative to the entity's"},{"text":"coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","EmissiveColor"],"names":{"title":"CustomMaterial.EmissiveColor","navigator":[{"kind":"identifier","spelling":"EmissiveColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the color of the light an entity emits."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lastIndex(of:)"],"names":{"title":"lastIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the last index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `lastIndex(of:)` to find the position of the last instance of"},{"text":"a particular element in a collection, you can use it to access the"},{"text":"element by subscripting. This example shows how you can modify one of"},{"text":"the names in an array of students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Ben\", \"Maxime\"]"},{"text":" if let i = students.lastIndex(of: \"Ben\") {"},{"text":" students[i] = \"Benjamin\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Benjamin\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The last index where `element` is found. If `element` is not"},{"text":" found in the collection, this method returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode","navigator":[{"kind":"identifier","spelling":"VisualizationMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VisualizationMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that specifies the portion of the rendering process to isolate"},{"text":"and display for debugging."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VisualizationMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9addAnchoryyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","addAnchor(_:)"],"names":{"title":"addAnchor(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addAnchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds an anchor to the scene’s list of anchors."},{"text":""},{"text":"- Parameters:"},{"text":" - anchor: The anchor to add."}]},"functionSignature":{"parameters":[{"name":"anchor","declarationFragments":[{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC16debugDescriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","debugDescription"],"names":{"title":"debugDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A human readable description of the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4axiss5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","axis"],"names":{"title":"axis","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A 3D vector that points in the direction of the axis around which to"},{"text":"rotate."},{"text":""},{"text":"You can rotate an object around any axis. For example, if you set a `1`"},{"text":"in the vector's x-coordinate, rotation occurs around the x-axis, as in"},{"text":"the following code."},{"text":""},{"text":"```swift"},{"text":"orbitAnimation.axis = SIMD3(x: 1.0, y: 0.0, z: 0.0)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value or a texture."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core PBR properties, you can create"},{"text":"additional realistic effects by augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from a"},{"text":"single value, an image texture, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `specular` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, RealityKit uses `scale` as the entire entity’s specular."},{"text":"If you provide a color image for `texture` rather than a grayscale"},{"text":"image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"- Parameters:"},{"text":"- scale: A value from 0.0 to 1.0 to use as the specular value for"},{"text":"the material."},{"text":""},{"text":" - texture: An optional UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator"],"names":{"title":"Entity.ChildCollection.IndexingIterator","navigator":[{"kind":"identifier","spelling":"IndexingIterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IndexingIterator"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IndexingIterator"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Elements"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP2idAA0C7BuffersO10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO","interfaceLanguage":"swift"},"pathComponents":["SystemDependency"],"names":{"title":"SystemDependency","navigator":[{"kind":"identifier","spelling":"SystemDependency"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SystemDependency"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines update order relative to other systems."},{"text":"An object that specifies the update order between multiple systems."},{"text":""},{"text":"Add instances of `SystemDependency` to your system’s"},{"text":"``System/dependencies-2s31o`` array to indicate whether RealityKit updates"},{"text":"another specified system before or after this system."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SystemDependency"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV4bothACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","both"],"names":{"title":"both","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"both"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that displays the animation's initial frame or final frame"},{"text":"when playback occurs outside of the normal duration."},{"text":""},{"text":"For example, if you extend a hand-waving animation’s duration by one"},{"text":"second in both directions by setting ``SampledAnimation/trimStart`` to"},{"text":"`-1.0`, and ``SampledAnimation/trimEnd`` to"},{"text":"``SampledAnimation/duration`` + `1.0`, a ``SampledAnimation/fillMode``"},{"text":"of `both` determines that the hand holds its initial appearance for one"},{"text":"second before continuing to wave. Then, the animation freezes on its"},{"text":"final hand-waving frame for one second before disappearing."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"both"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormat5width6height5usage11mipmapsModeAGSo08MTLPixelI0V_S2iSo15MTLTextureUsageVAC07MipmapsN0Otcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","init(pixelFormat:width:height:usage:mipmapsMode:)"],"names":{"title":"init(pixelFormat:width:height:usage:mipmapsMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4backyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","back"],"names":{"title":"MaterialParameterTypes.FaceCulling.back","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"back"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system culls back-facing polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"back"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO7spatialyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","spatial"],"names":{"title":"AudioResource.InputMode.spatial","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spatial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Spatialized, taking into account both listener position and"},{"text":"orientation."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spatial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from seven other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":" let pubH = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF, pubG, pubH)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1000)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1001)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 1000 2 50 100 -2 33 33 54 1001\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":" - h: An eighth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]},{"name":"h","declarationFragments":[{"kind":"identifier","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1},{"name":"H","index":6,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"},{"kind":"sameType","lhs":"G.Failure","rhs":"H.Failure"},{"kind":"sameType","lhs":"G.Output","rhs":"H.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO10nonSpatialyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","nonSpatial"],"names":{"title":"AudioResource.InputMode.nonSpatial","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonSpatial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Not spatialized."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonSpatial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV9backwardsACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","backwards"],"names":{"title":"backwards","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"backwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that shows the first animation frame while playback progresses"},{"text":"to the beginning position."},{"text":""},{"text":"For example, if you wind a hand-waving animation’s duration back one"},{"text":"second by setting ``SampledAnimation/trimStart`` to `-1.0`, a"},{"text":"``SampledAnimation/fillMode`` of `backwards` determines that the hand"},{"text":"holds its initial appearance for one second before waving."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"backwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","none"],"names":{"title":"MaterialParameterTypes.FaceCulling.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system doesn’t cull polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC22isAccessibilityElementSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isAccessibilityElement"],"names":{"title":"isAccessibilityElement","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value indicating whether the receiver is an accessibility"},{"text":"element that an assistive application can access."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label0B023LocalizedStringResourceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","label"],"names":{"title":"label","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that identifies the label for this content."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity for which ownership is changed."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC12removeAnchoryyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","removeAnchor(_:)"],"names":{"title":"removeAnchor(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAnchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified anchor from the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - anchor: The anchor to remove."}]},"functionSignature":{"parameters":[{"name":"anchor","declarationFragments":[{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputMode","preciseIdentifier":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumInputImageDimensionSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Limits","maximumInputImageDimension"],"names":{"title":"maximumInputImageDimension","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumInputImageDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum allowed dimension (either height or width) of input images that can be ingested by the reconstruction"},{"text":"session. If images larger than this are provided, they will be ignored and an `.invalidSample` message will be"},{"text":"output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumInputImageDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO5frontyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","front"],"names":{"title":"MaterialParameterTypes.FaceCulling.front","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"front"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system culls front-facing polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"front"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV8newOwnerAA0C6PeerID_pSgvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged","newOwner"],"names":{"title":"newOwner","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"newOwner"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The new owner of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"newOwner"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","multicast(subject:)"],"names":{"title":"multicast(subject:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Provides a subject to deliver elements to multiple subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(_:)``, this method produces a publisher that shares the provided ``Subject`` among all the downstream subscribers."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(subject:)`` operator with a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast(subject: PassthroughSubject<(String, Int), Never>())"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 78))"},{"text":" // Stream 2 received: (\"First\", 78)"},{"text":" // Stream 1 received: (\"First\", 78)"},{"text":" // Random: receive value: ((\"Second\", 98))"},{"text":" // Stream 2 received: (\"Second\", 98)"},{"text":" // Stream 1 received: (\"Second\", 98)"},{"text":" // Random: receive value: ((\"Third\", 61))"},{"text":" // Stream 2 received: (\"Third\", 61)"},{"text":" // Stream 1 received: (\"Third\", 61)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter subject: A subject to deliver elements to downstream subscribers."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19CustomMaterialErrorO","interfaceLanguage":"swift"},"pathComponents":["CustomMaterialError","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8ResourceP","interfaceLanguage":"swift"},"pathComponents":["Resource"],"names":{"title":"Resource","navigator":[{"kind":"identifier","spelling":"Resource"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Resource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A shared resource you use to configure a component, like a material, mesh,"},{"text":"or texture."},{"text":""},{"text":"Resources can be costly to load or create. Share and reuse resources as much as possible."}]},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Resource"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8metallicAC8MetallicVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","metallic"],"names":{"title":"metallic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness of an entity."},{"text":""},{"text":"The `metallic` property represents the reflectiveness of an entity. Use"},{"text":"this property to specify whether the entity displays metallic qualities"},{"text":"and reflects the surrounding environment, or displays dielectric"},{"text":"qualities and doesn’t reflect the environment."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The sphere"},{"text":"on the left is shiny but dielecric so doesn’t reflect the surrounding"},{"text":"environment other than specular highlights from the visible light. The"},{"text":"sphere on the right is metallic and reflects all of the surrounding"},{"text":"environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-metallic-swift-property-1)"},{"text":""},{"text":"Specify this property using a"},{"text":" to represent a"},{"text":"uniform reflectiveness for the entire entity. You an also use a"},{"text":"UV-mapped grayscale image to represent the reflectiveness of different"},{"text":"parts of the entity. When using an image, black pixels represent areas"},{"text":"that are dielectric, while white pixels represents areas that are"},{"text":"completely metallic and reflective."},{"text":""},{"text":"If you initialize this property with a color image, rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"The following example specifies the metallic qualities of an entity"},{"text":"using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.metallic = PhysicallyBasedMaterial.Metallic(floatLiteral: 1.0) ```"},{"text":""},{"text":"The following example specifies the metallic qualities of an entity"},{"text":"using a UV-mapped image:"},{"text":""},{"text":"```swift"},{"text":"if let metalResource = try? TextureResource.load(named:\"entity_metallic\") {"},{"text":" let metallic = MaterialParameters.Texture(metalResource)"},{"text":" material.metallic = PhysicallyBasedMaterial.Metallic(texture:metallic)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scale of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s scale relative to its parent. To get the"},{"text":"actual scale of the entity in the scene, use"},{"text":"``HasTransform/scale(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/scale`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV4meshAA12MeshResourceCvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","mesh"],"names":{"title":"mesh","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The mesh that defines the shape of the entity."},{"text":""},{"text":"For more information, see ``RealityKit/MeshResource``"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18SpotLightComponentV","interfaceLanguage":"swift"},"pathComponents":["SpotLightComponent"],"names":{"title":"SpotLightComponent","navigator":[{"kind":"identifier","spelling":"SpotLightComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpotLightComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines a spotlight source."},{"text":""},{"text":"A spot light illuminates a cone-shaped volume in the entity's forward direction (0, 0, -1) . To orient a"},{"text":"spot light, use `HasTransform.look(at:from:upVector:)`."},{"text":""},{"text":"To enable shadows, create a ``RealityKit/DirectionalLightComponent/Shadow``"},{"text":"and assign it to `HasDirectionalLight.shadow`. To disable shadows set"},{"text":"`HasDirectionalLight.shadow` to `nil`."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpotLightComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","FloatLiteralType"],"names":{"title":"MaterialScalarParameter.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9RoughnessV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Roughness"],"names":{"title":"CustomMaterial.Roughness","navigator":[{"kind":"identifier","spelling":"Roughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines how the surface of an entity scatters the light"},{"text":"it reflects."},{"text":""},{"text":"In physically based rendering, the `roughness` property represents how"},{"text":"much the surface of an entity scatters the light it reflects. A material"},{"text":"with a high roughness has a matte appearance, whereas one with a low"},{"text":"roughness has a shiny appearance."},{"text":""},{"text":"For more information on using roughness values in a custom material, see"},{"text":"``CustomMaterial/roughness-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV8avPlayerACSo8AVPlayerC_tcfc","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","init(avPlayer:)"],"names":{"title":"init(avPlayer:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new video material."},{"text":""},{"text":"To create a video material, first create an"},{"text":""},{"text":"instance initialized with a URL that points to the movie file you want"},{"text":"the video material to play, then pass that to this initializer. The"},{"text":"following code demonstrates this process."},{"text":""},{"text":"```swift"},{"text":"// Create a URL that points to the movie file."},{"text":"if let url = Bundle.main.url(forResource: \"MyMovie\", withExtension: \"mp4\") {"},{"text":""},{"text":" // Create an AVPlayer instance to control playback of that movie."},{"text":" let player = AVPlayer(url: url)"},{"text":""},{"text":" // Instantiate and configure the video material."},{"text":" let material = VideoMaterial(avPlayer: player)"},{"text":""},{"text":" // Configure audio playback mode. This is optional for movie"},{"text":" // files that contain sound."},{"text":" material.controller.audioInputMode = .spatial"},{"text":""},{"text":" // Create a new model entity using the video material."},{"text":" let modelEntity = ModelEntity(mesh: cube, materials: [material])"},{"text":""},{"text":" // Start playing the video."},{"text":" player.play()"},{"text":"}"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- avPlayer: An"},{"text":""},{"text":"instance."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsVAEycfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addForce(_:relativeTo:)"],"names":{"title":"addForce(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `force` is defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationGroup/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationGroup/trimStart``, ``AnimationGroup/trimEnd``, or"},{"text":"``AnimationGroup/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","encode(encoder:)"],"names":{"title":"encode(encoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Encodes the output from upstream using a specified encoder."},{"text":""},{"text":"Use ``Publisher/encode(encoder:)`` with a (or a for property lists) to encode an struct into that could be used to make a JSON string (or written to disk as a binary plist in the case of property lists)."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes an `Article`. The ``Publisher/encode(encoder:)`` operator encodes the properties of the `Article` struct into a new JSON string according to the protocol adopted by `Article`. The operator publishes the resulting JSON string to the downstream subscriber. If the encoding operation fails, which can happen in the case of complex properties that can’t be directly transformed into JSON, the stream terminates and the error is passed to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" let cancellable = dataProvider"},{"text":" .encode(encoder: JSONEncoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\") },"},{"text":" receiveValue: { data in"},{"text":" guard let stringRepresentation = String(data: data, encoding: .utf8) else { return }"},{"text":" print(\"Data received \\(data) string representation: \\(stringRepresentation)\")"},{"text":" })"},{"text":""},{"text":" dataProvider.send(Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: Date()))"},{"text":""},{"text":" // Prints: \"Data received 86 bytes string representation: {\"title\":\"My First Article\",\"author\":\"Gita Kumar\",\"pubDate\":606211803.279603}\""},{"text":""},{"text":"- Parameter encoder: An encoder that implements the ``TopLevelEncoder`` protocol."},{"text":"- Returns: A publisher that encodes received elements using a specified encoder, and publishes the resulting data."}]},"functionSignature":{"parameters":[{"name":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Coder","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Coder","rhs":"TopLevelEncoder","rhsPrecise":"s:7Combine15TopLevelEncoderP"},{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelEncoder","preciseIdentifier":"s:7Combine15TopLevelEncoderP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect(_:options:)"],"names":{"title":"collect(_:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects elements by a given time-grouping strategy, and emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:options:)`` to emit arrays of elements on a schedule specified by a ``Scheduler`` and `Stride` that you provide. At the end of each scheduled interval, the publisher sends an array that contains the items it collected. If the upstream publisher finishes before filling the buffer, the publisher sends an array that contains items it received. This may be fewer than the number of elements specified in the requested `Stride`."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"The example above collects timestamps generated on a one-second in groups (`Stride`) of five."},{"text":""},{"text":" let sub = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .collect(.byTime(RunLoop.main, .seconds(5)))"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\\n\") }"},{"text":""},{"text":" // Prints: \"[2020-01-24 00:54:46 +0000, 2020-01-24 00:54:47 +0000,"},{"text":" // 2020-01-24 00:54:48 +0000, 2020-01-24 00:54:49 +0000,"},{"text":" // 2020-01-24 00:54:50 +0000]\""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - strategy: The timing group strategy used by the operator to collect and publish elements."},{"text":" - options: Scheduler options to use for the strategy."},{"text":"- Returns: A publisher that collects elements by a given strategy, and emits a single array of the collection."}]},"functionSignature":{"parameters":[{"name":"strategy","declarationFragments":[{"kind":"identifier","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of joint transforms in which each element represents a discrete"},{"text":"state of the target entity at a given point in the animation's timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of joint transforms."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from single value."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core PBR properties, you can create"},{"text":"additional realistic effects by augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from a"},{"text":"single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":"- value: A value from 0.0 to 1.0 to use as the specular value for"},{"text":"the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV23maximumTextureDimensionAG0jK0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","maximumTextureDimension"],"names":{"title":"maximumTextureDimension","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumTextureDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureDimension","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum dimension of the reconstructed texture maps."},{"text":""},{"text":"The reconstructed texture map will have width"},{"text":"and height dimensions both less than or equal to the provided `maxTextureDimension`."},{"text":"This property is useful for fitting within the texture memory resources of the rendering system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumTextureDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomDetailSpecification","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureDimension","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Iterator"],"names":{"title":"JointTransforms.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the collection's iteration interface and"},{"text":"encapsulates its iteration state."},{"text":""},{"text":"By default, a collection conforms to the `Sequence` protocol by"},{"text":"supplying `IndexingIterator` as its associated `Iterator`"},{"text":"type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO18IntegerLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","IntegerLiteralType"],"names":{"title":"MaterialScalarParameter.IntegerLiteralType","navigator":[{"kind":"identifier","spelling":"IntegerLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IntegerLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents an integer literal."},{"text":""},{"text":"The standard library integer and floating-point types are all valid types"},{"text":"for `IntegerLiteralType`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IntegerLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5group4name10repeatMode04fillH09trimStart0J3End0J8Duration6offset5delay5speedACSayAA0C10Definition_pG_SSAA0c6RepeatH0OAA0c4FillH0VSdSgA2TS2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","init(group:name:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(group:name:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collection of animations that play simultaneously."},{"text":""},{"text":"- Parameters:"},{"text":" - group: A collection of animations to run."},{"text":""},{"text":" - name: A textual name for the group."},{"text":""},{"text":" - repeatMode: An option that determines how the animations repeat."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The time, in seconds, at which the animations play."},{"text":""},{"text":" - trimEnd: The time, in seconds, at which the animations stop."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO6beforeyAcA0C0_pXpcACmF","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","before(_:)"],"names":{"title":"SystemDependency.before(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"before"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An update order that requests RealityKit update this system before it"},{"text":"updates another specified system."},{"text":""},{"text":"- Parameters:"},{"text":" - System: A system that this system updates before."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"before"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV6sensorACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","sensor"],"names":{"title":"sensor","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sensor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collision filter for an entity that collides with everything."},{"text":""},{"text":"The sensor collision filter is typically used by rays in ray casts,"},{"text":"shapes in convex shape casts, and trigger volumes. It corresponds to a"},{"text":"``CollisionFilter/group`` and ``CollisionFilter/mask`` both set to"},{"text":"``CollisionGroup/all``."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sensor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(size:cornerRadius:)"],"names":{"title":"generateBox(size:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with sides of equal length."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The length, in meters, of each face of the box."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO7ambientyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","ambient"],"names":{"title":"AudioResource.InputMode.ambient","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambient"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Spatialized, but ignoring listener position, and accounting only for"},{"text":"user orientation."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambient"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV8avPlayerSo8AVPlayerCSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","avPlayer"],"names":{"title":"avPlayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s video playback controller."},{"text":""},{"text":"Use this property to control animation playback for a video texture."},{"text":"This property allows you to play or pause the movie, _seek to_ (in other"},{"text":"words, skip to) a specific part of the movie, or to change the movie’s"},{"text":"playback rate. The following code demonstrates pausing the texture’s"},{"text":"video and restarting it from the beginning of the movie file:"},{"text":""},{"text":"```swift"},{"text":"myMaterial.avPlayer.pause()"},{"text":"myMaterial.avPlayer.seek(to: .zero)"},{"text":"myMaterial.avPlayer.play()"},{"text":"```"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV5groupAA0C5GroupVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","group"],"names":{"title":"group","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group or groups, stored as a bit mask, to which the entity"},{"text":"belongs."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","parent"],"names":{"title":"parent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parent entity."},{"text":""},{"text":"An entity has at most one parent entity. If an entity isn’t part of a"},{"text":"hierarchy, or if it is a root entity, the ``HasHierarchy/parent``"},{"text":"property is `nil`."},{"text":""},{"text":"Use the ``HasHierarchy/setParent(_:preservingWorldTransform:)`` method"},{"text":"to change an entity’s parent. Use the"},{"text":"``HasHierarchy/removeFromParent(preservingWorldTransform:)`` method to"},{"text":"remove the parent. These methods automatically update the corresponding"},{"text":"``HasHierarchy/children`` collections of the new and old parent."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","difference(from:)"],"names":{"title":"difference(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference needed to produce this collection's ordered"},{"text":"elements from the given collection."},{"text":""},{"text":"This function does not infer element moves. If you need to infer moves,"},{"text":"call the `inferringMoves()` method on the resulting difference."},{"text":""},{"text":"- Parameters:"},{"text":" - other: The base state."},{"text":""},{"text":"- Returns: The difference needed to produce this collection's ordered"},{"text":" elements from the given collection."},{"text":""},{"text":"- Complexity: Worst case performance is O(*n* * *m*), where *n* is the"},{"text":" count of this collection and *m* is `other.count`. You can expect"},{"text":" faster execution when the collections share many common elements, or"},{"text":" if `Element` conforms to `Hashable`."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BidirectionalCollection","preciseIdentifier":"s:SK"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new accessibility component with default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationView/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationView/trimStart`` and ``AnimationView/trimEnd`` are `nil`, the"},{"text":"animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationView/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``AnimationView/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation8BindPathV4PartO","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","FeatureSensitivity"],"names":{"title":"PhotogrammetrySession.Configuration.FeatureSensitivity","navigator":[{"kind":"identifier","spelling":"FeatureSensitivity"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FeatureSensitivity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The sensitivity to sample landmarks."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FeatureSensitivity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioResource"],"names":{"title":"AudioResource","navigator":[{"kind":"identifier","spelling":"AudioResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An audio resource that can be played by an entity."},{"text":""},{"text":"The ``AudioResource`` class stores audio that you can play from any entity"},{"text":"in your scene. Typically, you use an instance of the ``AudioFileResource``"},{"text":"subclass, however, which adds the ability to load the audio data from a file"},{"text":"(for example, from an `.aiff` file stored in your app’s bundle) or from a"},{"text":"URL."}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC9InputModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioResource","InputMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC11isSupportedSbvpZ","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","isSupported"],"names":{"title":"isSupported","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSupported"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns `true` if the current hardware supports Object Capture."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSupported"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"macCatalyst","introduced":{"major":16,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6doubleyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","double"],"names":{"title":"MeshBuffers.ElementType.double","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"double"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"double"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(of:)"],"names":{"title":"index(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5,"minor":0},"renamed":"firstIndex(of:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semanticAC8SemanticOSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","semantic"],"names":{"title":"semantic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8fillModeAA0d4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8MetallicV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Metallic"],"names":{"title":"CustomMaterial.Metallic","navigator":[{"kind":"identifier","spelling":"Metallic"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s reflectiveness."},{"text":""},{"text":"In physically based rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. Use this object to specify whether an"},{"text":"entity displays metallic qualities and reflects the surrounding"},{"text":"environment."},{"text":""},{"text":"For more information on using metallic values in a custom material, see"},{"text":"``CustomMaterial/metallic-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","children"],"names":{"title":"children","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The child entities that the entity manages."},{"text":""},{"text":"An entity can have any number of child entities."},{"text":""},{"text":"Use the ``HasHierarchy/addChild(_:preservingWorldTransform:)`` method to"},{"text":"add a child to an entity. Use the"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` method to"},{"text":"remove one from an entity. These methods automatically update the"},{"text":"``HasHierarchy/parent`` properties of the child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV26textureCoordinateTransformAA0D14ParameterTypesV07TexturefG0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","textureCoordinateTransform"],"names":{"title":"textureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation RealityKit applies to the entity’s"},{"text":"primary texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates control how RealityKit materials map"},{"text":"image textures onto an entity. Use this property to transform the"},{"text":"texture coordinates and change the way this material maps its textures."},{"text":"For example, you might change the scale of the UV coordinates to apply a"},{"text":"tiled, repeating pattern to the surface of your entity, or continuously"},{"text":"rotate or translate the texture coordinates to animate materials and"},{"text":"create special effects, such as fire or flowing liquids."},{"text":""},{"text":"The following example shows how to set a material’s UV transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees"},{"text":"converted to radians. material.textureCoordinateTransform ="},{"text":".init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"The material’s shader function doesn’t have to do anything to apply the"},{"text":"transformation. When the shader calls `params.geometry().uv1()`,"},{"text":"RealityKit already transforms the returned coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC","interfaceLanguage":"swift"},"pathComponents":["TextureResource"],"names":{"title":"TextureResource","navigator":[{"kind":"identifier","spelling":"TextureResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a texture."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO","interfaceLanguage":"swift"},"pathComponents":["BindTarget"],"names":{"title":"BindTarget","navigator":[{"kind":"identifier","spelling":"BindTarget"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindTarget"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to a particular scene, entity, or property that animates."},{"text":""},{"text":"This structure describes a reference to an animated property. The property"},{"text":"may be a transform, collection of joint transforms, an arbitrary named"},{"text":"property of an entity, or the property of a nested entity."},{"text":""},{"text":"For nested entities, the ``BindTarget/path(_:)`` case returns a ``BindPath``"},{"text":"instance that contains an array of _parts_ (``BindPath/Part``). Each part"},{"text":"identifies one or more nested, named entities or scenes, followed by the"},{"text":"property to animate."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindTarget"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC7outputsAC7OutputsVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","outputs"],"names":{"title":"outputs","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outputs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the outputs message stream which can be asynchronously iterated on."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outputs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Outputs","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd2FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd2Float"],"names":{"title":"MeshBuffers.ElementType.simd2Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd2Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd2Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The elapsed time for one complete rotation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``OrbitAnimation/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``OrbitAnimation/trimStart``, ``OrbitAnimation/trimEnd``, or"},{"text":"``OrbitAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Indices"],"names":{"title":"JointTransforms.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents the indices that are valid for subscripting the"},{"text":"collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6NormalV7textureAeC0cD7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Normal","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create an object from a specified texture."},{"text":""},{"text":"This initializer creates an object from a normal map texture."},{"text":"_Normal mapping_ is a real-time rendering technique that captures"},{"text":"fine surface details for a model using a texture instead of"},{"text":"increasing the number of polygons in the model. It works by storing"},{"text":"_surface normals_, which are vectors perpendicular to the surface of"},{"text":"the model, from a much higher-resolution version of the same 3D"},{"text":"object. A normal map stores each vector in the image by storing the"},{"text":"vectors’ `X`, `Y`, and `Z` values as the `R`, `G`, and `B`"},{"text":"components of the corresponding pixel in the UV-mapped image."},{"text":""},{"text":"To render an entity using a normal map,"},{"text":"``CustomMaterial/lightingModel-swift.property`` you must set"},{"text":"``CustomMaterial/LightingModel-swift.enum/lit`` or"},{"text":"``CustomMaterial/LightingModel-swift.enum/clearcoat`` and the custom"},{"text":"material’s surface shader function must call"},{"text":"`params.surface().set_normal()`. The following Metal code"},{"text":"demonstrates how to sample and use a value from the normal map in"},{"text":"your surface shader function:"},{"text":""},{"text":"```swift"},{"text":" // Retrieve the entity's UV texture coordinates."},{"text":" float2 uv = params.geometry().uv0();"},{"text":""},{"text":" // Models loaded from USDZ or Reality Composer use UVs that are flipped"},{"text":" // on the y-axis. This compensates for that."},{"text":" uv.y = 1.0 - uv.y;"},{"text":""},{"text":" // Sample the normal map texture based on the resulting UV coordinates."},{"text":" auto tex = params.textures();"},{"text":" float3 normal = (float3)tex.normal().sample(textureSampler, uv).rgb;"},{"text":""},{"text":" // Set the sampled value as this pixel's normal."},{"text":" params.surface().set_normal(normal);"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The image’s texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd3FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd3Float"],"names":{"title":"MeshBuffers.ElementType.simd3Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd3Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd3Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource"],"names":{"title":"AudioFileResource","navigator":[{"kind":"identifier","spelling":"AudioFileResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioFileResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An audio resource that you load from a file or from a URL."},{"text":""},{"text":"Load an audio file resource, like an audio file stored in `.aiff` format, by"},{"text":"calling one of the `load` functions. Use the resource to create an"},{"text":"``AudioPlaybackController`` instance by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` function. The controller plays the audio from"},{"text":"the location in space of the entity that created the controller. If you use"},{"text":"the spatial input mode (``AudioResource/InputMode-swift.enum/spatial``) the"},{"text":"sound grows louder as the user moves toward the entity in an AR experience."}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioFileResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withName7optionsAA11LoadRequestCyACG0B03URLV_SSSgAC13CreateOptionsVtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","loadAsync(contentsOf:withName:options:)"],"names":{"title":"loadAsync(contentsOf:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL asynchronously with options."},{"text":""},{"text":"RealityKit uses the resource name to distinguish resources locally, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A load operation that publishes the resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Element"],"names":{"title":"JointTransforms.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An individual joint transform in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC18accessibilityLabelSSSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","accessibilityLabel"],"names":{"title":"accessibilityLabel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityLabel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A succinct label that identifies the purpose of the image."},{"text":""},{"text":"The default value for this property is `false`."},{"text":""},{"text":"For entities with ``Entity/isAccessibilityElement`` set to"},{"text":", iOS uses this"},{"text":"string to provide information to users of assistive technologies like"},{"text":"VoiceOver. Set this property to a name or short description that"},{"text":"accurately describes the entity. If you wish to provide additional"},{"text":"information or a longer description of the entity, you can use"},{"text":"``Entity/accessibilityDescription``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityLabel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"*","message":"Use accessibilityLabelKey instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC7anchorsAC16AnchorCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["Scene","anchors"],"names":{"title":"anchors","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchors"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collection of anchors contained in the scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchors"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV10slopeLimitSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","slopeLimit"],"names":{"title":"slopeLimit","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The slope limit expressed as a limit angle in radians."},{"text":""},{"text":"This value represents the maximum slope that the character can move over. RealityKit applies this value"},{"text":"to characters that are walking on static objects, but not when walking on kinematic or dynamic objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation"],"names":{"title":"OrbitAnimation","navigator":[{"kind":"identifier","spelling":"OrbitAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrbitAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that revolves an entity around its origin."},{"text":""},{"text":"This class moves an entity in a circular path by gradually adjusting its"},{"text":"local transform. The animation sets the entity's initial position with"},{"text":"``OrbitAnimation/startTransform`` and rotates it around the point `(0,` `0,`"},{"text":"`0)`. The ``OrbitAnimation/axis`` specifies which cartesian axis around"},{"text":"which to rotate. The full orbit completes after ``OrbitAnimation/duration``"},{"text":"lapses."},{"text":""},{"text":"If the target entity contains child entities, the target entity orbits the"},{"text":"children."},{"text":""},{"text":"## Revolve an Entity Around its Origin"},{"text":""},{"text":"The following code turns a model in a half circle, orbiting around the"},{"text":"x-axis for `5` seconds."},{"text":""},{"text":"```swift"},{"text":"let orbit = OrbitAnimation(name: \"orbit\","},{"text":" duration: 10.0,"},{"text":" axis: SIMD3(x: 1.0, y: 0.0, z: 0.0),"},{"text":" startTransform: Transform(scale: simd_float3(10,10,10),"},{"text":" rotation: simd_quatf(ix: 10, iy: 20, iz: 20, r: 100),"},{"text":" translation: simd_float3(11, 2, 3)),"},{"text":" spinClockwise: false,"},{"text":" orientToPath: true,"},{"text":" rotationCount: 100.0,"},{"text":" bindTarget: nil)"},{"text":""},{"text":"// Create an animation clip for just the second half of the orbit."},{"text":"let trimmed = orbit.trimmed(start: 5.0, end: 10.0)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrbitAnimation"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int16yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int16"],"names":{"title":"MeshBuffers.ElementType.int16","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int16"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int16"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5value0B023LocalizedStringResourceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that provides a value for the label."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int32yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int32"],"names":{"title":"MeshBuffers.ElementType.int32","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int32"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int32"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV9requesterAA0C6PeerID_pvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","requester"],"names":{"title":"requester","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requester"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The network peer requesting ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requester"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstIndex(of:)"],"names":{"title":"firstIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `firstIndex(of:)` to find the position of a particular element"},{"text":"in a collection, you can use it to access the element by subscripting."},{"text":"This example shows how you can modify one of the names in an array of"},{"text":"students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\"]"},{"text":" if let i = students.firstIndex(of: \"Maxime\") {"},{"text":" students[i] = \"Max\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The first index where `element` is found. If `element` is not"},{"text":" found in the collection, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The base color as a UV Image map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setParent(_:preservingWorldTransform:)"],"names":{"title":"setParent(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Attaches the entity as a child to the specified entity."},{"text":""},{"text":"Attaching an entity to a new parent automatically detaches it from its"},{"text":"old parent."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of both the old and new parent"},{"text":"are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- parent: The new parent entity. Use `nil` to detach the entity from its"},{"text":"current parent."},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"parent","declarationFragments":[{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5floatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","float"],"names":{"title":"MeshBuffers.ElementType.float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV9BaseColorV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","BaseColor"],"names":{"title":"CustomMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s base color."},{"text":""},{"text":"For more information on using base color values in a custom material,"},{"text":"see ``CustomMaterial/baseColor-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView"],"names":{"title":"AnimationView","navigator":[{"kind":"identifier","spelling":"AnimationView"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationView"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that represents a variation of another animation."},{"text":""},{"text":"This structure creates a variation of an existing animation by overriding"},{"text":"its configuration. The term _view_ in the name signifies that the variation"},{"text":"represents a new visual perspective of the existing animation."},{"text":""},{"text":"## Create a Clip of an Animation"},{"text":""},{"text":"By supplying a new beginning time (``AnimationView/trimStart``) and ending"},{"text":"time (``AnimationView/trimEnd``), the following code creates a shorter clip"},{"text":"of an existing animation. With ``AnimationView/trimStart`` set to `1.0` and"},{"text":"``AnimationView/trimEnd`` at `2.0`, the clip spans a one-second duration."},{"text":""},{"text":"```swift"},{"text":"// Create or access an existing animation."},{"text":"let anim1 = FromToByAnimation(name: \"Anim1\","},{"text":" from: 100.0, to: 200.0, duration: 10.0)"},{"text":""},{"text":"// Use a view to create a clip of the original animation."},{"text":"let view = AnimationView(source: anim1,"},{"text":" name: \"clip\","},{"text":" bindTarget: nil,"},{"text":" blendLayer: 0,"},{"text":" repeatMode: .autoReverse,"},{"text":" fillMode: [],"},{"text":" trimStart: 1.0,"},{"text":" trimEnd: 2.0,"},{"text":" trimDuration: nil,"},{"text":" offset: 0,"},{"text":" delay: 0,"},{"text":" speed: 1.0)"},{"text":""},{"text":"// Create an animation resource from the clip."},{"text":"clipResource = try? AnimationResource.generate(with: view)"},{"text":""},{"text":"// Play the clip."},{"text":"myModelEntity.playAnimation(clipResource)"},{"text":"```"},{"text":""},{"text":"## Define a View in Relation to the Animation Source"},{"text":""},{"text":"The source animation's timing properties define a _timeline_ on which the"},{"text":"``AnimationView/trimDuration``, ``AnimationView/delay``, and"},{"text":"``AnimationView/speed`` properties operate to derive the view. The"},{"text":"``AnimationView/trimDuration`` property specifies which animation data the"},{"text":"view displays. If ``AnimationView/trimDuration`` exceeds the length of the"},{"text":"source animation’s timeline, the animation plays according to the"},{"text":"characteristics of ``AnimationView/repeatMode``. The ``AnimationView/delay``"},{"text":"property defines a waiting period before the animation begins, and the"},{"text":"``AnimationView/speed`` determines how fast the view plays in relation to"},{"text":"the original pace."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationView"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setScale(_:relativeTo:)"],"names":{"title":"setScale(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the scale factor of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A new scale factor, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"scale","declarationFragments":[{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6acceptyycvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","accept"],"names":{"title":"accept","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accept"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The callback function that the current owner calls to grant"},{"text":"ownership to the requesting peer."},{"text":""},{"text":"If an entity’s"},{"text":"``SynchronizationComponent/ownershipTransferMode-swift.property``"},{"text":"property is set to"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``,"},{"text":"the entity automatically grants ownership to any other entity that"},{"text":"requests it."},{"text":""},{"text":"In case you configure an entity to have a transfer mode of"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual``,"},{"text":"then when you receive an ``SynchronizationEvents/OwnershipRequest``"},{"text":"event, you must call the"},{"text":"``SynchronizationEvents/OwnershipRequest/accept`` method to complete"},{"text":"the transfer of ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accept"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect(_:)"],"names":{"title":"collect(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects up to the specified number of elements, and then emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:)`` to emit arrays of at most `count` elements from an upstream publisher. If the upstream publisher finishes before collecting the specified number of elements, the publisher sends an array of only the items it received. This may be fewer than `count` elements."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"In the example below, the ``Publisher/collect(_:)`` operator emits one partial and two full arrays based on the requested collection size of `5`:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect(5)"},{"text":" .sink { print(\"\\($0), terminator: \" \"\") }"},{"text":""},{"text":" // Prints \"[0, 1, 2, 3, 4] [5, 6, 7, 8, 9] [10] \""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameter count: The maximum number of received elements to buffer before publishing."},{"text":"- Returns: A publisher that collects up to the specified number of elements, and then publishes them as an array."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13configurationAC13ConfigurationVvp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","configuration"],"names":{"title":"configuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Readonly property containing the session configuration set in the construction."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhotogrammetrySession","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV9instancesAA0C18InstanceCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","instances"],"names":{"title":"instances","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"instances"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"instances"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5Indexa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Index"],"names":{"title":"JointTransforms.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position of an individual joint transform in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lastIndex(where:)"],"names":{"title":"lastIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the index of the last element in the collection that matches the"},{"text":"given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. This example finds the index of the last name that"},{"text":"begins with the letter *A:*"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.lastIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Akosua starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the last element in the collection that matches"},{"text":" `predicate`, or `nil` if no elements match."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of the joints to animate."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection"],"names":{"title":"Entity.ChildCollection","navigator":[{"kind":"identifier","spelling":"ChildCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ChildCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ChildCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController"],"names":{"title":"AnimationPlaybackController","navigator":[{"kind":"identifier","spelling":"AnimationPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A controller that manages animation playback."},{"text":""},{"text":"This class controls the playback of an entity animation by providing its pause, resume, or stop functions."},{"text":""},{"text":"The animation starts immediately after you call ``Entity/playAnimation(_:transitionDuration:startsPaused:)``, or ``Entity/move(to:relativeTo:duration:timingFunction:)-905k``, which both return an instance of this class."},{"text":""},{"text":"A controller invalidates after its associated animation completes or stops. To play another animation, perform an action that generates another controller."},{"text":""},{"text":"While an animation plays, you can receive notification of particular playback states by subscribing to an event. For more information, see ``AnimationEvents``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC6boundsAA11BoundingBoxVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","bounds"],"names":{"title":"bounds","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A box that bounds the mesh."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken"],"names":{"title":"NetworkCompatibilityToken","navigator":[{"kind":"identifier","spelling":"NetworkCompatibilityToken"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"NetworkCompatibilityToken"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque token used to check the networking compatibility between two peers"},{"text":"in a multipeer connection."},{"text":""},{"text":"``RealityKit`` apps running on incompatible versions of RealityKit can’t"},{"text":"connect and sync over the network. Use ``NetworkCompatibilityToken`` to"},{"text":"check if two peers can synchronize ``RealityKit`` scenes over the network."},{"text":"With this class, host applications can prevent incompatible clients from"},{"text":"joining."},{"text":""},{"text":"Client apps send a copy of their token to the host when attempting to"},{"text":"connect to a host app. The host deserializes that token and calls"},{"text":"``NetworkCompatibilityToken/compatibilityWith(_:)`` on"},{"text":"``NetworkCompatibilityToken``.``NetworkCompatibilityToken/local``. If"},{"text":"``NetworkCompatibilityToken/compatibilityWith(_:)`` returns"},{"text":"``NetworkCompatibilityToken/Compatibility/compatible``,"},{"text":"the client and host can sync and it’s safe to proceed with the connection."},{"text":"If ``NetworkCompatibilityToken/compatibilityWith(_:)`` returns any other"},{"text":"value, the client that’s attempting to connect is incompatible and should be"},{"text":"ignored."},{"text":""},{"text":"A client running a"},{"text":","},{"text":"for example, writes its own token into its"},{"text":""},{"text":"dictionary. When the host (running a"},{"text":")"},{"text":"discovers that client, it deserializes the client’s token from the"},{"text":"`discoverInfo` dictionary and uses it to check compatibility before inviting"},{"text":"the client to the"},{"text":"."},{"text":""},{"text":"- Note: Even if two peers are compatible, scene synchronization can fail for"},{"text":"other reasons, such as packet corruption or a poor network connection."}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"NetworkCompatibilityToken"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode"],"names":{"title":"AnimationFillMode","navigator":[{"kind":"identifier","spelling":"AnimationFillMode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationFillMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine which animation frames display outside of the normal"},{"text":"duration."},{"text":""},{"text":"This structure enables you to lock an animation at its starting frame for a"},{"text":"period of time before beginning. You can also lock an animation to its"},{"text":"ending frame for a specified amount of time after it finishes, or both."},{"text":""},{"text":"An animation applies the fill mode you choose when a range determined by"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration`` exceeds the animation's underlying duration,"},{"text":"which the framework calculates as the frame count (see"},{"text":"``SampledAnimation/frames-2j4nj``) multiplied by the"},{"text":"``SampledAnimation/frameInterval``, multiplied by"},{"text":"``AnimationDefinition/speed``."},{"text":""},{"text":"For example, if you set the ``AnimationDefinition/trimStart`` property for"},{"text":"an animation of a hand waving to `-1.0` and ``SampledAnimation/fillMode`` to"},{"text":"``AnimationFillMode/backwards`` or ``AnimationFillMode/both``, the hand"},{"text":"displays immediately, freezes at the first animation frame for one second,"},{"text":"and then begins to wave."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationFillMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An index to the first joint transform in the collection."},{"text":""},{"text":"For more on the sequence's beginning index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsMotion","physicsMotion"],"names":{"title":"physicsMotion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics motion component used by physics simulations of the model"},{"text":"entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation8BindPathV","interfaceLanguage":"swift"},"pathComponents":["BindPath"],"names":{"title":"BindPath","navigator":[{"kind":"identifier","spelling":"BindPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The components of a target's path that refer to the animation properties of"},{"text":"a nested scene or entity."},{"text":""},{"text":"The following code demonstrates bind target paths with varying numbers of"},{"text":"elements. For a multicomponent target, call the ``BindPath/Part``"},{"text":"enumeration for each component. The individual elements form the path's"},{"text":"resulting ``BindPath/parts`` array."},{"text":""},{"text":"```swift"},{"text":"// Single-component paths:"},{"text":"let target0: BindTarget = .transform"},{"text":"let target1: BindTarget = .jointTransforms"},{"text":"let target2: BindTarget = .parameter(\"myInt\")"},{"text":""},{"text":"// Relative entity path:"},{"text":"let target3: BindTarget = .entity(\"entityA\").entity(\"entityB\").parameter(\"myInt\")"},{"text":""},{"text":"// Root entity path:"},{"text":"let target4: BindTarget = .anchorEntity(\"entityA\").entity(\"entityB\").transform"},{"text":""},{"text":"// Scene path:"},{"text":"let target5: BindTarget = .scene(\"sceneA\").anchorEntity(\"entityA\").entity(\"entityB\").jointTransforms"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd4FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd4Float"],"names":{"title":"MeshBuffers.ElementType.simd4Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd4Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd4Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the last element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"This example uses the `last(where:)` method to find the last"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let lastNegative = numbers.last(where: { $0 < 0 }) {"},{"text":" print(\"The last negative number is \\(lastNegative).\")"},{"text":" }"},{"text":" // Prints \"The last negative number is -6.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The last element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV4maskAA0C5GroupVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","mask"],"names":{"title":"mask","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group or groups, stored as a bitmask, with which the"},{"text":"entity can collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:)"],"names":{"title":"merge(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from another publisher of the same type, delivering an interleaved sequence of elements."},{"text":""},{"text":"- Parameter other: Another publisher of this publisher’s type."},{"text":"- Returns: A publisher that emits an event when either upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Iterator","rhs":"IndexingIterator","rhsPrecise":"s:s16IndexingIteratorV"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Iterator","rhs":"IndexingIterator","rhsPrecise":"s:s16IndexingIteratorV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","scale(relativeTo:)"],"names":{"title":"scale(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the scale of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession"],"names":{"title":"PhotogrammetrySession","navigator":[{"kind":"identifier","spelling":"PhotogrammetrySession"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhotogrammetrySession"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Manages the creation of a 3D model from a set of images."},{"text":""},{"text":"For more information on using ``PhotogrammetrySession``, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhotogrammetrySession"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","SubSequence"],"names":{"title":"JointTransforms.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"A collection representing a contiguous subrange of this collection's"},{"text":"elements. The subsequence shares indices with the original collection."},{"text":""},{"text":"The default subsequence type for collections that don't define their own"},{"text":"is `Slice`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6source4name10bindTarget10blendLayer10repeatMode04fillL09trimStart0N3End0N8Duration6offset5delay5speedAcA0C10Definition_p_SSAA04BindH0OSgs5Int32VAA0c6RepeatL0OAA0c4FillL0VSdSgA2ZS2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationView","init(source:name:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(source:name:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a variation of the given animation by overriding its properties."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The original animation that this structure modifies."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - bindTarget: A textual name that identifies the animated property."},{"text":""},{"text":" - blendLayer: The order in which the framework visually composites the"},{"text":"animation among other running animations."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats"},{"text":"outside the length of the view."},{"text":""},{"text":" - fillMode: The behavior when the animated property reaches its end"},{"text":"value."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the source"},{"text":"animation plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the source animation"},{"text":"stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the caculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s playback"},{"text":"rate."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC21expectedMaterialCountSivp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","expectedMaterialCount"],"names":{"title":"expectedMaterialCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"expectedMaterialCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of material entries required to render the mesh resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"expectedMaterialCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","ranges(of:)"],"names":{"title":"ranges(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the ranges of the all occurrences of a given sequence"},{"text":"within the collection."},{"text":"- Parameter other: The sequence to search for."},{"text":"- Returns: A collection of ranges of all occurrences of `other`. Returns"},{"text":" an empty collection if `other` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC13generatePlane5width6height12cornerRadiusACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generatePlane(width:height:cornerRadius:)"],"names":{"title":"generatePlane(width:height:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new rectangle mesh with the specified dimensions in the"},{"text":"entity’s XY-plane."},{"text":""},{"text":"The rectangle is centered at the entity’s origin and aligned with its x"},{"text":"and y axes. The surface normal points along the z-axis. The depth along"},{"text":"the z-axis is 0."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the rectangle along the x-axis."},{"text":""},{"text":" - height: The height, in meters, of the rectangle along the y-axis."},{"text":""},{"text":" - cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The rectangle mesh."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform"],"names":{"title":"MaterialParameterTypes.TextureCoordinateTransform","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines a transformation the framework applies to a"},{"text":"material’s UV-mapped textures."},{"text":""},{"text":"An entity’s UV texture coordinates define how RealityKit maps image"},{"text":"textures onto an entity. This object defines a transformation to texture"},{"text":"coordinates that changes the way this material maps textures onto an"},{"text":"entity. You might, for example, continuously rotate, translate, or scale"},{"text":"the texture coordinates and animate materials to create special effects,"},{"text":"such as fire or flowing liquids."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV7cgColor9intensity17attenuationRadiusACSo10CGColorRefa_S2ftcfc","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","init(cgColor:intensity:attenuationRadius:)"],"names":{"title":"init(cgColor:intensity:attenuationRadius:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"cgColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new instance with the specified color, intensity and attenuation."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"cgColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"intensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 26963.76, "},{"kind":"externalParam","spelling":"attenuationRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 10.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9stepLimitSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","stepLimit"],"names":{"title":"stepLimit","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum obstacle height that the controller can move over."},{"text":""},{"text":"Specify this value relative to the entity's coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC24accessibilityDescriptionSSSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","accessibilityDescription"],"names":{"title":"accessibilityDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A longer description of the entity for use by assistive technologies."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"*","message":"Use accessibilityCustomContent instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV13spinClockwiseSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","spinClockwise"],"names":{"title":"spinClockwise","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the object orbits the center"},{"text":"point in the clockwise direction."},{"text":""},{"text":"The default value is `true`, which indicates that the rotation occurs in"},{"text":"the clockwise direction. Set the value to `false` to cause the object to"},{"text":"orbit the center point counterclockwise."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity, specified as a single value."},{"text":""},{"text":"If ``PhysicallyBasedMaterial/Opacity/texture`` is `nil`, RealityKit"},{"text":"uses this value for the opacity of the entire material. If"},{"text":"``PhysicallyBasedMaterial/Opacity/texture`` isn’t `nil`, RealityKit"},{"text":"calculates opacity by multiplying the value sampled from"},{"text":"``PhysicallyBasedMaterial/Opacity/texture`` by"},{"text":"``CustomMaterial/Opacity/scale``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physically based material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVyAA9TransformVSicip","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses a single joint transform in the collection at the given index."},{"text":""},{"text":"For more on accessing elements by index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Element"],"names":{"title":"MeshBuffer.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV5scales5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework scale the UV texture coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Iterator"],"names":{"title":"MeshBuffer.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyLevel","navigator":[{"kind":"identifier","spelling":"AnisotropyLevel"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyLevel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the degree to which an entity reflects light to"},{"text":"create stretched or oblong highlights."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity that"},{"text":"uses ``PhysicallyBasedMaterial`` reflects light uniformly in all"},{"text":"directions, mimicking the behavior of most real-world objects. Some"},{"text":"objects, including those with many small parallel striations such as"},{"text":"vinyl records, CDs, or straight hair, reflect light more in some"},{"text":"directions than others, resulting in stretched or oblong specular"},{"text":"highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row. The"},{"text":"left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-AnisotropyLevel-swift-struct-1)"},{"text":""},{"text":"Use this object to specify the"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` for a"},{"text":"material."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyLevel"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"Combine‘s `flatMap(maxPublishers:_:)` operator performs a similar function to the operator in the Swift standard library, but turns the elements from one kind of publisher into a new publisher that is sent to subscribers. Use `flatMap(maxPublishers:_:)` when you want to create a new series of events for downstream subscribers based on the received value. The closure creates the new ``Publisher`` based on the received value. The new ``Publisher`` can emit more than one event, and successful completion of the new ``Publisher`` does not complete the overall stream. Failure of the new ``Publisher`` causes the overall stream to fail."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes `WeatherStation` elements. The `flatMap(maxPublishers:_:)` receives each element, creates a from it, and produces a new , which will publish the data loaded from that ."},{"text":""},{"text":" public struct WeatherStation {"},{"text":" public let stationID: String"},{"text":" }"},{"text":""},{"text":" var weatherPublisher = PassthroughSubject()"},{"text":""},{"text":" cancellable = weatherPublisher.flatMap { station -> URLSession.DataTaskPublisher in"},{"text":" let url = URL(string:\"https://weatherapi.example.com/stations/\\(station.stationID)/observations/latest\")!"},{"text":" return URLSession.shared.dataTaskPublisher(for: url)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { completion in"},{"text":" // Handle publisher completion (normal or error)."},{"text":" },"},{"text":" receiveValue: {"},{"text":" // Process the received data."},{"text":" }"},{"text":" )"},{"text":""},{"text":" weatherPublisher.send(WeatherStation(stationID: \"KSFO\")) // San Francisco, CA"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"EGLC\")) // London, UK"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"ZBBB\")) // Beijing, CN"},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1},{"name":"P","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"T","rhs":"P.Output"},{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext with that rect's"},{"text":"associated color"},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like `NSRectFill()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, NSColor)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, NSColor)"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9baseColorAC04BaseG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","baseColor"],"names":{"title":"baseColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of an entity unmodified by lighting."},{"text":""},{"text":"The base color of an entity is either a solid color or a UV-mapped image"},{"text":"texture. This property represents the color of the entity before"},{"text":"RealityKit applies any lighting or rendering calculations."},{"text":""},{"text":"To determine the appearance of the entity, RealityKit modifies the"},{"text":"entity’s base color using its material properties and the light sources"},{"text":"in the scene."},{"text":""},{"text":"You can define an entity’s base color using a `CGColor`, a UV-mapped"},{"text":"image texture, or both. If you only provide a color, RealityKit uses"},{"text":"that as the base color for the entire entity. If you specify only an"},{"text":"image texture, it applies that texture as the base color of the entity."},{"text":"If you provide both a color and a texture, RealityKit tints the image"},{"text":"texture using the color."},{"text":""},{"text":"Here’s an example of using a single color to specify base color:"},{"text":""},{"text":"```swift"},{"text":"var material = PhysicallyBasedMaterial()"},{"text":"material.baseColor = PhysicallyBasedMaterial.BaseColor(tint:.red)"},{"text":"```"},{"text":""},{"text":"The following example demonstrates how to use an image to specify base"},{"text":"color:"},{"text":""},{"text":"```swift"},{"text":"var material = PhysicallyBasedMaterial()"},{"text":""},{"text":" // Load entity_basecolor.png from the app's bundle."},{"text":" if let baseResource = try? TextureResource.load(named: \"entity_basecolor\") {"},{"text":" // Create a material parameter and assign it."},{"text":" let baseColor = MaterialParameters.Texture(baseResource)"},{"text":" material.baseColor = PhysicallyBasedMaterial.BaseColor(texture:baseColor)"},{"text":" }"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6sourceAA0C10Definition_pSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","source"],"names":{"title":"source","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The original animation that this structure modifies."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged"],"names":{"title":"SynchronizationEvents.OwnershipChanged","navigator":[{"kind":"identifier","spelling":"OwnershipChanged"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipChanged"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when ownership of an entity changes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipChanged"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV18sceneUnderstandingACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","sceneUnderstanding"],"names":{"title":"sceneUnderstanding","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision group for reconstructed meshes."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8generate4from8withName7optionsACSo10CGImageRefa_SSSgAC13CreateOptionsVtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","generate(from:withName:options:)"],"names":{"title":"generate(from:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a texture resource from an in-memory Core Graphics image."},{"text":""},{"text":"This method creates a texture resource from an existing"},{"text":" with"},{"text":"specific options. RealityKit uses the resource name to identify"},{"text":"resources, and to match texture resources between networked peers."},{"text":"Specify a unique name for each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A texture resource."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","sink(receiveCompletion:receiveValue:)"],"names":{"title":"sink(receiveCompletion:receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior."},{"text":""},{"text":"Use ``Publisher/sink(receiveCompletion:receiveValue:)`` to observe values received by the publisher and process them using a closure you specify."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveValue` closure that prints them to the console. Upon completion the ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveCompletion` closure indicates the successful termination of the stream."},{"text":""},{"text":" let myRange = (0...3)"},{"text":" cancellable = myRange.publisher"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" // Prints:"},{"text":" // value: 0"},{"text":" // value: 1"},{"text":" // value: 2"},{"text":" // value: 3"},{"text":" // completion: finished"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveComplete: The closure to execute on completion."},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO5floatyACSfcACmF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","float(_:)"],"names":{"title":"MaterialScalarParameter.float(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A scalar, single-precision value."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest"],"names":{"title":"SynchronizationEvents.OwnershipRequest","navigator":[{"kind":"identifier","spelling":"OwnershipRequest"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipRequest"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when a network peer wants to gain ownership of an"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipRequest"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An index to the last joint transform in the collection."},{"text":""},{"text":"For more more on the sequence's final index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","TextureCoordinateTransform"],"names":{"title":"CustomMaterial.TextureCoordinateTransform","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object type that custom material use to hold UV texture coordinates."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7OpacityV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Opacity","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity specified as a single value."},{"text":""},{"text":"If ``CustomMaterial/Opacity/texture`` is `nil`, RealityKit uses this"},{"text":"value for the opacity of the entire material. If"},{"text":"``CustomMaterial/Opacity/texture`` isn’t `nil`, RealityKit"},{"text":"multiplies the value sampled from ``CustomMaterial/Opacity/texture``"},{"text":"by this property to calculate the final opacity values."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO7textureyAcA15TextureResourceCcACmF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","texture(_:)"],"names":{"title":"MaterialScalarParameter.texture(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A one-channel texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","anchoring"],"names":{"title":"anchoring","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV6shapes4mass8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(shapes:mass:material:mode:)"],"names":{"title":"init(shapes:mass:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component deriving mass properties from shape and"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The shape for which to estimate the rotational inertia and center of mass."},{"text":""},{"text":" - mass: The mass of the object in kilograms."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":" - mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV6customAC0C0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","custom"],"names":{"title":"custom","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Custom","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV0C0V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"User-defined properties for the material’s shader functions."},{"text":""},{"text":"Use a ``CustomMaterial/Custom-swift.struct`` object to send custom data"},{"text":"to your shader functions. A custom object can hold a texture or a vector"},{"text":"value, or both. Both the texture and vector value are available in your"},{"text":"shader functions."},{"text":""},{"text":"- Note: Unlike other ``CustomMaterial`` properties, you don’t need to"},{"text":"create a ``CustomMaterial/Custom-swift.struct`` object for your"},{"text":"material. All ``CustomMaterial`` objects have one by default; you just"},{"text":"need to set the ``CustomMaterial/Custom-swift.struct/value`` property,"},{"text":"``CustomMaterial/Custom-swift.struct/texture`` property, or both."},{"text":""},{"text":"The following code demonstrates how to use the custom property to pass a"},{"text":"vector to your shader functions:"},{"text":""},{"text":"```swift"},{"text":"// Specify a custom vector to pass to the shader functions."},{"text":"customMaterial.custom.value = SIMD4(x: 0.25, y: 0.25, z: 0.25, w:"},{"text":"1.0) ```"},{"text":""},{"text":"You can also use it to pass up to four scalar values instead of a"},{"text":"vector:"},{"text":""},{"text":"```swift"},{"text":"let customValue1: Float = 0.25 let customValue2: Float = 0.75"},{"text":"customMaterial.custom.value[0] = customValue1"},{"text":"customMaterial.custoom.value[1] = customValue2 ```"},{"text":""},{"text":"The custom property can also include a texture. The following code"},{"text":"demonstrates how to add a texture to the custom property:"},{"text":""},{"text":"```swift"},{"text":"if let theResource = try? TextureResource.load(named:"},{"text":"\"MyCustomTexture\") {"},{"text":" let myTexture = CustomMaterial.Texture(theResource)"},{"text":" customMaterial.custom.texture = .init(myTexture)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"The following Metal code shows how to retrieve the custom vector in a"},{"text":"shader function:"},{"text":""},{"text":"```other"},{"text":"float4 myCustomVector = params.uniforms().custom_parameter();"},{"text":"```"},{"text":""},{"text":"The following Metal code shows how to retrieve individual values from"},{"text":"the custom vector in your shader functions:"},{"text":""},{"text":"```other"},{"text":"float firstCustomValue ="},{"text":"params.uniforms().custom_parameter()[0]; float secondCustomValue ="},{"text":"params.uniforms().custom_parameter()[1];"},{"text":"```"},{"text":""},{"text":"Here’s how to retrieve the custom texture in your shader functions:"},{"text":""},{"text":"```other"},{"text":"float voronoiColor ="},{"text":"params.textures().custom().sample(textureSampler, UV).r;"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Custom","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV0C0V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV10controllerAA0C18PlaybackControllerCvp","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","controller"],"names":{"title":"controller","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"controller"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that configures framework-specific video options."},{"text":""},{"text":"Use this property to configure AR-specific properties of the texture’s"},{"text":"video, such as whether the material should use spatial audio."},{"text":""},{"text":"The following example demonstrates enabling spatial audio for a video"},{"text":"material:"},{"text":""},{"text":"```swift"},{"text":"material.controller.audioInputMode = .spatial"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"controller"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy"],"names":{"title":"AudioFileResource.LoadingStrategy","navigator":[{"kind":"identifier","spelling":"LoadingStrategy"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadingStrategy"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Strategies that the playback controller can use to access a resource’s"},{"text":"data during playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadingStrategy"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13generateAsync4from8withName7optionsAA11LoadRequestCyACGSo10CGImageRefa_SSSgAC13CreateOptionsVtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","generateAsync(from:withName:options:)"],"names":{"title":"generateAsync(from:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously creates a texture resource from an in-memory Core"},{"text":"Graphics image."},{"text":""},{"text":"This method creates a texture resource from an existing"},{"text":" with"},{"text":"specific options. RealityKit uses the resource name to identify"},{"text":"resources, and to match texture resources between networked peers."},{"text":"Specify a unique name for each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":""},{"text":" - resourceName: A unique name for syncing the texture resource across the network."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A texture resource."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV7Texturea","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Texture"],"names":{"title":"CustomMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object type that custom materials use to hold texture properties."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomMaterialTexture","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV0cD7TextureV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending"],"names":{"title":"PhysicallyBasedMaterial.Blending","navigator":[{"kind":"identifier","spelling":"Blending"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that defines the transparency of an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService"],"names":{"title":"SynchronizationService","navigator":[{"kind":"identifier","spelling":"SynchronizationService"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationService"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables entity synchronization among a group of local"},{"text":"peers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationService"},{"kind":"text","spelling":" : AnyObject"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV0cD7TextureV","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","CustomMaterialTexture"],"names":{"title":"CustomMaterial.CustomMaterialTexture","navigator":[{"kind":"identifier","spelling":"CustomMaterialTexture"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterialTexture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A texture object that you use to create custom materials."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomMaterialTexture"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8rawValues6UInt32Vvp","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","clip()"],"names":{"title":"clip()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clip"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"AppKit","lines":[{"text":"Modifies the current graphics context clipping path by intersecting it"},{"text":"with the graphical union of this list of rects"},{"text":"This permanently modifies the graphics state, so the current state should"},{"text":"be saved beforehand and restored afterwards."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"CGRect","rhsPrecise":"c:@S@CGRect"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clip"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision group for objects."},{"text":""},{"text":"If no ``CollisionFilter`` is assigned to an entity, that entity will be"},{"text":"part of this default collision group."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationView/trimStart`` instead and choose a"},{"text":"``AnimationView/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV8BlendingO8blendingAeA015PhysicallyBasedD0VADO_tcfc","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","Blending","init(blending:)"],"names":{"title":"init(blending:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a custom blending object from an existing physically based"},{"text":"material’s blending object."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The blending property from a ``PhysicallyBasedMaterial``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blending"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasCollision","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity over which the network peer would like to gain ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV11FaceCullinga","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","FaceCulling"],"names":{"title":"CustomMaterial.FaceCulling","navigator":[{"kind":"identifier","spelling":"FaceCulling"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of object used to control the removal of polygons that aren’t"},{"text":"visible to the user."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation23PhysicallyBasedMaterialV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Parameters"],"names":{"title":"PhysicallyBasedMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyAngle","navigator":[{"kind":"identifier","spelling":"AnisotropyAngle"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyAngle"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object used to define a material’s anisotropy angle."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyAngle"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV12makeIteratorAC0F0Vyx_GyF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains the entire collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is equal to"},{"text":" `maxLength`."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV8upVectors5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","upVector"],"names":{"title":"upVector","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Y axis direction relative to the physics origin."},{"text":""},{"text":"Rotates the object so that the vertical height is along the up vector."},{"text":"Vector must be normalized and specified in *physics space*, the coordinate system of the"},{"text":"physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two scalar parameters are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first scalar parameter to compare."},{"text":""},{"text":" - rhs: The second scalar parameter to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scalar parameters"},{"text":"are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV14startTransformAA0F0Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","startTransform"],"names":{"title":"startTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The pose of the orbiting object at the start of the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration"],"names":{"title":"PhotogrammetrySession.Configuration","navigator":[{"kind":"identifier","spelling":"Configuration"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Configuration"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The configuration parameters for a photogrammetry session."},{"text":""},{"text":"A ``PhotogrammetrySession/Configuration-swift.struct`` instance may be"},{"text":"passed in to any of the ``PhotogrammetrySession`` initializers to override"},{"text":"its default values."},{"text":""},{"text":"Use the default values in most instances. In some cases, you may improve the quality"},{"text":"of the generated 3D object by specifying different values. If, for example, your"},{"text":"source images have few landmarks or poor contrast, you might set ``PhotogrammetrySession/Configuration-swift.struct/featureSensitivity-swift.property``"},{"text":"to ``PhotogrammetrySession/Configuration-swift.struct/FeatureSensitivity-swift.enum/high``"},{"text":"to compensate for it."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Configuration"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision filter."},{"text":""},{"text":"Entities with a ``CollisionFilter/default`` collision filter have a"},{"text":"``CollisionFilter/group`` of ``CollisionGroup/default`` and a"},{"text":"``CollisionFilter/mask`` of ``CollisionGroup/all``."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","multicast(_:)"],"names":{"title":"multicast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">(() -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure to create a subject that delivers elements to subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(subject:)``, this method produces a publisher that creates a separate ``Subject`` for each subscriber."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(_:)`` operator whose closure creates a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast { PassthroughSubject<(String, Int), Never>() }"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 9))"},{"text":" // Stream 2 received: (\"First\", 9)"},{"text":" // Stream 1 received: (\"First\", 9)"},{"text":" // Random: receive value: ((\"Second\", 46))"},{"text":" // Stream 2 received: (\"Second\", 46)"},{"text":" // Stream 1 received: (\"Second\", 46)"},{"text":" // Random: receive value: ((\"Third\", 26))"},{"text":" // Stream 2 received: (\"Third\", 26)"},{"text":" // Stream 1 received: (\"Third\", 26)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter createSubject: A closure to create a new ``Subject`` each time a subscriber attaches to the multicast publisher."}]},"functionSignature":{"parameters":[{"name":"createSubject","declarationFragments":[{"kind":"identifier","spelling":"createSubject"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"createSubject"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" () -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV2idAC10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","CustomDetailSpecification","TextureMapOutputs","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV6group_SayAA0C10Definition_pGSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","group_"],"names":{"title":"group_","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group_"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional collection of animations to run."},{"text":""},{"text":"Don't use this property. Use ``AnimationGroup/group`` instead."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group_"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"*","message":"Use .group variable in AnimationGroup instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Specular.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC10findEntity5namedAA0E0CSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","findEntity(named:)"],"names":{"title":"findEntity(named:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Searches the scene’s anchor entity hierarchies for an entity with the"},{"text":"given name."},{"text":""},{"text":"The ``Scene/findEntity(named:)`` method conducts a depth-first,"},{"text":"recursive search over all of the scene’s entities for one whose"},{"text":"``Entity/name`` property matches the given name. The method returns the"},{"text":"first match. Entity names need not be unique."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the entity for which to search."},{"text":""},{"text":"- Returns: The first entity found with the given name, or `nil` if none"},{"text":"is found."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACs5SIMD3VySfG_SftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(size:cornerRadius:)"],"names":{"title":"generateBox(size:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with the given dimensions."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - size: Dimensions, in meters, for the faces of the box."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Configuration","SampleOrdering"],"names":{"title":"PhotogrammetrySession.Configuration.SampleOrdering","navigator":[{"kind":"identifier","spelling":"SampleOrdering"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampleOrdering"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ordering of samples."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampleOrdering"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off `k` elements from the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offsets5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework offsets the entity’s UV texture"},{"text":"coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the scalar parameter by feeding them"},{"text":"into the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scalar parameter."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``AnimationView/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationView/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two physics body components are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first physics body component to compare."},{"text":""},{"text":" - rhs: The second physics body component to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two physics body"},{"text":"components are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularVyAeA06CustomE0VADVcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a custom material’s specular property."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-init(_:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core PBR properties, you can create"},{"text":"additional realistic effects by augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from the"},{"text":"specular property of a ``CustomMaterial``."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s specular property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","anchorIdentifier"],"names":{"title":"anchorIdentifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identifier of the AR anchor with which the anchor entity is"},{"text":"associated, or `nil` if it isn’t currently anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstRange(of:)"],"names":{"title":"firstRange(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the range of the first occurrence of a given collection"},{"text":"within this collection."},{"text":""},{"text":"- Parameter other: The collection to search for."},{"text":"- Returns: A range in the collection of the first occurrence of `sequence`."},{"text":"Returns nil if `sequence` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor"],"names":{"title":"PhysicallyBasedMaterial.SheenColor","navigator":[{"kind":"identifier","spelling":"SheenColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SheenColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the color of an entity’s sheen."},{"text":""},{"text":"Use `sheen` to add specular highlights that simulate subtle reflections,"},{"text":"like the ones that occur on materials such as fabrics. Use this object"},{"text":"to define the color of the highlights."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SheenColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10PointLightCACycfc","interfaceLanguage":"swift"},"pathComponents":["PointLight","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform of an entity relative to its parent."},{"text":""},{"text":"For an ``AnchorEntity`` instance, the transform is relative to the AR"},{"text":"anchor."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV6ShadowV","interfaceLanguage":"swift"},"pathComponents":["DirectionalLightComponent","Shadow","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumNumberOfInputImagesSivp","interfaceLanguage":"swift"},"pathComponents":["PhotogrammetrySession","Limits","maximumNumberOfInputImages"],"names":{"title":"maximumNumberOfInputImages","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumNumberOfInputImages"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the maximum number of input images or samples that the session can use for reconstruction."},{"text":"If more than this number are provided, any in excess of the limit will be ignored and an `.invalidSample` message"},{"text":"for the sample will be output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"maximumNumberOfInputImages"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the scene by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO12floatLiteralACSf_tcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a scalar parameter from a floating-point literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO8blendingAeA06CustomE0VADO_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending","init(blending:)"],"names":{"title":"init(blending:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a custom material’s blending property."},{"text":""},{"text":"This initializer creates a `PhysicallyBasedMaterial.Blending`"},{"text":"instance using the values from an existing"},{"text":"``CustomMaterial/Blending-swift.enum`` object."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The custom material’s blending property."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blending"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target"],"names":{"title":"AnchoringComponent.Target","navigator":[{"kind":"identifier","spelling":"Target"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Target"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kinds of real world objects to which an anchor entity can be"},{"text":"tethered."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Target"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent"],"names":{"title":"PerspectiveCameraComponent","navigator":[{"kind":"identifier","spelling":"PerspectiveCameraComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCameraComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":""},{"text":"In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the"},{"text":"camera needs to be set by the app. (If no camera is provided by the app, the system will use"},{"text":"default camera.)"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCameraComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox5width6height5depth12cornerRadius10splitFacesACSf_S3fSbtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(width:height:depth:cornerRadius:splitFaces:)"],"names":{"title":"generateBox(width:height:depth:cornerRadius:splitFaces:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with the given dimensions and other"},{"text":"characteristics."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the box along the x-axis."},{"text":""},{"text":" - height: The height, in meters, of the box along the y-axis."},{"text":""},{"text":" - depth: The depth, in meters, of the box along the z-axis."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- splitFaces: A Boolean you set to `true` to indicate that vertices"},{"text":"shouldn’t be merged."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"splitFaces","declarationFragments":[{"kind":"identifier","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19PointLightComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PointLightComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PointLightComponent","preciseIdentifier":"s:17RealityFoundation19PointLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the collection are not returned as part"},{"text":"of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \"))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the collection and for each instance of `separator` at"},{"text":" the start or end of the collection. If `true`, only nonempty"},{"text":" subsequences are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC7replace9withImage7optionsySo10CGImageRefa_AC13CreateOptionsVtKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replace(withImage:options:)"],"names":{"title":"replace(withImage:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Dynamically replaces the texture with a CoreGraphics image."},{"text":""},{"text":"This method blocks until the resource updates. Do not use this method for framerate updates. For frequent"},{"text":"texture changes, see ``replace(withDrawables:)``. If a ``TextureResource/DrawableQueue`` has been attached"},{"text":"to this resource, this function detaches it."},{"text":""},{"text":"To ensure consistent usage of this texture resource, pass the same semantic in `options` that you used"},{"text":"to create the resource."},{"text":""},{"text":"- Note: The contents of a modified texture resource are not synced between network clients."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":" - options: Options that specify the type of texture to create."}]},"functionSignature":{"parameters":[{"name":"withImage","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","fill(using:)"],"names":{"title":"fill(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":")"}]},"docComment":{"module":"AppKit","lines":[{"text":"Fills this list of rects in the current NSGraphicsContext with that rect's"},{"text":"associated gray component value in the DeviceGray color space."},{"text":"The compositing operation of the fill defaults to the context's"},{"text":"compositing operation, not necessarily using `.copy` like"},{"text":"`NSRectFillListWithGrays()`."},{"text":"- precondition: There must be a set current NSGraphicsContext."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"operation","declarationFragments":[{"kind":"identifier","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, gray: CGFloat)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"(CGRect, gray: CGFloat)"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"operation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NSCompositingOperation","preciseIdentifier":"c:@E@NSCompositingOperation"},{"kind":"text","spelling":" = NSGraphicsContext.current?.compositingOperation ?? .sourceOver)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":9}},{"domain":"Swift","introduced":{"major":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","reanchor(_:preservingWorldTransform:)"],"names":{"title":"reanchor(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Changes the entity’s anchoring, preserving either the world transform or"},{"text":"the local transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: Describes how the entity should be anchored in AR."},{"text":""},{"text":"- preservingWorldTransform: A Boolean you set to `true` to preserve the"},{"text":"current world space position, or `false` to use the position relative to"},{"text":"the previous anchor for the new anchor."}]},"functionSignature":{"parameters":[{"name":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO14integerLiteralACSi_tcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a scalar parameter from an integer literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"underlying setting. A value of `0.5` indicates that the duration is"},{"text":"twice the underlying setting. Negative values play the animation in"},{"text":"reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s ``AnimationView/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation5SceneC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Scene","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two scenes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first scene to compare."},{"text":""},{"text":" - rhs: The second scene to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scenes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource"],"names":{"title":"AudioBufferResource","navigator":[{"kind":"identifier","spelling":"AudioBufferResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioBufferResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A resource that contains audio data in memory."},{"text":""},{"text":"This class contains in-memory audio data that the framework plays for the"},{"text":"app. When your app dictates using text-to-speech, the system provides an"},{"text":"audio buffer that the framework plays using this class. You can also load"},{"text":"and play arbitrary audio data from disk."},{"text":""},{"text":"The following code creates an instance of this class and passes in an audio"},{"text":"buffer from disk."},{"text":""},{"text":"```swift"},{"text":"// Create a URL for a file name."},{"text":"let audioFileUrl = URL(fileURLWithPath: \"testFile.aif\")"},{"text":""},{"text":"// Enable spatial playback. var options ="},{"text":"AudioBufferResource.CreateOptions() options.spatialMode = .spatial"},{"text":"options.mixGroupName = \"MySpatialMixGroup1\""},{"text":""},{"text":"// Create an audio buffer and load in the file."},{"text":"let audioFileRead = try AVAudioFile(forReading: audioFileUrl)"},{"text":"let audioFormat = audioFileRead.processingFormat"},{"text":"let audioFrameCount = UInt32(audioFileRead.length)"},{"text":"let audioFileBuffer = AVAudioPCMBuffer(pcmFormat: audioFormat,"},{"text":" frameCapacity: audioFrameCount)"},{"text":""},{"text":"try audioFileRead.read(into: audioFileBuffer!)"},{"text":""},{"text":"// Create an instance of this class from the audio buffer."},{"text":"let createdAudioBuffer = try AudioBufferResource(buffer: audioFileBuffer!,"},{"text":" options: options)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioBufferResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending","transparent(opacity:)"],"names":{"title":"PhysicallyBasedMaterial.Blending.transparent(opacity:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A surface that’s transparent."},{"text":""},{"text":"This enumeration case indicates that the material supports"},{"text":"transparency."},{"text":""},{"text":"- Parameters:"},{"text":" - opacity: The opacity of the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CustomMaterialV35secondaryTextureCoordinateTransformAA0D14ParameterTypesV0fgH0Vvp","interfaceLanguage":"swift"},"pathComponents":["CustomMaterial","secondaryTextureCoordinateTransform"],"names":{"title":"secondaryTextureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation RealityKit applies to the entity’s"},{"text":"secondary texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates define how RealityKit maps image"},{"text":"textures onto an entity. Use this property to transform the secondary"},{"text":"texture coordinates and change the way this material maps textures onto"},{"text":"an entity. If an entity has multiple materials assigned to it, the"},{"text":"transformation doesn’t affect how the other materials map their"},{"text":"textures."},{"text":""},{"text":"For example, you might change the scale of the UV coordinates to apply a"},{"text":"tiled, repeating pattern to the surface of your entity, or continuously"},{"text":"rotate or translate the texture coordinates to animate materials and"},{"text":"create special effects, such as fire or flowing liquids."},{"text":""},{"text":"The following example demonstrates how to set a material’s UV"},{"text":"transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees"},{"text":"converted to radians. secondaryTextureCoordinateTransform ="},{"text":".init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"The material’s shader function doesn’t have to do anything to apply the"},{"text":"transformation. When the shader calls `params.geometry().uv1()`,"},{"text":"RealityKit already transforms the returned coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CustomMaterial","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SKsE4last7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","last"],"names":{"title":"last","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The last element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let lastNumber = numbers.last {"},{"text":" print(lastNumber)"},{"text":" }"},{"text":" // Prints \"50\""},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV3allACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","all"],"names":{"title":"all","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group that represents all groups."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO6opaqueyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending","opaque"],"names":{"title":"PhysicallyBasedMaterial.Blending.opaque","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic","ID"],"names":{"title":"MeshBuffers.Semantic.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]}],"relationships":[{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC14generateSphere6radiusACSf_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE5store2inyAA6EntityC_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO8internalyAcA08InternalC4PathVcACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10blendLayers5Int32Vvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF","displayName":"Publisher.encode(encoder:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE7isValidSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF","displayName":"Publisher.encode(encoder:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF","displayName":"Publisher.multicast(subject:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation16DirectionalLightCACycfc","target":"s:17RealityFoundation16DirectionalLightC","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumInputImageDimensionSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8semanticAC8SemanticOSgvp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF","displayName":"Publisher.multicast(subject:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV6offsetSdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9parameteryACSScACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO15jointTransformsyA2CmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE8generate4withAcA0C10Definition_p_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueSSvp","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasHierarchyP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9transformyA2CmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5input13configurationAC0B03URLV_AC13ConfigurationVtKcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5input13configurationACx_AC13ConfigurationVtKcSTRzAA0C6SampleV7ElementRtzlufc","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16opacityThresholdSfSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV19checkpointDirectory0B03URLVSgvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE9fromValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8durationSdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation15PhysicsBodyModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO4pathyAcA0C4PathVcACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","target":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation20PhotogrammetrySampleV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7samplerAE7SamplerVvp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE3max2by7ElementQzSgSbAE_AEtYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE3max2by7ElementQzSgSbAE_AEtYaKXE_tYaKF","displayName":"AsyncSequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8BlendingO6opaqueyA2EmF","target":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semanticAC8SemanticOSgvp","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE10definitionAA0C10Definition_pvp","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV6matrixACSo13simd_float4x4a_tcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV12trimDurationSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV12depthDataMapSo11CVBufferRefaSgvp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC10shouldLoopSbvp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE3min2by7ElementQzSgSbAE_AEtYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE3min2by7ElementQzSgSbAE_AEtYaKXE_tYaKF","displayName":"AsyncSequence.min(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation5EventP","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV4nameSSvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6limitsAC6LimitsVvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO9parameteryACSS_SftcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6shapesSayAA13ShapeResourceCGvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVyAGSo20MTLSamplerDescriptorCcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation14HasPhysicsBodyP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO9hashValueSivp","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV5delaySdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5pitch3yaw4rollACSf_S2ftcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6modifyyxxSo20MTLSamplerDescriptorCKXEKlF","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC6repeat5countACSi_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO10bindTargetyAcA04BindF0O_SftcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isStoppedSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18featureSensitivityAE07FeatureG0Ovp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV5childAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV"},{"kind":"conformsTo","source":"s:17RealityFoundation19OrientedBoundingBoxV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV6frames4name9tweenMode13frameInterval10isAdditive10bindTarget10blendLayer06repeatH004fillH09trimStart0S3End0S8Duration6offset5delay5speedACyxGSayxG_SSAA05TweenH0OSfSbAA04BindN0OSgs5Int32VAA0d6RepeatH0OAA0d4FillH0VSdSgA4_A4_S2dSftcfc","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isPlayingSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformVACycfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE5first5where7ElementQzSgSbAEYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE5first5where7ElementQzSgSbAEYaKXE_tYaKF","displayName":"AsyncSequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7toValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"inheritsFrom","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO6streamyA2EmF","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV8metadataSDySSypGvp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation11BlendWeightO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE8sequence4withACSayACG_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO7preloadyA2EmF","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7uvIndexSivp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV11faceCullingAA0E14ParameterTypesV04FaceG0Ovp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5scale8rotation11translationACs5SIMD3VySfG_So10simd_quatfaAItcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV11mipmapsModeAC07MipmapsH0Ovp","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6NormalV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","displayName":"MeshBufferContainer.positions"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC24accessibilityDescriptionSSSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC10shouldLoopSbvp","target":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5index5afterS2i_tF","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5index5after5IndexQzAD_tF","displayName":"BidirectionalCollection.index(after:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","displayName":"MeshBufferContainer.positions"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE5group4withACSayACG_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC6buffer9inputMode10shouldLoopACSo07AVAudioD0C_AA0cE0C05InputH0OSbtKcfc","target":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6accessyxxSo20MTLSamplerDescriptorCKXEKlF","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV6offsetSdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO2eeoiySbAI_AItFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV16ambientOcclusionAIvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"},{"kind":"requirementOf","source":"s:17RealityFoundation18MeshBufferSemanticP2idAA0C7BuffersO10IdentifierVvp","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8blendingAC8BlendingOvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV02isC7ElementSbvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp","target":"s:17RealityFoundation13HasPointLightP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO4jpegyAISf_tcAImF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV19ArrayLiteralElementa","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV6bottomAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13EmissiveColorVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV14previousParentAA0G0CSgvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV6ShadowV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18SpotLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","target":"s:17RealityFoundation19HasDirectionalLightP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SK","targetFallback":"Swift.BidirectionalCollection"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV0G0a","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV3allAIvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO3pngyA2ImF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV19checkpointDirectoryAE0B03URLV_tcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV7Elementa","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp","displayName":"Publisher.values"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13drawableQueueAC08DrawableF0CSgvp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC13drawableQueueAC0eG0Cvp","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7byValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC18accessibilityLabelSSSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV6matrixSo13simd_float4x4avp","target":"s:17RealityFoundation9TransformV"},{"kind":"conformsTo","source":"s:17RealityFoundation12HasCollisionP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4sideAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8additiveSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV_7samplerAeA0E8ResourceC_AE7SamplerVtcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE10compactMapyAA020AsyncThrowingCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaKclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE10compactMapyAA020AsyncThrowingCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaKclF","displayName":"AsyncSequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV12displacementAIvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF","displayName":"Publisher.switchToLatest()"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","displayName":"HasHierarchy.setParent(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV11SubSequencea","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV5partsSayAC4PartOGvp","target":"s:17RealityFoundation8BindPathV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","displayName":"HasHierarchy.children"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.normals"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5delaySdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV5imageSo11CVBufferRefavp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.normals"}},{"kind":"conformsTo","source":"s:17RealityFoundation8HasModelP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"inheritsFrom","source":"s:17RealityFoundation18HasSynchronizationP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF","displayName":"Publisher.sink(receiveCompletion:receiveValue:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF","displayName":"Publisher.sink(receiveCompletion:receiveValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV3topAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO","target":"s:17RealityFoundation8BindPathV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV5label0B023LocalizedStringResourceVSgvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV11descriptionSSvp","target":"s:17RealityFoundation20PhotogrammetrySampleV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC7textureSo10MTLTexture_pvp","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","displayName":"HasHierarchy.parent"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF","displayName":"Publisher.sink(receiveValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4noneAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasTransformP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC7presentyyF","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.subscribe(on:options:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.subscribe(on:options:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6SystemPAAE08registerC0yyFZ","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV4meshAA12MeshResourceCvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO11autoReverseyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp","target":"s:17RealityFoundation19HasDirectionalLightP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC7replace13withDrawablesyAC13DrawableQueueC_tF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureVyAeA0E8ResourceCcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation6EntityC"},{"kind":"requirementOf","source":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14textureMappingyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO10cumulativeyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValueAEs5UInt8V_tcfc","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO6repeatyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14meshGenerationyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC22isAccessibilityElementSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO4noneyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation10BindTargetO","target":"s:17RealityFoundation10BindTargetO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO12optimizationyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8RawValuea","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV2idSivp","target":"s:17RealityFoundation20PhotogrammetrySampleV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.tangents"}},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:17RealityFoundation18SpotLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19PointLightComponentV","target":"s:17RealityFoundation19PointLightComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation8BindPathV4PartO","target":"s:17RealityFoundation8BindPathV4PartO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TweenModeO","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23AnimationTimingFunctionV","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV26maximumNumberOfInputImagesSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC6LimitsV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5speedSfvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshBufferSemanticP","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV","target":"s:17RealityFoundation25DirectionalLightComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BlendWeightO","target":"s:17RealityFoundation11BlendWeightO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.tangents"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationVAEycfc","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV","target":"s:17RealityFoundation18SpotLightComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23MaterialScalarParameterO","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC16debugDescriptionSSvp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp","displayName":"CustomDebugStringConvertible.debugDescription"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.tryCatch(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BoundingBoxV","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation09BlendTreeC4NodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.tryCatch(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19OrientedBoundingBoxV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO4RateO","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF","displayName":"Publisher.merge(with:_:_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10PointLightCACycfc","target":"s:17RealityFoundation10PointLightC","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF","displayName":"Publisher.merge(with:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV10identifiers6UInt64Vvp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC5localACvpZ","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SM","targetFallback":"Swift.MutableCollection"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV8IteratorV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC10findEntity5namedAA0E0CSgSS_tF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV8rawValueAISu_tcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV2IDa","target":"s:17RealityFoundation20PhotogrammetrySampleV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV8rawValueSuvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation12HasSpotLightP"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAeA0E10ParametersV7TextureVSg_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV9materialsSayAA8Material_pGvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV23maximumTextureDimensionAG0jK0Ovp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV8RawValuea","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"conformsTo","source":"s:17RealityFoundation13HasPointLightP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation13HasPointLightP"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21ownershipTransferModeAC09OwnershipfG0Ovp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV8durationSdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation5SceneC","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV9tweenModeAA05TweenF0Ovp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation20BlendTreeInvalidNodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF","displayName":"Publisher.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id11descriptorsAESS_SayAA0C10DescriptorVGtKcfc","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"conformsTo","source":"s:17RealityFoundation25DirectionalLightComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:10Foundation14LocalizedErrorP","targetFallback":"Foundation.LocalizedError"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV12makeIteratorAC0F0Vyx_GyF","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV8durationSdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC4fromACs7Decoder_p_tKcfc","target":"s:17RealityFoundation25NetworkCompatibilityTokenC","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV6anchorAA12HasAnchoring_pvp","target":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15CollisionFilterV","target":"s:17RealityFoundation15CollisionFilterV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation8HasModelP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASfRszrlE6framesSaySfGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV02isE0Sbvp","target":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6source4name6weightAcA19AnimationDefinition_p_SSAA0C6WeightOtcfc","target":"s:17RealityFoundation19BlendTreeSourceNodeV"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC4load5named2in9inputMode15loadingStrategy10shouldLoopACSS_So8NSBundleCSgAA0cE0C05InputJ0OAC07LoadingL0OSbtKFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation10MeshBufferV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV7isOwnerSbvp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE9fromValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO9hashValueSivp","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation19HasDirectionalLightP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13ShapeResourceC","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF","displayName":"Publisher.mapError(_:)"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV8SpecularV"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV12boundsMarginSfvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","displayName":"HasHierarchy.removeChild(_:preservingWorldTransform:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE11blendFactorSfvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16SystemDependencyO","target":"s:17RealityFoundation16SystemDependencyO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8specularAC8SpecularVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC12ComponentSetV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"requirementOf","source":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.catch(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF","displayName":"Publisher.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO9hashValueSivp","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO9clearcoatyA2EmF","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC5sceneAA5SceneCSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlE8elements7indicesACySdGSaySdG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV19ArrayLiteralElementa","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9clearcoatAC9ClearcoatVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17OcclusionMaterialV23receivesDynamicLightingACSb_tcfc","target":"s:17RealityFoundation17OcclusionMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8additiveSbvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19OrientedBoundingBoxV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV6normalAIvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4nameSSvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC17compatibilityWithyAC0D0OACF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:17RealityFoundation11EntityQueryV5whereAcA0D9PredicateVyAA0C0CG_tcfc","target":"s:17RealityFoundation11EntityQueryV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryAllSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV11translations5SIMD3VySfGvp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO4holdyA2CmF","target":"s:17RealityFoundation9TweenModeO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGqd__cSTRd__Sd7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11EntityQueryVACycfc","target":"s:17RealityFoundation11EntityQueryV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6shapes4mode6filterACSayAA13ShapeResourceCG_AC4ModeOAA0C6FilterVtcfc","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:17RealityFoundation21SynchronizationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:17RealityFoundation21SynchronizationEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5clockyXlvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO3lityA2EmF","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO6linearyA2CmF","target":"s:17RealityFoundation9TweenModeO"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO9unorderedyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation17OcclusionMaterialV23receivesDynamicLightingSbvp","target":"s:17RealityFoundation17OcclusionMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO5unlityA2EmF","target":"s:17RealityFoundation14CustomMaterialV13LightingModelO"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV8rotationSo10simd_quatfavp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","displayName":"HasHierarchy.removeFromParent(preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id5partsAESS_SayAcAE4PartVGtcfc","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC4nameSSSgvp","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentVACycfc","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8fillModeAA0d4FillF0Vvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.catch(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO10sequentialyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV13frameIntervalSfvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation19BlendTreeSourceNodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19CustomMaterialErrorO","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV9hashValueSivp","target":"s:17RealityFoundation19OrientedBoundingBoxV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation20HasPerspectiveCameraP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9copyAsync2to17completionHandlerySo10MTLTexture_p_ys5Error_pSgctF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV4name4from2to2by8duration6timing10isAdditive10bindTarget10blendLayer10repeatMode04fillT09trimStart0V3End0V8Duration6offset5delay5speedACyxGSS_xSgA2VSdAA0F14TimingFunctionVSbAA04BindP0OSgs5Int32VAA0f6RepeatT0OAA0f4FillT0VSdSgA6_A6_S2dSftcfc","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV9deltaTimeSdvp","target":"s:17RealityFoundation11SceneEventsO6UpdateV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV12diffuseColorAIvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE8durationSdvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7process8requestsySayAC7RequestOG_tKF","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV9roughnessAIvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","displayName":"HasHierarchy.addChild(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16CollisionCastHitV","target":"s:17RealityFoundation16CollisionCastHitV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7toValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGSaySdGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeCACycfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC14activeRequestsSayAC7RequestOGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6cancelyyF","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation22SynchronizationServiceP10Identifiera","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV11orientation08boundingE0ACSo10simd_quatfa_AA0dE0Vtcfc","target":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation18SceneUpdateContextV5sceneAA0C0Cvp","target":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryAllSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC12isProcessingSbvp","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19OrientedBoundingBoxV","target":"s:17RealityFoundation19OrientedBoundingBoxV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC4load10contentsOf8withName9inputMode15loadingStrategy10shouldLoopAC0B03URLV_SSSgAA0cE0C05InputL0OAC07LoadingN0OSbtKFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation11LoadRequestC","target":"s:7Combine9PublisherP","targetFallback":"Combine.Publisher"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV2idAA0D7BuffersO10IdentifierVvp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV5partsAA0C14PartCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC7anchorsAC16AnchorCollectionVvp","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC9loadAsync5named2in9inputMode15loadingStrategy10shouldLoopAA11LoadRequestCyACGSS_So8NSBundleCSgAA0cE0C05InputK0OAC07LoadingM0OSbtFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF","displayName":"Publisher.mapError(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5scales5SIMD3VySfGvp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValues5UInt8Vvp","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15PhysicsBodyModeO","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18SceneUpdateContextV9deltaTimeSdvp","target":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4copy2toySo10MTLTexture_p_tKF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV4nameSSvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV6Outputa","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP6OutputQa","displayName":"Publisher.Output"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV7Elementa","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation10HasPhysicsP"},{"kind":"inheritsFrom","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"conformsTo","source":"s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAeA0E10ParametersV7TextureVSg_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV7Failurea","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP7FailureQa","displayName":"Publisher.Failure"}},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.measureInterval(using:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5index6beforeS2i_tF","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5index6before5IndexQzAD_tF","displayName":"BidirectionalCollection.index(before:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.measureInterval(using:options:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV5countSivp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18clearcoatRoughnessAC09ClearcoatG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF","displayName":"Publisher.retry(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"conformsTo","source":"s:17RealityFoundation19HasDirectionalLightP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV08boundingE0AA0dE0Vvp","target":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF","displayName":"Publisher.retry(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV5speedSfvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation14HasPhysicsBodyP","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE7Texturea","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC6repeat8durationACSd_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5EndedV"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation6SystemPAAE6update7contextyAA18SceneUpdateContextV_tF","target":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF"},{"kind":"memberOf","source":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffixy11SubSequenceQzSiF","displayName":"Collection.suffix(_:)"}},{"kind":"memberOf","source":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffixy11SubSequenceQzSiF","displayName":"Collection.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV4rateAA0D7BuffersO4RateOvp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5startSdvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:17RealityFoundation13AudioResourceC9InputModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation6SystemPAAE12dependenciesSayAA0C10DependencyOGvpZ","target":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC23generateCollisionShapes9recursiveySb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV8identityACvpZ","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO9hashValueSivp","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC9loadAsync10contentsOf8withName9inputMode15loadingStrategy10shouldLoopAA11LoadRequestCyACG0B03URLV_SSSgAA0cE0C05InputM0OAC07LoadingO0OSbtFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV9trimStartSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF","displayName":"Publisher.breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF","displayName":"Publisher.breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4modeAC4ModeOvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semantic11mipmapsModeAeC8SemanticOSg_AC07MipmapsI0Otcfc","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5EndedV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV11elementTypeAA0D7BuffersO07ElementG0Ovp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5speedSfvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO5sceneyAC9ScenePathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormatSo08MTLPixelI0Vvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC8isActiveSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV"},{"kind":"conformsTo","source":"s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGSayAA0C10DescriptorVG_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC12removeAnchoryyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO4highyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF","displayName":"Publisher.output(at:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation19OrientedBoundingBoxV11orientationSo10simd_quatfavp","target":"s:17RealityFoundation19OrientedBoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV7Elementa","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO6normalyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12anchorEntityyAC0F4PathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF","displayName":"Publisher.output(at:)"}},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCACycfc","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF","displayName":"Publisher.breakpointOnError()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF","displayName":"Publisher.output(in:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9addAnchoryyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF","displayName":"Collection.trimmingPrefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6sourceAA19AnimationDefinition_pSgvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4nameSSvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV"},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF","displayName":"Publisher.output(in:)"}},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO6entityyAC10EntityPathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV3getyAA0dE0VyxGSgxmlF","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10repeatModeAA0e6RepeatG0Ovp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV8resourceAA0E8ResourceCvp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF","displayName":"Collection.trimmingPrefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8generate4fromACSayAA0C10DescriptorVG_tKFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO7defaultyA2EmF","target":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC8didClone4fromyAC_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF","displayName":"Publisher.breakpointOnError()"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO7triggeryA2EmF","target":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC12replaceAsync9withImage7optionsAA11LoadRequestCyACGSo10CGImageRefa_AC13CreateOptionsVtF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV3endSdvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10isAnchoredSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10repeatModeAA0f6RepeatH0Ovp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7byValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE8dropLasty11SubSequenceQzSiF","displayName":"Collection.dropLast(_:)"}},{"kind":"memberOf","source":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE8dropLasty11SubSequenceQzSiF","displayName":"Collection.dropLast(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25DirectionalLightComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC04findC05namedACSgSS_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGAcAE8ContentsV_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV7trimEndSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation16HasPhysicsMotionP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV8IteratorV4nextxSgyF","target":"s:17RealityFoundation11QueryResultV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9isEnabledSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.drop(while:)"}},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE4timeSdvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6filterAA0C6FilterVvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV8newOwnerAA0C6PeerID_pSgvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP18recoverySuggestionSSSgvp","displayName":"LocalizedError.recoverySuggestion"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV18textureCoordinatesAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC7replace9withImage7optionsySo10CGImageRefa_AC13CreateOptionsVtKF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV9transformAA9TransformVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"memberOf","source":"s:17RealityFoundation19PointLightComponentV9intensitySfvp","target":"s:17RealityFoundation19PointLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC7raycast6origin9direction6length5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_APSfAA0lM9QueryTypeOAA0L5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15requestCompleteyAeC7RequestO_AC6ResultOtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE3mapyAA24AsyncThrowingMapSequenceVyxqd__Gqd__7ElementQzYaKclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE3mapyAA24AsyncThrowingMapSequenceVyxqd__Gqd__7ElementQzYaKclF","displayName":"AsyncSequence.map(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8SpecularV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.first(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.first(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:s5ErrorP","targetFallback":"Swift.Error"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO11DidActivateV"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","displayName":"HasSynchronization.isOwner"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV5valuexvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"requirementOf","source":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryDrop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV5delaySdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV14massPropertiesAA0c4MassG0Vvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF","displayName":"Publisher.decode(type:decoder:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.zip(_:_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9clearcoatAC9ClearcoatVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12requestErroryAeC7RequestO_s0G0_ptcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13inputCompleteyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryDrop(while:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.zip(_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5widthSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"BidirectionalCollection.index(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV10bitangentsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP10helpAnchorSSSgvp","displayName":"LocalizedError.helpAnchor"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5groupSayAA0C10Definition_pGvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC5speedSdvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materials14collisionShape4massAcA12MeshResourceC_SayAA8Material_pGAA0hK0CSftcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV5speedSfvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV14startTransformAA0F0Vvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF","displayName":"Publisher.decode(type:decoder:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP6entity3forAA6EntityCSgs6UInt64V_tF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15loadingStrategyAC07LoadingG0Ovp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVACycfc","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC010allowsNextE7TimeoutSbvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8BlendingO","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7impulseSfvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO18processingCompleteyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV8tangentsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF","displayName":"Publisher.first()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF","displayName":"Publisher.first()"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19processingCancelledyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF","displayName":"Collection.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.last(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC04nextE0AC0E0CyKF","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF","displayName":"Collection.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materials15collisionShapes4massAcA12MeshResourceC_SayAA8Material_pGSayAA05ShapeK0CGSftcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.last(where:)"}},{"kind":"memberOf","source":"s:SKsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE5index_8offsetBy5IndexQzAD_SitF","displayName":"BidirectionalCollection.index(_:offsetBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO11DidActivateV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10primitivesAC10PrimitivesOSgvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP13failureReasonSSSgvp","displayName":"LocalizedError.failureReason"}},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocitys5SIMD3VySfGvp","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"memberOf","source":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF","displayName":"BidirectionalCollection.difference(from:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15requestProgressyAeC7RequestO_SdtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV_08animatedD0ACyxGx_xSgtcfc","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV6entityAA6EntityCvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP5owner2ofAA0C6PeerID_pSgAA6EntityC_tF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:17RealityFoundation19PointLightComponentV17attenuationRadiusSfvp","target":"s:17RealityFoundation19PointLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6sourceAA0C10Definition_pSgvp","target":"s:17RealityFoundation13AnimationViewV"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation8BindPathV4PartO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV7normalsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNames4name15isScaleAnimated0l8RotationN00l11TranslationN04from2to2by8duration6timing0L8Additive10bindTarget10blendLayer10repeatMode8fillMode9trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SSS3bAESgA1_A1_SdAA0F14TimingFunctionVSbAA04BindX0OSgs5Int32VAA0F10RepeatModeOAA0F8FillModeVSdSgA13_A13_S2dSftcfc","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV14orientedBounds9transformAgA19OrientedBoundingBoxV_AA9TransformVtcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC6anchorAA12HasAnchoring_pSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"inheritsFrom","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","displayName":"HasSynchronization.withUnsynchronized(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18clearcoatRoughnessAC09ClearcoatF0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6acceptyycvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV22estimatedRemainingTimeSdSgvp","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV"},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV7sourcesSayAA0cdE0_pGvp","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV5speedSfvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE10compactMapyAA012AsyncCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE10compactMapyAA012AsyncCompactC8SequenceVyxqd__Gqd__Sg7ElementQzYaclF","displayName":"AsyncSequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:SKsE9formIndex6beforey0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK9formIndex6beforey0B0Qzz_tF","displayName":"BidirectionalCollection.formIndex(before:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0F4DataRzluip","target":"s:17RealityFoundation6EntityCAAE12ParameterSetV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV4modeAA0cD4ModeOvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7impulseSfvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF","displayName":"Publisher.merge(with:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13generateAsync4from8withName7optionsAA11LoadRequestCyACGSo10CGImageRefa_SSSgAC13CreateOptionsVtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP13giveOwnership2of6toPeerSbAA6EntityC_AA0cI2ID_ptF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO9transformyA2EmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0C0V7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV0C0V"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6bounds9transformAgA11BoundingBoxV_AA9TransformVtcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV6heightSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV15processingStageAE010ProcessingI0OSgvp","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF","displayName":"Publisher.merge(with:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV4nameSSvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV9positionsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO15jointTransformsyA2EmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryFirst(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"conformsTo","source":"s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO6entityyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8generate4from8withName7optionsACSo10CGImageRefa_SSSgAC13CreateOptionsVtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV5delaySdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF","displayName":"Publisher.filter(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF","displayName":"Publisher.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV13spinClockwiseSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV8isCustomSbvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","displayName":"HasSynchronization.requestOwnership(timeout:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V8positions5SIMD3VySfGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryFirst(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV7sources4name6weight10isAdditiveACSayAA0cdE0_pG_SSAA0C6WeightOSbtcfc","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF","displayName":"Publisher.drop(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF","displayName":"Publisher.drop(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO9parameteryAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V5colors5SIMD4Vys5UInt8VGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14QueryPredicateV3hasyACyAA6EntityCGqd__mAA9ComponentRd__lFZ","target":"s:17RealityFoundation14QueryPredicateV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV9requesterAA0C6PeerID_pvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC7raycast4from2to5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_AoA0kL9QueryTypeOAA0K5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO12anchorEntityyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9materialsAC9MaterialsOvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV5sheenAC10SheenColorVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5usageSo15MTLTextureUsageVvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO10pointCloudyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV4nameSSvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV8durationSdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF","displayName":"Collection.firstIndex(of:)"}},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF","displayName":"Collection.firstIndex(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7outputsAC7OutputsVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV08animatedD0xSgvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryFilter(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryFilter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO5sceneyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV10isAdditiveSbvp","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV7defaultACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19EnvironmentResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV0E0V","target":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5usageSo15MTLTextureUsageVvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV19isTranslationLockedSb1x_Sb1ySb1ztvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6NormalV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6entityAA6EntityCvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10blendLayers5Int32Vvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV5sceneAA0C0Cvp","target":"s:17RealityFoundation11SceneEventsO6UpdateV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF","displayName":"Publisher.tryCompactMap(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorVyAA0C6BufferVy7ElementQzGSgxcAA0cE8SemanticRzluip","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","displayName":"MeshBufferContainer.subscript(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO6beforeyAcA0C0_pXpcACmF","target":"s:17RealityFoundation16SystemDependencyO"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVyACxcSTRzAA9TransformV7ElementRtzlufc","target":"s:17RealityFoundation15JointTransformsV"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.ranges(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6offsetSdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.ranges(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withName7optionsAA11LoadRequestCyACG0B03URLV_SSSgAC13CreateOptionsVtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6boundsyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV5scales5SIMD2VySfGvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5NeverO7FailureRtd__lF","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP7receive10subscriberyqd___tAA10SubscriberRd__7FailureQyd__AGRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.receive(subscriber:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV5named2inAESS_So10MTLLibrary_ptcfc","target":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV26textureCoordinateTransformAA0E14ParameterTypesV07TexturegH0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO11modelEntityyA2E6DetailO_AE8GeometryVSgtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8durationSdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV6pointsSayAE0E0VGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC10PointCloudV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"memberOf","source":"s:SKsE8reverseds18ReversedCollectionVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8reverseds18ReversedCollectionVyxGyF","displayName":"BidirectionalCollection.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6source4name10bindTarget10blendLayer10repeatMode04fillL09trimStart0N3End0N8Duration6offset5delay5speedAcA0C10Definition_p_SSAA04BindH0OSgs5Int32VAA0c6RepeatL0OAA0c4FillL0VSdSgA2ZS2dSftcfc","target":"s:17RealityFoundation13AnimationViewV"},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"conformsTo","source":"s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13configurationAC13ConfigurationVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"conformsTo","source":"s:17RealityFoundation23AnimationTimingFunctionV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF","displayName":"Publisher.tryCompactMap(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocity07angularG0ACs5SIMD3VySfG_AHtcfc","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV12arrayLiteralAcA9TransformVd_tcfc","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16ambientOcclusionAC07AmbientF0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentVACycfc","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVACycfc","target":"s:17RealityFoundation15JointTransformsV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV6timingAA0F14TimingFunctionVvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:s27ExpressibleByIntegerLiteralP","targetFallback":"Swift.ExpressibleByIntegerLiteral"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF","displayName":"Publisher.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV19ArrayLiteralElementa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11mipmapsModeAC07MipmapsI0Ovp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV19maximumPolygonCountSuvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9modelFileyAE0B03URLV_AE6DetailOAE8GeometryVSgtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF","displayName":"Publisher.compactMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsMaterialResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE9dropFirstyAA09AsyncDropC8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE9dropFirstyAA09AsyncDropC8SequenceVyxGSiF","displayName":"AsyncSequence.dropFirst(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV4nameSSvp","target":"s:17RealityFoundation09BlendTreeC4NodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV04baseD0xvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueCyA2E10DescriptorVKcfc","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryReduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeC6shapes6filterACSayAA13ShapeResourceCG_AA15CollisionFilterVtcfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV9backwardsACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"conformsTo","source":"s:17RealityFoundation20PhysicsBodyComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC7Decibela","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV35secondaryTextureCoordinateTransformAA0E14ParameterTypesV0ghI0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV7librarySo10MTLLibrary_pvp","target":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","sourceOrigin":{"identifier":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","displayName":"MaterialFunction.library"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV4bothACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeC5shape6filterAcA13ShapeResourceC_AA15CollisionFilterVtcfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4gainSdvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV8materialAA0C16MaterialResourceCvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentVACycfc","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF","displayName":"Publisher.handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO6DidAddV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV12urlsBySampleSDySi0B03URLVGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF","displayName":"Publisher.handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryReduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV13posesBySampleSDySiAC4PoseVGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC5PosesV"},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentV8velocitys5SIMD3VySfGvp","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityCACycfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11mipmapsModeAC07MipmapsH0Ovp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhysicsMassPropertiesV","target":"s:17RealityFoundation21PhysicsMassPropertiesV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO6DidAddV"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV8metallicAA0D15ScalarParameterOvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offsets5SIMD2VySfGvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6targetAC6TargetOvp","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4axiss5SIMD3VySfGvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC11isSupportedSbvpZ","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV6offsetSdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO6opaqueyA2EmF","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV12trimDurationSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withName7optionsAC0B03URLV_SSSgAC13CreateOptionsVtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10isAdditiveSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVyA2C6TargetOcfc","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","displayName":"MeshBufferContainer.buffers"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO8blendingAeA06CustomE0VADO_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0C0V5value7textureAEs5SIMD4VySfG_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV0C0V"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19AnimationRepeatModeO","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentV10isOnGroundSbvp","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV15angularVelocitys5SIMD3VySfGvp","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO3rawyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12prepareAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV4nameSSvp","target":"s:17RealityFoundation14CustomMaterialV13SurfaceShaderV","sourceOrigin":{"identifier":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","displayName":"MaterialFunction.name"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO20pointCloudGenerationyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation09BlendTreeC4NodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8rawValues4Int8Vvp","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO03preF0yA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP5scenexAA5SceneC_tcfc","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO023defaultSurfaceShaderForD8NotFoundyA2CmF","target":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O9hashValueSivp","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO14imageAlignmentyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormat5width6height5usage11mipmapsModeAGSo08MTLPixelI0V_S2iSo15MTLTextureUsageVAC07MipmapsN0Otcfc","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC9isPlayingSbvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO29surfaceShaderFunctionNotFoundyA2CmF","target":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"conformsTo","source":"s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV35secondaryTextureCoordinateTransformAA0D14ParameterTypesV0fgH0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO32geometryModifierFunctionNotFoundyA2CmF","target":"s:17RealityFoundation19CustomMaterialErrorO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp","displayName":"Publisher.values"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV4noneACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6radius6height9skinWidth10slopeLimit04stepK08upVector15collisionFilterACSf_S4fs5SIMD3VySfGAA09CollisionP0Vtcfc","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9playAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV7trimEndSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV5speedSfvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV4nearSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV9roughnessAA0D15ScalarParameterOvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentVACycfc","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO6customyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV9easeInOutACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offset5scale8rotationAEs5SIMD2VySfG_AKSftcfc","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV8endIndexSivp","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK8endIndex0B0Qzvp","displayName":"BidirectionalCollection.endIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF","displayName":"Publisher.prepend(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV8fillModeAA0f4FillH0Vvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF","displayName":"Publisher.removeDuplicates()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF","displayName":"Publisher.removeDuplicates()"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV11cubicBezier13controlPoint10H6Point2ACs5SIMD2VySfG_AItFZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF","displayName":"Publisher.prepend(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O30sessionProtocolVersionMismatchyA2EmF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV4nameSSvp","target":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","sourceOrigin":{"identifier":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","displayName":"MaterialFunction.name"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10loadAnchor5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV4rateAA0C7BuffersO4RateOvp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8forwardsACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12stopAllAudioyyF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0cD7TextureV8resourceAA0E8ResourceCvp","target":"s:17RealityFoundation14CustomMaterialV0cD7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O10compatibleyA2EmF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6normalAC6NormalVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC21expectedMaterialCountSivp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:s5ErrorP","targetFallback":"Swift.Error"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVyAA9TransformVSicip","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKy7ElementQz5IndexQzcip","displayName":"BidirectionalCollection.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV6boundsAA11BoundingBoxVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC6boundsAA11BoundingBoxVvp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0cD7TextureV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC15reverbSendLevelSdvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4noneyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC16mipmapLevelCountSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.removeDuplicates(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.removeDuplicates(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF","displayName":"Publisher.assign(to:on:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7Texturea","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO11allocateAllyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV6ShadowVAEycfc","target":"s:17RealityFoundation18SpotLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:SKsE4last7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE4last7ElementQzSgvp","displayName":"BidirectionalCollection.last"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation16CollisionCastHitV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV11FaceCullinga","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO20localizedDescriptionSSvp","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV12makeIteratorAE08IndexingG0Vy__AEGyF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl12makeIterator0B0QzyF","displayName":"Collection.makeIterator()"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV7easeOutACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.zip(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV9usingRateyACyxGAA0C7BuffersO0F0OF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:SKsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8dropLasty11SubSequenceQzSiF","displayName":"BidirectionalCollection.dropLast(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.zip(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.combineLatest(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16ambientOcclusionAC07AmbientG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV9trimStartSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10repeatModeAA0d6RepeatF0Ovp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4fade2to8durationySd_SdtF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV7Elementa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV8rotationSfvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"memberOf","source":"s:17RealityFoundation20BlendTreeInvalidNodeV4nameSSvp","target":"s:17RealityFoundation20BlendTreeInvalidNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV14orientedBoundsAA19OrientedBoundingBoxVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV6linearACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.firstRange(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF","displayName":"Publisher.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO5afteryAcA0C0_pXpcACmF","target":"s:17RealityFoundation16SystemDependencyO"},{"kind":"memberOf","source":"s:17RealityFoundation23BindableValuesReferenceVyAA0C5ValueVyxGSgAA10BindTargetO_xmtcAA0C4DataRzluip","target":"s:17RealityFoundation23BindableValuesReferenceV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV6easeInACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:SKsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE6suffixy11SubSequenceQzSiF","displayName":"BidirectionalCollection.suffix(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV26TextureCoordinateTransforma","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.firstRange(of:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.combineLatest(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6customAC0C0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionFilterV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8elementsSayxGvp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO4fullyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF","displayName":"Publisher.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9inputModeAC05InputF0Ovp","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryRemoveDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryRemoveDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACSf_SftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6NormalV7textureAeC0cD7TextureVSg_tcfc","target":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO6scalaryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19requestProgressInfoyAeC7RequestO_AE0gH0VtcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO5coloryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO8hdrColoryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVAGycfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO6normalyA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV7librarySo10MTLLibrary_pvp","target":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV","sourceOrigin":{"identifier":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","displayName":"MaterialFunction.library"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACs5SIMD3VySfG_SftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO12ProgressInfoV","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9BaseColorV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","displayName":"HasTransform.visualBounds(recursive:relativeTo:excludeInactive:)"}},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12ParameterSetV","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxxtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC6heightSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF","displayName":"BidirectionalCollection.difference(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC2ids6UInt64Vvp","target":"s:17RealityFoundation23AudioPlaybackControllerC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV8Iteratora","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyLevelAC010AnisotropyG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV","target":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"memberOf","source":"s:17RealityFoundation19PointLightComponentV7cgColor9intensity17attenuationRadiusACSo10CGColorRefa_S2ftcfc","target":"s:17RealityFoundation19PointLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO3rawyA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE7flatMapyAA017AsyncThrowingFlatC8SequenceVyxqd__Gqd__7ElementQzYaKcSciRd__lF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE7flatMapyAA017AsyncThrowingFlatC8SequenceVyxqd__Gqd__7ElementQzYaKcSciRd__lF","displayName":"AsyncSequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8rawValueACs4Int8V_tcfc","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.receive(on:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO19stitchingIncompleteyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"conformsTo","source":"s:17RealityFoundation11BlendWeightO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF","displayName":"Publisher.ignoreOutput()"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF","displayName":"Publisher.ignoreOutput()"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC10convexCast0D5Shape12fromPosition0G11Orientation02toH00jI05query4mask10relativeToSayAA09CollisionE3HitVGAA0F8ResourceC_s5SIMD3VySfGSo10simd_quatfaAtvA0oE9QueryTypeOAA0O5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.receive(on:options:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6heightSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE10parametersAcAE12ParameterSetVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation20BlendTreeInvalidNodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation20BlendTreeInvalidNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV26textureCoordinateTransformAA0D14ParameterTypesV07TexturefG0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8RawValuea","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox5width6height5depth12cornerRadius10splitFacesACSf_S3fSbtFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF","displayName":"BidirectionalCollection.lastIndex(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC5widthSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV6offsetSdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8BlendingO8blendingAeA015PhysicallyBasedD0VADO_tcfc","target":"s:17RealityFoundation14CustomMaterialV8BlendingO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE14bindableValuesAA08BindableE9ReferenceVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF","displayName":"Publisher.buffer(size:prefetch:whenFull:)"}},{"kind":"memberOf","source":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF","displayName":"BidirectionalCollection.last(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4stopyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV5named2inAESS_So10MTLLibrary_ptcfc","target":"s:17RealityFoundation14CustomMaterialV16GeometryModifierV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF","displayName":"Collection.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV5countSivp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"requirementOf","source":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","displayName":"HasSynchronization.synchronization"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyAngleAC010AnisotropyG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13skippedSampleyAESi_tcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV11SubSequencea","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF","displayName":"Publisher.buffer(size:prefetch:whenFull:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC4nameSSvp","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC13generatePlane5width6height12cornerRadiusACSf_S2ftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6radiusSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO9hashValueSivp","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4load5named2inACSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO5valueyACSfcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"memberOf","source":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"BidirectionalCollection.lastIndex(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5Indexa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5IndexQa","displayName":"BidirectionalCollection.Index"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO13invalidSampleyAESi_SStcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","displayName":"HasTransform.move(to:relativeTo:duration:timingFunction:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV10startIndexSivp","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK10startIndex0B0Qzvp","displayName":"BidirectionalCollection.startIndex"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF","displayName":"Publisher.append(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF","displayName":"Publisher.append(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV7Elementa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK7ElementQa","displayName":"BidirectionalCollection.Element"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV9transformAA9TransformVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV5delaySdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation19PointLightComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19PointLightComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10bindTargetAA04BindH0Ovp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13EmissiveColorV","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0E4DataRzluip","target":"s:17RealityFoundation12ParameterSetV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO9hashValueSivp","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4playyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19CustomMaterialErrorO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC5pauseyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF","displayName":"Collection.index(of:)"}},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF","displayName":"Collection.index(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV9hashValueSivp","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF","displayName":"Publisher.merge(with:_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryLast(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryLast(where:)"}},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF","displayName":"Publisher.eraseToAnyPublisher()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF","displayName":"Publisher.eraseToAnyPublisher()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF","displayName":"Publisher.contains(_:)"}},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF","displayName":"Publisher.contains(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF","displayName":"Publisher.merge(with:_:_:)"}},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF","displayName":"Publisher.prefix(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","displayName":"HasTransform.move(to:relativeTo:duration:timingFunction:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV7Indicesa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO21automaticDownsamplingyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF","displayName":"Publisher.prefix(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","displayName":"HasTransform.move(to:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV7defaultACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO8allFacesyAEs6UInt32VcAEmF","target":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC4load5named2inACSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8durationSdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC8resourceAA0C8ResourceCvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9skinWidthSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV4nameSSvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5group4name10repeatMode04fillH09trimStart0J3End0J8Duration6offset5delay5speedACSayAA0C10Definition_pG_SSAA0c6RepeatH0OAA0c4FillH0VSdSgA2TS2dSftcfc","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyyxSTRzAA12HasAnchoring7ElementRpzlF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV3farSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO7perFaceyAESays6UInt32VGcAEmF","target":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8rawValues6UInt32Vvp","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryScan(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV7textureAeC0cD7TextureVSg_tcfc","target":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryScan(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAllyyF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV8fillModeAA0e4FillG0Vvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE7flatMapyAA09AsyncFlatC8SequenceVyxqd__Gqd__7ElementQzYacSciRd__lF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE7flatMapyAA09AsyncFlatC8SequenceVyxqd__Gqd__7ElementQzYacSciRd__lF","displayName":"AsyncSequence.flatMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV6modelsAA0C15ModelCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV18sceneUnderstandingACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3min3maxACs5SIMD3VySfG_AHtcfc","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO9hashValueSivp","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9subscribe2to2on_7Combine11Cancellable_pxm_AA11EventSource_pSgyxctAA0I0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF","displayName":"Publisher.delay(for:tolerance:scheduler:options:)"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC14loadModelAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC17completionHandleryycSgvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO8polygonsyAESays5UInt8VG_Says6UInt32VGtcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","displayName":"HasTransform.move(to:relativeTo:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF","displayName":"Publisher.delay(for:tolerance:scheduler:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO9trianglesyAESays6UInt32VGcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","displayName":"HasModel.model"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF","displayName":"Publisher.assign(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyySayAA12HasAnchoring_pGF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVAAE7Texturea","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.min()"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp::SYNTHESIZED::s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation9SpotLightC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","displayName":"HasSpotLight.shadow"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.min()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","displayName":"HasTransform.look(at:from:upVector:relativeTo:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxVACycfc","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8IteratorV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE9subscribe2to2on13componentType_7Combine11Cancellable_pxm_AA11EventSource_pSgAA9Component_pXpSgyxctAA0K0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV3allACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV6shapes4mass8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV10slopeLimitSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:Sci","targetFallback":"_Concurrency.AsyncSequence"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.min(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.min(by:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation16CollisionCastHitV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7Elementa","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:17RealityFoundation11AudioEventsO"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16opacityThresholdSfSgvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO9positionsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV12makeIteratorAC0F0Vyx_GyF","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE3mapyAA16AsyncMapSequenceVyxqd__Gqd__7ElementQzYaclF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE3mapyAA16AsyncMapSequenceVyxqd__Gqd__7ElementQzYaclF","displayName":"AsyncSequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9publisher3for2onAC9PublisherVy_xGxm_AA11EventSource_pSgtAA0H0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV7Elementa","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation9SpotLightCACycfc","target":"s:17RealityFoundation9SpotLightC","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","displayName":"HasTransform.convert(transform:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation9SpotLightC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp","displayName":"HasSpotLight.light"}},{"kind":"conformsTo","source":"s:17RealityFoundation18SpotLightComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18SpotLightComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF","displayName":"Publisher.count()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10bindTargetAA04BindG0Ovp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9hashValueSivp","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV17attenuationRadiusSfvp","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasSpotLightPAAE5lightAA0dE9ComponentVvp","target":"s:17RealityFoundation12HasSpotLightP"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5uInt8yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVACycfc","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt16yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"conformsTo","source":"s:17RealityFoundation16SystemDependencyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"conformsTo","source":"s:17RealityFoundation11QueryResultV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMin(by:)"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt32yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV6entityAA6EntityCvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF","displayName":"Publisher.collect()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF","displayName":"Publisher.collect()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMin(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO22allocateAndGenerateAllyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4int8yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC2IDa","target":"s:17RealityFoundation23AudioPlaybackControllerC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0cD7TextureVyAeA0E8ResourceCcfc","target":"s:17RealityFoundation14CustomMaterialV0cD7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE9publisher3for2on13componentTypeAC9PublisherVy_xGxm_AA11EventSource_pSgAA9Component_pXpSgtAA0J0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV7isEmptySbvp","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.max(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO7normalsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label0B023LocalizedStringResourceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","displayName":"HasModel.modelDebugOptions"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF","displayName":"Publisher.count()"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(normal:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV6normals5SIMD3VySfGvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVyACSicip","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sly7ElementQz5IndexQzcip","displayName":"Collection.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation14ModelComponentV","target":"s:17RealityFoundation14ModelComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO4faceyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:17RealityFoundation18SpotLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation19PointLightComponentV","target":"s:17RealityFoundation19PointLightComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18SpotLightComponentV","target":"s:17RealityFoundation18SpotLightComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO11faceVaryingyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMax(by:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO9hashValueSivp","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0cD7TextureVyAeA0D10ParametersV0E0Vcfc","target":"s:17RealityFoundation14CustomMaterialV0cD7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation25DirectionalLightComponentV","target":"s:17RealityFoundation25DirectionalLightComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"conformsTo","source":"s:17RealityFoundation18SpotLightComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10bitangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation33CharacterControllerStateComponentV","target":"s:17RealityFoundation33CharacterControllerStateComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV","target":"s:17RealityFoundation22AccessibilityComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8tangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13emissiveColorAC08EmissiveF0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6NormalVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV6NormalV"},{"kind":"memberOf","source":"s:SMsSKRzrlE7reverseyyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsSKRzrlE7reverseyyF","displayName":"MutableCollection.reverse()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3mins5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV8distanceSfvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","displayName":"HasPhysicsBody.resetPhysicsTransform(recursive:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(direction:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerC14audioInputModeAA13AudioResourceC0gH0Ovp","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV6offsetSdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO6vertexyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV7Indicesa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO4twoKyA2ImF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMax(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO18textureCoordinatesAC8SemanticVy_s5SIMD2VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4backyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15CollisionFilterV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(position:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO5frontyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC13playAnimation5named18transitionDuration12startsPaused9recursiveAA0E18PlaybackControllerCSS_SdS2btF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF","displayName":"Publisher.replaceNil(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO5fourKyA2ImF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6prefixyAA19AsyncPrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6prefixyAA19AsyncPrefixSequenceVyxGSiF","displayName":"AsyncSequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10BindTargetO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasSpotLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","target":"s:17RealityFoundation12HasSpotLightP"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC9hashValueSivp","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8specularAC8SpecularVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF","displayName":"Publisher.replaceNil(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4noneyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF","displayName":"Publisher.makeConnectable()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV11SubSequencea","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","displayName":"HasTransform.convert(transform:from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO6eightKyA2ImF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5value0B023LocalizedStringResourceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV8upVectors5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO17trianglesAndQuadsyAESays6UInt32VG_AItcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO6camerayA2EmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO5worldyAESo13simd_float4x4a_tcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10startIndexSivp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl10startIndex0B0Qzvp","displayName":"Collection.startIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(direction:from:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9stepLimitSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV","target":"s:17RealityFoundation28CharacterControllerComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10isAdditiveSbvp","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.scan(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV5Indexa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl5IndexQa","displayName":"Collection.Index"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC6entityAA6EntityCSgvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.scan(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO19insufficientStorageyAEs5Int64V_tcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV6group_SayAA0C10Definition_pGSgvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV9removeAllyyF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3maxs5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO15triangleIndicesAC8SemanticVy_s6UInt32VGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV5group4maskAcA0C5GroupV_AGtcfc","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV","target":"s:17RealityFoundation26ModelDebugOptionsComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(normal:from:)"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9BaseColorV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV8endIndexSivp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl8endIndex0B0Qzvp","displayName":"Collection.endIndex"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV11transformed2byACSo13simd_float4x4a_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV4nameSSvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(position:from:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO4oneKyA2ImF","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10loadAnchor10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9hashValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","displayName":"HasPhysicsBody.physicsBody"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3setyyxAA0D0RzlF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC11generateBox4sizeACs5SIMD3VySfG_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV10intersectsySbACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation19OrientedBoundingBoxV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO6custom_4typeAC8SemanticVy_xGSS_xmtlFZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"conformsTo","source":"s:17RealityFoundation20PhotogrammetrySampleV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC11generateBox5width6height5depthACSf_S2ftFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV15triangleIndicesAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV16isRotationLockedSb1x_Sb1ySb1ztvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation10BindTargetO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidOutputyAE0B03URLVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidImagesyAE0B03URLVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV5shape7densityAcA13ShapeResourceC_Sftcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV15collisionFilterAA09CollisionG0Vvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV8containsySbACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV11descriptionSSvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesVACycfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceError(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19PointLightComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9hashValueSivp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceError(with:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8Tangentsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE4drop5whileAA22AsyncDropWhileSequenceVyxGSb7ElementQzYac_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE4drop5whileAA22AsyncDropWhileSequenceVyxGSb7ElementQzYac_tF","displayName":"AsyncSequence.drop(while:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.combineLatest(_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV11descriptionSSvp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO7Normalsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV8containsySbs5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV19outerAngleInDegreesSfvp","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"requirementOf","source":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"overrides","source":"s:17RealityFoundation9SpotLightCACycfc","target":"s:17RealityFoundation6EntityCACycfc","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.combineLatest(_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO20localizedDescriptionSSvp","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"overrides","source":"s:17RealityFoundation11ModelEntityCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC15generateCapsule6height6radiusACSf_SftFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV4maskAA0C5GroupVvp","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV4mass7inertia08centerOfD0ACSf_s5SIMD3VySfGAI8position_So10simd_quatfa11orientationttcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO9Positionsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV6removeyyAA0D0_pXpF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceEmpty(with:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5widthSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2id5model2atAESS_SSSo13simd_float4x4aSgtcfc","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","displayName":"HasTransform.setTransformMatrix(_:relativeTo:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","displayName":"HasTransform.setOrientation(_:relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhysicsMassPropertiesV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV13LightingModelO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceEmpty(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15loadAnchorAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntity03hitH00I8Position0I6Normal13moveDirection0L8DistanceAeA0H0C_AMs5SIMD3VySfGA2PSftcfc","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15loadAnchorAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation21PhysicsMassPropertiesV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","displayName":"HasTransform.transformMatrix(relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9hashValueSivp","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO5posesyA2EmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5emptyACvpZ","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3hasySbAA0D0_pXpF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","displayName":"HasPhysicsBody.resetPhysicsTransform(_:recursive:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd4FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF","displayName":"Publisher.setFailureType(to:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO9modelFileAE0B03URLV_tcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromACSays5SIMD3VySfGG_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV13defaultRadiusSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE15reverbSendLevelSdvp","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO11modelEntityyAeA05ModelG0CcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd3FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV6sensorACvpZ","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2IDa","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV8avPlayerACSo8AVPlayerC_tcfc","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","swiftConstraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3setyySayAA0D0_pGF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV6normalAC6NormalVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd2FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV18FeatureSensitivityO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV5index5afterS2i_tF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl5index5after5IndexQzAD_tF","displayName":"Collection.index(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromAcA04MeshD0C_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6doubleyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV15distanceSquared7toPointSfs5SIMD3VySfG_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV5shape4massAcA13ShapeResourceC_Sftcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC6heightSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5floatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9BaseColorVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV9BaseColorV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:ST","targetFallback":"Swift.Sequence","swiftConstraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV8avPlayerSo8AVPlayerCSgvp","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV13defaultHeightSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int32yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO9modelFileyAE0B03URLVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV5groupAA0C5GroupVvp","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateSphere6radiusACSf_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int16yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV19innerAngleInDegreesSfvp","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2ids6UInt64Vvp","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","displayName":"HasTransform.orientation(relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9transform2byySo13simd_float4x4a_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"conformsTo","source":"s:17RealityFoundation15PhysicsBodyModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.addTorque(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV9transformSo13simd_float4x4avp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV14boundingRadiusSfvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation19CustomMaterialErrorO","target":"s:17RealityFoundation19CustomMaterialErrorO","sourceOrigin":{"identifier":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp","displayName":"Error.localizedDescription"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8fillModeAA0d4FillF0Vvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV4nameSSvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV16defaultSkinWidthSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC9subscribeyyqd__5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","target":"s:17RealityFoundation11LoadRequestC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","displayName":"HasTransform.orientation"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV2IDa","target":"s:17RealityFoundation11MeshBuffersO8SemanticV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6filteryAA19AsyncFilterSequenceVyxGSb7ElementQzYacF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6filteryAA19AsyncFilterSequenceVyxGSb7ElementQzYacF","displayName":"AsyncSequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV7defaultACvpZ","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentVACycfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV4nameACSS_tcfc","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC14loadModelAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV14massProperties8material4modeAcA0c4MassG0V_AA0C16MaterialResourceCSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","displayName":"HasPhysicsBody.clearForcesAndTorques()"}},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherP7receive10subscriberyqd___tAA10SubscriberRd__7FailureQyd__AGRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.receive(subscriber:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO6boundsyAeA11BoundingBoxVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV17defaultSlopeLimitSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV7inertias5SIMD3VySfGvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"overrides","source":"s:17RealityFoundation13TriggerVolumeCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF","displayName":"Publisher.prefix(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV9intensitySfvp","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasTransform.setPosition(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF","displayName":"Publisher.prefix(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF","displayName":"Publisher.assertNoFailure(_:file:line:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF","displayName":"Publisher.assertNoFailure(_:file:line:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","displayName":"HasPhysicsBody.addForce(_:at:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11pixelFormatSo08MTLPixelH0Vvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8IteratorV4nextxSgyF","target":"s:17RealityFoundation10MeshBufferV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV2idAC10IdentifierVvp","target":"s:17RealityFoundation11MeshBuffersO8SemanticV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV7extentss5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadModel5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0C0V5values5SIMD4VySfGvp","target":"s:17RealityFoundation14CustomMaterialV0C0V"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO8GeometryV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV16defaultStepLimitSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV9removeAllyyF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV6shapes7density8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV11faceCullingAA0D14ParameterTypesV04FaceF0Ovp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO10pointCloudyAeC05PointG0VcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV5countSivp","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9formUnionyyACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.applyAngularImpulse(_:relativeTo:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV5modelSSvp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8additiveSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF","displayName":"MutableCollection.partition(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotationACSo10simd_quatfa_tF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV15defaultUpVectors5SIMD3VySfGvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5unionyA2CF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14SampleOrderingO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","displayName":"HasTransform.position(relativeTo:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV37isContinuousCollisionDetectionEnabledSbvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation8ResourceP","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18SpotLightComponentV6ShadowV","target":"s:17RealityFoundation18SpotLightComponentV"},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV8rotationSo10simd_quatfavp","target":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","displayName":"HasPhysicsBody.applyImpulse(_:at:relativeTo:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC6results6ResultOyxs5Error_pGSgvp","target":"s:17RealityFoundation11LoadRequestC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8blendingAC8BlendingOvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF","displayName":"Publisher.print(_:to:)"}},{"kind":"memberOf","source":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF","displayName":"MutableCollection.partition(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadModel10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF","displayName":"Publisher.print(_:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV6centers5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryContains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9formUnionyys5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy11translationACs5SIMD3VySfG_tF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO5posesyAeC5PosesVcAEmF","target":"s:17RealityFoundation21PhotogrammetrySessionC6ResultO"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","displayName":"HasTransform.position"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV08centerOfD0s5SIMD3VySfG8position_So10simd_quatfa11orientationtvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV10controllerAA0C18PlaybackControllerCvp","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryContains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF","displayName":"Publisher.timeout(_:scheduler:options:customError:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF","displayName":"Publisher.timeout(_:scheduler:options:customError:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC7Failurea","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherP7FailureQa","displayName":"Publisher.Failure"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5unionyACs5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.applyLinearImpulse(_:relativeTo:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotation11translationACSo10simd_quatfa_s5SIMD3VySfGtF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:SKsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8distance4from2toSi5IndexQz_AEtF","displayName":"BidirectionalCollection.distance(from:to:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV11translations5SIMD3VySfGvp","target":"s:17RealityFoundation21PhotogrammetrySessionC4PoseV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE24characterControllerStateAA09CharactereF9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.contains(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.contains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC6OutputO15ProcessingStageO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation19PointLightComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:SMsE39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SM39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF","displayName":"MutableCollection.withContiguousMutableStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV7isEmptySbvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV11SubSequencea","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV7defaultACvpZ","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitNormals5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasTransform.setScale(_:relativeTo:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC8isPausedSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD4VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV5countSivp","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF","displayName":"Publisher.map(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF","displayName":"Publisher.map(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12HasSpotLightP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE7replace4withyAcAE8ContentsV_tKF","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation19EnvironmentResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","displayName":"HasTransform.scale(relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV7Indicesa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityC5worldACSo13simd_float4x4a_tcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV9hashValueSivp","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlE8elements7indicesACyAEGSayAEG_AItcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV15maximumDistanceSfvp","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV9intensitySfvp","target":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","displayName":"HasPhysicsMotion.physicsMotion"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO5floatyACSfcACmF","target":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE12replaceAsync4withAA11LoadRequestCyACGAcAE8ContentsV_tF","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC10isCompleteSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO7textureyAcA15TextureResourceCcACmF","target":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE19characterControllerAA09CharacterE9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV12makeIteratorAA6EntityC05ChildE0V08IndexingG0Vy__AEGyF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl12makeIterator0B0QzyF","displayName":"Collection.makeIterator()"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF","displayName":"Publisher.last()"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV4from16geometryModifierAcA0D0_p_AC08GeometryG0VtKcfc","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV7Elementa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl7ElementQa","displayName":"Collection.Element"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF","displayName":"Publisher.last()"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:SMsE6swapAtyy5IndexQz_ACtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsE6swapAtyy5IndexQz_ACtF","displayName":"MutableCollection.swapAt(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8rawValueAGSgSi_tcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentVACycfc","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8generate4fromA2cAE8ContentsV_tKFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO14integerLiteralACSi_tcfc","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13emissiveColorAC08EmissiveG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVACycfc","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9incrementAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeAC013VisualizationH0Ovp","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","displayName":"HasTransform.scale"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV11hitPositions5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO15lightingDiffuseyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD3VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlE8elements7indicesACySfGSaySfG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF","displayName":"Publisher.merge(with:_:_:_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18TransientComponentP","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionVyAA12HasAnchoring_pSicip","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sly7ElementQz5IndexQzcip","displayName":"Collection.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.addForce(_:relativeTo:)"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16lightingSpecularyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF","displayName":"Publisher.merge(with:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8rawValueSivp","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC9PublisherV","target":"s:7Combine9PublisherP","targetFallback":"Combine.Publisher"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13lightingModelAC08LightingF0Ovp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC7defaultACvpZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowVAEycfc","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE17teleportCharacter2to10relativeToys5SIMD3VySfG_ACSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetVyxSgxmcAA0D0Rzluip","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV7isEmptySbvp","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV16isRealWorldProxySbvp","target":"s:17RealityFoundation25DirectionalLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8MetallicV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV8MetallicV"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGSaySfGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy5IndexQzAD_SitF","displayName":"Collection.index(_:offsetBy:)"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV4next7ElementQzSgyF","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF","displayName":"Publisher.map(_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy5IndexQzAD_SitF","displayName":"Collection.index(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO12floatLiteralACSf_tcfc","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsMaterialResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF","displayName":"Publisher.share()"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGqd__cSTRd__Sf7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO7reducedyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF","displayName":"Publisher.share()"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF","displayName":"Publisher.map(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV7isEmptySbvp","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO7previewyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV8endIndexSivp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl8endIndex0B0Qzvp","displayName":"Collection.endIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF","displayName":"Publisher.tryMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC6entityAA6EntityCSgvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF","displayName":"Publisher.tryMap(_:)"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE13moveCharacter2by9deltaTime10relativeTo16collisionHandlerAA0E19ControllerComponentV14CollisionFlagsVs5SIMD3VySfG_SfACSgyAJ0O0VcSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV15maximumDistance9depthBiasAESf_Sftcfc","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVACycfc","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"overrides","source":"s:17RealityFoundation17PerspectiveCameraCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10startIndexSivp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl10startIndex0B0Qzvp","displayName":"Collection.startIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9decrementAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV0C0V","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9roughnessAC9RoughnessVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV5countSivp","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8contentsAcAE8ContentsVvp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV7Elementa","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV5Indexa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl5IndexQa","displayName":"Collection.Index"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV4massSfvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV5scaleSfvp","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","displayName":"HasTransform.transform"}},{"kind":"conformsTo","source":"s:17RealityFoundation20HasPerspectiveCameraP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO9hashValueSivp","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD2VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE12performQueryyAA0E6ResultVyAA6EntityCGAA0gE0VF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitEntityAA0H0Cvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV13AsyncIteratora","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci13AsyncIteratorQa","displayName":"AsyncSequence.AsyncIterator"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueSivp","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF","displayName":"Sequence.clip()"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC20isEnabledInHierarchySbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF","displayName":"Sequence.clip()"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"conformsTo","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8RawValuea","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO16FloatLiteralTypea","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV15triangleIndicesAA0C6BufferVys6UInt32VGSgvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO6mediumyA2GmF","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV7Elementa","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci7ElementQa","displayName":"AsyncSequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO7dynamicyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF","displayName":"Publisher.throttle(for:scheduler:latest:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF","displayName":"Publisher.throttle(for:scheduler:latest:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueAESi_tcfc","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO18IntegerLiteralTypea","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP0cD4TypeQa","displayName":"ExpressibleByIntegerLiteral.IntegerLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV9removeAllyyF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO6staticyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV17emissiveIntensitySfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO9hashValueSivp","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO9kinematicyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeA2C013VisualizationH0O_tcfc","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV9depthBiasSfvp","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.debounce(for:scheduler:options:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.debounce(for:scheduler:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2id13materialIndexAESS_Sitcfc","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF","displayName":"Publisher.merge(with:_:_:_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF","displayName":"Publisher.merge(with:_:_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8activateAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV7ElementRtzrlE4clipyyF","displayName":"Sequence.clip()"}},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV_So7NSColorCt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","displayName":"HasAnchoring.anchorIdentifier"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV9ClearcoatV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation11QueryResultV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"overrides","source":"s:17RealityFoundation12AnchorEntityCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO","target":"s:17RealityFoundation21PhotogrammetrySessionC"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV4from13surfaceShader16geometryModifierAcA0D0_p_AC07SurfaceG0VAC08GeometryI0VSgtKcfc","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASdRszrlE6framesSaySdGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntityAA0H0Cvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetVyAA0D0_pSgAaF_pXpcip","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"requirementOf","source":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV8MetallicV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4name8duration4axis14startTransform13spinClockwise12orientToPath13rotationCount10bindTarget10blendLayer10repeatMode04fillV010isAdditive9trimStart0Z3End0Z8Duration6offset5delay5speedACSS_Sds5SIMD3VySfGAA0I0VS2bSfAA04BindR0OSgs5Int32VAA0d6RepeatV0OAA0d4FillV0VSbSdSgA8_A8_S2dSftcfc","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"conformsTo","source":"s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioPlaybackControllerC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityCACycfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","displayName":"HasCollision.collision"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV7Elementa","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10componentsAC12ComponentSetVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO8RawValuea","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation25DirectionalLightComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation13TriggerVolumeC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","displayName":"HasCollision.collision"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF","displayName":"Publisher.map(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV13materialIndexSivp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF","displayName":"Publisher.map(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV2id5imageACSi_So11CVBufferRefatcfc","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV9removeAllyyF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV19ArrayLiteralElementa","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","target":"s:17RealityFoundation21PhotogrammetrySessionC5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP16errorDescriptionSSSgvp","displayName":"LocalizedError.errorDescription"}},{"kind":"memberOf","source":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST6AppKitSo6CGRectV_14CoreFoundation7CGFloatV4grayt7ElementRtzrlE4fill5usingySo22NSCompositingOperationV_tF","displayName":"Sequence.fill(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityC5worldACs5SIMD3VySfG_tcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC8generate8friction11restitutionACSf_SftFZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation8BindPathV4PartO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","displayName":"HasAnchoring.anchoring"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV13surfaceShader16geometryModifier13lightingModelA2C07SurfaceF0V_AC08GeometryH0VSgAC08LightingJ0OtKcfc","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:STs8IteratorSTQzRszrlE04makeA0xyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STs8IteratorSTQzRszrlE04makeA0xyF","displayName":"Sequence.makeIterator()"}},{"kind":"overrides","source":"s:17RealityFoundation16DirectionalLightCACycfc","target":"s:17RealityFoundation6EntityCACycfc","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityCyAcA18AnchoringComponentV6TargetOcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5delaySdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14SimpleMaterialV","target":"s:17RealityFoundation14SimpleMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9roughnessAC9RoughnessVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF","displayName":"Publisher.merge(with:_:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation17OcclusionMaterialV","target":"s:17RealityFoundation17OcclusionMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV9parameteryACSSF","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","displayName":"MeshBufferContainer.textureCoordinates"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13VideoMaterialV","target":"s:17RealityFoundation13VideoMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO10WillRemoveV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO8rawValueSuvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13UnlitMaterialV","target":"s:17RealityFoundation13UnlitMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation16SystemDependencyO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC2id0B04UUIDVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC8generate14staticFriction07dynamicH011restitutionACSf_S2ftFZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation14SimpleMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","displayName":"MeshBufferContainer.textureCoordinates"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV9ClearcoatV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14CustomMaterialV","target":"s:17RealityFoundation14CustomMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsySayACG_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO8timedOutyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV20fieldOfViewInDegreesSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV18ClearcoatRoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF","displayName":"Publisher.merge(with:_:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation23PhysicallyBasedMaterialV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO7grantedyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC17stopAllAnimations9recursiveySb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV4selfACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation33CharacterControllerStateComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll25preservingWorldTransformsySb_tF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO8rawValueAISgSu_tcfc","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO8RawValuea","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC5clone9recursiveACXDSb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV13rotationCountSfvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","displayName":"HasModel.jointNames"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV7Elementa","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label5value10importanceAE0B023LocalizedStringResourceV_AKSo08AXCustomF10ImportanceVtcfc","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV11descriptionSSvp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV10objectMaskSo11CVBufferRefaSgvp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2IDa","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV9transformACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO9hashValueSivp","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation23VideoPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"inheritsFrom","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV7OpacityV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO10WillRemoveV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6prefix5whileAA24AsyncPrefixWhileSequenceVyxGSb7ElementQzYac_tKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6prefix5whileAA24AsyncPrefixWhileSequenceVyxGSb7ElementQzYac_tKF","displayName":"AsyncSequence.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialVACycfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV4rootAA0cD4Node_pvp","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","displayName":"HasModel.jointTransforms"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV15jointTransformsACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNames6frames4name9tweenMode13frameInterval10isAdditive0O13ScaleAnimated0o8RotationR00o11TranslationR010bindTarget10blendLayer06repeatL004fillL09trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SayAEGSSAA05TweenL0OSfS4bAA04BindV0OSgs5Int32VAA0d6RepeatL0OAA0d4FillL0VSdSgA11_A11_S2dSftcfc","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO9hashValueSivp","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV19ArrayLiteralElementa","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF","displayName":"Publisher.collect(_:options:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartVyAA0C6BufferVy7ElementQzGSgxcAA0cF8SemanticRzluip","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","displayName":"MeshBufferContainer.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5speedSfvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV5index5afterS2i_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl5index5after5IndexQzAD_tF","displayName":"Collection.index(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC2IDa","target":"s:17RealityFoundation21PhotogrammetrySessionC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.bitangents"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV5value0B023LocalizedStringResourceVSgvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV4near3far20fieldOfViewInDegreesACSf_S2ftcfc","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV22isObjectMaskingEnabledSbvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO9DidChangeV"},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9baseColorAC04BaseG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO7nearestyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationVAGycfc","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC13playAnimation_18transitionDuration12startsPausedAA0E18PlaybackControllerCAA0E8ResourceC_SdSbtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV16opacityThresholdSfSgvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.bitangents"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2ids6UInt64Vvp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","target":"s:ScI","targetFallback":"_Concurrency.AsyncIteratorProtocol"},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO3allyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6reduceyqd__qd___qd__qd___7ElementQztYaKXEtYaKlF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6reduceyqd__qd___qd__qd___7ElementQztYaKXEtYaKlF","displayName":"AsyncSequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorVyAeA06CustomE0VADVcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO3anyyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp","displayName":"HasModel.debugModel"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6remove2at24preservingWorldTransformySi_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","displayName":"MeshBufferContainer.buffers"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV12orientToPathSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO9DidChangeV"},{"kind":"conformsTo","source":"s:17RealityFoundation16DirectionalLightC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV_4name10isAdditive10bindTarget10blendLayer10repeatMode04fillN09trimStart0P3End0P8Duration6offset5delay5speedACyxGAA0cD4Node_p_SSSbAA04BindJ0OSgs5Int32VAA0e6RepeatN0OAA0e4FillN0VSdSgA_A_S2dSftcfc","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9hashValueSivp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF","displayName":"Publisher.merge(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE13playAnimation_18transitionDuration16blendLayerOffset21separateAnimatedValue12startsPaused5clockAA0E18PlaybackControllerCAA0E8ResourceC_SdSiS2byXlSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CustomMaterialV8SpecularV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVACycfc","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22PhysicsMotionComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV5countSivp","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","target":"s:17RealityFoundation21PhotogrammetrySessionC7RequestO6DetailO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation10PointLightC","target":"s:17RealityFoundation10PointLightC","sourceOrigin":{"identifier":"s:17RealityFoundation13HasPointLightPAAE5lightAA0dE9ComponentVvp","displayName":"HasPointLight.light"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasAnchoringP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF","displayName":"Publisher.collect(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A9TransformVRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE6reduce4into_qd__qd__n_yqd__z_7ElementQztYaKXEtYaKlF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE6reduce4into_qd__qd__n_yqd__z_7ElementQztYaKXEtYaKlF","displayName":"AsyncSequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"overrides","source":"s:17RealityFoundation10PointLightCACycfc","target":"s:17RealityFoundation6EntityCACycfc","sourceOrigin":{"identifier":"s:17RealityFoundation6EntityCACycfc","displayName":"Entity.init()"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV17makeAsyncIteratorAE0H0VyF","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci17makeAsyncIterator0bC0QzyF","displayName":"AsyncSequence.makeAsyncIterator()"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhotogrammetrySampleV7gravitySo14CMAccelerationaSgvp","target":"s:17RealityFoundation20PhotogrammetrySampleV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC13generatePlane5width5depth12cornerRadiusACSf_S2ftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF","displayName":"Publisher.collect(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","displayName":"HasAnchoring.reanchor(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll12keepCapacity25preservingWorldTransformsySb_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13customContentSayAC06CustomF0VGvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10repeatModeAA0d6RepeatF0Ovp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF","displayName":"Publisher.collect(_:options:)"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV16TextureDimensionO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV12moveDistanceSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessVyAeA015PhysicallyBasedD0VADVcfc","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO7tangentyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation13VideoMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV7Elementa","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","sourceOrigin":{"identifier":"s:ScI7ElementQa","displayName":"AsyncIteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC9hashValueSivp","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyAE_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV","target":"s:17RealityFoundation18MaterialParametersV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13textureFormatAG07TextureJ0Ovp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV4nextAC6OutputOSgyYaKF","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorV","sourceOrigin":{"identifier":"s:ScI4next7ElementQzSgyYaKF","displayName":"AsyncIteratorProtocol.next()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF","displayName":"Publisher.merge(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO6normalyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19CustomMaterialErrorO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalColoryA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8metallicAC8MetallicVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV8blendingAA015PhysicallyBasedD0V8BlendingOvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18textureCoordinatesyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"conformsTo","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9bitangentyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfySayAA12HasAnchoring_pG_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE8contains5whereS2b7ElementQzYaKXE_tYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE8contains5whereS2b7ElementQzYaKXE_tYaKF","displayName":"AsyncSequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9baseColoryA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"Collection.index(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"Collection.index(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8metallicyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16ambientOcclusionyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation16DirectionalLightC","sourceOrigin":{"identifier":"s:17RealityFoundation19HasDirectionalLightPAAE5lightAA0dE9ComponentVvp","displayName":"HasDirectionalLight.light"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6remove_24preservingWorldTransformyAC_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9roughnessyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV7Elementa","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation25DirectionalLightComponentV6ShadowV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV5scale7textureAESf_AC0cD7TextureVSgtcfc","target":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO9hashValueSivp","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6appendyyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE21defaultAnimationClockyXlvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:Sci12_ConcurrencyE10allSatisfyyS2b7ElementQzYaKXEYaKF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC7OutputsV","sourceOrigin":{"identifier":"s:Sci12_ConcurrencyE10allSatisfyyS2b7ElementQzYaKXEYaKF","displayName":"AsyncSequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASo10simd_quatfaRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18clearcoatRoughnessyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9RoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation14CustomMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13systemActionsAC09SupportedF0Vvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalAlphayA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9clearcoatyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV9baseColorAC04BaseF0Vvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsVAEycfc","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV14sampleOrderingAE06SampleG0Ovp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8specularyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8emissiveyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","target":"s:17RealityFoundation20HasPerspectiveCameraP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV13TextureFormatO","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV7OpacityV7textureAC0cD7TextureVSgvp","target":"s:17RealityFoundation14CustomMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV13moveDirections5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation13AudioResourceC9InputModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO9hashValueSivp","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO10autoAcceptyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"memberOf","source":"s:17RealityFoundation17PerspectiveCameraCACycfc","target":"s:17RealityFoundation17PerspectiveCameraC"},{"kind":"inheritsFrom","source":"s:17RealityFoundation9SpotLightC","target":"s:17RealityFoundation6EntityC"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAll12keepCapacityySb_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV6entityyAESSF","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC5pauseyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF","displayName":"Publisher.multicast(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6remove2atySi_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF","displayName":"Publisher.multicast(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10PointLightC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV7Elementa","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueAESgSS_tcfc","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"conformsTo","source":"s:17RealityFoundation10MeshBufferV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append_24preservingWorldTransformyAC_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation13UnlitMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO9hashValueSivp","target":"s:17RealityFoundation13AudioResourceC9InputModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC19availableAnimationsSayAA17AnimationResourceCGvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO6manualyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation17PerspectiveCameraC","sourceOrigin":{"identifier":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","displayName":"HasPerspectiveCamera.camera"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CustomMaterialV8metallicAC8MetallicVvp","target":"s:17RealityFoundation14CustomMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"conformsTo","source":"s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV10importanceSo08AXCustomF10ImportanceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6removeyyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC6resumeyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO10nonSpatialyA2EmF","target":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO7spatialyA2EmF","target":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17TextureMapOutputsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV19ArrayLiteralElementa","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8RawValuea","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC22synchronizationServiceAA015SynchronizationE0_pSgvp","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV12anchorEntityyAC0hF0VSSF","target":"s:17RealityFoundation10BindTargetO9ScenePathV"},{"kind":"memberOf","source":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp::SYNTHESIZED::s:17RealityFoundation16DirectionalLightC","target":"s:17RealityFoundation16DirectionalLightC","sourceOrigin":{"identifier":"s:17RealityFoundation19HasDirectionalLightPAAE6shadowAA0dE9ComponentV6ShadowVSgvp","displayName":"HasDirectionalLight.shadow"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation13AudioResourceC9InputModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV4nameSSvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO4noneyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation17OcclusionMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceC9InputModeO7ambientyA2EmF","target":"s:17RealityFoundation13AudioResourceC9InputModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25customDetailSpecificationAE06CustomgH0Vvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfyx_tSTRzAA12HasAnchoring7ElementRpzlF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8rawValueACs6UInt32V_tcfc","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13customActionsSay0B023LocalizedStringResourceVGvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV17outputTextureMapsAG0J10MapOutputsVvp","target":"s:17RealityFoundation21PhotogrammetrySessionC13ConfigurationV25CustomDetailSpecificationV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV4selfACvp","target":"s:17RealityFoundation10BindTargetO9ScenePathV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC4stopyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8RawValuea","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV9instancesAA0C18InstanceCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE8distance4from2toSi5IndexQz_AEtF","displayName":"Collection.distance(from:to:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation18MeshBufferSemanticP7ElementQa","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"memberOf","source":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE8distance4from2toSi5IndexQz_AEtF","displayName":"Collection.distance(from:to:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23AnimationTimingFunctionV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsySayACG_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Combine.symbols.json b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Combine.symbols.json new file mode 100644 index 0000000..bc82782 --- /dev/null +++ b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Combine.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"macosx","minimumVersion":{"major":14,"minor":2}}}},"symbols":[{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine11CancellableP17RealityFoundationE22storeWhileEntityActiveyyAD0G0CF","interfaceLanguage":"swift"},"pathComponents":["Cancellable","storeWhileEntityActive(_:)"],"names":{"title":"storeWhileEntityActive(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"storeWhileEntityActive"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Retains the `Cancellable` as long as the entity is active (see `Entity.isActive`). If the"},{"text":"entity is deactivated, the `Cancellable` is released."},{"text":""},{"text":"This method does nothing if the entity is already inactive."},{"text":""},{"text":"Internally, this method stores an `AnyCancellable` in a transient component of the entity."},{"text":"The component is removed when the *deactivate* event for this entity is received."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"storeWhileEntityActive"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]}],"relationships":[{"kind":"memberOf","source":"s:7Combine11CancellableP17RealityFoundationE22storeWhileEntityActiveyyAD0G0CF","target":"s:7Combine11CancellableP","targetFallback":"Combine.Cancellable"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Metal.symbols.json b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Metal.symbols.json new file mode 100644 index 0000000..14e3d00 --- /dev/null +++ b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Metal.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"macosx","minimumVersion":{"major":14,"minor":2}}}},"symbols":[{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","interfaceLanguage":"swift"},"pathComponents":["MTLCommandBuffer","present(_:)"],"names":{"title":"present(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a drawable presentation to occur as soon as possible"},{"text":" - drawable: The drawable that you want to present."}]},"functionSignature":{"parameters":[{"name":"drawable","declarationFragments":[{"kind":"identifier","spelling":"drawable"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Metal","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"drawable"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]}],"relationships":[{"kind":"memberOf","source":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","target":"c:objc(pl)MTLCommandBuffer","targetFallback":"Metal.MTLCommandBuffer"},{"kind":"defaultImplementationOf","source":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","target":"c:objc(pl)MTLCommandBuffer(im)presentDrawable:","targetFallback":"Metal.MTLCommandBuffer.present(_:)"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Swift.symbols.json b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Swift.symbols.json new file mode 100644 index 0000000..1227371 --- /dev/null +++ b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@Swift.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"macosx","minimumVersion":{"major":14,"minor":2}}}},"symbols":[{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","..<(_:_:)"],"names":{"title":"..<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a half-open range that contains its lower bound but not its upper"},{"text":"bound."},{"text":""},{"text":"Use the half-open range operator (`..<`) to create a range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`Range` from zero up to, but not including, 5.0."},{"text":""},{"text":" let lessThanFive = 0.0..<5.0"},{"text":" print(lessThanFive.contains(3.14)) // Prints \"true\""},{"text":" print(lessThanFive.contains(5.0)) // Prints \"false\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","..<(_:_:)"],"names":{"title":"..<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a half-open range that contains its lower bound but not its upper"},{"text":"bound."},{"text":""},{"text":"Use the half-open range operator (`..<`) to create a range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`Range` from zero up to, but not including, 5.0."},{"text":""},{"text":" let lessThanFive = 0.0..<5.0"},{"text":" print(lessThanFive.contains(3.14)) // Prints \"true\""},{"text":" print(lessThanFive.contains(5.0)) // Prints \"false\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling the version that takes a generator,"},{"text":"passing in the system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling the version that takes a generator,"},{"text":"passing in the system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:radix:)"],"names":{"title":"init(_:radix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string and radix."},{"text":""},{"text":"The string passed as `text` may begin with a plus or minus sign character"},{"text":"(`+` or `-`), followed by one or more numeric digits (`0-9`) or letters"},{"text":"(`a-z` or `A-Z`). Parsing of the string is case insensitive."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":" let y = Int(\"-123\", radix: 8)"},{"text":" // y == -83"},{"text":" let y = Int(\"+123\", radix: 8)"},{"text":" // y == +83"},{"text":""},{"text":" let z = Int(\"07b\", radix: 16)"},{"text":" // z == 123"},{"text":""},{"text":"If `text` is in an invalid format or contains characters that are out of"},{"text":"bounds for the given `radix`, or if the value it denotes in the given"},{"text":"`radix` is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"zzzzzzzzzzzzz\", radix: 36) // Out of range"},{"text":""},{"text":"- Parameters:"},{"text":" - text: The ASCII representation of a number in the radix passed as"},{"text":" `radix`."},{"text":" - radix: The radix, or base, to use for converting `text` to an integer"},{"text":" value. `radix` must be in the range `2...36`. The default is 10."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"text"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 10) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"StringProtocol","preciseIdentifier":"s:Sy"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:radix:)"],"names":{"title":"init(_:radix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string and radix."},{"text":""},{"text":"The string passed as `text` may begin with a plus or minus sign character"},{"text":"(`+` or `-`), followed by one or more numeric digits (`0-9`) or letters"},{"text":"(`a-z` or `A-Z`). Parsing of the string is case insensitive."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":" let y = Int(\"-123\", radix: 8)"},{"text":" // y == -83"},{"text":" let y = Int(\"+123\", radix: 8)"},{"text":" // y == +83"},{"text":""},{"text":" let z = Int(\"07b\", radix: 16)"},{"text":" // z == 123"},{"text":""},{"text":"If `text` is in an invalid format or contains characters that are out of"},{"text":"bounds for the given `radix`, or if the value it denotes in the given"},{"text":"`radix` is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"zzzzzzzzzzzzz\", radix: 36) // Out of range"},{"text":""},{"text":"- Parameters:"},{"text":" - text: The ASCII representation of a number in the radix passed as"},{"text":" `radix`."},{"text":" - radix: The radix, or base, to use for converting `text` to an integer"},{"text":" value. `radix` must be in the range `2...36`. The default is 10."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"text"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 10) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"StringProtocol","preciseIdentifier":"s:Sy"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string."},{"text":""},{"text":"The string passed as `description` may begin with a plus or minus sign"},{"text":"character (`+` or `-`), followed by one or more numeric digits (`0-9`)."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":"If `description` is in an invalid format, or if the value it denotes in"},{"text":"base 10 is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"10000000000000000000000000\") // Out of range"},{"text":""},{"text":"- Parameter description: The ASCII representation of a number."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string."},{"text":""},{"text":"The string passed as `description` may begin with a plus or minus sign"},{"text":"character (`+` or `-`), followed by one or more numeric digits (`0-9`)."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":"If `description` is in an invalid format, or if the value it denotes in"},{"text":"base 10 is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"10000000000000000000000000\") // Out of range"},{"text":""},{"text":"- Parameter description: The ASCII representation of a number."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","+(_:)"],"names":{"title":"+(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the given number unchanged."},{"text":""},{"text":"You can use the unary plus operator (`+`) to provide symmetry in your"},{"text":"code for positive numbers when also using the unary minus operator."},{"text":""},{"text":" let x = -21"},{"text":" let y = +21"},{"text":" // x == -21"},{"text":" // y == 21"},{"text":""},{"text":"- Returns: The given argument without any changes."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format. `self` is first converted to `S.FormatInput` type, then format with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","+(_:)"],"names":{"title":"+(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the given number unchanged."},{"text":""},{"text":"You can use the unary plus operator (`+`) to provide symmetry in your"},{"text":"code for positive numbers when also using the unary minus operator."},{"text":""},{"text":" let x = -21"},{"text":" let y = +21"},{"text":" // x == -21"},{"text":" // y == 21"},{"text":""},{"text":"- Returns: The given argument without any changes."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format. `self` is first converted to `S.FormatInput` type, then format with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&<<=` operator performs a *masking shift*, where the value used as"},{"text":"`rhs` is masked to produce a value in the range `0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","..<(_:)"],"names":{"title":"..<(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, but not including, its upper bound."},{"text":""},{"text":"Use the prefix half-open range operator (prefix `..<`) to create a"},{"text":"partial range of any type that conforms to the `Comparable` protocol."},{"text":"This example creates a `PartialRangeUpTo` instance that includes"},{"text":"any value less than `5.0`."},{"text":""},{"text":" let upToFive = ..<5.0"},{"text":""},{"text":" upToFive.contains(3.14) // true"},{"text":" upToFive.contains(6.28) // false"},{"text":" upToFive.contains(5.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, but not"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[..<3])"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Multiplies two values and stores the result in the left-hand-side"},{"text":"variable, wrapping any overflow."},{"text":""},{"text":"The masking multiplication assignment operator (`&*=`) silently wraps"},{"text":"any overflow that occurs during the operation. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &*= 5"},{"text":" // x == 50"},{"text":" var y: Int8 = 10"},{"text":" y &*= 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&<<=` operator performs a *masking shift*, where the value used as"},{"text":"`rhs` is masked to produce a value in the range `0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","..<(_:)"],"names":{"title":"..<(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, but not including, its upper bound."},{"text":""},{"text":"Use the prefix half-open range operator (prefix `..<`) to create a"},{"text":"partial range of any type that conforms to the `Comparable` protocol."},{"text":"This example creates a `PartialRangeUpTo` instance that includes"},{"text":"any value less than `5.0`."},{"text":""},{"text":" let upToFive = ..<5.0"},{"text":""},{"text":" upToFive.contains(3.14) // true"},{"text":" upToFive.contains(6.28) // false"},{"text":" upToFive.contains(5.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, but not"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[..<3])"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Multiplies two values and stores the result in the left-hand-side"},{"text":"variable, wrapping any overflow."},{"text":""},{"text":"The masking multiplication assignment operator (`&*=`) silently wraps"},{"text":"any overflow that occurs during the operation. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &*= 5"},{"text":" // x == 50"},{"text":" var y: Int8 = 10"},{"text":" y &*= 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, and including, its upper bound."},{"text":""},{"text":"Use the prefix closed range operator (prefix `...`) to create a partial"},{"text":"range of any type that conforms to the `Comparable` protocol. This"},{"text":"example creates a `PartialRangeThrough` instance that includes"},{"text":"any value less than or equal to `5.0`."},{"text":""},{"text":" let throughFive = ...5.0"},{"text":""},{"text":" throughFive.contains(4.0) // true"},{"text":" throughFive.contains(5.0) // true"},{"text":" throughFive.contains(6.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, and"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[...3])"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` using `IntegerFormatStyle()`"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` using `IntegerFormatStyle()`"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, and including, its upper bound."},{"text":""},{"text":"Use the prefix closed range operator (prefix `...`) to create a partial"},{"text":"range of any type that conforms to the `Comparable` protocol. This"},{"text":"example creates a `PartialRangeThrough` instance that includes"},{"text":"any value less than or equal to `5.0`."},{"text":""},{"text":" let throughFive = ...5.0"},{"text":""},{"text":" throughFive.contains(4.0) // true"},{"text":" throughFive.contains(5.0) // true"},{"text":" throughFive.contains(6.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, and"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[...3])"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The zero value."},{"text":""},{"text":"Zero is the identity element for addition. For any value,"},{"text":"`x + .zero == x` and `.zero + x == x`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"ExpressibleByIntegerLiteral","rhsPrecise":"s:s27ExpressibleByIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The zero value."},{"text":""},{"text":"Zero is the identity element for addition. For any value,"},{"text":"`x + .zero == x` and `.zero + x == x`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"ExpressibleByIntegerLiteral","rhsPrecise":"s:s27ExpressibleByIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Note: The algorithm used to create random values may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same sequence of integer values each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SzsExycfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new value equal to zero."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SzsExycfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new value equal to zero."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Note: The algorithm used to create random values may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same sequence of integer values each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable,"},{"text":"wrapping any overflow."},{"text":""},{"text":"The masking addition assignment operator (`&+=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"sum of `100` and `121` is greater than the maximum representable `Int8`"},{"text":"value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &+= 21"},{"text":" // x == 31"},{"text":" var y: Int8 = 100"},{"text":" y &+= 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"This function is the only requirement of the `Comparable` protocol. The"},{"text":"remainder of the relational operator functions are implemented by the"},{"text":"standard library for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"This function is the only requirement of the `Comparable` protocol. The"},{"text":"remainder of the relational operator functions are implemented by the"},{"text":"standard library for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable,"},{"text":"wrapping any overflow."},{"text":""},{"text":"The masking addition assignment operator (`&+=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"sum of `100` and `121` is greater than the maximum representable `Int8`"},{"text":"value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &+= 21"},{"text":" // x == 31"},{"text":" var y: Int8 = 100"},{"text":" y &+= 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range extending upward from a lower bound."},{"text":""},{"text":"Use the postfix range operator (postfix `...`) to create a partial range"},{"text":"of any type that conforms to the `Comparable` protocol. This example"},{"text":"creates a `PartialRangeFrom` instance that includes any value"},{"text":"greater than or equal to `5.0`."},{"text":""},{"text":" let atLeastFive = 5.0..."},{"text":""},{"text":" atLeastFive.contains(4.0) // false"},{"text":" atLeastFive.contains(5.0) // true"},{"text":" atLeastFive.contains(6.0) // true"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the partial range's lower bound up to the end"},{"text":"of the collection."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[3...])"},{"text":" // Prints \"[40, 50, 60, 70]\""},{"text":""},{"text":"- Parameter minimum: The lower bound for the range."},{"text":""},{"text":"- Precondition: `minimum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range extending upward from a lower bound."},{"text":""},{"text":"Use the postfix range operator (postfix `...`) to create a partial range"},{"text":"of any type that conforms to the `Comparable` protocol. This example"},{"text":"creates a `PartialRangeFrom` instance that includes any value"},{"text":"greater than or equal to `5.0`."},{"text":""},{"text":" let atLeastFive = 5.0..."},{"text":""},{"text":" atLeastFive.contains(4.0) // false"},{"text":" atLeastFive.contains(5.0) // true"},{"text":" atLeastFive.contains(6.0) // true"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the partial range's lower bound up to the end"},{"text":"of the collection."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[3...])"},{"text":" // Prints \"[40, 50, 60, 70]\""},{"text":""},{"text":"- Parameter minimum: The lower bound for the range."},{"text":""},{"text":"- Precondition: `minimum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>=(_:_:)"],"names":{"title":">>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right in the left-hand-side variable."},{"text":""},{"text":"The `>>=` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x >>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y >>= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a >>= -3"},{"text":" // a == 240 // 0b11110000"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b <<= 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" var q: Int8 = -30 // 0b11100010"},{"text":" q >>= 2"},{"text":" // q == -8 // 0b11111000"},{"text":""},{"text":" var r: Int8 = -30 // 0b11100010"},{"text":" r >>= 11"},{"text":" // r == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference of the two given values, wrapping the result in"},{"text":"case of any overflow."},{"text":""},{"text":"The overflow subtraction operator (`&-`) discards any bits that overflow"},{"text":"the fixed width of the integer type. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: UInt8 = 21 &- 10"},{"text":" // x == 11"},{"text":" let y: UInt8 = 10 &- 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>=(_:_:)"],"names":{"title":">>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right in the left-hand-side variable."},{"text":""},{"text":"The `>>=` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x >>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y >>= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a >>= -3"},{"text":" // a == 240 // 0b11110000"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b <<= 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" var q: Int8 = -30 // 0b11100010"},{"text":" q >>= 2"},{"text":" // q == -8 // 0b11111000"},{"text":""},{"text":" var r: Int8 = -30 // 0b11100010"},{"text":" r >>= 11"},{"text":" // r == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer, if it can be represented"},{"text":"exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `100`, while the attempt to initialize the"},{"text":"constant `y` from `1_000` fails because the `Int8` type can represent"},{"text":"`127` at maximum:"},{"text":""},{"text":" let x = Int8(exactly: 100)"},{"text":" // x == Optional(100)"},{"text":" let y = Int8(exactly: 1_000)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference of the two given values, wrapping the result in"},{"text":"case of any overflow."},{"text":""},{"text":"The overflow subtraction operator (`&-`) discards any bits that overflow"},{"text":"the fixed width of the integer type. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: UInt8 = 21 &- 10"},{"text":" // x == 11"},{"text":" let y: UInt8 = 10 &- 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The minimum representable integer in this type."},{"text":""},{"text":"For signed integer types, this value is `-(2 ** (bitWidth - 1))`, where"},{"text":"`**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable, wrapping any overflow."},{"text":""},{"text":"The masking subtraction assignment operator (`&-=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the result is the partial value after"},{"text":"discarding the overflowing bits."},{"text":""},{"text":" var x: Int8 = 21"},{"text":" x &-= 10"},{"text":" // x == 11"},{"text":" var y: UInt8 = 10"},{"text":" y &-= 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable, wrapping any overflow."},{"text":""},{"text":"The masking subtraction assignment operator (`&-=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the result is the partial value after"},{"text":"discarding the overflowing bits."},{"text":""},{"text":" var x: Int8 = 21"},{"text":" x &-= 10"},{"text":" // x == 11"},{"text":" var y: UInt8 = 10"},{"text":" y &-= 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The maximum representable integer in this type."},{"text":""},{"text":"For signed integer types, this value is `(2 ** (bitWidth - 1)) - 1`,"},{"text":"where `**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the product of the two given values, wrapping the result in case"},{"text":"of any overflow."},{"text":""},{"text":"The overflow multiplication operator (`&*`) discards any bits that"},{"text":"overflow the fixed width of the integer type. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: Int8 = 10 &* 5"},{"text":" // x == 50"},{"text":" let y: Int8 = 10 &* 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","quotientAndRemainder(dividingBy:)"],"names":{"title":"quotientAndRemainder(dividingBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the quotient and remainder of this value divided by the given"},{"text":"value."},{"text":""},{"text":"Use this method to calculate the quotient and remainder of a division at"},{"text":"the same time."},{"text":""},{"text":" let x = 1_000_000"},{"text":" let (q, r) = x.quotientAndRemainder(dividingBy: 933)"},{"text":" // q == 1071"},{"text":" // r == 757"},{"text":""},{"text":"- Parameter rhs: The value to divide this value by."},{"text":"- Returns: A tuple containing the quotient and remainder of this value"},{"text":" divided by `rhs`."}]},"functionSignature":{"parameters":[{"name":"dividingBy","internalName":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"(quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","quotientAndRemainder(dividingBy:)"],"names":{"title":"quotientAndRemainder(dividingBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the quotient and remainder of this value divided by the given"},{"text":"value."},{"text":""},{"text":"Use this method to calculate the quotient and remainder of a division at"},{"text":"the same time."},{"text":""},{"text":" let x = 1_000_000"},{"text":" let (q, r) = x.quotientAndRemainder(dividingBy: 933)"},{"text":" // q == 1071"},{"text":" // r == 757"},{"text":""},{"text":"- Parameter rhs: The value to divide this value by."},{"text":"- Returns: A tuple containing the quotient and remainder of this value"},{"text":" divided by `rhs`."}]},"functionSignature":{"parameters":[{"name":"dividingBy","internalName":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"(quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZsE8isSignedSbvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","isSigned"],"names":{"title":"isSigned","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether this type is a signed integer type."},{"text":""},{"text":"This property is always `true` for signed integer types."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the product of the two given values, wrapping the result in case"},{"text":"of any overflow."},{"text":""},{"text":"The overflow multiplication operator (`&*`) discards any bits that"},{"text":"overflow the fixed width of the integer type. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: Int8 = 10 &* 5"},{"text":" // x == 50"},{"text":" let y: Int8 = 10 &* 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE10isMultiple2ofSbx_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","isMultiple(of:)"],"names":{"title":"isMultiple(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns `true` if this value is a multiple of the given value, and `false`"},{"text":"otherwise."},{"text":""},{"text":"For two integers *a* and *b*, *a* is a multiple of *b* if there exists a"},{"text":"third integer *q* such that _a = q*b_. For example, *6* is a multiple of"},{"text":"*3* because _6 = 2*3_. Zero is a multiple of everything because _0 = 0*x_"},{"text":"for any integer *x*."},{"text":""},{"text":"Two edge cases are worth particular attention:"},{"text":"- `x.isMultiple(of: 0)` is `true` if `x` is zero and `false` otherwise."},{"text":"- `T.min.isMultiple(of: -1)` is `true` for signed integer `T`, even"},{"text":" though the quotient `T.min / -1` isn't representable in type `T`."},{"text":""},{"text":"- Parameter other: The value to test."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling `random(in:using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling `random(in:using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise AND operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise AND operation results in a value that has each bit set to `1`"},{"text":"where *both* of its arguments have that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x & y // 0b00000100"},{"text":" // z == 4"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise AND operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise AND operation results in a value that has each bit set to `1`"},{"text":"where *both* of its arguments have that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x & y // 0b00000100"},{"text":" // z == 4"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise OR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise OR operation results in a value that has each bit set to `1`"},{"text":"where *one or both* of its arguments have that bit set to `1`. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x | y // 0b00001111"},{"text":" // z == 15"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than operator (`>`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise OR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise OR operation results in a value that has each bit set to `1`"},{"text":"where *one or both* of its arguments have that bit set to `1`. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x | y // 0b00001111"},{"text":" // z == 15"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s13SignedNumericPsE1sopyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the additive inverse of the specified value."},{"text":""},{"text":"The negation operator (prefix `-`) returns the additive inverse of its"},{"text":"argument."},{"text":""},{"text":" let x = 21"},{"text":" let y = -x"},{"text":" // y == -21"},{"text":""},{"text":"The resulting value must be representable in the same type as the"},{"text":"argument. In particular, negating a signed, fixed-width integer type's"},{"text":"minimum results in a value that cannot be represented."},{"text":""},{"text":" let z = -Int8.min"},{"text":" // Overflow error"},{"text":""},{"text":"- Returns: The additive inverse of the argument."}]},"functionSignature":{"parameters":[{"name":"operand","declarationFragments":[{"kind":"identifier","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the inverse of the bits set in the argument."},{"text":""},{"text":"The bitwise NOT operator (`~`) is a prefix operator that returns a value"},{"text":"in which all the bits of its argument are flipped: Bits that are `1` in"},{"text":"the argument are `0` in the result, and bits that are `0` in the argument"},{"text":"are `1` in the result. This is equivalent to the inverse of a set. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let notX = ~x // 0b11111010"},{"text":""},{"text":"Performing a bitwise NOT operation on 0 returns a value with every bit"},{"text":"set to `1`."},{"text":""},{"text":" let allOnes = ~UInt8.min // 0b11111111"},{"text":""},{"text":"- Complexity: O(1)."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than operator (`>`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the inverse of the bits set in the argument."},{"text":""},{"text":"The bitwise NOT operator (`~`) is a prefix operator that returns a value"},{"text":"in which all the bits of its argument are flipped: Bits that are `1` in"},{"text":"the argument are `0` in the result, and bits that are `0` in the argument"},{"text":"are `1` in the result. This is equivalent to the inverse of a set. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let notX = ~x // 0b11111010"},{"text":""},{"text":"Performing a bitwise NOT operation on 0 returns a value with every bit"},{"text":"set to `1`."},{"text":""},{"text":" let allOnes = ~UInt8.min // 0b11111111"},{"text":""},{"text":"- Complexity: O(1)."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer."},{"text":""},{"text":"Use this initializer to convert from another integer type when you know"},{"text":"the value is within the bounds of this type. Passing a value that can't"},{"text":"be represented in this type results in a runtime error."},{"text":""},{"text":"In the following example, the constant `y` is successfully created from"},{"text":"`x`, an `Int` instance with a value of `100`. Because the `Int8` type"},{"text":"can represent `127` at maximum, the attempt to create `z` with a value"},{"text":"of `1000` results in a runtime error."},{"text":""},{"text":" let x = 100"},{"text":" let y = Int8(x)"},{"text":" // y == 100"},{"text":" let z = Int8(x * 10)"},{"text":" // Error: Not enough bits to represent the given value"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer. The value"},{"text":" passed as `source` must be representable in this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s13SignedNumericPsE6negateyyF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","negate()"],"names":{"title":"negate()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"negate"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this value with its additive inverse."},{"text":""},{"text":"The following example uses the `negate()` method to negate the value of"},{"text":"an integer `x`:"},{"text":""},{"text":" var x = 21"},{"text":" x.negate()"},{"text":" // x == -21"},{"text":""},{"text":"The resulting value must be representable within the value's type. In"},{"text":"particular, negating a signed, fixed-width integer type's minimum"},{"text":"results in a value that cannot be represented."},{"text":""},{"text":" var y = Int8.min"},{"text":" y.negate()"},{"text":" // Overflow error"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"negate"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the two given values, wrapping the result in case of"},{"text":"any overflow."},{"text":""},{"text":"The overflow addition operator (`&+`) discards any bits that overflow the"},{"text":"fixed width of the integer type. In the following example, the sum of"},{"text":"`100` and `121` is greater than the maximum representable `Int8` value,"},{"text":"so the result is the partial value after discarding the overflowing"},{"text":"bits."},{"text":""},{"text":" let x: Int8 = 10 &+ 21"},{"text":" // x == 31"},{"text":" let y: Int8 = 100 &+ 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the two given values, wrapping the result in case of"},{"text":"any overflow."},{"text":""},{"text":"The overflow addition operator (`&+`) discards any bits that overflow the"},{"text":"fixed width of the integer type. In the following example, the sum of"},{"text":"`100` and `121` is greater than the maximum representable `Int8` value,"},{"text":"so the result is the partial value after discarding the overflowing"},{"text":"bits."},{"text":""},{"text":" let x: Int8 = 10 &+ 21"},{"text":" // x == 31"},{"text":" let y: Int8 = 100 &+ 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than-or-equal-to operator (`>=`), even if the two instances are"},{"text":"of different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than-or-equal-to operator (`>=`), even if the two instances are"},{"text":"of different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.ParseOutput"},{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.ParseOutput"},{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<=(_:_:)"],"names":{"title":"<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left in the left-hand-side variable."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x <<= 2"},{"text":" // x == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y <<= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a <<= -3"},{"text":" // a == 3 // 0b00000011"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b >>= 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<=(_:_:)"],"names":{"title":"<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left in the left-hand-side variable."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x <<= 2"},{"text":" // x == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y <<= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a <<= -3"},{"text":" // a == 3 // 0b00000011"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b >>= 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(clamping:)"],"names":{"title":"init(clamping:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the representable value that's closest to the"},{"text":"given integer."},{"text":""},{"text":"If the value passed as `source` is greater than the maximum representable"},{"text":"value in this type, the result is the type's `max` value. If `source` is"},{"text":"less than the smallest representable value in this type, the result is"},{"text":"the type's `min` value."},{"text":""},{"text":"In this example, `x` is initialized as an `Int8` instance by clamping"},{"text":"`500` to the range `-128...127`, and `y` is initialized as a `UInt`"},{"text":"instance by clamping `-500` to the range `0...UInt.max`."},{"text":""},{"text":" let x = Int8(clamping: 500)"},{"text":" // x == 127"},{"text":" // x == Int8.max"},{"text":""},{"text":" let y = UInt(clamping: -500)"},{"text":" // y == 0"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(clamping:)"],"names":{"title":"init(clamping:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the representable value that's closest to the"},{"text":"given integer."},{"text":""},{"text":"If the value passed as `source` is greater than the maximum representable"},{"text":"value in this type, the result is the type's `max` value. If `source` is"},{"text":"less than the smallest representable value in this type, the result is"},{"text":"the type's `min` value."},{"text":""},{"text":"In this example, `x` is initialized as an `Int8` instance by clamping"},{"text":"`500` to the range `-128...127`, and `y` is initialized as a `UInt`"},{"text":"instance by clamping `-500` to the range `0...UInt.max`."},{"text":""},{"text":" let x = Int8(clamping: 500)"},{"text":" // x == 127"},{"text":" // x == Int8.max"},{"text":""},{"text":" let y = UInt(clamping: -500)"},{"text":" // y == 0"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE10isMultiple2ofSbx_tF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","isMultiple(of:)"],"names":{"title":"isMultiple(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns `true` if this value is a multiple of the given value, and `false`"},{"text":"otherwise."},{"text":""},{"text":"For two integers *a* and *b*, *a* is a multiple of *b* if there exists a"},{"text":"third integer *q* such that _a = q*b_. For example, *6* is a multiple of"},{"text":"*3* because _6 = 2*3_. Zero is a multiple of everything because _0 = 0*x_"},{"text":"for any integer *x*."},{"text":""},{"text":"Two edge cases are worth particular attention:"},{"text":"- `x.isMultiple(of: 0)` is `true` if `x` is zero and `false` otherwise."},{"text":"- `T.min.isMultiple(of: -1)` is `true` for signed integer `T`, even"},{"text":" though the quotient `T.min / -1` isn't representable in type `T`."},{"text":""},{"text":"- Parameter other: The value to test."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(truncatingIfNeeded:)"],"names":{"title":"init(truncatingIfNeeded:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the bit pattern of the given instance by"},{"text":"truncating or sign-extending if needed to fit this type."},{"text":""},{"text":"When the bit width of `T` (the type of `source`) is equal to or greater"},{"text":"than this type's bit width, the result is the truncated"},{"text":"least-significant bits of `source`. For example, when converting a"},{"text":"16-bit value to an 8-bit type, only the lower 8 bits of `source` are"},{"text":"used."},{"text":""},{"text":" let p: Int16 = -500"},{"text":" // 'p' has a binary representation of 11111110_00001100"},{"text":" let q = Int8(truncatingIfNeeded: p)"},{"text":" // q == 12"},{"text":" // 'q' has a binary representation of 00001100"},{"text":""},{"text":"When the bit width of `T` is less than this type's bit width, the result"},{"text":"is *sign-extended* to fill the remaining bits. That is, if `source` is"},{"text":"negative, the result is padded with ones; otherwise, the result is"},{"text":"padded with zeros."},{"text":""},{"text":" let u: Int8 = 21"},{"text":" // 'u' has a binary representation of 00010101"},{"text":" let v = Int16(truncatingIfNeeded: u)"},{"text":" // v == 21"},{"text":" // 'v' has a binary representation of 00000000_00010101"},{"text":""},{"text":" let w: Int8 = -21"},{"text":" // 'w' has a binary representation of 11101011"},{"text":" let x = Int16(truncatingIfNeeded: w)"},{"text":" // x == -21"},{"text":" // 'x' has a binary representation of 11111111_11101011"},{"text":" let y = UInt16(truncatingIfNeeded: w)"},{"text":" // y == 65515"},{"text":" // 'y' has a binary representation of 11111111_11101011"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than-or-equal-to operator (`<=`), even if the two instances are of"},{"text":"different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(truncatingIfNeeded:)"],"names":{"title":"init(truncatingIfNeeded:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the bit pattern of the given instance by"},{"text":"truncating or sign-extending if needed to fit this type."},{"text":""},{"text":"When the bit width of `T` (the type of `source`) is equal to or greater"},{"text":"than this type's bit width, the result is the truncated"},{"text":"least-significant bits of `source`. For example, when converting a"},{"text":"16-bit value to an 8-bit type, only the lower 8 bits of `source` are"},{"text":"used."},{"text":""},{"text":" let p: Int16 = -500"},{"text":" // 'p' has a binary representation of 11111110_00001100"},{"text":" let q = Int8(truncatingIfNeeded: p)"},{"text":" // q == 12"},{"text":" // 'q' has a binary representation of 00001100"},{"text":""},{"text":"When the bit width of `T` is less than this type's bit width, the result"},{"text":"is *sign-extended* to fill the remaining bits. That is, if `source` is"},{"text":"negative, the result is padded with ones; otherwise, the result is"},{"text":"padded with zeros."},{"text":""},{"text":" let u: Int8 = 21"},{"text":" // 'u' has a binary representation of 00010101"},{"text":" let v = Int16(truncatingIfNeeded: u)"},{"text":" // v == 21"},{"text":" // 'v' has a binary representation of 00000000_00010101"},{"text":""},{"text":" let w: Int8 = -21"},{"text":" // 'w' has a binary representation of 11101011"},{"text":" let x = Int16(truncatingIfNeeded: w)"},{"text":" // x == -21"},{"text":" // 'x' has a binary representation of 11111111_11101011"},{"text":" let y = UInt16(truncatingIfNeeded: w)"},{"text":" // y == 65515"},{"text":" // 'y' has a binary representation of 11111111_11101011"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than-or-equal-to operator (`<=`), even if the two instances are of"},{"text":"different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than operator (`<`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than operator (`<`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Foundation","lines":[{"text":"Initialize an instance by parsing `value` with the given `strategy`."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Foundation","lines":[{"text":"Initialize an instance by parsing `value` with the given `strategy`."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SUsE9magnitudexvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","magnitude"],"names":{"title":"magnitude","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"magnitude"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The magnitude of this value."},{"text":""},{"text":"Every unsigned integer is its own magnitude, so for any value `x`,"},{"text":"`x == x.magnitude`."},{"text":""},{"text":"The global `abs(_:)` function provides more familiar syntax when you need"},{"text":"to find an absolute value. In addition, because `abs(_:)` always returns"},{"text":"a value of the same type, even in a generic context, using the function"},{"text":"instead of the `magnitude` property is encouraged."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"magnitude"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, rounding toward"},{"text":"zero. Any fractional part of the value passed as `source` is removed."},{"text":""},{"text":" let x = Int(21.5)"},{"text":" // x == 21"},{"text":" let y = Int(-21.5)"},{"text":" // y == -21"},{"text":""},{"text":"If `source` is outside the bounds of this type after rounding toward"},{"text":"zero, a runtime error may occur."},{"text":""},{"text":" let z = UInt(-21.5)"},{"text":" // Error: ...outside the representable range"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."},{"text":" `source` must be representable in this type after rounding toward"},{"text":" zero."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, rounding toward"},{"text":"zero. Any fractional part of the value passed as `source` is removed."},{"text":""},{"text":" let x = Int(21.5)"},{"text":" // x == 21"},{"text":" let y = Int(-21.5)"},{"text":" // y == -21"},{"text":""},{"text":"If `source` is outside the bounds of this type after rounding toward"},{"text":"zero, a runtime error may occur."},{"text":""},{"text":" let z = UInt(-21.5)"},{"text":" // Error: ...outside the representable range"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."},{"text":" `source` must be representable in this type after rounding toward"},{"text":" zero."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, if it can be"},{"text":"represented exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `21.0`, while the attempt to initialize the"},{"text":"constant `y` from `21.5` fails:"},{"text":""},{"text":" let x = Int(exactly: 21.0)"},{"text":" // x == Optional(21)"},{"text":" let y = Int(exactly: 21.5)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, if it can be"},{"text":"represented exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `21.0`, while the attempt to initialize the"},{"text":"constant `y` from `21.5` fails:"},{"text":""},{"text":" let x = Int(exactly: 21.0)"},{"text":" // x == Optional(21)"},{"text":" let y = Int(exactly: 21.5)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are not"},{"text":"equal."},{"text":""},{"text":"You can check the inequality of instances of any `BinaryInteger` types"},{"text":"using the not-equal-to operator (`!=`). For example, you can test"},{"text":"whether the first `UInt8` value in a string's UTF-8 encoding is not"},{"text":"equal to the first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are different: \\(firstUTF8 != firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are different: false\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are not"},{"text":"equal."},{"text":""},{"text":"You can check the inequality of instances of any `BinaryInteger` types"},{"text":"using the not-equal-to operator (`!=`). For example, you can test"},{"text":"whether the first `UInt8` value in a string's UTF-8 encoding is not"},{"text":"equal to the first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are different: \\(firstUTF8 != firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are different: false\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0.. "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","bitWidth"],"names":{"title":"bitWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of bits in the binary representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","bitWidth"],"names":{"title":"bitWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of bits in the binary representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0.. "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are"},{"text":"equal."},{"text":""},{"text":"You can check the equality of instances of any `BinaryInteger` types"},{"text":"using the equal-to operator (`==`). For example, you can test whether"},{"text":"the first `UInt8` value in a string's UTF-8 encoding is equal to the"},{"text":"first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are equal: \\(firstUTF8 == firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are equal: true\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are"},{"text":"equal."},{"text":""},{"text":"You can check the equality of instances of any `BinaryInteger` types"},{"text":"using the equal-to operator (`==`). For example, you can test whether"},{"text":"the first `UInt8` value in a string's UTF-8 encoding is equal to the"},{"text":"first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are equal: \\(firstUTF8 == firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are equal: true\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUsE8isSignedSbvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","isSigned"],"names":{"title":"isSigned","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether this type is a signed integer type."},{"text":""},{"text":"This property is always `false` for unsigned integer types."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is less than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the less-than-or-equal-to"},{"text":"operator (`<=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is less than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the less-than-or-equal-to"},{"text":"operator (`<=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE8distance2toSix_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","distance(to:)"],"names":{"title":"distance(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance from this value to the given value, expressed as a"},{"text":"stride."},{"text":""},{"text":"For two values `x` and `y`, and a distance `n = x.distance(to: y)`,"},{"text":"`x.advanced(by: n) == y`."},{"text":""},{"text":"- Parameter other: The value to calculate the distance to."},{"text":"- Returns: The distance from this value to `other`."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(littleEndian:)"],"names":{"title":"init(littleEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its little-endian representation, changing the"},{"text":"byte order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the little-endian representation of"},{"text":" the new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(littleEndian:)"],"names":{"title":"init(littleEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its little-endian representation, changing the"},{"text":"byte order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the little-endian representation of"},{"text":" the new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer."},{"text":""},{"text":"Use this initializer to convert from another integer type when you know"},{"text":"the value is within the bounds of this type. Passing a value that can't"},{"text":"be represented in this type results in a runtime error."},{"text":""},{"text":"In the following example, the constant `y` is successfully created from"},{"text":"`x`, an `Int` instance with a value of `100`. Because the `Int8` type"},{"text":"can represent `127` at maximum, the attempt to create `z` with a value"},{"text":"of `1000` results in a runtime error."},{"text":""},{"text":" let x = 100"},{"text":" let y = Int8(x)"},{"text":" // y == 100"},{"text":" let z = Int8(x * 10)"},{"text":" // Error: Not enough bits to represent the given value"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer. The value"},{"text":" passed as `source` must be representable in this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than operator (`>`) for"},{"text":"any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Calculates the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&>>=` operator performs a *masking shift*, where the value passed as"},{"text":"`rhs` is masked to produce a value in the range `0..>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `19` as `rhs`, the operation first bitmasks `rhs` to"},{"text":"`3`, and then uses that masked value as the number of bits to shift `lhs`."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y &>>= 19"},{"text":" // y == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE8advanced2byxSi_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","advanced(by:)"],"names":{"title":"advanced(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"advanced"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a value that is offset the specified distance from this value."},{"text":""},{"text":"Use the `advanced(by:)` method in generic code to offset a value by a"},{"text":"specified distance. If you're working directly with numeric values, use"},{"text":"the addition operator (`+`) instead of this method."},{"text":""},{"text":"For a value `x`, a distance `n`, and a value `y = x.advanced(by: n)`,"},{"text":"`x.distance(to: y) == n`."},{"text":""},{"text":"- Parameter n: The distance to advance this value."},{"text":"- Returns: A value that is offset from this value by `n`."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"n","declarationFragments":[{"kind":"identifier","spelling":"n"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"advanced"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"n"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than operator (`>`) for"},{"text":"any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Calculates the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&>>=` operator performs a *masking shift*, where the value passed as"},{"text":"`rhs` is masked to produce a value in the range `0..>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `19` as `rhs`, the operation first bitmasks `rhs` to"},{"text":"`3`, and then uses that masked value as the number of bits to shift `lhs`."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y &>>= 19"},{"text":" // y == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The maximum representable integer in this type."},{"text":""},{"text":"For unsigned integer types, this value is `(2 ** bitWidth) - 1`, where"},{"text":"`**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than-or-equal-to operator"},{"text":"(`>=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."},{"text":"- Returns: `true` if `lhs` is greater than or equal to `rhs`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than-or-equal-to operator"},{"text":"(`>=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."},{"text":"- Returns: `true` if `lhs` is greater than or equal to `rhs`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise XOR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise XOR operation, also known as an exclusive OR operation, results"},{"text":"in a value that has each bit set to `1` where *one or the other but not"},{"text":"both* of its arguments had that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x ^ y // 0b00001011"},{"text":" // z == 11"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise XOR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise XOR operation, also known as an exclusive OR operation, results"},{"text":"in a value that has each bit set to `1` where *one or the other but not"},{"text":"both* of its arguments had that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x ^ y // 0b00001011"},{"text":" // z == 11"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(bigEndian:)"],"names":{"title":"init(bigEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its big-endian representation, changing the byte"},{"text":"order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the big-endian representation of the"},{"text":" new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","littleEndian"],"names":{"title":"littleEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The little-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a little-endian platform, for any"},{"text":"integer `x`, `x == x.littleEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(bigEndian:)"],"names":{"title":"init(bigEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its big-endian representation, changing the byte"},{"text":"order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the big-endian representation of the"},{"text":" new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer, if it can be represented"},{"text":"exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `100`, while the attempt to initialize the"},{"text":"constant `y` from `1_000` fails because the `Int8` type can represent"},{"text":"`127` at maximum:"},{"text":""},{"text":" let x = Int8(exactly: 100)"},{"text":" // x == Optional(100)"},{"text":" let y = Int8(exactly: 1_000)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized to the specified integer value."},{"text":""},{"text":"Do not call this initializer directly. Instead, initialize a variable or"},{"text":"constant using an integer literal. For example:"},{"text":""},{"text":" let x = 23"},{"text":""},{"text":"In this example, the assignment to the `x` constant calls this integer"},{"text":"literal initializer behind the scenes."},{"text":""},{"text":"- Parameter value: The value to create."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","littleEndian"],"names":{"title":"littleEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The little-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a little-endian platform, for any"},{"text":"integer `x`, `x == x.littleEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The minimum representable integer in this type."},{"text":""},{"text":"For unsigned integer types, this value is always `0`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized to the specified integer value."},{"text":""},{"text":"Do not call this initializer directly. Instead, initialize a variable or"},{"text":"constant using an integer literal. For example:"},{"text":""},{"text":" let x = 23"},{"text":""},{"text":"In this example, the assignment to the `x` constant calls this integer"},{"text":"literal initializer behind the scenes."},{"text":""},{"text":"- Parameter value: The value to create."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:_:)"],"names":{"title":"...(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a closed range that contains both of its bounds."},{"text":""},{"text":"Use the closed range operator (`...`) to create a closed range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`ClosedRange` from \"a\" up to, and including, \"z\"."},{"text":""},{"text":" let lowercase = \"a\"...\"z\""},{"text":" print(lowercase.contains(\"z\"))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:_:)"],"names":{"title":"...(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a closed range that contains both of its bounds."},{"text":""},{"text":"Use the closed range operator (`...`) to create a closed range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`ClosedRange` from \"a\" up to, and including, \"z\"."},{"text":""},{"text":" let lowercase = \"a\"...\"z\""},{"text":" print(lowercase.contains(\"z\"))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","bigEndian"],"names":{"title":"bigEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The big-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a big-endian platform, for any"},{"text":"integer `x`, `x == x.bigEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","bigEndian"],"names":{"title":"bigEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The big-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a big-endian platform, for any"},{"text":"integer `x`, `x == x.bigEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]}],"relationships":[{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ","displayName":"SignedInteger.min"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1loiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1loiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"conformsTo","source":"s:Sd","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"conformsTo","source":"s:Sf","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc","displayName":"FixedWidthInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc","displayName":"FixedWidthInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:SUsE9magnitudexvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUsE9magnitudexvp","displayName":"UnsignedInteger.magnitude"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(clamping:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(clamping:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz3lleoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz3lleoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2geoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2geoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"conformsTo","source":"s:Sd","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE10isMultiple2ofSbx_tF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10isMultiple2ofSbx_tF","displayName":"BinaryInteger.isMultiple(of:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2leoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(truncatingIfNeeded:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2leoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(truncatingIfNeeded:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc","displayName":"FixedWidthInteger.init(bigEndian:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc","displayName":"FixedWidthInteger.init(bigEndian:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1xoiyxx_xtFZ","displayName":"BinaryInteger.^(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc","displayName":"UnsignedInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1xoiyxx_xtFZ","displayName":"BinaryInteger.^(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxvp","displayName":"FixedWidthInteger.littleEndian"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxvp","displayName":"FixedWidthInteger.littleEndian"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE11descriptionSSvp","displayName":"BinaryInteger.description"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD2V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ","displayName":"UnsignedInteger.max"}},{"kind":"memberOf","source":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE11descriptionSSvp","displayName":"BinaryInteger.description"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"conformsTo","source":"s:s6UInt64V","target":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxvp","displayName":"FixedWidthInteger.bigEndian"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzoiySNyxGx_xtFZ","displayName":"Comparable....(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxvp","displayName":"FixedWidthInteger.bigEndian"}},{"kind":"memberOf","source":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzoiySNyxGx_xtFZ","displayName":"Comparable....(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}},{"kind":"memberOf","source":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2lloiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2lloiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"conformsTo","source":"s:s5SIMD2V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ","displayName":"UnsignedInteger.min"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE03bitB0Sivp","displayName":"FixedWidthInteger.bitWidth"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE03bitB0Sivp","displayName":"FixedWidthInteger.bitWidth"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:SUsE8isSignedSbvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUsE8isSignedSbvpZ","displayName":"UnsignedInteger.isSigned"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc","displayName":"UnsignedInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc","displayName":"FixedWidthInteger.init(littleEndian:)"}},{"kind":"memberOf","source":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:SzsE8advanced2byxSi_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE8advanced2byxSi_tF","displayName":"BinaryInteger.advanced(by:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc","displayName":"FixedWidthInteger.init(littleEndian:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE8distance2toSix_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE8distance2toSix_tF","displayName":"BinaryInteger.distance(to:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ","displayName":"FixedWidthInteger.&*=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ","displayName":"Comparable...<(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ","displayName":"Comparable...<(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ","displayName":"FixedWidthInteger.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPsE1popyxxFZ","displayName":"AdditiveArithmetic.+(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPsE1popyxxFZ","displayName":"AdditiveArithmetic.+(_:)"}},{"kind":"conformsTo","source":"s:s5SIMD3V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsExycfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsExycfc","displayName":"BinaryInteger.init()"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD4V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:SzsExycfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsExycfc","displayName":"BinaryInteger.init()"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ","displayName":"AdditiveArithmetic.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ","displayName":"AdditiveArithmetic.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedSSyF","displayName":"BinaryInteger.formatted()"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedSSyF","displayName":"BinaryInteger.formatted()"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD3V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2seoiyyxz_xtFZ","displayName":"AdditiveArithmetic.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2seoiyyxz_xtFZ","displayName":"AdditiveArithmetic.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzloiySnyxGx_xtFZ","displayName":"Comparable...<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzloiySnyxGx_xtFZ","displayName":"Comparable...<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxSgSScfc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxSgSScfc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2peoiyyxz_xtFZ","displayName":"AdditiveArithmetic.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2peoiyyxz_xtFZ","displayName":"AdditiveArithmetic.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc","displayName":"FixedWidthInteger.init(_:radix:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"conformsTo","source":"s:Sf","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc","displayName":"FixedWidthInteger.init(_:radix:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1aoiyxx_xtFZ","displayName":"BinaryInteger.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1aoiyxx_xtFZ","displayName":"BinaryInteger.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"conformsTo","source":"s:Sb","target":"s:17RealityFoundation12BindableDataP"},{"kind":"conformsTo","source":"s:s5SIMD4V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_xtFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_xtFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:SZsE8isSignedSbvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZsE8isSignedSbvpZ","displayName":"SignedInteger.isSigned"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:SzsE10isMultiple2ofSbx_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10isMultiple2ofSbx_tF","displayName":"BinaryInteger.isMultiple(of:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s13SignedNumericPsE6negateyyF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s13SignedNumericPsE6negateyyF","displayName":"SignedNumeric.negate()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ","displayName":"FixedWidthInteger.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE1topyxxFZ","displayName":"FixedWidthInteger.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ","displayName":"FixedWidthInteger.&+(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE1topyxxFZ","displayName":"FixedWidthInteger.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1ooiyxx_xtFZ","displayName":"BinaryInteger.|(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1goiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s13SignedNumericPsE1sopyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s13SignedNumericPsE1sopyxxFZ","displayName":"SignedNumeric.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1ooiyxx_xtFZ","displayName":"BinaryInteger.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc","displayName":"SignedInteger.init(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ","displayName":"FixedWidthInteger.&-(_:_:)"}},{"kind":"memberOf","source":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ","displayName":"FixedWidthInteger.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc","displayName":"SignedInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"conformsTo","source":"s:SS","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1goiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz3ggeoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz3ggeoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ","displayName":"FixedWidthInteger.&+=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL1loiySbx_xtFZ","displayName":"Comparable.<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ","displayName":"FixedWidthInteger.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL1loiySbx_xtFZ","displayName":"Comparable.<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF","displayName":"BinaryInteger.quotientAndRemainder(dividingBy:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ","displayName":"FixedWidthInteger.&*(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF","displayName":"BinaryInteger.quotientAndRemainder(dividingBy:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ","displayName":"FixedWidthInteger.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ","displayName":"SignedInteger.max"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ","displayName":"FixedWidthInteger.&-=(_:_:)"}},{"kind":"conformsTo","source":"s:Si","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ","displayName":"FixedWidthInteger.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@simd.symbols.json b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@simd.symbols.json new file mode 100644 index 0000000..538d7ad --- /dev/null +++ b/Sources/RealitySymbols/Extracted/macOS/RealityFoundation@simd.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"macosx","minimumVersion":{"major":14,"minor":2}}}},"symbols":[],"relationships":[{"kind":"conformsTo","source":"c:@SA@simd_quatf","target":"s:17RealityFoundation12BindableDataP"},{"kind":"conformsTo","source":"c:@SA@simd_quatf","target":"s:17RealityFoundation14AnimatableDataP"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation.symbols.json b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation.symbols.json new file mode 100644 index 0000000..7d0055c --- /dev/null +++ b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"xros","minimumVersion":{"major":1,"minor":0}}}},"symbols":[{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO5rightyA2GmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Chirality","right"],"names":{"title":"AnchoringComponent.Target.Chirality.right","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"right"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"right"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","multicast(_:)"],"names":{"title":"multicast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">(() -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure to create a subject that delivers elements to subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(subject:)``, this method produces a publisher that creates a separate ``Subject`` for each subscriber."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(_:)`` operator whose closure creates a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast { PassthroughSubject<(String, Int), Never>() }"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 9))"},{"text":" // Stream 2 received: (\"First\", 9)"},{"text":" // Stream 1 received: (\"First\", 9)"},{"text":" // Random: receive value: ((\"Second\", 46))"},{"text":" // Stream 2 received: (\"Second\", 46)"},{"text":" // Stream 1 received: (\"Second\", 46)"},{"text":" // Random: receive value: ((\"Third\", 26))"},{"text":" // Stream 2 received: (\"Third\", 26)"},{"text":" // Stream 1 received: (\"Third\", 26)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter createSubject: A closure to create a new ``Subject`` each time a subscriber attaches to the multicast publisher."}]},"functionSignature":{"parameters":[{"name":"createSubject","declarationFragments":[{"kind":"identifier","spelling":"createSubject"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"createSubject"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" () -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO4leftyA2GmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Chirality","left"],"names":{"title":"AnchoringComponent.Target.Chirality.left","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"left"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"left"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V21angularSpeedVariationSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","angularSpeedVariation"],"names":{"title":"angularSpeedVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularSpeedVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range (in radians per second) from which a value is randomly selected to offset `angularSpeed`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularSpeedVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVAAE6removeyyACF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified child from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - child: The child entity to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"child","declarationFragments":[{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV7extentss5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","extents"],"names":{"title":"extents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"extents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The extents of the bounding box."},{"text":""},{"text":"This value is (0, 0, 0) if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"extents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO4boolyAESbcAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","bool(_:)"],"names":{"title":"MaterialParameters.Value.bool(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bool"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bool"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture"],"names":{"title":"MaterialParameters.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVAAE6append10contentsOfyx_tSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified list of entity as children to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The child entities to add to the collection."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect()"],"names":{"title":"collect()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects all received elements, and emits a single array of the collection when the upstream publisher finishes."},{"text":""},{"text":"Use ``Publisher/collect()`` to gather elements into an array that the operator emits after the upstream publisher finishes."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"This publisher requests an unlimited number of elements from the upstream publisher and uses an unbounded amount of memory to store the received values. The publisher may exert memory pressure on the system for very large sets of elements."},{"text":""},{"text":"The ``Publisher/collect()`` operator only sends the collected array to its downstream receiver after a request whose demand is greater than 0 items. Otherwise, ``Publisher/collect()`` waits until it receives a non-zero request."},{"text":""},{"text":"In the example below, an Integer range is a publisher that emits an array of integers:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\""},{"text":""},{"text":"- Returns: A publisher that collects all received items and returns them as an array upon completion."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV14boundingRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","boundingRadius"],"names":{"title":"boundingRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The radius of a bounding sphere that encompasses the bounding box."},{"text":""},{"text":"This value is 0 if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundingRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new skeleton to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"instance","declarationFragments":[{"kind":"identifier","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default material resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4fade2to8durationySd_SdtF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","fade(to:duration:)"],"names":{"title":"fade(to:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fade"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerCAAE7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transitions the gain to the given value over a time interval using a"},{"text":"linear curve."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"newValue","declarationFragments":[{"kind":"identifier","spelling":"newValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerCAAE7Decibela"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fade"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerCAAE7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode"],"names":{"title":"BlendTreeSourceNode","navigator":[{"kind":"identifier","spelling":"BlendTreeSourceNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeSourceNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A blend node that contains an animation."},{"text":""},{"text":"This structure adopts ``BlendTreeNode`` and adds the ability to store a"},{"text":"single animation. A complete ``BlendTreeAnimation`` represents a mix of all"},{"text":"the animations that its source nodes contain. Each source node defines a"},{"text":"``BlendTreeSourceNode/weight`` that determines how much effect the source's"},{"text":"animation has in the blend tree's resulting, mixed animation. To define the"},{"text":"source's animation, set this structure's ``BlendTreeSourceNode/source``"},{"text":"property."},{"text":""},{"text":"## Access a Source Node of a Blend Tree"},{"text":""},{"text":"A source may exist in any leaf-node position in the blend animation's tree."},{"text":"The following code checks the root node for a source. If instead the root"},{"text":"node is a branch, the code begins checking the branches sources."},{"text":""},{"text":"```swift"},{"text":"// Check if the root node is a source."},{"text":"if let blendNode = blendTree.root as? BlendTreeSourceNode {"},{"text":" // Found a source."},{"text":""},{"text":"// Check if the root node is a branch."},{"text":"} else if let source = blendTree.root as? BlendTreeBlendNode {"},{"text":""},{"text":" // Check for a source in the branch's sources."},{"text":" if let source = blendNode.sources[0] as? BlendTreeSourceNode {"},{"text":" // Found a source."},{"text":" }"},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeSourceNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV13normalizationAA0cE0CAAE13NormalizationVSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","normalization"],"names":{"title":"normalization","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normalization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normalization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO3intyAEs5Int32VcAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","int(_:)"],"names":{"title":"MaterialParameters.Value.int(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV17textureCoordinateAC07Textureh9TransformF0Vvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","textureCoordinate"],"names":{"title":"textureCoordinate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransformPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a SIMD2 type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransformPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent"],"names":{"title":"ImageBasedLightComponent","navigator":[{"kind":"identifier","spelling":"ImageBasedLightComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ImageBasedLightComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ImageBasedLightComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the bounding box is empty."},{"text":""},{"text":"This value is `true` if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsSKRzrlE7reverseyyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reverse()"],"names":{"title":"reverse()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverse"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Reverses the elements of the collection in place."},{"text":""},{"text":"The following example reverses the elements of an array of characters:"},{"text":""},{"text":" var characters: [Character] = [\"C\", \"a\", \"f\", \"é\"]"},{"text":" characters.reverse()"},{"text":" print(characters)"},{"text":" // Prints \"[\"é\", \"f\", \"a\", \"C\"]\""},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the number of elements in the"},{"text":" collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverse"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","TextureCoordinates"],"names":{"title":"MeshBuffers.TextureCoordinates","navigator":[{"kind":"identifier","spelling":"TextureCoordinates"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinates"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinates"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing skeleton. The old instance is returned."}]},"functionSignature":{"parameters":[{"name":"instance","declarationFragments":[{"kind":"identifier","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The initial speed, in meters per second, for newly spawned particles. Defaults to 0.5."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler"],"names":{"title":"MaterialParameters.Texture.Sampler","navigator":[{"kind":"identifier","spelling":"Sampler"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Sampler"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Sampler"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Chirality","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Chirality","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Chirality","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Chirality","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Chirality","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Chirality","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Chirality","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV16opacityThresholdACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default mass properties, equivalent to a unit sphere with a mass of"},{"text":"1 kilogram."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","TriangleIndices"],"names":{"title":"MeshBuffers.TriangleIndices","navigator":[{"kind":"identifier","spelling":"TriangleIndices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleIndices"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleIndices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode"],"names":{"title":"BlendTreeNode","navigator":[{"kind":"identifier","spelling":"BlendTreeNode"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface for a node that's a member of a blend tree."},{"text":""},{"text":"This protocol specifies the common functionality for the animations that"},{"text":"compose a ``BlendTreeAnimation``. The animation defines a"},{"text":"``BlendTreeAnimation/root`` node of this type. To define the tree, you"},{"text":"assign the root node one of the follow structures that adopt this protocol:"},{"text":""},{"text":"- ``BlendTreeBlendNode``, which branches the tree for every element in"},{"text":"``BlendTreeBlendNode/sources``."},{"text":"- ``BlendTreeSourceNode``, which defines an"},{"text":"animation to blend with its ``BlendTreeSourceNode/source`` property."},{"text":""},{"text":"- Note: A node in the tree may be of type ``BlendTreeInvalidNode``, which"},{"text":"neither specifies a list of sources nor an animation."},{"text":""},{"text":"Each node type supplies a name and weight, which you can set during or after"},{"text":"initialization."},{"text":""},{"text":"```swift"},{"text":"let animation1 = FromToByAnimation(...)"},{"text":""},{"text":"let blendNode = BlendTreeSourceNode("},{"text":" source: animation1,"},{"text":" name: \"Anim1\","},{"text":" weight: .value(0.25))"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO15JointInfluencesa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","JointInfluences"],"names":{"title":"MeshBuffers.JointInfluences","navigator":[{"kind":"identifier","spelling":"JointInfluences"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointInfluences"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointInfluences"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshJointInfluence","preciseIdentifier":"s:17RealityFoundation18MeshJointInfluenceV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove a skeleton by id."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV17emissiveIntensityACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","emissiveIntensity"],"names":{"title":"emissiveIntensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveIntensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveIntensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVAAE6insert10contentsOf11beforeIndexyx_SitSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","insert(contentsOf:beforeIndex:)"],"names":{"title":"insert(contentsOf:beforeIndex:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified sequence of entities to this collection in order,"},{"text":"directly before the entity at the given index."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: A sequence of entities to add to the collection."},{"text":" - index: The index of an entity to insert in front"},{"text":" of. If `endIndex` is provided, the"},{"text":" entities will be appended."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"beforeIndex","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO6eitheryA2GmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Chirality","either"],"names":{"title":"AnchoringComponent.Target.Chirality.either","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"either"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"either"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV6matrixSo13simd_float4x4avp","interfaceLanguage":"swift"},"pathComponents":["Transform","matrix"],"names":{"title":"matrix","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform represented as a 4x4 matrix."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Using a 4x4 matrix to set the"},{"text":"transform is therefore a lossy event that might result in certain"},{"text":"transformations, like shear, being dropped."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16CollisionCastHitV","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO5coloryAESo10CGColorRefacAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","color(_:)"],"names":{"title":"MaterialParameters.Value.color(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","switchToLatest()"],"names":{"title":"switchToLatest()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"switchToLatest"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements sent by the most recently received publisher."},{"text":""},{"text":"This operator works with an upstream publisher of publishers, flattening the stream of elements to appear as if they were coming from a single stream of elements. It switches the inner publisher as new ones arrive but keeps the outer publisher constant for downstream subscribers."},{"text":""},{"text":"When this operator receives a new publisher from the upstream publisher, it cancels its previous subscription. Use this feature to prevent earlier publishers from performing unnecessary work, such as creating network request publishers from frequently updating user interface publishers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"switchToLatest"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SwitchToLatest","preciseIdentifier":"s:7Combine10PublishersO14SwitchToLatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12angularSpeedSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","angularSpeed"],"names":{"title":"angularSpeed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularSpeed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The initial spin rate, in radians per second, of newly spawned particles. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularSpeed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the skeletons."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVAAE9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","anchoring"],"names":{"title":"anchoring","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation27AdaptiveResolutionComponentV","interfaceLanguage":"swift"},"pathComponents":["AdaptiveResolutionComponent"],"names":{"title":"AdaptiveResolutionComponent","navigator":[{"kind":"identifier","spelling":"AdaptiveResolutionComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AdaptiveResolutionComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Allows an entity to change the resolution of the resources it uses according"},{"text":"to its relevance to the user."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AdaptiveResolutionComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO10simd4FloatyAEs5SIMD4VySfGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","simd4Float(_:)"],"names":{"title":"MaterialParameters.Value.simd4Float(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd4Float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd4Float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV24shouldRandomizeStartTimeSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","shouldRandomizeStartTime"],"names":{"title":"shouldRandomizeStartTime","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldRandomizeStartTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldRandomizeStartTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV8isCustomSbvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","isCustom"],"names":{"title":"isCustom","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isCustom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isCustom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8contentsAcAE8ContentsVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","contents"],"names":{"title":"contents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Get the contents of the mesh asset."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV4seatAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","seat"],"names":{"title":"seat","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"seat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for seats."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"seat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","Iterator","Element"],"names":{"title":"MeshSkeletonCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO","interfaceLanguage":"swift"},"pathComponents":["BlendWeight"],"names":{"title":"BlendWeight","navigator":[{"kind":"identifier","spelling":"BlendWeight"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendWeight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A numerical representation of the impact an animation has on a scene or"},{"text":"entity."},{"text":""},{"text":"The ``BlendTreeSourceNode`` structure accepts this enumeration as an"},{"text":"initializer argument."},{"text":""},{"text":"To specify a custom weight, use the value case:"},{"text":""},{"text":"```swift"},{"text":"let node = BlendTreeSourceNode("},{"text":" source: animation1,"},{"text":" name: \"anim2\","},{"text":" weight: .value(0.75))"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendWeight"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAsync(contentsOf:withName:)"],"names":{"title":"loadAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an entity from a file URL asynchronously."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"Entity.init","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV11translations5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Transform","translation"],"names":{"title":"translation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity along the x, y, and z axes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4gainSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","gain"],"names":{"title":"gain","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerCAAE7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The gain in decibels of the audio playback controller output."},{"text":""},{"text":"Use the ``AudioPlaybackController/fade(to:duration:)`` method to change"},{"text":"the gain gradually and create smooth transitions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerCAAE7Decibela"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV13emissiveColorACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","emissiveColor"],"names":{"title":"emissiveColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a SIMD4 type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters"],"names":{"title":"MaterialParameters","navigator":[{"kind":"identifier","spelling":"MaterialParameters"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameters"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameters"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO8float2x2yAESo05simd_F0acAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","float2x2(_:)"],"names":{"title":"MaterialParameters.Value.float2x2(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float2x2"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float2x2","preciseIdentifier":"s:4simd8float2x2a"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float2x2"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float2x2","preciseIdentifier":"s:4simd8float2x2a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVAAE6remove2atySi_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","remove(at:)"],"names":{"title":"remove(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified child from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - index: The index of the child entity to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent"],"names":{"title":"SpatialAudioComponent","navigator":[{"kind":"identifier","spelling":"SpatialAudioComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpatialAudioComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configure how sounds are emitted from an entity into the user's environment."},{"text":""},{"text":"The position and orientation of spatial audio sources are updated continuously and automatically by the audio system, so sounds"},{"text":"always come from an entity wherever it goes and wherever it is pointing. Spatial audio sources have the user environment's acoustics"},{"text":"applied to them so that they blend in naturally with it, and they are distance attenuated so they become quieter the further away they"},{"text":"are from the user."},{"text":""},{"text":"- Note: Spatial audio sources emit only a single channel (i.e., mono). If the format of the audio resource played on the entity is"},{"text":"stereo or multichannel, all of its channels will be mixed down to a single channel before spatialization. To minimize any unwanted"},{"text":"mixdown artifacts, use mono source material where possible."},{"text":""},{"text":"RealityKit audio playback is spatial by default, so no additional configuration is necessary to opt into sophisticated spatial rendering."},{"text":""},{"text":"```swift"},{"text":"let entity = Entity()"},{"text":"let resource = try AudioFileResource.load(named: \"MyAudioFile\")"},{"text":"entity.playAudio(resource) // Audio file is played spatially from entity"},{"text":"```"},{"text":""},{"text":"The `SpatialAudioComponent` allows you to further customize the playback characteristics of spatial audio sources. The"},{"text":"`gain`, `directLevel`, and `reverbLevel` properties are in relative Decibels, in the range `-.infinity ... .zero`,"},{"text":"where `-.infinity` is silent and `.zero` is nominal."},{"text":""},{"text":"For example, you can adjust the overall level of all sounds played from the entity with the `gain` property."},{"text":""},{"text":"```swift"},{"text":"entity.spatialAudio = SpatialAudioComponent(gain: -10)"},{"text":"```"},{"text":""},{"text":"You can reduce the amount of reverb applied to all sounds played from the entity with the `reverbLevel` property. Reducing this"},{"text":"value will make the sounds less reverberant and more intimate. Setting `reverbLevel` to `-.infinity` will cause the sounds to"},{"text":"collapse into the head of the listener."},{"text":""},{"text":"```swift"},{"text":"entity.spatialAudio?.reverbLevel = -6"},{"text":"```"},{"text":""},{"text":"The `gain`, `directLevel`, and `reverbLevel` properties can be updated dynamically, for example based on your app's state,"},{"text":"or in the context of a Custom RealityKit System."},{"text":""},{"text":"The `directivity` property allows you to configure the radiation pattern for sound emitted from the entity."},{"text":""},{"text":"```swift"},{"text":"entity.spatialAudio?.directivity = .beam(focus: 0.5)"},{"text":"```"},{"text":""},{"text":"Spatial audio sources project sounds along their -Z axis. If a spatial audio source is co-located and co-oriented with visual content"},{"text":"authored with a +Z-forward coordinate convention, you will want to rotate your spatial audio source 180º about the Y-axis."},{"text":""},{"text":"```swift"},{"text":"let parent = Entity()"},{"text":""},{"text":"// Add model entity"},{"text":"let model = try ModelEntity.load(named: \"PositiveZForward\")"},{"text":"parent.addChild(model)"},{"text":""},{"text":"// Add audio source entity"},{"text":"let audioSource = Entity()"},{"text":"parent.addChild(audioSource)"},{"text":""},{"text":"// Orient audio source towards +Z"},{"text":"audioSource.orientation = .init(angle: .pi, axis: [0, 1, 0])"},{"text":"```"},{"text":""},{"text":"This is only a consideration if you have explicitly set a `directivity` other than the default `.beam(focus: .zero)`, which"},{"text":"projects sound evenly for all frequencies in all directions."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpatialAudioComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV15jointInfluencesAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","jointInfluences"],"names":{"title":"jointInfluences","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointInfluences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointInfluences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE9fromValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV16emitterShapeSizes5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","emitterShapeSize"],"names":{"title":"emitterShapeSize","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emitterShapeSize"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The emitter shape size in meters."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emitterShapeSize"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15CollisionFilterV","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance between two indices."},{"text":""},{"text":"Unless the collection conforms to the `BidirectionalCollection` protocol,"},{"text":"`start` must be less than or equal to `end`."},{"text":""},{"text":"- Parameters:"},{"text":" - start: A valid index of the collection."},{"text":" - end: Another valid index of the collection. If `end` is equal to"},{"text":" `start`, the result is zero."},{"text":"- Returns: The distance between `start` and `end`. The result can be"},{"text":" negative only if the collection conforms to the"},{"text":" `BidirectionalCollection` protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the"},{"text":" resulting distance."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","multicast(subject:)"],"names":{"title":"multicast(subject:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Provides a subject to deliver elements to multiple subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(_:)``, this method produces a publisher that shares the provided ``Subject`` among all the downstream subscribers."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(subject:)`` operator with a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast(subject: PassthroughSubject<(String, Int), Never>())"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 78))"},{"text":" // Stream 2 received: (\"First\", 78)"},{"text":" // Stream 1 received: (\"First\", 78)"},{"text":" // Random: receive value: ((\"Second\", 98))"},{"text":" // Stream 2 received: (\"Second\", 98)"},{"text":" // Stream 1 received: (\"Second\", 98)"},{"text":" // Random: receive value: ((\"Third\", 61))"},{"text":" // Stream 2 received: (\"Third\", 61)"},{"text":" // Stream 1 received: (\"Third\", 61)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter subject: A subject to deliver elements to downstream subscribers."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO8float3x3yAESo05simd_F0acAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","float3x3(_:)"],"names":{"title":"MaterialParameters.Value.float3x3(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float3x3"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float3x3","preciseIdentifier":"s:4simd8float3x3a"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float3x3"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float3x3","preciseIdentifier":"s:4simd8float3x3a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV20anisotropyAngleScaleACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","anisotropyAngleScale"],"names":{"title":"anisotropyAngleScale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyAngleScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyAngleScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from five other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 2 50 100 -2 33 33\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO8float4x4yAESo05simd_F0acAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","float4x4(_:)"],"names":{"title":"MaterialParameters.Value.float4x4(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float4x4"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float4x4"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV20anisotropyLevelScaleACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","anisotropyLevelScale"],"names":{"title":"anisotropyLevelScale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyLevelScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyLevelScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect(_:)"],"names":{"title":"collect(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects up to the specified number of elements, and then emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:)`` to emit arrays of at most `count` elements from an upstream publisher. If the upstream publisher finishes before collecting the specified number of elements, the publisher sends an array of only the items it received. This may be fewer than `count` elements."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"In the example below, the ``Publisher/collect(_:)`` operator emits one partial and two full arrays based on the requested collection size of `5`:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect(5)"},{"text":" .sink { print(\"\\($0), terminator: \" \"\") }"},{"text":""},{"text":" // Prints \"[0, 1, 2, 3, 4] [5, 6, 7, 8, 9] [10] \""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameter count: The maximum number of received elements to buffer before publishing."},{"text":"- Returns: A publisher that collects up to the specified number of elements, and then publishes them as an array."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE7replace4withyAcAE8ContentsV_tKF","interfaceLanguage":"swift"},"pathComponents":["MeshResource","replace(with:)"],"names":{"title":"replace(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replace the contents of this mesh resource."},{"text":""},{"text":"- Note: The contents of the modified mesh resource will not be synced between network clients."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVAAE10replaceAllyyxSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity and adds the specified list of entities as the new"},{"text":"children."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The list of the new children."}]},"functionSignature":{"parameters":[{"name":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV3anyAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","any"],"names":{"title":"any","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for any kind of surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV6centers5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","center"],"names":{"title":"center","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"center"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The center of the bounding box."},{"text":""},{"text":"This value is (0, 0, 0) if the box is empty."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"center"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerCAAE7Decibela","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","Decibel"],"names":{"title":"AudioPlaybackController.Decibel","navigator":[{"kind":"identifier","spelling":"Decibel"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Decibel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type alias for Double expressing that the value is in Decibels."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Decibel"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"deprecated":{"major":15,"minor":0},"renamed":"Audio.Decibel"},{"domain":"visionOS","renamed":"Audio.Decibel","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13},"deprecated":{"major":18,"minor":0},"renamed":"Audio.Decibel"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V14angleVariationSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","angleVariation"],"names":{"title":"angleVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angleVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range (in radians) from which a value is randomly selected to offset `angle`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angleVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC8generate8friction11restitutionACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","generate(friction:restitution:)"],"names":{"title":"generate(friction:restitution:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a new material with the given characteristics."},{"text":""},{"text":"- Parameters:"},{"text":" - friction: The coefficient of friction, in the range `[0, infinity)`."},{"text":""},{"text":" - restitution: The coefficient of restitution, in the range `[0, 1]`."},{"text":"Use values at the high end of the range to indicate materials that"},{"text":"experience elastic collisions, meaning that objects bounce off each"},{"text":"other and kinetic energy is conserved after a collision. Use low values"},{"text":"to indicate materials that loose kinetic energy when they collide."},{"text":""},{"text":"- Returns: A physics material resource."}]},"functionSignature":{"parameters":[{"name":"friction","declarationFragments":[{"kind":"identifier","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"restitution","declarationFragments":[{"kind":"identifier","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"friction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.8, "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.8) -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV4palmAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","palm"],"names":{"title":"palm","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"palm"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity should be anchored to the center of the palm. Content"},{"text":"anchored this way has its positive y axis pointing out of the palm"},{"text":"and its negative z axis pointing towards the side where the thumb is."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"palm"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV12mixGroupNameSSSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","mixGroupName"],"names":{"title":"mixGroupName","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mixGroupName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mixGroupName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP13giveOwnership2of6toPeerSbAA6EntityC_AA0cI2ID_ptF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","giveOwnership(of:toPeer:)"],"names":{"title":"giveOwnership(of:toPeer:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"giveOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transfers ownership of the given entity to the named network device."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity whose ownership is transferred."},{"text":""},{"text":" - toPeer: The networked device receiving ownership."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the ownership transfer succeeds."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"toPeer","declarationFragments":[{"kind":"identifier","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"giveOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPeer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV08previousG0AE0fG0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","previousType"],"names":{"title":"previousType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlayerEvents","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContentTypeDidChange","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContentType","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"previous content type"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlayerEvents","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContentTypeDidChange","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContentType","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","anchorIdentifier"],"names":{"title":"anchorIdentifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identifier of the AR anchor with which the anchor entity is"},{"text":"associated, or `nil` if it isn’t currently anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","message":"Anchor Identifier is not supported on xrOS","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23AudioMixGroupsComponentV","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent"],"names":{"title":"AudioMixGroupsComponent","navigator":[{"kind":"identifier","spelling":"AudioMixGroupsComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioMixGroupsComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioMixGroupsComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC5speedSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rate of playback of the audio resource, with a range from half speed"},{"text":"to quadruple speed."},{"text":""},{"text":"Use a value of `1` for normal playback. You can set the value from as"},{"text":"low as `0.25` for quarter speed, to as high as `4` for quadruple speed."},{"text":""},{"text":"Depending on the underlying resource, the playback controller might"},{"text":"ignore the speed value in some cases."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO6custom_4typeAC8SemanticVy_xGSS_xmtlFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","custom(_:type:)"],"names":{"title":"custom(_:type:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"custom"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:)"],"names":{"title":"merge(with:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from four other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 33 2 50 100 -2 33\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12BindableDataP","interfaceLanguage":"swift"},"pathComponents":["BindableData"],"names":{"title":"BindableData","navigator":[{"kind":"identifier","spelling":"BindableData"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableData"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque base protocol for bindable data objects."},{"text":""},{"text":"The templated bindable-value object, ``BindableValue`` ``, determines"},{"text":"that the value you choose for type `T` adopts this protocol. The types that"},{"text":"the framework accepts are: ``Transform``,"},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":","},{"text":", and"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableData"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO18textureCoordinatesAC8SemanticVy_s5SIMD2VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO10invalidURLyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","invalidURL"],"names":{"title":"ShaderGraphMaterial.LoadError.invalidURL","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidURL"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidURL"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV5wristAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","wrist"],"names":{"title":"wrist","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrist"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity should be anchored to the center of the wrist on the back"},{"text":"of the hand. Content anchored this way has its positive y axis"},{"text":"pointing out of the back of the hand and its positive z axis pointing"},{"text":"towards the side where the thumb is."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrist"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP5owner2ofAA0C6PeerID_pSgAA6EntityC_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","owner(of:)"],"names":{"title":"owner(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"owner"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the device that owns a given entity, if any."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity for which you want the owner."},{"text":""},{"text":"- Returns: The networked device that owns the entity. The value is `nil`"},{"text":"if the entity isn’t synchronized or is owned locally."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"owner"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21ChannelAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent"],"names":{"title":"ChannelAudioComponent","navigator":[{"kind":"identifier","spelling":"ChannelAudioComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ChannelAudioComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configure channel-based rendering of sounds from an entity."},{"text":""},{"text":"Channel audio sources route the audio resource's channels directly to the device's output without any spatialization or reverberation"},{"text":"applied. Neither the position nor orientation of the entity is taken into consideration for channel rendering. For example, the left"},{"text":"channel will always be heard from the left, and the right channel will always be heard from the right, regardless of where the user is"},{"text":"oriented."},{"text":""},{"text":"The channels of multichannel audio resources are panned according to their channel layout, including rear channels."},{"text":""},{"text":"```swift"},{"text":"let entity = Entity()"},{"text":"let resource = try AudioFileResource.load(named: \"MyAudioFile\")"},{"text":"entity.channelAudio = ChannelAudioComponent()"},{"text":"entity.playAudio(resource)"},{"text":"```"},{"text":""},{"text":"The `ChannelAudioComponent` allows you to set the overall level of all sounds played from the entity with the `gain` property,"},{"text":"in relative Decibels, in the range `-.infinity ... .zero` where `-infinity` is silent and `.zero` is nominal."},{"text":""},{"text":"```swift"},{"text":"entity.channelAudio?.gain = -10"},{"text":"```"},{"text":""},{"text":"Channel audio sources are well suited to play back sounds not associated with any visual elements in a scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ChannelAudioComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV17emissionDirections5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","emissionDirection"],"names":{"title":"emissionDirection","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissionDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The direction particles are emitted when birthDirection is set to World or Local. Defaults to (0.0, 1.0, 0.0)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissionDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assign(to:)"],"names":{"title":"assign(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements received from a publisher, by assigning them to a property marked as a publisher."},{"text":""},{"text":"Use this operator when you want to receive elements from a publisher and republish them through a property marked with the `@Published` attribute. The `assign(to:)` operator manages the life cycle of the subscription, canceling the subscription automatically when the ``Published`` instance deinitializes. Because of this, the `assign(to:)` operator doesn't return an ``AnyCancellable`` that you're responsible for like ``assign(to:on:)`` does."},{"text":""},{"text":"The example below shows a model class that receives elements from an internal , and assigns them to a `@Published` property called `lastUpdated`. Because the `to` parameter has the `inout` keyword, you need to use the `&` operator when calling this method."},{"text":""},{"text":" class MyModel: ObservableObject {"},{"text":" @Published var lastUpdated: Date = Date()"},{"text":" init() {"},{"text":" Timer.publish(every: 1.0, on: .main, in: .common)"},{"text":" .autoconnect()"},{"text":" .assign(to: &$lastUpdated)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"If you instead implemented `MyModel` with `assign(to: lastUpdated, on: self)`, storing the returned ``AnyCancellable`` instance could cause a reference cycle, because the ``Subscribers/Assign`` subscriber would hold a strong reference to `self`. Using `assign(to:)` solves this problem."},{"text":""},{"text":"While the `to` parameter uses the `inout` keyword, this method doesn't replace a reference type passed to it. Instead, this notation indicates that the operator may modify members of the assigned object, as seen in the following example:"},{"text":""},{"text":" class MyModel2: ObservableObject {"},{"text":" @Published var id: Int = 0"},{"text":" }"},{"text":" let model2 = MyModel2()"},{"text":" Just(100).assign(to: &model2.$id)"},{"text":""},{"text":"- Parameter published: A property marked with the `@Published` attribute, which receives and republishes all elements received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"published","declarationFragments":[{"kind":"identifier","spelling":"published"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"published"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Published","preciseIdentifier":"s:7Combine9PublishedV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublishedV9PublisherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV07contentG0AE0fG0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","contentType"],"names":{"title":"contentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlayerEvents","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContentTypeDidChange","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContentType","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"contentType type, can be same as previousType"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlayerEvents","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContentTypeDidChange","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContentType","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","ArrayLiteralElement"],"names":{"title":"MeshSkeletonCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO16invalidTypeFoundyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","invalidTypeFound"],"names":{"title":"ShaderGraphMaterial.LoadError.invalidTypeFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidTypeFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalidTypeFound"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV15jointTransformsACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity's joint transforms."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryAllSatisfy(_:)"],"names":{"title":"tryAllSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given error-throwing predicate."},{"text":""},{"text":"Use the ``Publisher/tryAllSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria in an error-throwing predicate you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes. If the predicate throws an error, the publisher fails and passes the error to its downstream subscriber."},{"text":""},{"text":"In the example below, an error-throwing predicate tests if each of an integer array publisher’s elements fall into the `targetRange`; the predicate throws an error if an element is zero and terminates the stream."},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 10, 5, 0]"},{"text":""},{"text":" numbers.publisher"},{"text":" .tryAllSatisfy { anInt in"},{"text":" guard anInt != 0 else { throw RangeError() }"},{"text":" return targetRange.contains(anInt)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(RangeError())\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete. The closure may throw an error, in which case the publisher cancels the upstream publisher and fails with the thrown error."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent"],"names":{"title":"SynchronizationComponent","navigator":[{"kind":"identifier","spelling":"SynchronizationComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that synchronizes an entity between processes and networked"},{"text":"applications."},{"text":""},{"text":"An entity acquires a ``SynchronizationComponent`` instance by adopting the"},{"text":"``HasSynchronization`` protocol. All entities have this component because"},{"text":"the ``Entity`` base class adopts the protocol."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO20materialNameNotFoundyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","materialNameNotFound"],"names":{"title":"ShaderGraphMaterial.LoadError.materialNameNotFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialNameNotFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialNameNotFound"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV14indexFingerTipAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","indexFingerTip"],"names":{"title":"indexFingerTip","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indexFingerTip"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity should be anchored to the tip of the index finger."},{"text":"Content anchored this way has its positive y axis in the direct"},{"text":"on of the fingernail's normal and its positive z axis pointing"},{"text":"towards the side where the thumb is."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indexFingerTip"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV9transformACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity's transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of skeletons."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationDefinition/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO15triangleIndicesAC8SemanticVy_s6UInt32VGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO19resourceShareFailedyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","resourceShareFailed"],"names":{"title":"ShaderGraphMaterial.LoadError.resourceShareFailed","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resourceShareFailed"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resourceShareFailed"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadError","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadError","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadError","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadError","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadError","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadError","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","load(contentsOf:withName:)"],"names":{"title":"load(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an entity from a file URL."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV11calibrationAA0cE0CAAE11CalibrationVSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","calibration"],"names":{"title":"calibration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"calibration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"calibration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V5angleSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","angle"],"names":{"title":"angle","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation angle, in radians, of newly spawned particles. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP10Identifiera","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","Identifier"],"names":{"title":"SynchronizationService.Identifier","navigator":[{"kind":"identifier","spelling":"Identifier"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a synchronization service identifier."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O8rawValueAGSgs5UInt8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","makeConnectable()"],"names":{"title":"makeConnectable()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeConnectable"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Creates a connectable wrapper around the publisher."},{"text":""},{"text":"In the following example, ``Publisher/makeConnectable()`` wraps its upstream publisher (an instance of ``Publishers/Share``) with a ``ConnectablePublisher``. Without this, the first sink subscriber would receive all the elements from the sequence publisher and cause it to complete before the second subscriber attaches. By making the publisher connectable, the publisher doesn’t produce any elements until after the ``ConnectablePublisher/connect()`` call."},{"text":""},{"text":" let subject = Just(\"Sent\")"},{"text":" let pub = subject"},{"text":" .share()"},{"text":" .makeConnectable()"},{"text":" cancellable1 = pub.sink { print (\"Stream 1 received: \\($0)\") }"},{"text":""},{"text":" // For example purposes, use DispatchQueue to add a second subscriber"},{"text":" // a second later, and then connect to the publisher a second after that."},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + 1) {"},{"text":" self.cancellable2 = pub.sink { print (\"Stream 2 received: \\($0)\") }"},{"text":" }"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + 2) {"},{"text":" self.connectable = pub.connect()"},{"text":" }"},{"text":" // Prints:"},{"text":" // Stream 2 received: Sent"},{"text":" // Stream 1 received: Sent"},{"text":""},{"text":" > Note: The ``ConnectablePublisher/connect()`` operator returns a ``Cancellable`` instance that you must retain. You can also use this instance to cancel publishing."},{"text":""},{"text":"- Returns: A ``ConnectablePublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeConnectable"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MakeConnectable","preciseIdentifier":"s:7Combine10PublishersO15MakeConnectableV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":""},{"text":" let s = \"Swift\""},{"text":" let i = s.index(s.startIndex, offsetBy: 4)"},{"text":" print(s[i])"},{"text":" // Prints \"t\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":"- Returns: An index offset by `distance` from the index `i`. If"},{"text":" `distance` is positive, this is the same value as the result of"},{"text":" `distance` calls to `index(after:)`. If `distance` is negative, this"},{"text":" is the same value as the result of `abs(distance)` calls to"},{"text":" `index(before:)`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target"],"names":{"title":"AnchoringComponent.Target","navigator":[{"kind":"identifier","spelling":"Target"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Target"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kinds of real world objects to which an anchor entity can be"},{"text":"tethered."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Target"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Chirality","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO9Positionsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Positions"],"names":{"title":"MeshBuffers.Positions","navigator":[{"kind":"identifier","spelling":"Positions"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Positions"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Positions"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV6entityyAESSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","entity(_:)"],"names":{"title":"entity(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a child entity's path."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the child entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The height of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O8RawValuea","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","RawValue"],"names":{"title":"VideoPlayerEvents.ContentTypeDidChange.ContentType.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring","reanchor(_:preservingWorldTransform:)"],"names":{"title":"reanchor(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Changes the entity’s anchoring, preserving either the world transform or"},{"text":"the local transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: Describes how the entity should be anchored in AR."},{"text":""},{"text":"- preservingWorldTransform: A Boolean you set to `true` to preserve the"},{"text":"current world space position, or `false` to use the position relative to"},{"text":"the previous anchor for the new anchor."}]},"functionSignature":{"parameters":[{"name":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"reanchor(:preservingWorldTransform:) is not supported on xrOS","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O8rawValues5UInt8Vvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity"],"names":{"title":"Entity","navigator":[{"kind":"identifier","spelling":"Entity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Entity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An element of a RealityKit scene to which you attach components that provide"},{"text":"appearance and behavior characteristics for the entity."},{"text":""},{"text":"You create and configure entities to embody objects that you want to place"},{"text":"in the real world in an AR app. You do this by adding ``Entity`` instances"},{"text":"to the ``Scene`` instance associated with an ``ARView``."},{"text":""},{"text":"RealityKit defines a few concrete subclasses of ``Entity`` that provide"},{"text":"commonly used functionality. For example, you typically start by creating an"},{"text":"instance of ``AnchorEntity`` to anchor your content, and add the anchor to a"},{"text":"scene’s ``Scene/anchors`` collection. You might then instantiate a"},{"text":"``ModelEntity`` to represent a physical object in the scene, and add that as"},{"text":"a child entity to the anchor. You can also create custom entities, and add"},{"text":"them either to an anchor, or as children of another entity."},{"text":""},{"text":"![Block diagram showing how entity hierarchies, composed of different kinds"},{"text":"of entities, attach to a scene, which is itself a child of the AR"},{"text":"view.](Entity-1)"},{"text":""},{"text":"You can load predefined entities or a hierarchy of entities from your app’s"},{"text":"bundle, or from a file on disk, using the methods in ."},{"text":"Alternatively, you can create entities programmatically."},{"text":""},{"text":"Entities contain components (instances conforming to the ``Component``"},{"text":"protocol) that provide appearance and behaviors for the entity. For example,"},{"text":"the ``Transform`` component contains the scale, rotation, and translation"},{"text":"information needed to position an entity in space. You store components in"},{"text":"the entity’s ``Entity/components`` collection, which can hold exactly one of"},{"text":"any component type. It makes sense to have only a single ``Transform``"},{"text":"component, one ``ModelComponent`` (specifying the visual appearance of the"},{"text":"entity), and so on."},{"text":""},{"text":"![Diagram showing the components present in the base entity class, as well"},{"text":"as in the derived anchor entity and model entity classes.](Entity-2)"},{"text":""},{"text":"All entities inherit a few common components from the ``Entity`` base class:"},{"text":"the ``Transform`` component for spatial positioning, and"},{"text":"``SynchronizationComponent``, which enables synchronization of the entity"},{"text":"among networked peers. Specific types of entities define additional"},{"text":"behaviors. For example, the model entity has components for visual"},{"text":"appearance (``ModelComponent``), collision detection"},{"text":"(``CollisionComponent``), and physics simulations (``PhysicsBodyComponent``"},{"text":"and ``PhysicsMotionComponent``)."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Entity"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16SystemDependencyO","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index,"},{"text":"unless that distance is beyond a given limiting index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":"The operation doesn't require going beyond the limiting `s.endIndex`"},{"text":"value, so it succeeds."},{"text":""},{"text":" let s = \"Swift\""},{"text":" if let i = s.index(s.startIndex, offsetBy: 4, limitedBy: s.endIndex) {"},{"text":" print(s[i])"},{"text":" }"},{"text":" // Prints \"t\""},{"text":""},{"text":"The next example attempts to retrieve an index six positions from"},{"text":"`s.startIndex` but fails, because that distance is beyond the index"},{"text":"passed as `limit`."},{"text":""},{"text":" let j = s.index(s.startIndex, offsetBy: 6, limitedBy: s.endIndex)"},{"text":" print(j)"},{"text":" // Prints \"nil\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: An index offset by `distance` from the index `i`, unless that"},{"text":" index would be beyond `limit` in the direction of movement. In that"},{"text":" case, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO7Normalsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Normals"],"names":{"title":"MeshBuffers.Normals","navigator":[{"kind":"identifier","spelling":"Normals"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normals"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normals"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(on:options:)"],"names":{"title":"subscribe(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to perform subscribe, cancel, and request operations."},{"text":""},{"text":"In contrast with ``Publisher/receive(on:options:)``, which affects downstream messages, ``Publisher/subscribe(on:options:)`` changes the execution context of upstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `ioPerformingPublisher` to receive requests on `backgroundQueue`, while the ``Publisher/receive(on:options:)`` causes `uiUpdatingSubscriber` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let ioPerformingPublisher == // Some publisher."},{"text":" let uiUpdatingSubscriber == // Some subscriber that updates the UI."},{"text":""},{"text":" ioPerformingPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(uiUpdatingSubscriber)"},{"text":""},{"text":""},{"text":"Using ``Publisher/subscribe(on:options:)`` also causes the upstream publisher to perform ``Cancellable/cancel()`` using the specfied scheduler."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler used to send messages to upstream publishers."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher which performs upstream operations on the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no skeletons."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Chirality","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP6entity3forAA6EntityCSgs6UInt64V_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService","entity(for:)"],"names":{"title":"entity(for:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the entity with the given identifier."},{"text":""},{"text":"- Parameters:"},{"text":" - identifier: The identifier."},{"text":""},{"text":"- Returns: The entity with the corresponding identifier."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"identifier","declarationFragments":[{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP10Identifiera"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8Tangentsa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Tangents"],"names":{"title":"MeshBuffers.Tangents","navigator":[{"kind":"identifier","spelling":"Tangents"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Tangents"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Tangents"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation32ImageBasedLightReceiverComponentV","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightReceiverComponent"],"names":{"title":"ImageBasedLightReceiverComponent","navigator":[{"kind":"identifier","spelling":"ImageBasedLightReceiverComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ImageBasedLightReceiverComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ImageBasedLightReceiverComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append_24preservingWorldTransformyAC_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(_:preservingWorldTransform:)"],"names":{"title":"append(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity as a child to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - child: The child entity to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" model should keep its effective location and size in the"},{"text":" scene!)"}]},"functionSignature":{"parameters":[{"name":"child","declarationFragments":[{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14speedVariationSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","speedVariation"],"names":{"title":"speedVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speedVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range (in meters per second) from which a value is randomly selected to offset particle speed."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speedVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The width of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"skeletons"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TriangleFillMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceCAAE13NormalizationV","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Normalization","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV11customValueACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","customValue"],"names":{"title":"customValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource"],"names":{"title":"PhysicsMaterialResource","navigator":[{"kind":"identifier","spelling":"PhysicsMaterialResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMaterialResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material properties, like friction, of a physically simulated object."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMaterialResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV26secondaryTextureCoordinateAC0hi9TransformF0Vvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","secondaryTextureCoordinate"],"names":{"title":"secondaryTextureCoordinate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransformPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a SIMD2 type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransformPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsySayACG_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified list of entity as children to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - array: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"array","declarationFragments":[{"kind":"identifier","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"]"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read a skeleton given its id."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11pixelFormatSo08MTLPixelH0Vvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","pixelFormat"],"names":{"title":"pixelFormat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The size and bit layout of all pixels in each drawable's texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO15jointInfluencesAC8SemanticVy_AA0C14JointInfluenceVGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","jointInfluences"],"names":{"title":"jointInfluences","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointInfluences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshJointInfluence","preciseIdentifier":"s:17RealityFoundation18MeshJointInfluenceV"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointInfluences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshJointInfluence","preciseIdentifier":"s:17RealityFoundation18MeshJointInfluenceV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","sink(receiveCompletion:receiveValue:)"],"names":{"title":"sink(receiveCompletion:receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior."},{"text":""},{"text":"Use ``Publisher/sink(receiveCompletion:receiveValue:)`` to observe values received by the publisher and process them using a closure you specify."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveValue` closure that prints them to the console. Upon completion the ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveCompletion` closure indicates the successful termination of the stream."},{"text":""},{"text":" let myRange = (0...3)"},{"text":" cancellable = myRange.publisher"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" // Prints:"},{"text":" // value: 0"},{"text":" // value: 1"},{"text":" // value: 2"},{"text":" // value: 3"},{"text":" // completion: finished"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveComplete: The closure to execute on completion."},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18ShapeResourceErrorO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the first element in a nonempty collection. (See `Collection.startIndex`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioMixGroupsComponentV6remove5namedySS_tF","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","remove(named:)"],"names":{"title":"remove(named:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the `AudioMixGroup` with the given name, if it exists, from the component."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV","interfaceLanguage":"swift"},"pathComponents":["AnimationView"],"names":{"title":"AnimationView","navigator":[{"kind":"identifier","spelling":"AnimationView"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationView"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that represents a variation of another animation."},{"text":""},{"text":"This structure creates a variation of an existing animation by overriding"},{"text":"its configuration. The term _view_ in the name signifies that the variation"},{"text":"represents a new visual perspective of the existing animation."},{"text":""},{"text":"## Create a Clip of an Animation"},{"text":""},{"text":"By supplying a new beginning time (``AnimationView/trimStart``) and ending"},{"text":"time (``AnimationView/trimEnd``), the following code creates a shorter clip"},{"text":"of an existing animation. With ``AnimationView/trimStart`` set to `1.0` and"},{"text":"``AnimationView/trimEnd`` at `2.0`, the clip spans a one-second duration."},{"text":""},{"text":"```swift"},{"text":"// Create or access an existing animation."},{"text":"let anim1 = FromToByAnimation(name: \"Anim1\","},{"text":" from: 100.0, to: 200.0, duration: 10.0)"},{"text":""},{"text":"// Use a view to create a clip of the original animation."},{"text":"let view = AnimationView(source: anim1,"},{"text":" name: \"clip\","},{"text":" bindTarget: nil,"},{"text":" blendLayer: 0,"},{"text":" repeatMode: .autoReverse,"},{"text":" fillMode: [],"},{"text":" trimStart: 1.0,"},{"text":" trimEnd: 2.0,"},{"text":" trimDuration: nil,"},{"text":" offset: 0,"},{"text":" delay: 0,"},{"text":" speed: 1.0)"},{"text":""},{"text":"// Create an animation resource from the clip."},{"text":"clipResource = try? AnimationResource.generate(with: view)"},{"text":""},{"text":"// Play the clip."},{"text":"myModelEntity.playAnimation(clipResource)"},{"text":"```"},{"text":""},{"text":"## Define a View in Relation to the Animation Source"},{"text":""},{"text":"The source animation's timing properties define a _timeline_ on which the"},{"text":"``AnimationView/trimDuration``, ``AnimationView/delay``, and"},{"text":"``AnimationView/speed`` properties operate to derive the view. The"},{"text":"``AnimationView/trimDuration`` property specifies which animation data the"},{"text":"view displays. If ``AnimationView/trimDuration`` exceeds the length of the"},{"text":"source animation’s timeline, the animation plays according to the"},{"text":"characteristics of ``AnimationView/repeatMode``. The ``AnimationView/delay``"},{"text":"property defines a waiting period before the animation begins, and the"},{"text":"``AnimationView/speed`` determines how fast the view plays in relation to"},{"text":"the original pace."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationView"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO9positionsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV13baseColorTintACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","baseColorTint"],"names":{"title":"baseColorTint","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColorTint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a SIMD4 type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColorTint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV5Indexa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Index"],"names":{"title":"Entity.ChildCollection.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a position in the collection."},{"text":""},{"text":"Valid indices consist of the position of every element and a"},{"text":"\"past the end\" position that's not valid for use as a subscript"},{"text":"argument."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V17lifeSpanVariationSdvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","lifeSpanVariation"],"names":{"title":"lifeSpanVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lifeSpanVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range (in seconds) from which a value is randomly selected to offset `lifeSpan`. Defaults to 0.2."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lifeSpanVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","SubSequence"],"names":{"title":"Entity.ChildCollection.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"A collection representing a contiguous subrange of this collection's"},{"text":"elements. The subsequence shares indices with the original collection."},{"text":""},{"text":"The default subsequence type for collections that don't define their own"},{"text":"is `Slice`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation14WorldComponentV","interfaceLanguage":"swift"},"pathComponents":["WorldComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO7normalsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioMixGroupsComponentV3setyyAA0cD5GroupVF","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","set(_:)"],"names":{"title":"set(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the given `AudioMixGroup` to the component."},{"text":"- Important: Adding an `AudioMixGroup` will replace an existing `AudioMixGroup` with matching name."}]},"functionSignature":{"parameters":[{"name":"mixGroup","declarationFragments":[{"kind":"identifier","spelling":"mixGroup"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mixGroup"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18ShapeResourceErrorO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ShapeResourceError","preciseIdentifier":"s:17RealityFoundation18ShapeResourceErrorO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ShapeResourceError","preciseIdentifier":"s:17RealityFoundation18ShapeResourceErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResourceError","preciseIdentifier":"s:17RealityFoundation18ShapeResourceErrorO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResourceError","preciseIdentifier":"s:17RealityFoundation18ShapeResourceErrorO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResourceError","preciseIdentifier":"s:17RealityFoundation18ShapeResourceErrorO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResourceError","preciseIdentifier":"s:17RealityFoundation18ShapeResourceErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV11viewingModeAA0C18PlaybackControllerCAAE07ViewingG0OSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","viewingMode"],"names":{"title":"viewingMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"viewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"viewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection"],"names":{"title":"Scene.AnchorCollection","navigator":[{"kind":"identifier","spelling":"AnchorCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of anchor entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyP","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy"],"names":{"title":"HasHierarchy","navigator":[{"kind":"identifier","spelling":"HasHierarchy"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasHierarchy"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides access to a parent entity and child entities."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a collection of methods for"},{"text":"managing the hierarchy."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasHierarchy"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21AmbientAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC2IDa","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","ID"],"names":{"title":"AudioPlaybackController.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Writes the token’s data into an encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container. This function throws an"},{"text":" if any values"},{"text":"are invalid for the given encoder’s format."},{"text":""},{"text":"- Parameters:"},{"text":" - encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV6offsetACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","TextureCoordinateTransformPath","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioMixGroupsComponentV8mixGroup5namedAA0cdH0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","mixGroup(named:)"],"names":{"title":"mixGroup(named:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mixGroup"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the `AudioMixGroup` with the given name, if it exists."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mixGroup"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3maxs5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the maximum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic"],"names":{"title":"MeshBuffers.Semantic","navigator":[{"kind":"identifier","spelling":"Semantic"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"TThe collection’s “past the end” position—that is, the position one greater than the"},{"text":"last valid subscript argument. (See `Collection.endIndex`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV16playerScreenSizes5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","playerScreenSize"],"names":{"title":"playerScreenSize","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playerScreenSize"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Represents the current video player screen entity size(Width and Height) in meters"},{"text":"if defer transition to app, this will always return 1x1"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playerScreenSize"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC17compatibilityWithyAC0D0OACF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","compatibilityWith(_:)"],"names":{"title":"compatibilityWith(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatibilityWith"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Compares network compatibility tokens between the local device and"},{"text":"another device."},{"text":""},{"text":"- Parameters:"},{"text":"- otherToken: The token for the remote client against which the local"},{"text":"device checks compatibility"},{"text":""},{"text":"- Returns: Returns"},{"text":"``NetworkCompatibilityToken/Compatibility/compatible`` if the local"},{"text":"client and the remote client represented by `otherToken` can be synced."},{"text":"Any other result indicates that the two devices are incompatible and you"},{"text":"shouldn’t proceed with the connection."}]},"functionSignature":{"parameters":[{"name":"otherToken","declarationFragments":[{"kind":"identifier","spelling":"otherToken"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatibilityWith"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"otherToken"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14ModelSortGroupV9DepthPassO","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","DepthPass","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Always call this function instead of ``Publisher/receive(subscriber:)``."},{"text":"Adopters of ``Publisher`` must implement ``Publisher/receive(subscriber:)``. The implementation of ``Publisher/subscribe(_:)-4u8kn`` provided by ``Publisher`` calls through to ``Publisher/receive(subscriber:)``."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this publisher. After attaching, the subscriber can start to receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18ShapeResourceErrorO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Transform","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23PhysicsMaterialResourceC8generate14staticFriction07dynamicH011restitutionACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMaterialResource","generate(staticFriction:dynamicFriction:restitution:)"],"names":{"title":"generate(staticFriction:dynamicFriction:restitution:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new material with the specified static friction, dynamic friction, and restitution."},{"text":""},{"text":"- Parameters:"},{"text":" - staticFriction: The static (stationary) friction coefficient in the range [0, ∞)."},{"text":" - dynamicFriction: The dynamic (moving) friction coefficient in the range [0, ∞)."},{"text":" - restitution: The coefficient of restitution (bounciness) in the range [0, 1]."}]},"functionSignature":{"parameters":[{"name":"staticFriction","declarationFragments":[{"kind":"identifier","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"dynamicFriction","declarationFragments":[{"kind":"identifier","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"restitution","declarationFragments":[{"kind":"identifier","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"staticFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"dynamicFriction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restitution"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4stopyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","stop()"],"names":{"title":"stop()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops playback of the audio resource and discards the location in the"},{"text":"audio stream."},{"text":""},{"text":"If you call the ``AudioPlaybackController/stop()`` method, the next time"},{"text":"you call ``AudioPlaybackController/play()``, playback starts at the"},{"text":"beginning of the stream."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10bitangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV15distanceSquared7toPointSfs5SIMD3VySfG_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","distanceSquared(toPoint:)"],"names":{"title":"distanceSquared(toPoint:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distanceSquared"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calculates the distance from a point to the bounding box."},{"text":""},{"text":"- Parameters:"},{"text":" - toPoint: The point."},{"text":""},{"text":"- Returns: The square of the distance, in meters, from the point to the"},{"text":"box."}]},"functionSignature":{"parameters":[{"name":"toPoint","declarationFragments":[{"kind":"identifier","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distanceSquared"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"toPoint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18ShapeResourceErrorO16errorDescriptionSSSgvp","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","errorDescription"],"names":{"title":"errorDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing what error occurred."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV4selfACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath","self"],"names":{"title":"self","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the scene."},{"text":""},{"text":"This property represents a bind path within an ``AnimationView`` to"},{"text":"redirect the view's ``BlendTreeSourceNode/source`` animation to a"},{"text":"different scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV05aboveF0AGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","aboveHand"],"names":{"title":"aboveHand","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"aboveHand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity should be anchored above the center of the palm in the"},{"text":"world space, regardless how the hand is rotated. Content anchored"},{"text":"this way has its positive y axis pointing at the user's head and"},{"text":"its positive z axis pointing towards the ground."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"aboveHand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV6group_SayAA0C10Definition_pGSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","group_"],"names":{"title":"group_","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group_"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional collection of animations to run."},{"text":""},{"text":"Don't use this property. Use ``AnimationGroup/group`` instead."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group_"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"*","message":"Use .group variable in AnimationGroup instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation23ModelSortGroupComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroupComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyAngle.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16OpacityComponentV","interfaceLanguage":"swift"},"pathComponents":["OpacityComponent"],"names":{"title":"OpacityComponent","navigator":[{"kind":"identifier","spelling":"OpacityComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OpacityComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OpacityComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV8thumbTipAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","thumbTip"],"names":{"title":"thumbTip","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"thumbTip"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity should be anchored to the tip of the thumb. Content"},{"text":"anchored this way has its positive y axis in the direction of"},{"text":"the fingernail's normal and its negative z axis pointing towards"},{"text":"the side where the index finger is."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"thumbTip"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation9TransformV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Transform","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","NormalEncoding"],"names":{"title":"TextureResource.Format.NormalEncoding","navigator":[{"kind":"identifier","spelling":"NormalEncoding"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"NormalEncoding"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"NormalEncoding"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Appends a publisher’s output with the specified elements."},{"text":""},{"text":"Use ``Publisher/append(_:)-1qb8d`` when you need to prepend specific elements after the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/append(_:)-1qb8d`` operator publishes the provided elements after republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .append(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 5 6 7 8 9 10 0 1 255\""},{"text":""},{"text":""},{"text":"- Parameter elements: Elements to publish after this publisher’s elements."},{"text":"- Returns: A publisher that appends the specifiecd elements after this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15PhysicsBodyModeO","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionVyACSicip","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses the element at the specified position. (See `Collection.subscript`.)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC4fromACs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new instance from a decoder."},{"text":""},{"text":"Throws an error if reading from `decoder` fails, or if the data is"},{"text":"corrupted or otherwise invalid."},{"text":""},{"text":"- Parameters:"},{"text":" - decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV12anchorEntityyAC0hF0VSSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath","anchorEntity(_:)"],"names":{"title":"anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path for the scene's anchor entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5emptyACvpZ","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","empty"],"names":{"title":"empty","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"empty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An empty bounding box."},{"text":""},{"text":"An empty bounding box is defined with ``min`` set to positive infinity and ``max`` set to negative"},{"text":"infinity."},{"text":""},{"text":"- Note: An empty bounding box where ``min`` is greater than ``max`` is different from a bounding"},{"text":"box of size 0, where ``min`` is equal to ``max``. The former defines empty space without a position. The"},{"text":"latter describes an object of size 0 at a certain position in space."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"empty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV18desiredViewingModeAA0C18PlaybackControllerCAAE0gH0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","desiredViewingMode"],"names":{"title":"desiredViewingMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"desiredViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"desiredViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18ShapeResourceErrorO32convexPolyhedronGenerationFailedyA2CmF","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","convexPolyhedronGenerationFailed"],"names":{"title":"ShapeResourceError.convexPolyhedronGenerationFailed","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convexPolyhedronGenerationFailed"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convexPolyhedronGenerationFailed"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23AudioMixGroupsComponentV03mixE0ACSayAA0cD5GroupVG_tcfc","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","init(mixGroups:)"],"names":{"title":"init(mixGroups:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mixGroups"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes an `AudioMixGroupsComponent`."},{"text":"- Important: If more than one `AudioMixGroup` have matching names, only one will be used."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mixGroups"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":"] = [])"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhysicsMassPropertiesV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy angle object using a single value or a"},{"text":"texture."},{"text":""},{"text":"This initializer allows you to create an instance using either a"},{"text":"single value for the entire material, or a UV-mapped image."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the anisotropy angle"},{"text":"for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s anisotropy angle. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The anisotropy angle value for the entire material."},{"text":""},{"text":" - texture: The anisotropy angle values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18ShapeResourceErrorO26staticMeshGenerationFailedyA2CmF","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","staticMeshGenerationFailed"],"names":{"title":"ShapeResourceError.staticMeshGenerationFailed","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"staticMeshGenerationFailed"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"staticMeshGenerationFailed"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two bind targets are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The bind target on the left side of the operator."},{"text":""},{"text":" - rhs: The bind target on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the bind targets are equal. Otherwise,"},{"text":"returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"This property is `nil` by default, which indicates that the animation"},{"text":"stops after one play that spans ``SampledAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``SampledAnimation/trimStart`` and ``SampledAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``SampledAnimation/duration`` causes the animation"},{"text":"to repeat, applying the characteristics defined by"},{"text":"``SampledAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy angle object from a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The anisotropy angle."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3mins5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the minimum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the source animation’s duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationDefinition/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationDefinition/trimStart`` and ``AnimationDefinition/trimEnd``"},{"text":"are `nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationDefinition/duration`` causes the"},{"text":"animation to repeat, applying the characteristics defined by"},{"text":"``AnimationDefinition/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given predicate."},{"text":""},{"text":"Use the ``Publisher/allSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/allSatisfy(_:)`` operator tests if each an integer array publisher’s elements fall into the `targetRange`:"},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .allSatisfy { targetRange.contains($0) }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioResource","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15loadAnchorAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchorAsync(contentsOf:withName:)"],"names":{"title":"loadAnchorAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an anchor entity from a file URL asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as an ``AnchorEntity``."},{"text":""}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"AnchorEntity.init","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC5localACvpZ","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","local"],"names":{"title":"local","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A token containing the local peer’s networking compatibility info."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8tangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8SemanticV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation13TextComponentV","interfaceLanguage":"swift"},"pathComponents":["TextComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV3mip4data11bytesPerRowAG0B04DataV_SitFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Contents","MipmapLevel","mip(data:bytesPerRow:)"],"names":{"title":"mip(data:bytesPerRow:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mip"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"data"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bytesPerRow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapLevel","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Specifies a single mipmap level of a texture resource with pixel data copied from a byte buffer."},{"text":""},{"text":"- Parameters:"},{"text":" - data: The source buffer."},{"text":" - bytesPerRow: The stride in bytes between rows of texture data stored in the source buffer."},{"text":" The value must be a multiple of the destination texture's pixel size, in bytes."}]},"functionSignature":{"parameters":[{"name":"data","declarationFragments":[{"kind":"identifier","spelling":"data"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Data","preciseIdentifier":"s:10Foundation4DataV"}]},{"name":"bytesPerRow","declarationFragments":[{"kind":"identifier","spelling":"bytesPerRow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapLevel","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mip"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"data"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bytesPerRow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapLevel","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13configurationAC13ConfigurationVvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","configuration"],"names":{"title":"configuration","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The configuration for this `AudioBufferResource`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV8containsySbACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box contains the specified bounds."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box contains the specified"},{"text":"bounds."}]},"functionSignature":{"parameters":[{"name":"boundingBox","declarationFragments":[{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE7replace4withyAcAE8ContentsV_tYaKF","interfaceLanguage":"swift"},"pathComponents":["MeshResource","replace(with:)"],"names":{"title":"replace(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replace the contents of this mesh resource asynchronously."},{"text":""},{"text":"- Note: The contents of the modified mesh resource will not be synced between network clients."},{"text":""}]},"functionSignature":{"parameters":[{"name":"with","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent"],"names":{"title":"PhysicsSimulationComponent","navigator":[{"kind":"identifier","spelling":"PhysicsSimulationComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsSimulationComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that controls localized physics simulations."},{"text":""},{"text":"To use a localized physics simulation add a ``PhysicsSimulationComponent`` to the desired root entity."},{"text":"Use the component to set custom physics simulation properties such as ``gravity`` and ``collisionOptions``"},{"text":"specific to the physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsSimulationComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation15PortalComponentV","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","Joint","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AudioFileGroupResourceC5named4from2inACSS_SSSo8NSBundleCtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["AudioFileGroupResource","init(named:from:in:)"],"names":{"title":"init(named:from:in:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes an audio resource from a Reality Composer Pro project."},{"text":""},{"text":"This method initializes a preconfigured ``AudioFileGroupResource`` from a"},{"text":"scene in a Reality Composer Pro project."},{"text":""},{"text":"- Important: The name provided **must** be unique."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The USD Prim path to the resource in the Reality Composer Pro project to initialize."},{"text":" - scene: The name of the Reality Composer Pro scene to initialize from."},{"text":" - bundle: The bundle that contains the project."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","ranges(of:)"],"names":{"title":"ranges(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the ranges of the all occurrences of a given sequence"},{"text":"within the collection."},{"text":"- Parameter other: The sequence to search for."},{"text":"- Returns: A collection of ranges of all occurrences of `other`. Returns"},{"text":" an empty collection if `other` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC9isPlayingSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","isPlaying"],"names":{"title":"isPlaying","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether playback is currently active."},{"text":""},{"text":"You may experience a small delay between when you call the"},{"text":"``AudioPlaybackController/play()`` method and when the"},{"text":"``AudioPlaybackController/isPlaying`` property reports `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV23clearcoatRoughnessScaleACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","clearcoatRoughnessScale"],"names":{"title":"clearcoatRoughnessScale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughnessScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughnessScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","retry(_:)"],"names":{"title":"retry(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Attempts to recreate a failed subscription with the upstream publisher up to the number of times you specify."},{"text":""},{"text":"Use ``Publisher/retry(_:)`` to try a connecting to an upstream publisher after a failed connection attempt."},{"text":""},{"text":"In the example below, a attempts to connect to a remote URL. If the connection attempt succeeds, it publishes the remote service’s HTML to the downstream publisher and completes normally. Otherwise, the retry operator attempts to reestablish the connection. If after three attempts the publisher still can’t connect to the remote URL, the ``Publisher/catch(_:)`` operator replaces the error with a new publisher that publishes a “connection timed out” HTML page. After the downstream subscriber receives the timed out message, the stream completes normally."},{"text":""},{"text":" struct WebSiteData: Codable {"},{"text":" var rawHTML: String"},{"text":" }"},{"text":""},{"text":" let myURL = URL(string: \"https://www.example.com\")"},{"text":""},{"text":" cancellable = URLSession.shared.dataTaskPublisher(for: myURL!)"},{"text":" .retry(3)"},{"text":" .map({ (page) -> WebSiteData in"},{"text":" return WebSiteData(rawHTML: String(decoding: page.data, as: UTF8.self))"},{"text":" })"},{"text":" .catch { error in"},{"text":" return Just(WebSiteData(rawHTML: \"Unable to load page - timed out.\"))"},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: The HTML content from the remote URL upon a successful connection,"},{"text":" // or returns \"Unable to load page - timed out.\" if the number of retries exceeds the specified value."},{"text":""},{"text":"After exceeding the specified number of retries, the publisher passes the failure to the downstream receiver."},{"text":"- Parameter retries: The number of times to attempt to recreate the subscription."},{"text":"- Returns: A publisher that attempts to recreate its subscription to a failed upstream publisher."}]},"functionSignature":{"parameters":[{"name":"retries","declarationFragments":[{"kind":"identifier","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV3mip12unsafeBuffer6offset4size11bytesPerRowAGSo9MTLBuffer_p_S3itFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Contents","MipmapLevel","mip(unsafeBuffer:offset:size:bytesPerRow:)"],"names":{"title":"mip(unsafeBuffer:offset:size:bytesPerRow:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mip"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"unsafeBuffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLBuffer","preciseIdentifier":"c:objc(pl)MTLBuffer"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bytesPerRow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapLevel","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Specifies a single mipmap level of a texture resource with pixel data copied from a Metal buffer."},{"text":""},{"text":"- Parameters:"},{"text":" - buffer: The source buffer. This buffer must not be modified while being used as the source of a copy operation."},{"text":" - offset: The byte position in the source buffer where the copying starts."},{"text":" The offset must be a multiple of the destination texture's pixel size, in bytes."},{"text":" - size: The number of bytes in the source buffer (starting from `offset`) available for copying."},{"text":" - bytesPerRow: The stride in bytes between rows of texture data stored in the source buffer."},{"text":" The value must be a multiple of the destination texture's pixel size, in bytes."},{"text":""},{"text":"> Important: A ``MipmapLevel`` created with this function and used to create a ``TextureResource``"},{"text":"will copy from the source buffer. That copy occurs when the ``TextureResource`` is initialized. The caller"},{"text":"is responsible for ensuring that the source Metal buffer is not modified while it is being copied to a texture."}]},"functionSignature":{"parameters":[{"name":"unsafeBuffer","internalName":"buffer","declarationFragments":[{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLBuffer","preciseIdentifier":"c:objc(pl)MTLBuffer"}]},{"name":"offset","declarationFragments":[{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"bytesPerRow","declarationFragments":[{"kind":"identifier","spelling":"bytesPerRow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapLevel","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mip"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"unsafeBuffer"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"buffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLBuffer","preciseIdentifier":"c:objc(pl)MTLBuffer"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bytesPerRow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapLevel","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV10intersectsySbACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","intersects(_:)"],"names":{"title":"intersects(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersects"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box intersects the specified bounds."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box intersects the specified"},{"text":"bounds."}]},"functionSignature":{"parameters":[{"name":"boundingBox","declarationFragments":[{"kind":"identifier","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersects"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"boundingBox"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV02avD0So8AVPlayerCSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","avPlayer"],"names":{"title":"avPlayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the avPlayer passed in to init(avPlayer: AVPlayer)"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","TrackingMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV5pitch3yaw4rollACSf_S2ftcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(pitch:yaw:roll:)"],"names":{"title":"init(pitch:yaw:roll:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pitch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"yaw"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"roll"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transform from the specified Euler angles."},{"text":""},{"text":"The rotation order using intrinsic rotation order is defined as:"},{"text":""},{"text":"1. Rotate around y-axis (yaw). 2. Rotate around the body-fixed x-axis"},{"text":"(pitch). 3. Rotate around the body-fixed z-axis (roll)."},{"text":""},{"text":"The rotation order using extrinsic rotation order is defined as:"},{"text":""},{"text":"1. Rotate around the z-axis (roll). 2. Rotate around the world space"},{"text":"x-axis (pitch). 3. Rotate around the world space y-axis (yaw)."},{"text":""},{"text":"- Parameters:"},{"text":" - x: The rotation around the x-axis in radians."},{"text":""},{"text":" - y: The rotation around the y-axis in radians."},{"text":""},{"text":" - z: The rotation around the z-axis in radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pitch"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"yaw"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"roll"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation9TransformV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Transform","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the transform by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AudioFileGroupResourceCyACSayAA0cdF0CGKcfc","interfaceLanguage":"swift"},"pathComponents":["AudioFileGroupResource","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an ``AudioFileGroupResource`` with the given audio file resources."},{"text":""},{"text":"An ``AudioFileGroupResource`` provides a single, random element from its collection of ``AudioFileResource`` objects each time"},{"text":"``AudioPlaybackController/play()`` is called on the ``AudioPlaybackController`` on which it is prepared."},{"text":""},{"text":"- Throws: An error if the provided array is empty or if the underlying audio assets do not have matching channel layouts."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV14clearcoatScaleACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","clearcoatScale"],"names":{"title":"clearcoatScale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","ColorSpace"],"names":{"title":"TextureResource.Format.ColorSpace","navigator":[{"kind":"identifier","spelling":"ColorSpace"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ColorSpace"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A profile that specifies the interpretation of pixel values as a color."},{"text":""},{"text":"The color primaries and white point are specified by this color space, but the transfer function is specified by the pixel format."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ColorSpace"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV11transformed2byACSo13simd_float4x4a_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","transformed(by:)"],"names":{"title":"transformed(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transforms the bounding box and finds the bounds of the result."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform to apply to the box."},{"text":""},{"text":"- Returns: The bounds of the transformed box."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource"],"names":{"title":"EnvironmentResource","navigator":[{"kind":"identifier","spelling":"EnvironmentResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EnvironmentResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An environmental resource that contains background and lighting information for a scene."},{"text":""},{"text":"RealityKit supports image-based lighting that enables realistic reflections on your scene's 3D"},{"text":"content. You can define the look of your scene's background by supplying an environment resource"},{"text":"image that determines the general color of the room and location of any spotlights or shadowed areas"},{"text":"within the reflection. RealityKit applies the image's characteristics to your scene's reflective content."},{"text":""},{"text":"![Two screenshots depicting the process of applying an environment resource image to a reflective surface in a RealityKit scene. The first screenshot defines the"},{"text":"scene's background, which shows a wide angle view of a room with overhead lights. The second screenshot shows a sphere with the image of the room displayed in a"},{"text":"reflection.](EnvironmentResource)"},{"text":""},{"text":"RealityKit checks a bundle for an environment resource by the filename you supply to one of the load functions."},{"text":""},{"text":"### Creating a Skybox Folder"},{"text":""},{"text":"To add an environment resource to your Xcode project, make a folder with a name that ends in `.skybox` and"},{"text":"place a single image inside. The image should be an environment map of equirectangular projection, also"},{"text":"known as latitude-longitude projection. Drag the folder into your Xcode project file navigator. In the options"},{"text":"pane, choose to create a folder reference (not a group), and add the folder to your app's target(s). At build time,"},{"text":"Xcode compiles the image for use as an environment resource and inserts the result into the app bundle."},{"text":""},{"text":"RealityKit supports the same input formats as Image I/O, like `.png` and `.jpg`. However, to achieve rich, vibrant"},{"text":"lighting, use `.exr` or `.hdr` format, which support a wide dynamic range."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EnvironmentResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14birthDirectionAC05BirthG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","birthDirection"],"names":{"title":"birthDirection","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"birthDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthDirection","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The possible initial directions for newly spawned particles, relative to the emitter shape.Defaults to normal."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"birthDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthDirection","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC4playyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","play()"],"names":{"title":"play()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"play"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays the audio resource."},{"text":""},{"text":"The controller plays from the beginning of the resource, or from the"},{"text":"point at which it was paused if you previously called the"},{"text":"``AudioPlaybackController/pause()`` method during playback."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"play"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshJointInfluenceV10jointIndex6weightACSi_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["MeshJointInfluence","init(jointIndex:weight:)"],"names":{"title":"init(jointIndex:weight:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9transform2byySo13simd_float4x4a_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","transform(by:)"],"names":{"title":"transform(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transforms the bounding box."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform to apply to the box."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE12replaceAsync4withAA11LoadRequestCyACGAcAE8ContentsV_tF","interfaceLanguage":"swift"},"pathComponents":["MeshResource","replaceAsync(with:)"],"names":{"title":"replaceAsync(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replace the contents of this mesh resource asynchronously."},{"text":""},{"text":"- Note: The contents of the modified mesh resource will not be synced between network clients."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".replace(with content:) async throws\\\" instead"},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".replace(with content:) async throws\\\" instead"},{"domain":"visionOS","introduced":{"major":1,"minor":0},"deprecated":{"major":1,"minor":0},"message":"Use \\\".replace(with content:) async throws\\\" instead"},{"domain":"iOS","introduced":{"major":15,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".replace(with content:) async throws\\\" instead"}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV02avD0ACSo8AVPlayerC_tcfc","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","init(avPlayer:)"],"names":{"title":"init(avPlayer:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates and initializes a video player component for a given AVPlayer object"},{"text":"- Note: Same AVPlayer object can not be used with more than one VideoPlayerComponent"},{"text":""},{"text":"To create a VideoPlayerComponent properly, first create an"},{"text":""},{"text":"instance with no parameters then pass that to this initializer. After creating VideoPlayerComponent, create"},{"text":"AVPlayerItem and add it to the AVPlayer object. The"},{"text":"following code demonstrates this process."},{"text":""},{"text":"```swift"},{"text":"// Create an AVPlayer instance to control playback of a movie."},{"text":"let player = AVPlayer()"},{"text":""},{"text":"// Create an entity for display"},{"text":"let videoEntity = Entity()"},{"text":""},{"text":"// Create a VideoPlayerComponent object supplying the AVPlayer object"},{"text":"let videoPlayerComponent = VideoPlayerComponent(player: player)"},{"text":"videoEntity.components[VideoPlayerComponent.self] = videoPlayerComponent"},{"text":""},{"text":"// Create an URL that points to the movie file."},{"text":"if let url = Bundle.main.url(forResource: \"MyMovie\", withExtension: \"mp4\") {"},{"text":""},{"text":" let playerItem = AVPlayerItem(url: url)"},{"text":""},{"text":" playerItem.addObserver(self, forKeyPath: #keyPath(AVPlayerItem.status),"},{"text":" options: [.old, .new], context: &self.playerStatusContext)"},{"text":""},{"text":" player.replaceCurrentItem(with: playerItem)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- avPlayer: An"},{"text":""},{"text":"instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``AnimationDefinition/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC5pauseyyF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","pause()"],"names":{"title":"pause()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Pauses playback of the audio resource while maintaining the position in"},{"text":"the audio stream."},{"text":""},{"text":"Resume playback of a paused audio resource by calling the"},{"text":"``AudioPlaybackController/play()`` method."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV9sheenTintACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","sheenTint"],"names":{"title":"sheenTint","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sheenTint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a SIMD4 type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sheenTint"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until the"},{"text":"``SampledAnimation/end`` frame interval. If you set a value, the"},{"text":"animation subtracts an additional seconds duration from the animation"},{"text":"data that the ``SampledAnimation/end`` frame interval references."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV6matrixACSo13simd_float4x4a_tcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(matrix:)"],"names":{"title":"init(matrix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transform represented as a 4x4 matrix."},{"text":""},{"text":"A ``RealityKit/Transform`` component can’t represent every transform that a"},{"text":"general 4x4 matrix can . Using a 4x4 matrix during"},{"text":"initialization might result in certain transformations, such as shear, being lost."},{"text":""},{"text":"- Parameters:"},{"text":" - matrix: A transformation matrix."},{"text":" "}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"matrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC10loadAnchor10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchor(contentsOf:withName:)"],"names":{"title":"loadAnchor(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an anchor entity from a file URL."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as an"},{"text":"``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE10contentsOf8withNameAC0B03URLV_SSSgtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","init(contentsOf:withName:)"],"names":{"title":"init(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshJointInfluenceV10jointIndexSivp","interfaceLanguage":"swift"},"pathComponents":["MeshJointInfluence","jointIndex"],"names":{"title":"jointIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV10continuousAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","TrackingMode","continuous"],"names":{"title":"continuous","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"continuous"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"`continuous` means the `AnchorEntity` will track the `Anchoring.Target` and update the transform continuously"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"continuous"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5unionyACs5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box containing the current bounds and the specified"},{"text":"point."},{"text":""},{"text":"- Parameters:"},{"text":" - point: A point in space."},{"text":""},{"text":"- Returns: The new bounding box."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryContains(where:)"],"names":{"title":"tryContains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the throwing predicate closure."},{"text":""},{"text":"Use ``Publisher/tryContains(where:)`` to find the first element in an upstream that satisfies the error-throwing closure you provide."},{"text":""},{"text":"This operator consumes elements produced from the upstream publisher until the upstream publisher either:"},{"text":""},{"text":"- Produces a matching element, after which it emits `true` and the publisher finishes normally."},{"text":"- Emits `false` if no matching element is found and the publisher finishes normally."},{"text":""},{"text":"If the predicate throws an error, the publisher fails, passing the error to its downstream."},{"text":""},{"text":"In the example below, the ``Publisher/tryContains(where:)`` operator tests values to find an element less than `10`; when the closure finds an odd number, like `3`, the publisher terminates with an `IllegalValueError`."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers = [3, 2, 10, 5, 0, 9]"},{"text":" numbers.publisher"},{"text":" .tryContains {"},{"text":" if ($0 % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return $0 < 10"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8generate4fromA2cAE8ContentsV_tKFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generate(from:)"],"names":{"title":"generate(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from contents."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AudioFileGroupResourceC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioFileGroupResource","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Contents","MipmapLevel"],"names":{"title":"TextureResource.Contents.MipmapLevel","navigator":[{"kind":"identifier","spelling":"MipmapLevel"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MipmapLevel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object which references the pixel data for a single mipmap of a texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MipmapLevel"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from six other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers; it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubE, pubG)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 2 50 100 -2 33 33 54\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation24GroundingShadowComponentV","interfaceLanguage":"swift"},"pathComponents":["GroundingShadowComponent"],"names":{"title":"GroundingShadowComponent","navigator":[{"kind":"identifier","spelling":"GroundingShadowComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"GroundingShadowComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"GroundingShadowComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV13specularScaleACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","specularScale"],"names":{"title":"specularScale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specularScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specularScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE8ContentsV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Contents"],"names":{"title":"TextureResource.Contents","navigator":[{"kind":"identifier","spelling":"Contents"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object which references the pixel data for each mipmap level of a texture."},{"text":""},{"text":"Mipmaps are progressively smaller versions of the same texture image. Each level is half the size of the"},{"text":"previous level, with a minimum size of 1 pixel in each dimension."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contents"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV06screenC9Dimensions5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","screenVideoDimension"],"names":{"title":"screenVideoDimension","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"screenVideoDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The current screen video dimension"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"screenVideoDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional image texture for defining the property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode","navigator":[{"kind":"identifier","spelling":"VisualizationMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VisualizationMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that specifies the portion of the rendering process to isolate"},{"text":"and display for debugging."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VisualizationMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position immediately after the given index. (See `Collection.index`.)"}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9formUnionyys5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Expands the bounding box to contain the specified point."},{"text":""},{"text":"- Parameters:"},{"text":" - point: A point in space."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22AudioFileGroupResourceC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioFileGroupResource","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4fromA2cAE8ContentsV_tYaKcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initialize a mesh resource from contents asynchronously."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","breakpointOnError()"],"names":{"title":"breakpointOnError()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal upon receiving a failure."},{"text":""},{"text":"When the upstream publisher fails with an error, this publisher raises the `SIGTRAP` signal, which stops the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In this example a ``PassthroughSubject`` publishes strings, but its downstream ``Publisher/tryMap(_:)`` operator throws an error. This sends the error downstream as a ``Subscribers/Completion/failure(_:)``. The ``Publisher/breakpointOnError()`` operator receives this completion and stops the app in the debugger."},{"text":""},{"text":" struct CustomError : Error {}"},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .tryMap { stringValue in"},{"text":" throw CustomError()"},{"text":" }"},{"text":" .breakpointOnError()"},{"text":" .sink("},{"text":" receiveCompletion: { completion in print(\"Completion: \\(String(describing: completion))\") },"},{"text":" receiveValue: { aValue in print(\"Result: \\(String(describing: aValue))\") }"},{"text":" )"},{"text":""},{"text":" publisher.send(\"TEST DATA\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Returns: A publisher that raises a debugger signal upon receiving a failure."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent"],"names":{"title":"VideoPlayerComponent","navigator":[{"kind":"identifier","spelling":"VideoPlayerComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlayerComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlayerComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV4onceAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","TrackingMode","once"],"names":{"title":"once","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"once"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"`once` means the `AnchorEntity` transform will be computed only once when `AnchorEntity` is anchored"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"once"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV27isPassthroughTintingEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","isPassthroughTintingEnabled"],"names":{"title":"isPassthroughTintingEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPassthroughTintingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPassthroughTintingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation"],"names":{"title":"OrbitAnimation","navigator":[{"kind":"identifier","spelling":"OrbitAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrbitAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that revolves an entity around its origin."},{"text":""},{"text":"This class moves an entity in a circular path by gradually adjusting its"},{"text":"local transform. The animation sets the entity's initial position with"},{"text":"``OrbitAnimation/startTransform`` and rotates it around the point `(0,` `0,`"},{"text":"`0)`. The ``OrbitAnimation/axis`` specifies which cartesian axis around"},{"text":"which to rotate. The full orbit completes after ``OrbitAnimation/duration``"},{"text":"lapses."},{"text":""},{"text":"If the target entity contains child entities, the target entity orbits the"},{"text":"children."},{"text":""},{"text":"## Revolve an Entity Around its Origin"},{"text":""},{"text":"The following code turns a model in a half circle, orbiting around the"},{"text":"x-axis for `5` seconds."},{"text":""},{"text":"```swift"},{"text":"let orbit = OrbitAnimation(name: \"orbit\","},{"text":" duration: 10.0,"},{"text":" axis: SIMD3(x: 1.0, y: 0.0, z: 0.0),"},{"text":" startTransform: Transform(scale: simd_float3(10,10,10),"},{"text":" rotation: simd_quatf(ix: 10, iy: 20, iz: 20, r: 100),"},{"text":" translation: simd_float3(11, 2, 3)),"},{"text":" spinClockwise: false,"},{"text":" orientToPath: true,"},{"text":" rotationCount: 100.0,"},{"text":" bindTarget: nil)"},{"text":""},{"text":"// Create an animation clip for just the second half of the orbit."},{"text":"let trimmed = orbit.trimmed(start: 5.0, end: 10.0)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OrbitAnimation"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22CollisionCastQueryTypeO","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15loadAnchorAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchorAsync(named:in:)"],"names":{"title":"loadAnchorAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an anchor entity from a file in a bundle asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as an ``AnchorEntity``."},{"text":""}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchorAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"AnchorEntity.init","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV5unionyA2CF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box containing the current bounds and the specified"},{"text":"bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another bounding box."},{"text":""},{"text":"- Returns: The new bounding box."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV10shouldLoopSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","shouldLoop"],"names":{"title":"shouldLoop","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"],"names":{"title":"breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal when a provided closure needs to stop the process in the debugger."},{"text":""},{"text":"Use ``Publisher/breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)`` to examine one or more stages of the subscribe/publish/completion process and stop in the debugger, based on conditions you specify. When any of the provided closures returns `true`, this operator raises the `SIGTRAP` signal to stop the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes strings to a breakpoint republisher. When the breakpoint receives the string “`DEBUGGER`”, it returns `true`, which stops the app in the debugger."},{"text":""},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .breakpoint("},{"text":" receiveOutput: { value in return value == \"DEBUGGER\" }"},{"text":" )"},{"text":" .sink { print(\"\\(String(describing: $0))\" , terminator: \" \") }"},{"text":""},{"text":" publisher.send(\"DEBUGGER\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: A closure that executes when the publisher receives a subscription. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveOutput: A closure that executes when the publisher receives a value. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveCompletion: A closure that executes when the publisher receives a completion. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":"- Returns: A publisher that raises a debugger signal when one of the provided closures returns `true`."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV13metallicScaleACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","metallicScale"],"names":{"title":"metallicScale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallicScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallicScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13birthLocationAC05BirthG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","birthLocation"],"names":{"title":"birthLocation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"birthLocation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthLocation","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The possible locations for newly spawned particles, relative to the emitter shape. Defaults to surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"birthLocation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthLocation","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O30sessionProtocolVersionMismatchyA2EmF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","sessionProtocolVersionMismatch"],"names":{"title":"NetworkCompatibilityToken.Compatibility.sessionProtocolVersionMismatch","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sessionProtocolVersionMismatch"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An indication that two peers running incompatible versions of"},{"text":"RealityKit can’t sync."},{"text":""},{"text":"The ``NetworkCompatibilityToken/compatibilityWith(_:)`` method"},{"text":"returns this value when two devices have different OS versions and"},{"text":"there has been a significant change in networking protocol between"},{"text":"those releases."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sessionProtocolVersionMismatch"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20AnimationHandoffTypeV","interfaceLanguage":"swift"},"pathComponents":["AnimationHandoffType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the predicate closure."},{"text":""},{"text":"Use ``Publisher/contains(where:)`` to find the first element in an upstream that satisfies the closure you provide. This operator consumes elements produced from the upstream publisher until the upstream publisher produces a matching element."},{"text":""},{"text":"This operator is useful when the upstream publisher produces elements that don’t conform to `Equatable`."},{"text":""},{"text":"In the example below, the ``Publisher/contains(where:)`` operator tests elements against the supplied closure and emits `true` for the first elements that’s greater than `4`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains {$0 > 4}"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO10IdentifierV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AudioFileGroupResourceC9resourcesSayAA0cdF0CGvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileGroupResource","resources"],"names":{"title":"resources","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The `AudioFileResource` objects which comprise this `AudioFileGroupResource`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9formUnionyyACF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Expands the bounding box to contain the specified bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another bounding box."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O10compatibleyA2EmF","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","compatible"],"names":{"title":"NetworkCompatibilityToken.Compatibility.compatible","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatible"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An indication that the compared devices are running compatible"},{"text":"versions of RealityKit."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compatible"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","TrackingMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformVACycfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a transform with the values of the identity transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"NetworkCompatibilityToken","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compatibility","preciseIdentifier":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","mapError(_:)"],"names":{"title":"mapError(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Converts any failure from the upstream publisher into a new error."},{"text":""},{"text":"Use the ``Publisher/mapError(_:)`` operator when you need to replace one error type with another, or where a downstream operator needs the error types of its inputs to match."},{"text":""},{"text":"The following example uses a ``Publisher/tryMap(_:)`` operator to divide `1` by each element produced by a sequence publisher. When the publisher produces a `0`, the ``Publisher/tryMap(_:)`` fails with a"},{"text":"`DivisionByZeroError`. The ``Publisher/mapError(_:)`` operator converts this into a `MyGenericError`."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" struct MyGenericError: Error { var wrappedError: Error }"},{"text":""},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" let divisors: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" divisors.publisher"},{"text":" .tryMap { try myDivide(1, $0) }"},{"text":" .mapError { MyGenericError(wrappedError: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") ,"},{"text":" receiveValue: { print (\"value: \\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0.2 0.25 0.3333333333333333 0.5 1.0 completion: failure(MyGenericError(wrappedError: DivisionByZeroError()))\""},{"text":""},{"text":"- Parameter transform: A closure that takes the upstream failure as a parameter and returns a new error for the publisher to terminate with."},{"text":"- Returns: A publisher that replaces any upstream failure with a new error produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationDefinition/trimStart`` instead and choose a"},{"text":"``AnimationDefinition/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV8containsySbs5SIMD3VySfGF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Checks whether the bounding box contains the specified point."},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the box contains the specified"},{"text":"point."}]},"functionSignature":{"parameters":[{"name":"point","declarationFragments":[{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation from the"},{"text":"starting frame defined by ``SampledAnimation/start``."},{"text":""},{"text":"If you set a value for this property, the animation visually begins from"},{"text":"an additional seconds offset from the starting frame and decreases the"},{"text":"duration by that amount."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``SampledAnimation/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC8durations8DurationVvp","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Duration","preciseIdentifier":"s:s8DurationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The duration of this `AudioBufferResource`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Duration","preciseIdentifier":"s:s8DurationV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV14roughnessScaleACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath","roughnessScale"],"names":{"title":"roughnessScale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughnessScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughnessScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","TrackingMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual representation of this instance. (See `CustomStringConvertible`.)"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformV5scale8rotation11translationACs5SIMD3VySfG_So10simd_quatfaAItcfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(scale:rotation:translation:)"],"names":{"title":"init(scale:rotation:translation:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new transformation using the given values."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A scale factor."},{"text":""},{"text":" - rotation: The rotation given as a unit quaternion."},{"text":""},{"text":"- translation: The translation, or position along the x, y, and z axes."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 1, y: 1, z: 1), "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" = simd_quaternion(0, 0, 0, 1), "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 0, y: 0, z: 0))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshJointInfluenceV6weightSfvp","interfaceLanguage":"swift"},"pathComponents":["MeshJointInfluence","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC10loadAnchor5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAnchor(named:in:)"],"names":{"title":"loadAnchor(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an anchor entity from a file in a bundle."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as an"},{"text":"``AnchorEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAnchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnchorEntity","preciseIdentifier":"s:17RealityFoundation12AnchorEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator"],"names":{"title":"MeshInstanceCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV6shapes7density8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(shapes:density:material:mode:)"],"names":{"title":"init(shapes:density:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component deriving mass properties from shape and"},{"text":"density."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The shape for which to estimate the mass, rotational inertia,"},{"text":"and center of mass."},{"text":""},{"text":" - density: The density of the object in kilograms per cubic meter."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":" - mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","ArrayLiteralElement"],"names":{"title":"AnimationFillMode.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy level object using a single value or a"},{"text":"texture."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity"},{"text":"that uses ``PhysicallyBasedMaterial`` reflects light uniformly in"},{"text":"all directions, mimicking the behavior of most real-world objects."},{"text":"Some objects, including those with many small parallel striations"},{"text":"such as vinyl records, CDs, or straight hair, reflect light more in"},{"text":"some directions than others, resulting in stretched or oblong"},{"text":"specular highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row."},{"text":"The left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-AnisotropyLevel-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"Use this initializer to create an object to set the"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` for a"},{"text":"material using either a single value for the entire material, or a"},{"text":"UV-mapped image. If you specify `texture`, RealityKit calculates the"},{"text":"anistotropy level for the entity by UV-mapping `texture` onto the"},{"text":"entity and multiplying the value of each mapped pixel by `scale`. If"},{"text":"you don’t specify `texture`, then RealityKit uses `scale` as the"},{"text":"entire entity’s anisotropy level. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The anisotropy level value for the entire material."},{"text":""},{"text":" - texture: The anisotropy level values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent"],"names":{"title":"ParticleEmitterComponent","navigator":[{"kind":"identifier","spelling":"ParticleEmitterComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParticleEmitterComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParticleEmitterComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV07nearestD6Entity3forAA0G0CSgAG_tFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","nearestSimulationEntity(for:)"],"names":{"title":"nearestSimulationEntity(for:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nearestSimulationEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Obtains the entity containing the physics simulation origin."},{"text":""},{"text":"The simulation origin is the nearest parent object where a ``PhysicsSimulationComponent``"},{"text":"exists, or the root entity (normally the anchor) where the default simulation is embedded."},{"text":""},{"text":" - Parameters:"},{"text":" - for: Entity to find the physics simulation origin for."},{"text":""},{"text":" - Returns:The entity containing the physics simulation origin or `nil` if the entity doesn't have a parent object in the scene."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nearestSimulationEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder, when the"},{"text":"type's `RawValue` is `String`."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Decodable","rhsPrecise":"s:Se"},{"kind":"sameType","lhs":"Self.RawValue","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Decodable","rhsPrecise":"s:Se"},{"kind":"sameType","lhs":"Self.RawValue","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Texture"],"names":{"title":"PhysicallyBasedMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture type to use for materials of this class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator","Element"],"names":{"title":"MeshPartCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE8ContentsV12mipmapLevelsAESayAE11MipmapLevelVG_tcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Contents","init(mipmapLevels:)"],"names":{"title":"init(mipmapLevels:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mipmapLevels"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapLevel","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a texture contents object from an array of mipmaps."},{"text":""},{"text":"- Parameters:"},{"text":" - mipmapLevels: Pixel data for each mipmap level, starting with mipmap level 0."},{"text":" At least one mipmap level must be supplied."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mipmapLevels"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapLevel","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity"],"names":{"title":"ModelEntity","navigator":[{"kind":"identifier","spelling":"ModelEntity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a physical object that RealityKit renders and optionally"},{"text":"simulates."},{"text":""},{"text":"Use one or more model entities to place physical objects in a scene. In"},{"text":"addition to the components they inherit from the ``Entity`` class, model"},{"text":"entities have geometry, described by their ``ModelComponent``. Model"},{"text":"entities acquire the model component by conforming to the ``HasModel``"},{"text":"protocol. You specify meshes and materials to control how a model entity"},{"text":"appears."},{"text":""},{"text":"![Diagram showing the components present in the model"},{"text":"entity.](ModelEntity-1)"},{"text":""},{"text":"Models respond to physics simulations because they conform to the"},{"text":"``HasPhysics`` protocol. You give them mass and other physical properties"},{"text":"with a ``PhysicsBodyComponent`` instance, and then apply forces or impulses."},{"text":"The simulator uses a ``PhysicsMotionComponent`` to manage the linear and"},{"text":"angular velocity of the object. Alternatively, you can selectively"},{"text":"circumvent the simulation to control position and velocity yourself. Do this"},{"text":"for a given model by setting its physics body ``PhysicsBodyComponent/mode``"},{"text":"to ``PhysicsBodyMode/kinematic``."},{"text":""},{"text":"Models can also collide with one another, and with other entities that"},{"text":"conform to the ``HasCollision`` protocol. The ``CollisionComponent``"},{"text":"provides parameters that let you manage which models collide with each"},{"text":"other. It also lets you control the collision shape, which for performance"},{"text":"reasons, is typically simpler than the visual geometry."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","ViewingMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC13drawableQueueAC0eG0Cvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","drawableQueue"],"names":{"title":"drawableQueue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The DrawableQueue that this Drawable is owned by"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV7gravitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","gravity"],"names":{"title":"gravity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gravity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The gravity for the simulation relative to the simulation entity."},{"text":""},{"text":"The value stored in this property is the gravitational acceleration applied to dynamic physics body entities every frame along the negative world Y axis."},{"text":"The default value is `-9.81` meters per second squared."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gravity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","measureInterval(using:options:)"],"names":{"title":"measureInterval(using:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Measures and emits the time interval between events received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/measureInterval(using:options:)`` to measure the time between events delivered from an upstream publisher."},{"text":""},{"text":"In the example below, a 1-second is used as the data source for an event publisher; the ``Publisher/measureInterval(using:options:)`` operator reports the elapsed time between the reception of events on the main run loop:"},{"text":""},{"text":" cancellable = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .measureInterval(using: RunLoop.main)"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Stride(magnitude: 1.0013610124588013)"},{"text":" // Stride(magnitude: 0.9992760419845581)"},{"text":""},{"text":"The output type of the returned publisher is the time interval of the provided scheduler."},{"text":""},{"text":"This operator uses the provided scheduler’s ``Scheduler/now`` property to measure intervals between events."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: A scheduler to use for tracking the timing of events."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher that emits elements representing the time interval between the elements it receives."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV9tweenModeAA05TweenF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","tweenMode"],"names":{"title":"tweenMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how animation frames transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the parts."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueAESgSS_tcfc","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","ViewingMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC4load5named2inACSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","load(named:in:)"],"names":{"title":"load(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an environment resource from a bundle."},{"text":""},{"text":"If your image file is at the path `Foo.skybox/Bar.exr` in your Xcode project,"},{"text":"use `Bar` for the name parameter."},{"text":""},{"text":"To add an environment resource to your Xcode project, see ``realitykit/environmentresource``."},{"text":""},{"text":"> Important: This function blocks the calling thread while RealityKit loads the requested resource."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The image name without the file extension."},{"text":" - bundle: The bundle to search for the resource. Use `nil` to indicate the app’s bundle."},{"text":""},{"text":"- Returns: The environment resource loaded from the specified bundle."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8RawValuea","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","RawValue"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO6stereoyA2EmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","ViewingMode","stereo"],"names":{"title":"VideoPlaybackController.ViewingMode.stereo","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stereo"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Only play in monoscopic."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stereo"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC6buffer13configurationACSo07AVAudioD0C_AC13ConfigurationVtKcfc","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","init(buffer:configuration:)"],"names":{"title":"init(buffer:configuration:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"buffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVAudioBuffer","preciseIdentifier":"c:objc(cs)AVAudioBuffer"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an `AudioBufferResource` with the given `AVAudioBuffer` and configuration."},{"text":""},{"text":"- Throws: An error if the given `buffer` is not or cannot be converted to a non-interleaved PCM buffer."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"buffer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVAudioBuffer","preciseIdentifier":"c:objc(cs)AVAudioBuffer"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioBufferResource","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"text","spelling":" = .init()) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape"],"names":{"title":"ParticleEmitterComponent.EmitterShape","navigator":[{"kind":"identifier","spelling":"EmitterShape"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmitterShape"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for the shape of an emitter, used by the emitterShape property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmitterShape"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO4monoyA2EmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","ViewingMode","mono"],"names":{"title":"VideoPlaybackController.ViewingMode.mono","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mono"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mono"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Element"],"names":{"title":"MeshInstanceCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation"],"names":{"title":"ParticleEmitterComponent.BirthLocation","navigator":[{"kind":"identifier","spelling":"BirthLocation"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BirthLocation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for the location on the shape of where particles are born, used by the birthLocation property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BirthLocation"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance"],"names":{"title":"MeshResource.Instance","navigator":[{"kind":"identifier","spelling":"Instance"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Instance"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that transforms a model to a location."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Instance"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semantic11mipmapsModeAeC8SemanticOSg_AC07MipmapsI0Otcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","init(semantic:mipmapsMode:)"],"names":{"title":"init(semantic:mipmapsMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new texture creation options structure."},{"text":""},{"text":"The `semantic` value you pass tells RealityKit how you plan to use the texture data from this resource. For example, passing"},{"text":" ``RealityKit/TextureResource/Semantic-swift.enum/color`` lets RealityKit know you're"},{"text":" using the texture to pass perceptual color information to the shaders, such as for providing a UV-mapped base color for physically"},{"text":" based rendering materials. Passing ``RealityKit/TextureResource/Semantic-swift.enum/raw`` tells RealityKit to pass the pixel"},{"text":" values with as little processing as possible."},{"text":""},{"text":"If semantic is `nil`, RealityKit tries to infer a semantic from the texture's source data. If it's unable to determine a semantic from the texture source"},{"text":" data, it will infer a semantic from the texture's usage. Providing a value for `semantic` ensures that RealityKit passes the texture resource exactly as you intend."},{"text":""},{"text":"- Note: RealityKit only takes embedded color space data into account when rendering a texture if you pass"},{"text":" ``RealityKit/TextureResource/Semantic-swift.enum/color`` for `semantic`."},{"text":""},{"text":"- Parameters:"},{"text":" - semantic: The intended use of the texture resource."},{"text":""},{"text":" - mipmapsMode: Whether to automatically allocate or generate mipmaps."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":" = .allocateAndGenerateAll)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","ViewingMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryRemoveDuplicates(by:)"],"names":{"title":"tryRemoveDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryRemoveDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of elements using an error-throwing closure you provide. If your closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, the closure provided to ``Publisher/tryRemoveDuplicates(by:)`` returns `true` when two consecutive elements are equal, thereby filtering out `0`,"},{"text":"`1`, `2`, and `3`. However, the closure throws an error when it encounters `4`. The publisher then terminates with this error."},{"text":""},{"text":" struct BadValuesError: Error {}"},{"text":" let numbers = [0, 0, 0, 0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryRemoveDuplicates { first, second -> Bool in"},{"text":" if (first == 4 && second == 4) {"},{"text":" throw BadValuesError()"},{"text":" }"},{"text":" return first == second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 failure(BadValuesError()\""},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first. If this closure throws an error, the publisher terminates with the thrown error."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","Element"],"names":{"title":"AnimationFillMode.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange"],"names":{"title":"ComponentEvents.DidChange","navigator":[{"kind":"identifier","spelling":"DidChange"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidChange"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been modified."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidChange"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","none"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that doesn’t display a visualization."},{"text":""},{"text":"A ``ModelDebugOptionsComponent`` with a `VisualizationNode` of"},{"text":"`none` has no effect on how RealityKit renders its entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryPrefix(while:)"],"names":{"title":"tryPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while an error-throwing predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/tryPrefix(while:)`` to emit values from the upstream publisher that meet a condition you specify in an error-throwing closure."},{"text":"The publisher finishes when the closure returns `false`. If the closure throws an error, the publisher fails with that error."},{"text":""},{"text":" struct OutOfRangeError: Error {}"},{"text":""},{"text":" let numbers = (0...10).reversed()"},{"text":" cancellable = numbers.publisher"},{"text":" .tryPrefix {"},{"text":" guard $0 != 0 else {throw OutOfRangeError()}"},{"text":" return $0 <= numbers.max()!"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"10 9 8 7 6 5 4 3 2 1 completion: failure(OutOfRangeError()) \""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value indicating whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate throws or indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC14loadModelAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModelAsync(contentsOf:withName:)"],"names":{"title":"loadModelAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a model entity from a file URL asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as a ``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"ModelEntity.init","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueSSvp","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","loadAsync(named:in:)"],"names":{"title":"loadAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an environment resource from a bundle asynchronously."},{"text":""},{"text":"If your image file is at the path `Foo.skybox/Bar.exr` in your Xcode project, use"},{"text":"`Bar` for the name parameter. This function must be called with the `async` keyword from an asynchronous context,"},{"text":" such as from within a doc://com.apple.documentation/documentation/swift/task> closure."},{"text":""},{"text":"To add an environment resource to your Xcode project, see ``realitykit/environmentresource``."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The image name without the file extension."},{"text":" - bundle: The bundle to search for the resource. Use `nil` to indicate the app’s bundle."},{"text":""},{"text":"- Returns: The environment resource loaded from the specified bundle."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use try await EnvironmentResource(named:… in:…) instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP","interfaceLanguage":"swift"},"pathComponents":["EntityCollection"],"names":{"title":"EntityCollection","navigator":[{"kind":"identifier","spelling":"EntityCollection"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityCollection"}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityCollection"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove"],"names":{"title":"ComponentEvents.WillRemove","navigator":[{"kind":"identifier","spelling":"WillRemove"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemove"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised before a component is removed from an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemove"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":""},{"text":" let s = \"Swift\""},{"text":" let i = s.index(s.startIndex, offsetBy: 4)"},{"text":" print(s[i])"},{"text":" // Prints \"t\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":"- Returns: An index offset by `distance` from the index `i`. If"},{"text":" `distance` is positive, this is the same value as the result of"},{"text":" `distance` calls to `index(after:)`. If `distance` is negative, this"},{"text":" is the same value as the result of `abs(distance)` calls to"},{"text":" `index(before:)`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV11mipmapsModeAC07MipmapsH0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Whether the texture resource automatically generates mipmaps."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor"],"names":{"title":"PhysicallyBasedMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines an entity’s base color."},{"text":""},{"text":"Use this struct to specify an entity’s base color, which defines the"},{"text":"entity’s appearance before RealityKit calculates the effect of lighting"},{"text":"or material properties such as"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` or"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. For more"},{"text":"information, see ``PhysicallyBasedMaterial/baseColor-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation21HasSceneUnderstandingP","interfaceLanguage":"swift"},"pathComponents":["HasSceneUnderstanding"],"names":{"title":"HasSceneUnderstanding","navigator":[{"kind":"identifier","spelling":"HasSceneUnderstanding"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSceneUnderstanding"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A specification that detects and reacts to features of the physical"},{"text":"environment."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSceneUnderstanding"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22AudioFileGroupResourceC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileGroupResource","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy angle specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshJointInfluenceVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshJointInfluence","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation20AnimationHandoffTypeV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationHandoffType","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides the default behavior."},{"text":""},{"text":"If the `layerId` in the `playAnimation()` call is a non-zero value, the default behavior is a ``compose`` handoff ."},{"text":"If the `layerId` is `0,` then the default behavior is a `snapshotAndReplace(applyToAllLayers: true)` handoff."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21HasSceneUnderstandingPAAE05sceneE0AA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasSceneUnderstanding","sceneUnderstanding"],"names":{"title":"sceneUnderstanding","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entity component that detects and reacts to features of the physical"},{"text":"environment."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10repeatModeAA0d6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``SampledAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``SampledAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","BaseColor"],"names":{"title":"SimpleMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent base color."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","setFailureType(to:)"],"names":{"title":"setFailureType(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setFailureType"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Changes the failure type declared by the upstream publisher."},{"text":""},{"text":"Use ``Publisher/setFailureType(to:)`` when you need set the error type of a publisher that cannot fail."},{"text":""},{"text":"Conversely, if the upstream can fail, you would use ``Publisher/mapError(_:)`` to provide instructions on converting the error types to needed by the downstream publisher’s inputs."},{"text":""},{"text":"The following example has two publishers with mismatched error types: `pub1`’s error type is , and `pub2`’s error type is . Because of the mismatch, the ``Publisher/combineLatest(_:)`` operator requires that `pub1` use ``Publisher/setFailureType(to:)`` to make it appear that `pub1` can produce the type, like `pub2` can."},{"text":""},{"text":" let pub1 = [0, 1, 2, 3, 4, 5].publisher"},{"text":" let pub2 = CurrentValueSubject(0)"},{"text":" let cancellable = pub1"},{"text":" .setFailureType(to: Error.self)"},{"text":" .combineLatest(pub2)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completed: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\")}"},{"text":" )"},{"text":""},{"text":" // Prints: \"value: (5, 0)\"."},{"text":""},{"text":"- Parameter failureType: The `Failure` type presented by this publisher."},{"text":"- Returns: A publisher that appears to send the specified failure type."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"failureType","declarationFragments":[{"kind":"identifier","spelling":"failureType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setFailureType"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"failureType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two dependencies are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first dependency to compare."},{"text":""},{"text":" - rhs: The second dependency to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two dependencies are"},{"text":"equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO5afteryAcA0C0_pXpcACmF","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","after(_:)"],"names":{"title":"SystemDependency.after(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"after"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An update order that requests RealityKit update this system after it"},{"text":"updates another specified system."},{"text":""},{"text":"- Parameters:"},{"text":" - System: A system that this system updates after."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"after"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO11ElementTypeO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadModel10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModel(contentsOf:withName:)"],"names":{"title":"loadModel(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading a model entity from a file URL."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":""},{"text":"- resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as a"},{"text":"``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation9TransformVAAEyACSo19SPAffineTransform3Dacfc","interfaceLanguage":"swift"},"pathComponents":["Transform","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AffineTransform3D","preciseIdentifier":"c:@SA@SPAffineTransform3D"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AffineTransform3D","preciseIdentifier":"c:@SA@SPAffineTransform3D"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation20AnimationHandoffTypeV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationHandoffType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semanticAC8SemanticOSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions","semantic"],"names":{"title":"semantic","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","throttle(for:scheduler:latest:)"],"names":{"title":"throttle(for:scheduler:latest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes either the most-recent or first element published by the upstream publisher in the specified time interval."},{"text":""},{"text":"Use ``Publisher/throttle(for:scheduler:latest:)`` to selectively republish elements from an upstream publisher during an interval you specify. Other elements received from the upstream in the throttling interval aren’t republished."},{"text":""},{"text":"In the example below, a produces elements on one-second intervals; the ``Publisher/throttle(for:scheduler:latest:)`` operator delivers the first event, then republishes only the latest event in the following ten second intervals:"},{"text":""},{"text":" cancellable = Timer.publish(every: 3.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .print(\"\\(Date().description)\")"},{"text":" .throttle(for: 10.0, scheduler: RunLoop.main, latest: true)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print(\"Received Timestamp \\($0).\") }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:26:57 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:26:57 +0000."},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:00 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:03 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:06 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:09 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:27:09 +0000."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The interval at which to find and emit either the most recent or the first element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to publish elements."},{"text":" - latest: A Boolean value that indicates whether to publish the most recent element. If `false`, the publisher emits the first element received during the interval."},{"text":"- Returns: A publisher that emits either the most-recent or first element received during the specified interval."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"latest","declarationFragments":[{"kind":"identifier","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index,"},{"text":"unless that distance is beyond a given limiting index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":"The operation doesn't require going beyond the limiting `s.endIndex`"},{"text":"value, so it succeeds."},{"text":""},{"text":" let s = \"Swift\""},{"text":" if let i = s.index(s.startIndex, offsetBy: 4, limitedBy: s.endIndex) {"},{"text":" print(s[i])"},{"text":" }"},{"text":" // Prints \"t\""},{"text":""},{"text":"The next example attempts to retrieve an index six positions from"},{"text":"`s.startIndex` but fails, because that distance is beyond the index"},{"text":"passed as `limit`."},{"text":""},{"text":" let j = s.index(s.startIndex, offsetBy: 6, limitedBy: s.endIndex)"},{"text":" print(j)"},{"text":" // Prints \"nil\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: An index offset by `distance` from the index `i`, unless that"},{"text":" index would be beyond `limit` in the direction of movement. In that"},{"text":" case, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Dimensions2D"],"names":{"title":"TextureResource.Dimensions2D","navigator":[{"kind":"identifier","spelling":"Dimensions2D"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Dimensions2D"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Specifies the width and height of a texture."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Dimensions2D"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyLevel.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","ArrayLiteralElement"],"names":{"title":"MeshInstanceCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV14massProperties8material4modeAcA0c4MassG0V_AA0C16MaterialResourceCSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(massProperties:material:mode:)"],"names":{"title":"init(massProperties:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component with the given mass properties,"},{"text":"material, and mode."},{"text":""},{"text":"- Parameters:"},{"text":" - massProperties: The mass properties, like inertia."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":"- mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":" = .default, "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO6beforeyAcA0C0_pXpcACmF","interfaceLanguage":"swift"},"pathComponents":["SystemDependency","before(_:)"],"names":{"title":"SystemDependency.before(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"before"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An update order that requests RealityKit update this system before it"},{"text":"updates another specified system."},{"text":""},{"text":"- Parameters:"},{"text":" - System: A system that this system updates before."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"before"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"System","preciseIdentifier":"s:17RealityFoundation6SystemP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component with default settings."},{"text":""},{"text":"For the default settings used in a new physics body component, see the"},{"text":"discussions of the component’s individual properties."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVAAE7Texturea","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","Texture"],"names":{"title":"SimpleMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent textures."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions"],"names":{"title":"PhysicsSimulationComponent.CollisionOptions","navigator":[{"kind":"identifier","spelling":"CollisionOptions"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionOptions"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The options set that defines how a physics simulation reports collisions."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionOptions"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anisotropy level object from a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The anisotropy level."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator"],"names":{"title":"Entity.ChildCollection.IndexingIterator","navigator":[{"kind":"identifier","spelling":"IndexingIterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IndexingIterator"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IndexingIterator"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Elements"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format"],"names":{"title":"TextureResource.Format","navigator":[{"kind":"identifier","spelling":"Format"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Format"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Specifies the pixel format and encoding of a texture."},{"text":""},{"text":"The texture's format controls the sampling and conversions (if any) used when rendering with that texture."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Format"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV3raw05pixelE0AESo08MTLPixelE0V_tFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","raw(pixelFormat:)"],"names":{"title":"raw(pixelFormat:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates that a texture is intended for unmodified use by a shader."},{"text":""},{"text":"The created texture will use the ``RealityKit/TextureResource/Semantic-swift.enum/raw`` semantic."}]},"functionSignature":{"parameters":[{"name":"pixelFormat","declarationFragments":[{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV7dynamicAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Normalization","dynamic"],"names":{"title":"dynamic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dynamic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs dynamic compression to normalize the audio source material to a level of -12dBLUFS in real-time."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dynamic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation1nopyAA14QueryPredicateVyxGAElF","interfaceLanguage":"swift"},"pathComponents":["!(_:)"],"names":{"title":"!(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `operand` evaluates to `false`."}]},"functionSignature":{"parameters":[{"name":"operand","declarationFragments":[{"kind":"identifier","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController"],"names":{"title":"VideoPlaybackController","navigator":[{"kind":"identifier","spelling":"VideoPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that controls the playback of video for a video material."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation20AnimationHandoffTypeV18snapshotAndReplace16applyToAllLayersACSb_tFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationHandoffType","snapshotAndReplace(applyToAllLayers:)"],"names":{"title":"snapshotAndReplace(applyToAllLayers:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"snapshotAndReplace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"applyToAllLayers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops the current animation and uses the current value of that animation as the blend value for the transition to the new animation."},{"text":""},{"text":"If `applyToAllLayers` is `false`, the handoff only replaces current animations that have the same `layerId` as the `blendLayerOffset` parameter in the ``playAnimation()`` call."},{"text":""},{"text":"If `applyToAllLayers` is `true`, the handoff replaces all animations regardless of the layer."}]},"functionSignature":{"parameters":[{"name":"applyToAllLayers","declarationFragments":[{"kind":"identifier","spelling":"applyToAllLayers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"snapshotAndReplace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"applyToAllLayers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation33CharacterControllerStateComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV4bothACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","both"],"names":{"title":"both","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"both"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that displays the animation's initial frame or final frame"},{"text":"when playback occurs outside of the normal duration."},{"text":""},{"text":"For example, if you extend a hand-waving animation’s duration by one"},{"text":"second in both directions by setting ``SampledAnimation/trimStart`` to"},{"text":"`-1.0`, and ``SampledAnimation/trimEnd`` to"},{"text":"``SampledAnimation/duration`` + `1.0`, a ``SampledAnimation/fillMode``"},{"text":"of `both` determines that the hand holds its initial appearance for one"},{"text":"second before continuing to wave. Then, the animation freezes on its"},{"text":"final hand-waving frame for one second before disappearing."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"both"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV6normal_05pixelE0A2E14NormalEncodingO_So08MTLPixelE0VtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","normal(_:pixelFormat:)"],"names":{"title":"normal(_:pixelFormat:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates that a texture is a normal map."},{"text":""},{"text":"The created texture will use the ``RealityKit/TextureResource/Semantic-swift.enum/normal`` semantic."}]},"functionSignature":{"parameters":[{"name":"encoding","declarationFragments":[{"kind":"identifier","spelling":"encoding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"}]},{"name":"pixelFormat","declarationFragments":[{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity for which ownership is changed."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24GroundingShadowComponentV05castsD0ACSb_tcfc","interfaceLanguage":"swift"},"pathComponents":["GroundingShadowComponent","init(castsShadow:)"],"names":{"title":"init(castsShadow:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"castsShadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"castsShadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC14loadModelAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModelAsync(named:in:)"],"names":{"title":"loadModelAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a model entity from a file in a bundle asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file as a ``ModelEntity``."},{"text":""}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModelAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"ModelEntity.init","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation20AnimationHandoffTypeV7replace16applyToAllLayersACSb_tFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationHandoffType","replace(applyToAllLayers:)"],"names":{"title":"replace(applyToAllLayers:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"applyToAllLayers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Keeps playing the current animation during the transition time and uses the value from that"},{"text":"animation as the blend value for the transition to the new animation."},{"text":""},{"text":"If `applyToAllLayers` is `false`, the handoff only replaces current animations that have the same `layerId` as the `blendLayerOffset` parameter in the `playAnimation()` call."},{"text":""},{"text":"If `applyToAllLayers` is `true`, the handoff replaces all animations regardless of the layer."}]},"functionSignature":{"parameters":[{"name":"applyToAllLayers","declarationFragments":[{"kind":"identifier","spelling":"applyToAllLayers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"applyToAllLayers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation17PerspectiveCameraC","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera","camera"],"names":{"title":"camera","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A camera component for the perspective camera entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that changes the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s ``SampledAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV5color_05pixelE0A2E10ColorSpaceO_So08MTLPixelE0VtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","color(_:pixelFormat:)"],"names":{"title":"color(_:pixelFormat:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates that a texture contains color data that should be interpreted in a specific color space."},{"text":""},{"text":"The created texture will use the ``RealityKit/TextureResource/Semantic-swift.enum/color`` or"},{"text":"``RealityKit/TextureResource/Semantic-swift.enum/hdrColor`` semantic."}]},"functionSignature":{"parameters":[{"name":"colorSpace","declarationFragments":[{"kind":"identifier","spelling":"colorSpace"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"}]},{"name":"pixelFormat","declarationFragments":[{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"colorSpace"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeAC013VisualizationH0Ovp","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","visualizationMode"],"names":{"title":"visualizationMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The part of the rendering process to display as the entity’s surface"},{"text":"texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO22allocateAndGenerateAllyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","allocateAndGenerateAll"],"names":{"title":"TextureResource.MipmapsMode.allocateAndGenerateAll","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAndGenerateAll"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Allocate and generate all mipmaps for the texture resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAndGenerateAll"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9playAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAudio(_:)"],"names":{"title":"playAudio(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAudio"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays sound from an audio resource on this entity."},{"text":""},{"text":"This method first prepares the audio by calling"},{"text":"``Entity/prepareAudio(_:)``, and then immediately calls the"},{"text":"``AudioPlaybackController/play()`` method on the returned controller."},{"text":""},{"text":"- Parameters:"},{"text":"- resource: The audio resource to play. You typically use the"},{"text":"`loadAsync(named:in:inputMode:loadingStrategy:loops:)` method to get a"},{"text":"resource from a file on disk, or the"},{"text":"`loadAsync(contentsOf:withName:inputMode:loadingStrategy:loops:)` method"},{"text":"to retrieve a resource from a URL."},{"text":""},{"text":"- Returns: An ``AudioPlaybackController`` instance that you use to"},{"text":"manage audio playback. Use the controller to set playback"},{"text":"characteristics like volume and reverb, and then start or stop playback."}]},"functionSignature":{"parameters":[{"name":"resource","declarationFragments":[{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAudio"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV9backwardsACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","backwards"],"names":{"title":"backwards","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"backwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that shows the first animation frame while playback progresses"},{"text":"to the beginning position."},{"text":""},{"text":"For example, if you wind a hand-waving animation’s duration back one"},{"text":"second by setting ``SampledAnimation/trimStart`` to `-1.0`, a"},{"text":"``SampledAnimation/fillMode`` of `backwards` determines that the hand"},{"text":"holds its initial appearance for one second before waving."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"backwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation20AnimationHandoffTypeV7composeACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationHandoffType","compose"],"names":{"title":"compose","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compose"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the new animation to existing animations, and immediately starts the new animation."},{"text":""},{"text":"Use this handoff for additive animations."},{"text":"If the new animation isn't additive, then `compose` adds the new animation and removes the existing animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compose"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","none"],"names":{"title":"TextureResource.MipmapsMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Do not allocate mipmaps for the texture resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeA2C013VisualizationH0O_tcfc","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","init(visualizationMode:)"],"names":{"title":"init(visualizationMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a component that isolates a portion of the rendering process and"},{"text":"displays it as the entity’s surface texture."},{"text":""},{"text":"- Parameters:"},{"text":"- visualizationMode: The portion of the rendering process to use as the"},{"text":"entity’s surface texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"visualizationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"VisualizationMode","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"text","spelling":" = .none)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read a part given its id."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO11allocateAllyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","allocateAll"],"names":{"title":"TextureResource.MipmapsMode.allocateAll","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAll"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Allocate memory for all mipmaps, but don’t generate them."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allocateAll"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionP","interfaceLanguage":"swift"},"pathComponents":["HasCollision"],"names":{"title":"HasCollision","navigator":[{"kind":"identifier","spelling":"HasCollision"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasCollision"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface used for ray casting and collision detection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasCollision"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV37isContinuousCollisionDetectionEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isContinuousCollisionDetectionEnabled"],"names":{"title":"isContinuousCollisionDetectionEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isContinuousCollisionDetectionEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that controls whether the physics simulation performs"},{"text":"continuous collision detection."},{"text":""},{"text":"Set the value to `true` to perform continuous collision detection. The"},{"text":"value is `false` by default, indicating the simulation should apply"},{"text":"discrete collision detection."},{"text":""},{"text":"Discrete collision detection considers only the position of a body once"},{"text":"per rendered frame, or about every 16 milliseconds at 60 frames per"},{"text":"second. Continuous collision detection considers the position of the"},{"text":"body throughout the frame interval. The latter is more computationally"},{"text":"expensive, but can help to avoid missing a collision for a quickly"},{"text":"moving object, like a projectile."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isContinuousCollisionDetectionEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","trimmingPrefix(_:)"],"names":{"title":"trimmingPrefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Returns a new collection of the same type by removing initial elements"},{"text":"that satisfy the given predicate from the start."},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":"as its argument and returns a Boolean value indicating whether the"},{"text":"element should be removed from the collection."},{"text":"- Returns: A collection containing the elements of the collection that are"},{"text":" not removed by `predicate`."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Prefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Prefix","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"Prefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12prepareAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","interfaceLanguage":"swift"},"pathComponents":["Entity","prepareAudio(_:)"],"names":{"title":"prepareAudio(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepareAudio"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Prepares an audio resource for playback."},{"text":""},{"text":"If you want to start playback right away, use the"},{"text":"``Entity/playAudio(_:)`` method instead."},{"text":""},{"text":"- Parameters:"},{"text":"- resource: The audio resource to prepare. You typically use the"},{"text":"`loadAsync(named:in:inputMode:loadingStrategy:loops:)` method to get a"},{"text":"resource from a file on disk, or the"},{"text":"`loadAsync(contentsOf:withName:inputMode:loadingStrategy:loops:)` method"},{"text":"to retrieve a resource from a URL."},{"text":""},{"text":"- Returns: An ``AudioPlaybackController`` instance that you use to"},{"text":"manage audio playback. Use the controller to set playback"},{"text":"characteristics like volume and reverb, and then start or stop playback."}]},"functionSignature":{"parameters":[{"name":"resource","declarationFragments":[{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepareAudio"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V8lifeSpanSdvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","lifeSpan"],"names":{"title":"lifeSpan","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lifeSpan"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The duration, in seconds, for which each particle is rendered before being removed from the scene. Defaults to 1."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lifeSpan"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation2oooiyAA14QueryPredicateVyxGAE_AEtlF","interfaceLanguage":"swift"},"pathComponents":["||(_:_:)"],"names":{"title":"||(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"||"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `left` OR `right` evaluates to `true`."}]},"functionSignature":{"parameters":[{"name":"left","declarationFragments":[{"kind":"identifier","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},{"name":"right","declarationFragments":[{"kind":"identifier","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"||"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"internalParam","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8forwardsACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","forwards"],"names":{"title":"forwards","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that freezes the last frame of the animation until it stops."},{"text":""},{"text":"For example, if you increase a hand-waving animation’s duration one"},{"text":"second by setting ``SampledAnimation/trimEnd`` to"},{"text":"``SampledAnimation/duration`` + `1.0`, a ``SampledAnimation/fillMode``"},{"text":"of `forwards` determines that the hand waves and then freezes on its"},{"text":"final animation frame for one second before disappearing."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forwards"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadModel5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModel(named:in:)"],"names":{"title":"loadModel(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading a model entity from a file in a bundle."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file, cast as a"},{"text":"``ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation20AnimationHandoffTypeV4stopACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationHandoffType","stop"],"names":{"title":"stop","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops the specified animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6acceptyycvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","accept"],"names":{"title":"accept","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accept"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The callback function that the current owner calls to grant"},{"text":"ownership to the requesting peer."},{"text":""},{"text":"If an entity’s"},{"text":"``SynchronizationComponent/ownershipTransferMode-swift.property``"},{"text":"property is set to"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``,"},{"text":"the entity automatically grants ownership to any other entity that"},{"text":"requests it."},{"text":""},{"text":"In case you configure an entity to have a transfer mode of"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual``,"},{"text":"then when you receive an ``SynchronizationEvents/OwnershipRequest``"},{"text":"event, you must call the"},{"text":"``SynchronizationEvents/OwnershipRequest/accept`` method to complete"},{"text":"the transfer of ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accept"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12stopAllAudioyyF","interfaceLanguage":"swift"},"pathComponents":["Entity","stopAllAudio()"],"names":{"title":"stopAllAudio()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAudio"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops audio playback."},{"text":""},{"text":"You can stop a specific ``AudioPlaybackController`` instance from"},{"text":"playing a particular resource by calling the controller’s"},{"text":"``AudioPlaybackController/stop()`` method. To stop all controllers"},{"text":"associated with a particular ``Entity`` instance with a single call, use"},{"text":"the ``Entity/stopAllAudio()`` method instead."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAudio"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new part to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"part","declarationFragments":[{"kind":"identifier","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation10BindTargetO","interfaceLanguage":"swift"},"pathComponents":["BindTarget","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter","navigator":[{"kind":"identifier","spelling":"ParticleEmitter"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParticleEmitter"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParticleEmitter"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV4noneACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","none"],"names":{"title":"none","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates an animation doesn't display frame data outside"},{"text":"of its normal duration."},{"text":""},{"text":"For example, if you rewind an animation of a hand waving for one second"},{"text":"by setting ``SampledAnimation/trimStart`` to `-1.0`, a"},{"text":"``SampledAnimation/fillMode`` of `none` determines that the hand is"},{"text":"invisible for one second before appearing and waving."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceCAAE5named2inACSS_So8NSBundleCSgtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","init(named:in:)"],"names":{"title":"init(named:in:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate"],"names":{"title":"ComponentEvents.WillDeactivate","navigator":[{"kind":"identifier","spelling":"WillDeactivate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised before a component is deactivated."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion"],"names":{"title":"ParticleEmitterComponent.SpawnOccasion","navigator":[{"kind":"identifier","spelling":"SpawnOccasion"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpawnOccasion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for when the spawned effect starts, used by the spawnOccasion property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SpawnOccasion"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation2aaoiyAA14QueryPredicateVyxGAE_AEtlF","interfaceLanguage":"swift"},"pathComponents":["&&(_:_:)"],"names":{"title":"&&(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a predicate which evaluates to `true` if `left` AND `right` evaluate to `true`."}]},"functionSignature":{"parameters":[{"name":"left","declarationFragments":[{"kind":"identifier","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},{"name":"right","declarationFragments":[{"kind":"identifier","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"left"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">, "},{"kind":"internalParam","spelling":"right"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Dimensions2D","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV5shape4massAcA13ShapeResourceC_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(shape:mass:)"],"names":{"title":"init(shape:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the mass properties for a solid shape with the specified mass."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape for which to calculate the mass frame."},{"text":""},{"text":" - mass: The mass of the object in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryFilter(_:)"],"names":{"title":"tryFilter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryFilter(_:)`` to filter elements evaluated in an error-throwing closure. If the `isIncluded` closure throws an error, the publisher fails with that error."},{"text":""},{"text":"In the example below, ``Publisher/tryFilter(_:)`` checks to see if the element provided by the publisher is zero, and throws a `ZeroError` before terminating the publisher with the thrown error. Otherwise, it republishes the element only if it's even:"},{"text":""},{"text":" struct ZeroError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"2 4 failure(DivisionByZeroError())\"."},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value that indicated whether to republish the element or throws an error."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate"],"names":{"title":"ComponentEvents.DidActivate","navigator":[{"kind":"identifier","spelling":"DidActivate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been activated."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO6DidAddV","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidAdd"],"names":{"title":"ComponentEvents.DidAdd","navigator":[{"kind":"identifier","spelling":"DidAdd"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAdd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Event raised after a component has been added to an entity,"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAdd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection"],"names":{"title":"ParticleEmitterComponent.BirthDirection","navigator":[{"kind":"identifier","spelling":"BirthDirection"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BirthDirection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for the initial direction of each emitted particle, used by the birthDirection property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BirthDirection"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8rawValues4Int8Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance between two indices."},{"text":""},{"text":"Unless the collection conforms to the `BidirectionalCollection` protocol,"},{"text":"`start` must be less than or equal to `end`."},{"text":""},{"text":"- Parameters:"},{"text":" - start: A valid index of the collection."},{"text":" - end: Another valid index of the collection. If `end` is equal to"},{"text":" `start`, the result is zero."},{"text":"- Returns: The distance between `start` and `end`. The result can be"},{"text":" negative only if the collection conforms to the"},{"text":" `BidirectionalCollection` protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the"},{"text":" resulting distance."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anisotropy angle values specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Dimensions2D","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two physics mass properties are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first set of physics mass properties to compare."},{"text":""},{"text":" - rhs: The second set of physics mass properties to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two physics mass"},{"text":"properties are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while a predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/prefix(while:)`` to emit values while elements from the upstream publisher meet a condition you specify. The publisher finishes when the closure returns `false`."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(while:)`` operator emits values while the element it receives is less than five:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" numbers.publisher"},{"text":" .prefix { $0 < 5 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``SampledAnimation/trimStart`` instead and choose a"},{"text":"``SampledAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","RawValue"],"names":{"title":"AnimationFillMode.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV16isRotationLockedSb1x_Sb1ySb1ztvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isRotationLocked"],"names":{"title":"isRotationLocked","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A tuple of Boolean values that you use to lock rotation of the physics"},{"text":"body around any of the three axes."},{"text":""},{"text":"For any one of the three Booleans in the tuple that you set to `true`,"},{"text":"rotation is restricted on the axis represented by that item. For"},{"text":"example, if you set the `x` item to true, then the body can’t rotate"},{"text":"around the x-axis. By default, rotation isn’t restricted."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove a part by id."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Dimensions2D","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility"],"names":{"title":"NetworkCompatibilityToken.Compatibility","navigator":[{"kind":"identifier","spelling":"Compatibility"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Compatibility"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two devices running RealityKit are compatible and able"},{"text":"to connect and sync scenes."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Compatibility"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13massVariationSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","massVariation"],"names":{"title":"massVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"massVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range (in grams) from which a value is randomly selected to offset `mass`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"massVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult"],"names":{"title":"QueryResult","navigator":[{"kind":"identifier","spelling":"QueryResult"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryResult"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that returns the results of an entity query."},{"text":""},{"text":"You can’t create query result objects. Instead, call"},{"text":"``Scene/performQuery(_:)``, which returns a ``QueryResult`` containing the"},{"text":"entities that meet your specified query criteria."},{"text":""},{"text":"```swift"},{"text":"// Ask the scene to perform the query and iterate over the returned entities."},{"text":"scene.performQuery(query).forEach { entity in"},{"text":" print(\"Returned entity: \\(entity)\")"},{"text":"}"},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryResult"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV8newOwnerAA0C6PeerID_pSgvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged","newOwner"],"names":{"title":"newOwner","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"newOwner"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The new owner of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"newOwner"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing part. The old part is returned."}]},"functionSignature":{"parameters":[{"name":"part","declarationFragments":[{"kind":"identifier","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"part"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV8rawValueACs4Int8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a fill mode from its backing data type."},{"text":""},{"text":"Use this initializer to unarchive a fill mode from data:"},{"text":""},{"text":"```swift"},{"text":"let rawValue = unarchiveNextInt8(from: data) // Psuedo code."},{"text":"let fillMode = AnimationFillMode(rawValue: rawValue)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - rawValue: The backing data value for the fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV12emitterShapeAC0dG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","emitterShape"],"names":{"title":"emitterShape","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emitterShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmitterShape","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The shape of the region of space where the system spawns new particles. Defaults to plane."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emitterShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmitterShape","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","color"],"names":{"title":"color","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SimpleMaterial","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s color."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SimpleMaterial","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove an instance by name."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ForwardDirection","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVyAA9TransformVSicip","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses a single joint transform in the collection at the given index."},{"text":""},{"text":"For more on accessing elements by index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation"],"names":{"title":"SampledAnimation","navigator":[{"kind":"identifier","spelling":"SampledAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampledAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that cycles through a series of frames at a constant interval."},{"text":""},{"text":"To specify the data that the animation samples, set one of the `frames`"},{"text":"properties that matches the animated property's type. For example, set the"},{"text":"``SampledAnimation/frames-2j4nj`` property to interpolate"},{"text":" values."},{"text":""},{"text":"The following code designates a ``SampledAnimation`` to animate a propery of"},{"text":"type by specifying"},{"text":"the generic typed syntax. The code queues an array of values: `1.0`, `2.0`,"},{"text":"and `3.0`."},{"text":""},{"text":"```swift"},{"text":"// Define the animation type."},{"text":"typealias SampledAnimationType = SampledAnimation"},{"text":""},{"text":"// Define the animated property values."},{"text":"let frameArray: [Float] = [1.0, 2.0, 3.0]"},{"text":"```"},{"text":""},{"text":"To determine how fast the animation progresses from frame to frame, define"},{"text":"this structure's ``SampledAnimation/frameInterval`` property. The following"},{"text":"code specifies a one-second delay between value changes before initializing"},{"text":"the animation object."},{"text":""},{"text":"```swift"},{"text":"// Define a one-second frame interval."},{"text":"let interval = TimeInterval(1.0)"},{"text":""},{"text":"// Create the animation. let sampleAnim = SampledAnimationType.init("},{"text":" frames: frameArray,"},{"text":" name: \"sampledAnim1\","},{"text":" frameInterval: interal"},{"text":" isAdditive: true,"},{"text":" bindTarget: .transform,"},{"text":" blendLayer: 100,"},{"text":" repeatMode: .autoReverse,"},{"text":" fillMode: .backwards,"},{"text":" trimStart: 1.0,"},{"text":" trimEnd: 10.0,"},{"text":" trimDuration: 9.0,"},{"text":" offset: 2.0,"},{"text":" delay: 1.0,"},{"text":" speed: 2.0)"},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SampledAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents"],"names":{"title":"MeshResource.Contents","navigator":[{"kind":"identifier","spelling":"Contents"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Value of the contents of the resource."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:)"],"names":{"title":"merge(with:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from three other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 2 50 100 -2 \""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE18desiredViewingModeAcAE0gH0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","desiredViewingMode"],"names":{"title":"desiredViewingMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"desiredViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"desiredViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Use preferredViewingMode instead","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","ForwardDirection","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVAGycfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified list of entity as children to this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation20HoverEffectComponentV","interfaceLanguage":"swift"},"pathComponents":["HoverEffectComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV4mass7inertia08centerOfD0ACSf_s5SIMD3VySfGAI8position_So10simd_quatfa11orientationttcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(mass:inertia:centerOfMass:)"],"names":{"title":"init(mass:inertia:centerOfMass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"))"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a mass properties instance with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":"- mass: The mass in kilograms. If you use a mass of `0` or infinity, the"},{"text":"simulation treats the object as ``PhysicsBodyMode/kinematic``. That is,"},{"text":"the object doesn’t respond to forces."},{"text":""},{"text":"- inertia: The inertia in kilograms per square meter. The vector"},{"text":"contains the diagonal elements of the diagonalized inertia matrix."},{"text":""},{"text":"- centerOfMass: The center of mass and the orientation of the principal"},{"text":"axes, defined in the local space of the rigid body."},{"text":""},{"text":" The `position` defines the center of mass with a default value of `(0, 0, 0)`, which"},{"text":"means that the local origin of the model is the center of mass."},{"text":""},{"text":" The `orientation` defines the principal axes, such the inertia matrix is a diagonal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(x: 0.1, y: 0.1, z: 0.1), "},{"kind":"externalParam","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") = (SIMD3(x: 0, y: 0, z: 0), simd_quatf(ix: 0, iy: 0, iz: 0, r: 1)))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An index to the last joint transform in the collection."},{"text":""},{"text":"For more more on the sequence's final index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyAE_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(contentsOf:preservingWorldTransforms:)"],"names":{"title":"append(contentsOf:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves all `children` to be children of this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The child entities to add to the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``SampledAnimation/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``SampledAnimation/trimStart``, ``SampledAnimation/trimEnd``, or"},{"text":"``SampledAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV10dimensions5width6heightAESi_SitFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Dimensions2D","dimensions(width:height:)"],"names":{"title":"dimensions(width:height:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dimensions"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Specifies the width and height of a texture. The number of mipmap levels is inferred from the contents."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dimensions"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","ForwardDirection","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing instance. The old instance is returned."}]},"functionSignature":{"parameters":[{"name":"instance","declarationFragments":[{"kind":"identifier","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a mass properties instance with default settings."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa","interfaceLanguage":"swift"},"pathComponents":["Material","Parameters"],"names":{"title":"Material.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO","interfaceLanguage":"swift"},"pathComponents":["TweenMode"],"names":{"title":"TweenMode","navigator":[{"kind":"identifier","spelling":"TweenMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TweenMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine whether an animation switches between frames"},{"text":"gradually or abruptly."},{"text":""},{"text":"This enumeration declares the options for a sampled animation's"},{"text":"``SampledAnimation/tweenMode``. The gradual or abrupt change, or"},{"text":"_interpolation_, refers to the visual behavior that occurs between adjacent"},{"text":"values in a sampled animation's ``SampledAnimation/frames-2hobp``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TweenMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5Indexa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Index"],"names":{"title":"JointTransforms.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position of an individual joint transform in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator","Element"],"names":{"title":"MeshInstanceCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation14ModelComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV4selfACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","self"],"names":{"title":"self","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity."},{"text":""},{"text":"This property represents a bind path within an ``AnimationView`` to"},{"text":"redirect the view’s ``BlendTreeSourceNode/source`` animation to a"},{"text":"different scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`self`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","Iterator"],"names":{"title":"MeshSkeletonCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation"],"names":{"title":"BlendTreeAnimation","navigator":[{"kind":"identifier","spelling":"BlendTreeAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations on the same property that the framework blends to"},{"text":"a single animation."},{"text":""},{"text":"This structure provides a way to form a single animation by mixing several"},{"text":"other animations together. You define a source node for each animation, and"},{"text":"a weight, which determines how much each individual animation takes effect"},{"text":"in the resulting animation."},{"text":""},{"text":"To create the blended animation, you define a _blend tree_ that sprouts from"},{"text":"``BlendTreeAnimation/root``, which consists of one or more blend-tree nodes"},{"text":"(``BlendTreeNode``). Each node may be one of the following conforming types:"},{"text":""},{"text":"- ``BlendTreeBlendNode``, which branches the tree for every element in"},{"text":"``BlendTreeBlendNode/sources``"},{"text":"- ``BlendTreeSourceNode``, which defines one of the animations to blend"},{"text":"via its ``BlendTreeSourceNode/source`` property"},{"text":""},{"text":"Because source nodes reference no other nodes, they represent leaf nodes in"},{"text":"the tree."},{"text":""},{"text":"## Blending Two Skeletal Movements to a Single Movement"},{"text":""},{"text":"The following animation plays a sampling of the animations named"},{"text":"`anim1` and `anim2`. To fine-tune the interplay between the two animations,"},{"text":"the code sets a blend weight for each animation. The weight of `0.25` for"},{"text":"`anim1` determines that the first animation's behavior is 25% prominent in"},{"text":"the final result. The `anim2` weight is `0.75`, as the cumulative blend"},{"text":"weight across all animations in the tree needs to equal `1`. This determines"},{"text":"that the second animation influences 75% of the visual behavior of the"},{"text":"blended animation."},{"text":""},{"text":"```swift"},{"text":"let anim1 = FromToByAnimation("},{"text":" name: \"anim1\","},{"text":" from: JointTransforms([Transform(scale: SIMD3(1, 2, 3),"},{"text":" rotation: simd_quatf(ix: 5, iy: 6, iz: 7, r: 8),"},{"text":" translation: SIMD3(10, 20, 30))]),"},{"text":" to: JointTransforms([Transform(scale: SIMD3(11, 21, 31),"},{"text":" rotation: simd_quatf(ix: 50, iy: 60, iz: 70, r: 80),"},{"text":" translation: SIMD3(100, 200, 300))]),"},{"text":" duration: 1.0)"},{"text":""},{"text":"let anim2 = FromToByAnimation("},{"text":" name: \"anim2\","},{"text":" from: JointTransforms([Transform(scale: SIMD3(10, 20, 30),"},{"text":" rotation: simd_quatf(ix: 4, iy: 5, iz: 5, r: 7),"},{"text":" translation: SIMD3(100, 200, 300))]),"},{"text":" to: JointTransforms([Transform(scale: SIMD3(110, 210, 310),"},{"text":" rotation: simd_quatf(ix: 500, iy: 60, iz: 70, r: 80),"},{"text":" translation: SIMD3(1000, 2000, 3000))]),"},{"text":" duration: 10.0)"},{"text":""},{"text":"let blendTree = BlendTreeAnimation("},{"text":" blend("},{"text":" BlendTreeSourceNode("},{"text":" source: anim1,"},{"text":" name: \"anim1\","},{"text":" weight: .value(0.25)),"},{"text":" BlendTreeSourceNode("},{"text":" source: anim2,"},{"text":" name: \"anim2\","},{"text":" weight: .value(0.75)),"},{"text":" name: \"blend\"),"},{"text":" name: \"blendTree\","},{"text":" bindTarget: .parameter(\"bar\")"},{"text":")"},{"text":"```"},{"text":""},{"text":"- Tip: To modify the weights for each frame, create a source node with a"},{"text":"dynamic ``BlendWeight``, such as with the"},{"text":"``BlendWeight/bindTarget(_:defaultWeight:)`` or"},{"text":"``BlendWeight/parameter(_:defaultWeight:)`` enumeration cases."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of function found in library"},{"text":""},{"text":"This function should exist in the given library and be declared"},{"text":"with the `[[visible]]` attribute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An index to the first joint transform in the collection."},{"text":""},{"text":"For more on the sequence's beginning index, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVyAGSo20MTLSamplerDescriptorCcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"v"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE16currentImageSizeSo6CGSizeVSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","currentImageSize"],"names":{"title":"currentImageSize","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"currentImageSize"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGSize","preciseIdentifier":"c:@S@CGSize"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"What is the width and height of currently playing video (for stereo, the width and height of each eye)?"},{"text":"This is optional because the video may not currently be playing, or the size is otherwise not available."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"currentImageSize"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGSize","preciseIdentifier":"c:@S@CGSize"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the instances."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","SubSequence"],"names":{"title":"JointTransforms.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"A collection representing a contiguous subrange of this collection's"},{"text":"elements. The subsequence shares indices with the original collection."},{"text":""},{"text":"The default subsequence type for collections that don't define their own"},{"text":"is `Slice`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV5shape7densityAcA13ShapeResourceC_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","init(shape:density:)"],"names":{"title":"init(shape:density:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the mass properties for a solid shape with the specified"},{"text":"density."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape for which to calculate the mass frame."},{"text":""},{"text":" - density: The density of the object in kilograms per cubic meter."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"density"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","interfaceLanguage":"swift"},"pathComponents":["Material","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name exported with USDz or Reality File asset"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/filter(_:)`` operator performs an operation similar to that of in the Swift Standard Library: it uses a closure to test each element to determine whether to republish the element to the downstream subscriber."},{"text":""},{"text":"The following example, uses a filter operation that receives an `Int` and only republishes a value if it’s even."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 4\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value indicating whether to republish the element."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE9fromValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V4massSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","mass"],"names":{"title":"mass","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The mass, in grams, of each particle in the system. Defaults to 1."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8HasModelP","interfaceLanguage":"swift"},"pathComponents":["HasModel"],"names":{"title":"HasModel","navigator":[{"kind":"identifier","spelling":"HasModel"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasModel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides meshes and materials to define the visual"},{"text":"appearance of an entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasModel"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part"],"names":{"title":"MeshResource.Part","navigator":[{"kind":"identifier","spelling":"Part"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A part of a model consisting of a single material."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","Origin","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14QueryPredicateV","interfaceLanguage":"swift"},"pathComponents":["QueryPredicate"],"names":{"title":"QueryPredicate","navigator":[{"kind":"identifier","spelling":"QueryPredicate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryPredicate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the criteria for an entity query."},{"text":""},{"text":"Query predicates specify the entities an ``EntityQuery`` returns from a"},{"text":"scene. Predicates describe entities based on which components they contain,"},{"text":"or on the entity’s relationship to other entities in the scene. For example,"},{"text":"you can build a predicate to retrieve the model entities from a scene."},{"text":""},{"text":"```swift"},{"text":"let modelPredicate = QueryPredicate.has(ModelComponent.self)"},{"text":"```"},{"text":""},{"text":"## Create Compound Predicates"},{"text":""},{"text":"You can combine predicates using Swift’s logical operators to create"},{"text":"compound predicates. ``QueryPredicate`` supports Swift’s logical `AND`"},{"text":"(`&&`), logical `OR` (`||`), and logical `NOT` (`!`) operators. The"},{"text":"following code shows how to build a compound predicate that returns all"},{"text":"entities that are either model entities or anchor entities."},{"text":""},{"text":"```swift"},{"text":"let orPredicate = QueryPredicate.has(ModelComponent.self) ||"},{"text":"QueryPredicate.has(AnchorComponent.self) ```"},{"text":""},{"text":"Use parentheses to control the order of operations when combining"},{"text":"predicates. For example, you can create a query that returns any entity that"},{"text":"has both a model component and a physics body component, or any entity that"},{"text":"has only an anchor component."},{"text":""},{"text":"```swift"},{"text":"let multiPredicate: QueryPredicate ="},{"text":".has(ModelComponent.self) && .has(PhysicsBodyComponent.self)"},{"text":" || .has(AnchorComponent.self)"},{"text":""},{"text":"```"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"QueryPredicate"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Indices"],"names":{"title":"JointTransforms.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents the indices that are valid for subscripting the"},{"text":"collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton"],"names":{"title":"MeshResource.Skeleton","navigator":[{"kind":"identifier","spelling":"Skeleton"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Skeleton"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A skeleton consists of a hierarchy of joints. Each joint defines a coordinate space."},{"text":"Portions of a model may be thought of as having a position in a joint's local space."},{"text":""},{"text":"Each joint in a skeleton has a name, which usually determines the joint's parent. For"},{"text":"example, the legs of a human body might include these joints:"},{"text":"- `root`"},{"text":"- `root/hips_joint`"},{"text":"- `root/hips_joint/left_upLeg_joint`"},{"text":"- `root/hips_joint/left_upLeg_joint/left_leg_joint`"},{"text":"- `root/hips_joint/right_upLeg_joint`"},{"text":"- `root/hips_joint/right_upLeg_joint/right_leg_joint`"},{"text":"- etc."},{"text":""},{"text":"Models with skinned animation are authored in a fixed pose (the \"bind pose\"). The position"},{"text":"of a vertex in a particular joint's local space is a function of the vertex's position in"},{"text":"the bind pose and an \"inverse bind pose\" matrix which transforms from the bind pose (model"},{"text":"space) to the joint's local space."},{"text":""},{"text":"When unanimated, the pose of a skinned model is defined by the rest pose of each joint. This"},{"text":"transform is relative to the joint's parent. Usually, the rest pose of a model is the same"},{"text":"as its bind pose."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Skeleton"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureVyAeA0E8ResourceCcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","print(_:to:)"],"names":{"title":"print(_:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prints log messages for all publishing events."},{"text":""},{"text":"Use ``Publisher/print(_:to:)`` to log messages the console."},{"text":""},{"text":"In the example below, log messages are printed on the console:"},{"text":""},{"text":" let integers = (1...2)"},{"text":" cancellable = integers.publisher"},{"text":" .print(\"Logged a message\", to: nil)"},{"text":" .sink { _ in }"},{"text":""},{"text":" // Prints:"},{"text":" // Logged a message: receive subscription: (1..<2)"},{"text":" // Logged a message: request unlimited"},{"text":" // Logged a message: receive value: (1)"},{"text":" // Logged a message: receive finished"},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string —- which defaults to empty -— with which to prefix all log messages."},{"text":" - stream: A stream for text output that receives messages, and which directs output to the console by default. A custom stream can be used to log messages to other destinations."},{"text":"- Returns: A publisher that prints log messages for all publishing events."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"to","internalName":"stream","declarationFragments":[{"kind":"identifier","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","Element"],"names":{"title":"MeshSkeletonCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","partition(by:)"],"names":{"title":"partition(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Reorders the elements of the collection such that all the elements"},{"text":"that match the given predicate are after all the elements that don't"},{"text":"match."},{"text":""},{"text":"After partitioning a collection, there is a pivot index `p` where"},{"text":"no element before `p` satisfies the `belongsInSecondPartition`"},{"text":"predicate and every element at or after `p` satisfies"},{"text":"`belongsInSecondPartition`. This operation isn't guaranteed to be"},{"text":"stable, so the relative ordering of elements within the partitions might"},{"text":"change."},{"text":""},{"text":"In the following example, an array of numbers is partitioned by a"},{"text":"predicate that matches elements greater than 30."},{"text":""},{"text":" var numbers = [30, 40, 20, 30, 30, 60, 10]"},{"text":" let p = numbers.partition(by: { $0 > 30 })"},{"text":" // p == 5"},{"text":" // numbers == [30, 10, 20, 30, 30, 60, 40]"},{"text":""},{"text":"The `numbers` array is now arranged in two partitions. The first"},{"text":"partition, `numbers[.. "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"BidirectionalCollection","rhsPrecise":"s:SK"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"belongsInSecondPartition"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ViewingModeDidChange"],"names":{"title":"VideoPlayerEvents.ViewingModeDidChange","navigator":[{"kind":"identifier","spelling":"ViewingModeDidChange"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ViewingModeDidChange"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ViewingModeDidChange"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV3endSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","end"],"names":{"title":"end","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An integer multiple of the frame interval at which the animation stops."},{"text":""},{"text":"When calculating the visual beginning of a sampled animation, the"},{"text":"framework first evaluates this property, and then applies the optional"},{"text":"``SampledAnimation/trimEnd``, in seconds."},{"text":""},{"text":"The framework requires this property to contain an integer multiple of"},{"text":"``SampledAnimation/frameInterval``. Note that the value of this property"},{"text":"can be irrational because frame interval is of type"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV_7samplerAeA0E8ResourceC_AE7SamplerVtcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","init(_:sampler:)"],"names":{"title":"init(_:sampler:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","VideoSizeDidChange"],"names":{"title":"VideoPlayerEvents.VideoSizeDidChange","navigator":[{"kind":"identifier","spelling":"VideoSizeDidChange"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoSizeDidChange"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoSizeDidChange"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV08centerOfD0s5SIMD3VySfG8position_So10simd_quatfa11orientationtvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","centerOfMass"],"names":{"title":"centerOfMass","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the center of mass and the orientation of the principal"},{"text":"axes."},{"text":""},{"text":"The `position` defines the center of mass with a default value of `(0,"},{"text":"0, 0)`, which means that the local origin of the model is the center of"},{"text":"mass."},{"text":""},{"text":"The `orientation` defines the principal axes, such the inertia matrix is"},{"text":"a diagonal."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"centerOfMass"},{"kind":"text","spelling":": (position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV8materialyAC08MaterialF0VSiF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","material(_:)"],"names":{"title":"material(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaterialPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO12MaterialPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a specified material's path."},{"text":""},{"text":"- Parameters:"},{"text":" - index: The index of the material."}]},"functionSignature":{"parameters":[{"name":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaterialPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO12MaterialPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaterialPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO12MaterialPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC04findC05namedACSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","findEntity(named:)"],"names":{"title":"findEntity(named:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Recursively searches all descendant entities for one with the given"},{"text":"name."},{"text":""},{"text":"The ``Entity/findEntity(named:)`` method conducts a depth-first,"},{"text":"recursive search over all of the entity’s descendants for one whose"},{"text":"``Entity/name`` property matches the given name. The method returns the"},{"text":"first match. Entity names need not be unique."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The entity name for which to search."},{"text":""},{"text":"- Returns: An entity with the given name, or `nil` if no entity is"},{"text":"found."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshSkeletonCollection","preciseIdentifier":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshSkeletonCollection","preciseIdentifier":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshSkeletonCollection","preciseIdentifier":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV10shouldLoop0G18RandomizeStartTime13normalization11calibration12mixGroupNameAESb_SbAA0cE0CAAE13NormalizationVSgAlAE11CalibrationVSgSSSgtcfc","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration","init(shouldLoop:shouldRandomizeStartTime:normalization:calibration:mixGroupName:)"],"names":{"title":"init(shouldLoop:shouldRandomizeStartTime:normalization:calibration:mixGroupName:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldRandomizeStartTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"normalization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"calibration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mixGroupName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?)"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"shouldRandomizeStartTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"normalization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"calibration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mixGroupName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Iterator"],"names":{"title":"JointTransforms.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the collection's iteration interface and"},{"text":"encapsulates its iteration state."},{"text":""},{"text":"By default, a collection conforms to the `Sequence` protocol by"},{"text":"supplying `IndexingIterator` as its associated `Iterator`"},{"text":"type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO9positiveZyA2EmF","interfaceLanguage":"swift"},"pathComponents":["Entity","ForwardDirection","positiveZ"],"names":{"title":"Entity.ForwardDirection.positiveZ","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positiveZ"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positiveZ"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func","displayName":"Function"},"identifier":{"precise":"s:17RealityFoundation5blend7sources4name10isAdditiveAA13BlendTreeNode_pSayAaF_pG_SSSbtF","interfaceLanguage":"swift"},"pathComponents":["blend(sources:name:isAdditive:)"],"names":{"title":"blend(sources:name:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Combines the animations that result from the individual blend-tree nodes of"},{"text":"the given array to a single blend-tree node."},{"text":""},{"text":"- Parameters:"},{"text":" - sources: The blend-tree nodes to combine."},{"text":""},{"text":" - name: A unique name for the combined node."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation builds on"},{"text":"the current state of the target entity, or resets the state before running."},{"text":""},{"text":"- Returns: A blend-tree node that combines the given animations."}]},"functionSignature":{"parameters":[{"name":"sources","declarationFragments":[{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}]},{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"isAdditive","declarationFragments":[{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6remove_24preservingWorldTransformyAC_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","remove(_:preservingWorldTransform:)"],"names":{"title":"remove(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified child from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - child: The child entity to remove from the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"child","declarationFragments":[{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV7opacityACvp","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","opacity"],"names":{"title":"opacity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for the entity's opacity.. Requires that"},{"text":"the entity has an OpacityComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","withContiguousMutableStorageIfAvailable(_:)"],"names":{"title":"withContiguousMutableStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousMutableStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the collection's contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` provides access to the"},{"text":"contiguous mutable storage of the entire collection. If the contiguous"},{"text":"storage doesn't exist, the collection creates it. If the collection"},{"text":"doesn't support an internal representation in the form of contiguous"},{"text":"mutable storage, this method doesn't call `body` --- it immediately"},{"text":"returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Always perform any necessary cleanup in the closure, because the"},{"text":"method makes no guarantees about the state of the collection if the"},{"text":"closure throws an error. Your changes to the collection may be absent"},{"text":"from the collection after throwing the error, because the closure could"},{"text":"receive a temporary copy rather than direct access to the collection's"},{"text":"storage."},{"text":""},{"text":"- Warning: Your `body` closure must not replace `buffer`. This leads"},{"text":" to a crash in all implementations of this method within the standard"},{"text":" library."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an in-out"},{"text":" `UnsafeMutableBufferPointer` to the collection's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the collection doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousMutableStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"UnsafeMutableBufferPointer","preciseIdentifier":"s:Sr"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","Element"],"names":{"title":"JointTransforms.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An individual joint transform in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO9negativeZyA2EmF","interfaceLanguage":"swift"},"pathComponents":["Entity","ForwardDirection","negativeZ"],"names":{"title":"Entity.ForwardDirection.negativeZ","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"negativeZ"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"negativeZ"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV6remove2at24preservingWorldTransformySi_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","remove(at:preservingWorldTransform:)"],"names":{"title":"remove(at:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the specified child from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - index: The index of the child entity to remove from the collection."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","ranges(of:)"],"names":{"title":"ranges(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the ranges of the all occurrences of a given sequence"},{"text":"within the collection."},{"text":"- Parameter other: The sequence to search for."},{"text":"- Returns: A collection of ranges of all occurrences of `other`. Returns"},{"text":" an empty collection if `other` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","receive(on:options:)"],"names":{"title":"receive(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to receive elements from the publisher."},{"text":""},{"text":"You use the ``Publisher/receive(on:options:)`` operator to receive results and completion on a specific scheduler, such as performing UI work on the main run loop. In contrast with ``Publisher/subscribe(on:options:)``, which affects upstream messages, ``Publisher/receive(on:options:)`` changes the execution context of downstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `jsonPublisher` to receive requests on `backgroundQueue`, while the"},{"text":"``Publisher/receive(on:options:)`` causes `labelUpdater` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let jsonPublisher = MyJSONLoaderPublisher() // Some publisher."},{"text":" let labelUpdater = MyLabelUpdateSubscriber() // Some subscriber that updates the UI."},{"text":""},{"text":" jsonPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(labelUpdater)"},{"text":""},{"text":""},{"text":"Prefer ``Publisher/receive(on:options:)`` over explicit use of dispatch queues when performing work in subscribers. For example, instead of the following pattern:"},{"text":""},{"text":" pub.sink {"},{"text":" DispatchQueue.main.async {"},{"text":" // Do something."},{"text":" }"},{"text":" }"},{"text":""},{"text":"Use this pattern instead:"},{"text":""},{"text":" pub.receive(on: DispatchQueue.main).sink {"},{"text":" // Do something."},{"text":" }"},{"text":""},{"text":" > Note: ``Publisher/receive(on:options:)`` doesn’t affect the scheduler used to call the subscriber’s ``Subscriber/receive(subscription:)`` method."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler the publisher uses for element delivery."},{"text":" - options: Scheduler options used to customize element delivery."},{"text":"- Returns: A publisher that delivers elements using the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO9DidChangeV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidChange","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV9parameteryACSSF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath","parameter(_:)"],"names":{"title":"parameter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a bind target for a particular animated property."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The animated property's name."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13billboardModeAE09BillboardG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","billboardMode"],"names":{"title":"billboardMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"billboardMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BillboardMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The mode defining whether and how particles orient towards the camera. Defaults to `billboardYAligned`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"billboardMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BillboardMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO15lightingDiffuseyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","lightingDiffuse"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.lightingDiffuse","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingDiffuse"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the intensity of indirect light hitting the"},{"text":"entity as its surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`lightingDiffuse` to an entity to tell RealityKit to draw the"},{"text":"intensity of indirect, ambient lighting falling on the entity as its"},{"text":"surface color. RealityKit represents the intensity of indirect light"},{"text":"as a grayscale value from black (`0.0`) to white (`1.0`)."},{"text":""},{"text":"RealityKit calculates diffuse lighting for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray, which is a representation of"},{"text":"the amount of indirect light falling on the TV at each"},{"text":"point.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-lightingDiffuse-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingDiffuse"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC10shouldLoopSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","shouldLoop"],"names":{"title":"shouldLoop","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Whether or not this file loops during playback. This should be set for assets"},{"text":"that are prepared as seamless loops. A looping resource will play forever until it is"},{"text":"explicitly told to stop."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"deprecated":{"major":100000,"minor":0},"message":"Use configuration.shouldLoop instead."},{"domain":"macCatalyst","introduced":{"major":13},"deprecated":{"major":100000,"minor":0},"message":"Use configuration.shouldLoop instead."},{"domain":"iOS","introduced":{"major":13},"deprecated":{"major":100000,"minor":0},"message":"Use configuration.shouldLoop instead."}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryDrop(while:)"],"names":{"title":"tryDrop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until an error-throwing closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/tryDrop(while:)`` to omit elements from an upstream until an error-throwing closure you provide returns false, after which the remaining items in the stream are published. If the closure throws, no elements are emitted and the publisher fails with an error."},{"text":""},{"text":"In the example below, elements are ignored until `-1` is encountered in the stream and the closure returns `false`. The publisher then republishes the remaining elements and finishes normally. Conversely, if the `guard` value in the closure had been encountered, the closure would throw and the publisher would fail with an error."},{"text":""},{"text":" struct RangeError: Error {}"},{"text":" var numbers = [1, 2, 3, 4, 5, 6, -1, 7, 8, 9, 10]"},{"text":" let range: CountableClosedRange = (1...100)"},{"text":" cancellable = numbers.publisher"},{"text":" .tryDrop {"},{"text":" guard $0 != 0 else { throw RangeError() }"},{"text":" return range.contains($0)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 7 8 9 10 completion: finished\""},{"text":" // If instead numbers was [1, 2, 3, 4, 5, 6, 0, -1, 7, 8, 9, 10], tryDrop(while:) would fail with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`, and then republishes all remaining elements. If the predicate closure throws, the publisher fails with an error."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8fillModeAA0d4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueCyA2E10DescriptorVKcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a new drawable queue."},{"text":""},{"text":"- Parameter descriptor: A descriptor object that describes the texture to be created."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE4load5named2inACSS_So8NSBundleCSgtYaKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","load(named:in:)"],"names":{"title":"load(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously loads an entity from a file in a bundle."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The base name of the file to load, omitting the file extension, or scene name if loading from a .reality file."},{"text":" - bundle: The bundle containing the file. Use `nil` to search the app's main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file. Testing Previews String."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","renamed":"Entity.init","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16lightingSpecularyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","lightingSpecular"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.lightingSpecular","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingSpecular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the intensity of direct light hitting the"},{"text":"entity as its surface color."},{"text":""},{"text":"Adding a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`lightingSpecular` to an entity tells RealityKit to draw the"},{"text":"intensity of direct light falling on the entity as its surface"},{"text":"color. The calculated value represents direct light hitting the"},{"text":"object from both real-world and virtual lights. RealityKit draws the"},{"text":"light intensity as a grayscale value from black (`0.0`) to white"},{"text":"(`1.0`)."},{"text":""},{"text":"RealityKit calculates specular lighting for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .lightingSpecular)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray, which is a representation of"},{"text":"the amount of direct light falling on the TV at each"},{"text":"point.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-lightingSpecular-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lightingSpecular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18TransientComponentP","interfaceLanguage":"swift"},"pathComponents":["TransientComponent"],"names":{"title":"TransientComponent","navigator":[{"kind":"identifier","spelling":"TransientComponent"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TransientComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface for components that aren’t saved to file or cloned."},{"text":""},{"text":"Components that conform to the ``TransientComponent`` protocol aren’t"},{"text":"included when RealityKit serializes its owning entity to save it to a file."},{"text":"Similarly, when you clone an entity, any transient components on that entity"},{"text":"aren’t copied to the clone."},{"text":""},{"text":"To ensure that cloned entities, or entities saved to file get a copy of the"},{"text":"transient component with default values, create and initialize the component"},{"text":"in your entity’s `init()` method:"},{"text":""},{"text":"```swift"},{"text":"class MyEntity: Entity {"},{"text":" required init() {"},{"text":" let newComponent = MyComponent()"},{"text":" components[MyComponent.self] = newComponent"},{"text":" return newComponent"},{"text":" }"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Alternatively, you can create a computed"},{"text":"property for your component that initializes it to default values the first"},{"text":"time your code accesses it."},{"text":""},{"text":"```swift"},{"text":"class MyEntity: Entity {"},{"text":" var myComponent: MyComponent {"},{"text":" // If the component exists, return it."},{"text":" if let component = components[MyComponent.self] {"},{"text":" return component"},{"text":" }"},{"text":""},{"text":" // Create a new component and return it."},{"text":" components[MyComponent.self] = MyComponent()"},{"text":" return newComponent"},{"text":" }"},{"text":"}"},{"text":"```"},{"text":""},{"text":"Use transient components to represent runtime state for an entity. For"},{"text":"example, an entity representing a fish in a virtual aquarium might store"},{"text":"attributes such as hunger in a transient component."},{"text":""},{"text":"In networked AR experiences, RealityKit sends transient components to peers"},{"text":"when it sends the entity, if the component also conforms to"},{"text":". If transient"},{"text":"components don’t conform, ReaityKit still sends the entity to network peers,"},{"text":"but it excludes the transient component."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TransientComponent"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO15textureResourceyAeA07TextureG0CcAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","textureResource(_:)"],"names":{"title":"MaterialParameters.Value.textureResource(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureResource"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureResource"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two physics body components are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first physics body component to compare."},{"text":""},{"text":" - rhs: The second physics body component to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two physics body"},{"text":"components are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection"],"names":{"title":"Entity.ChildCollection","navigator":[{"kind":"identifier","spelling":"ChildCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ChildCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ChildCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV5startSdvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","start"],"names":{"title":"start","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An integer multiple of the frame interval at which the animation plays."},{"text":""},{"text":"When calculating the visual beginning of a sampled animation, the"},{"text":"framework first evaluates this property, and then applies the optional"},{"text":"``SampledAnimation/trimStart``, in seconds."},{"text":""},{"text":"The framework requires this property to contain an integer multiple of"},{"text":"``SampledAnimation/frameInterval``. Note that the value of this property"},{"text":"can be irrational because frame interval is of type"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction","library"],"names":{"title":"library","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Metal Library containing the given function. Most often this is your"},{"text":"app's default library."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"library"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLLibrary","preciseIdentifier":"c:objc(pl)MTLLibrary"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE20preferredViewingModeAcAE0gH0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","preferredViewingMode"],"names":{"title":"preferredViewingMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preferredViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Do we want to play stereo video in mono or stereo?"},{"text":"Default is to play in stereo."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preferredViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV7inertias5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","inertia"],"names":{"title":"inertia","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The inertia in kilograms per square meter."},{"text":""},{"text":"The vector contains the diagonal elements of the diagonalized inertia"},{"text":"matrix."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inertia"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the position immediately after the given index."},{"text":""},{"text":"The successor of an index must be well defined. For an index `i` into a"},{"text":"collection `c`, calling `c.index(after: i)` returns the same index every"},{"text":"time."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."},{"text":"- Returns: The index value immediately after `i`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor"],"names":{"title":"TextureResource.DrawableQueue.Descriptor","navigator":[{"kind":"identifier","spelling":"Descriptor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Descriptor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Describes the texture managed by the drawable queue"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Descriptor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation0A15CoordinateSpacePA2A05SceneacD0VRszrlE5sceneAEvpZ::SYNTHESIZED::s:17RealityFoundation05SceneA15CoordinateSpaceV","interfaceLanguage":"swift"},"pathComponents":["SceneRealityCoordinateSpace","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneRealityCoordinateSpace","preciseIdentifier":"s:17RealityFoundation05SceneA15CoordinateSpaceV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"SceneRealityCoordinateSpace","rhsPrecise":"s:17RealityFoundation05SceneA15CoordinateSpaceV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneRealityCoordinateSpace","preciseIdentifier":"s:17RealityFoundation05SceneA15CoordinateSpaceV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5usageSo15MTLTextureUsageVvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","usage"],"names":{"title":"usage","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how you can use each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO10simd3FloatyAEs5SIMD3VySfGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","simd3Float(_:)"],"names":{"title":"MaterialParameters.Value.simd3Float(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd3Float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd3Float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation8BindPathV4PartO","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7byValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11mipmapsModeAC07MipmapsH0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how mipmaps are handled for each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO5floatyAESfcAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","float(_:)"],"names":{"title":"MaterialParameters.Value.float(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO11DidActivateV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","DidActivate","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func","displayName":"Function"},"identifier":{"precise":"s:17RealityFoundation5blend__4name10isAdditiveAA13BlendTreeNode_pAaE_p_AaE_pSSSbtF","interfaceLanguage":"swift"},"pathComponents":["blend(_:_:name:isAdditive:)"],"names":{"title":"blend(_:_:name:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Combines the animations that result from two blend-tree nodes into a single"},{"text":"blend-tree node."},{"text":""},{"text":"- Parameters:"},{"text":" - x: A blend-tree node whose animation combines with the second animation"},{"text":"argument."},{"text":""},{"text":" - y: A blend-tree node whose animation combines with the first animation"},{"text":"argument."},{"text":""},{"text":" - name: A unique name for the combined node."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation builds on"},{"text":"the current state of the target entity, or resets the state before running."},{"text":""},{"text":"- Returns: A blend-tree node that combines the given animations."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"isAdditive","declarationFragments":[{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13sizeVariationSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","sizeVariation"],"names":{"title":"sizeVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sizeVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range from which a value is randomly selected to offset `size`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sizeVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryV","interfaceLanguage":"swift"},"pathComponents":["EntityQuery"],"names":{"title":"EntityQuery","navigator":[{"kind":"identifier","spelling":"EntityQuery"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityQuery"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that retrieves entities from a scene."},{"text":""},{"text":"Use entity queries to iterate through all entities in a RealityKit scene"},{"text":"that meet certain criteria. To specify which entities to retrieve, use a"},{"text":"``QueryPredicate``."},{"text":""},{"text":"To execute the query, pass it into the scene’s ``RealityKit/Scene/performQuery(_:)``"},{"text":"method and then iterate over the results."},{"text":""},{"text":"```swift"},{"text":"// Build a query to retrieve all anchor components."},{"text":"let query = EntityQuery(where: .has(AnchorComponent.self)"},{"text":""},{"text":"// Ask the scene to perform the query and iterate over the returned"},{"text":"entities. scene.performQuery(query).forEach { entity in"},{"text":" // Make any needed changes to entities."},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityQuery"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO10simd2FloatyAEs5SIMD2VySfGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value","simd2Float(_:)"],"names":{"title":"MaterialParameters.Value.simd2Float(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd2Float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd2Float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until a given closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/drop(while:)`` to omit elements from an upstream publisher until the element received meets a condition you specify."},{"text":""},{"text":"In the example below, the operator omits all elements in the stream until the first element arrives that’s a positive integer, after which the operator publishes all remaining elements:"},{"text":""},{"text":" let numbers = [-62, -1, 0, 10, 0, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .drop { $0 <= 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10 0, 22 41 -1 5\""},{"text":""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO6normalyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","normal"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the normal vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`normal` to an entity to tell RealityKit to draw that entity’s"},{"text":"_surface normal vectors_ as its surface color. A normal vector is an"},{"text":"imaginary line perpendicular to the surface of the object at a"},{"text":"specific point. RealityKit draws a normal vector by using its `X`,"},{"text":"`Y`, and `Z` values as the `R`, `G`, and `B` components of the"},{"text":"color."},{"text":""},{"text":"RealityKit calculates normals for entities with a ``VideoMaterial``,"},{"text":"``UnlitMaterial``, or ``SimpleMaterial`` as well as for entities"},{"text":"imported from a USDZ file. If an entity doesn’t fall within those"},{"text":"parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable surface normal visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .normal)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a normal visualization, and appears in shades of"},{"text":"blue, green, and purple which is a graphical representation of the"},{"text":"calculated normal vector at each point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-normal-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC20presentOnSceneUpdateyyF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","presentOnSceneUpdate()"],"names":{"title":"presentOnSceneUpdate()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"presentOnSceneUpdate"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Presents the updated texture to the renderer atomically with the current scene update."},{"text":""},{"text":"Needs to be called after all commands in the command buffer have been executed (e.g."},{"text":"after `MTLCommandBuffer.waitUntilCompleted()`). When you call this method, the drawable"},{"text":"will make the new texture content available to the renderer at the same time as all other entity component"},{"text":"changes made during the same scene update."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"presentOnSceneUpdate"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE18currentViewingModeAcAE0gH0OSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","currentViewingMode"],"names":{"title":"currentViewingMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"currentViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Is the currently playing video in mono or stereo?"},{"text":"This is optional because the video may not currently be playing, or the mode is otherwise not available."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"currentViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6modifyyxxSo20MTLSamplerDescriptorCKXEKlF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","modify(_:)"],"names":{"title":"modify(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modify"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]},"functionSignature":{"parameters":[{"name":"closure","declarationFragments":[{"kind":"identifier","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modify"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO10WillRemoveV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillRemove","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component's entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO7tangentyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","tangent"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.tangent","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the surface tangent vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`tangent` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated tangent vectors as its surface color. A tangent vector is"},{"text":"an imaginary line that touches, but doesn’t intersect with the"},{"text":"surface of the object at a specific point. RealityKit draws a"},{"text":"tangent vector by using its `X`, `Y`, and `Z` values as the `R`,"},{"text":"`G`, and `B` components of the color."},{"text":""},{"text":"RealityKit calculates tangents for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, or ``SimpleMaterial`` as well"},{"text":"as for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable tangent visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let robot = anchor.findEntity(named: \"Robot\") as?"},{"text":" ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .tangent)"},{"text":" robot.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a tangent visualization, and appears in shades of"},{"text":"yellows, purple, pinks, and blues, which is a graphical"},{"text":"representation of the calculated surfance tangent vector at each"},{"text":"point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-tangent-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","removeDuplicates(by:)"],"names":{"title":"removeDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided closure."},{"text":""},{"text":"Use ``Publisher/removeDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of the current and previously published elements using a closure you provide."},{"text":""},{"text":"Use the ``Publisher/removeDuplicates(by:)`` operator when comparing types that don’t themselves implement `Equatable`, or if you need to compare values differently than the type’s `Equatable` implementation."},{"text":""},{"text":"In the example below, the ``Publisher/removeDuplicates(by:)`` functionality triggers when the `x` property of the current and previous elements are equal, otherwise the operator publishes the current `Point` to the downstream subscriber:"},{"text":""},{"text":" struct Point {"},{"text":" let x: Int"},{"text":" let y: Int"},{"text":" }"},{"text":""},{"text":" let points = [Point(x: 0, y: 0), Point(x: 0, y: 1),"},{"text":" Point(x: 1, y: 1), Point(x: 2, y: 1)]"},{"text":" cancellable = points.publisher"},{"text":" .removeDuplicates { prev, current in"},{"text":" // Considers points to be duplicate if the x coordinate"},{"text":" // is equal, and ignores the y coordinate"},{"text":" prev.x == current.x"},{"text":" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: Point(x: 0, y: 0) Point(x: 1, y: 1) Point(x: 2, y: 1)"},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9bitangentyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","bitangent"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.bitangent","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the surface bitangent vectors as a color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`bitangent` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated surface bitangent vectors as its surface color. A"},{"text":"bitangent vector is an imaginary line that’s orthagonal to both the"},{"text":"`normal` and `tangent` vectors. RealityKit draws a bitangent vector"},{"text":"by using its `X`, `Y`, and `Z` values as the `R`, `G`, and `B`"},{"text":"components of the color."},{"text":""},{"text":"RealityKit calculates bitangents for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, or ``SimpleMaterial`` as well"},{"text":"as for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable bitangent visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .bitangent)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a tangent visualization, and appears in shades of"},{"text":"yellow, purples, pinks, and blues, which is a graphical"},{"text":"representation of the calculated surface bitangent vector at each"},{"text":"point on the TV’s"},{"text":"surface.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-bitangent-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read an instance given its name."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC7presentyyF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","present()"],"names":{"title":"present()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Presents the updated texture to the renderer as soon as possible."},{"text":""},{"text":"Needs to be called after all commands in the command buffer have been executed (e.g."},{"text":"after `MTLCommandBuffer.waitUntilCompleted()`). When you call this method, the drawable"},{"text":"will make the new texture content available to the renderer immediately."},{"text":""},{"text":"Alternatively, instead of waiting for completion you can call"},{"text":"`MTLCommandBuffer.present(_:)` to signal in the command buffer that the texture is ready"},{"text":"to use."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9baseColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","baseColor"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.baseColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s base color with no lighting or"},{"text":"material properties applied."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`baseColor` to an entity to tell RealityKit to draw that entity’s"},{"text":"base color without any shadows, specular highlights, transparency,"},{"text":"or reflections."},{"text":""},{"text":"Here’s how to enable base color visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .baseColor)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a base color visualization, and appears without"},{"text":"shadows, reflections, transparency, or other effects."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-baseColor-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV6shapes4mass8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","init(shapes:mass:material:mode:)"],"names":{"title":"init(shapes:mass:material:mode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics body component deriving mass properties from shape and"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The shape for which to estimate the rotational inertia and center of mass."},{"text":""},{"text":" - mass: The mass of the object in kilograms."},{"text":""},{"text":" - material: The material properties, like friction."},{"text":""},{"text":" - mode: The simulation mode that indicates how a body responds to"},{"text":"forces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":" = .dynamic)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18textureCoordinatesyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","textureCoordinates"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.textureCoordinates","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the texture coordinates as a color."},{"text":""},{"text":"Adding a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`textureCoordinates` to an entity tells RealityKit to draw that"},{"text":"entity’s UV texture coordinates as its surface color. RealityKit"},{"text":"draws the texture coordinates by using its `U` and `V` values as the"},{"text":"`R` and `G` components of the color, using a value of `0` for the"},{"text":"color’s `B` component."},{"text":""},{"text":"RealityKit calculates texture coordinates for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, ``SimpleMaterial`` as well as"},{"text":"for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable UV texture coordinate visualization for an"},{"text":"entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .textureCoordinates)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right uses a texture coordinate visualization, and appears in"},{"text":"bright shades of yellow, green, and red, which is a graphical"},{"text":"representation of the TV’s texture coordinates."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-textureCoordinates-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV4massSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties","mass"],"names":{"title":"mass","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The mass in kilograms."},{"text":""},{"text":"For a mass of `0` or infinity, the simulation treats the object as"},{"text":"``PhysicsBodyMode/kinematic``. That is, the object doesn’t respond to"},{"text":"forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","finalColor"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.finalColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s calculated color, ignoring"},{"text":"transparency."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`finalColor` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated surface color with no transparency. This option causes"},{"text":"RealityKit to render the object as if it were fully opaque. For"},{"text":"entities that don’t use transparency, this option has no affect."},{"text":""},{"text":"Here’s how to enable final color visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":"if let robot = anchor.findEntity(named: \"Robot\") as?"},{"text":"ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .finalColor)"},{"text":" robot.modelDebugOptions = component"},{"text":"}"},{"text":"```"},{"text":""},{"text":"![A screenshot showing two virtual glass thermometers in front of a"},{"text":"robot in an AR app. The thermometer on the left is transparent, and"},{"text":"the robot can be seen through it. The thermometer on the right is"},{"text":"drawn opaque in dark and light shades of gray, representing the"},{"text":"final calculated color of the thermometer, ignoring"},{"text":"transparency.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-finalColor-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode"],"names":{"title":"BlendTreeInvalidNode","navigator":[{"kind":"identifier","spelling":"BlendTreeInvalidNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeInvalidNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A blend tree node that's internal only or sources from an invalid"},{"text":"definition."},{"text":""},{"text":"This structure adopts ``BlendTreeNode`` and adds the ability to detect a"},{"text":"node that contains neither an animation nor any branches in the blend tree."},{"text":""},{"text":"You don't create instances of this structure. Instead, detect whether your"},{"text":"blend-tree node matches the framework's criteria for invalid nodes by"},{"text":"checking the node type, as the following code demonstrates."},{"text":""},{"text":"```swift"},{"text":"// Get the blend tree's root node."},{"text":"guard let blendNode = blendTree.root as? BlendTreeBlendNode else { return }"},{"text":"for node in blendNode.sources {"},{"text":" if let invalidNode = node as? BlendTreeInvalidNode {"},{"text":" // Respond to invalid-node criteria."},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeInvalidNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV13frameIntervalSfvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frameInterval"],"names":{"title":"frameInterval","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The duration within the animation timeline for each frame in the frames"},{"text":"array."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes"],"names":{"title":"MaterialParameterTypes","navigator":[{"kind":"identifier","spelling":"MaterialParameterTypes"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameterTypes"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of typesused for material parameters."},{"text":""},{"text":"This class contains many nested types used to specify various properties of"},{"text":"material."},{"text":""},{"text":"Many material properties support more than one type of data. For example,"},{"text":"you can specify ``PhysicallyBasedMaterial/baseColor-swift.property`` using"},{"text":"either a single `Float`, or a UV mapped image texture."},{"text":"MaterialParameterTypes and its nested symbols implement the ability to"},{"text":"accept different data types for the same property."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialParameterTypes"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instances"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15loadingStrategyAC07LoadingG0Ovp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","loadingStrategy"],"names":{"title":"loadingStrategy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The resource's memory model"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"deprecated":{"major":100000,"minor":0},"message":"Use configuration.loadingStrategy instead."},{"domain":"macCatalyst","introduced":{"major":13},"deprecated":{"major":100000,"minor":0},"message":"Use configuration.loadingStrategy instead."},{"domain":"iOS","introduced":{"major":13},"deprecated":{"major":100000,"minor":0},"message":"Use configuration.loadingStrategy instead."}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalAlphayA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","finalAlpha"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.finalAlpha","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalAlpha"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the entity’s calculated transparency as its"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`finalAlpha` to an entity to tell RealityKit to draw that entity’s"},{"text":"alpha value as its surface color. RealityKit draws the alpha value"},{"text":"as a grayscale value from black (`0.0`) to white (`1.0`), meaning"},{"text":"the more transparent a part of the entity is, the darker RealityKit"},{"text":"draws it."},{"text":""},{"text":"RealityKit calculates final alpha values for entities with a"},{"text":"``VideoMaterial``, ``UnlitMaterial``, ``SimpleMaterial`` as well as"},{"text":"for entities imported from a USDZ file. If an entity doesn’t fall"},{"text":"within those parameters, this option has no effect on the rendering."},{"text":""},{"text":"Here’s how to enable alpha visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .finalAlpha)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn completely white, except for the screen, which is"},{"text":"gray, repersenting TV’s calculated transparency."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-finalAlpha-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"finalAlpha"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioResource","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9roughnessyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","roughness"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.roughness","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the shininess of a material as the surface"},{"text":"color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`roughness` to an entity to tell RealityKit to draw that entity’s"},{"text":"roughness value as its surface color. A high roughness value"},{"text":"represents a surface with a matte finish, while a low roughness"},{"text":"value represents a shiny or polished surface. When using this mode,"},{"text":"RealityKit draws the roughness value as a grayscale value from black"},{"text":"(`0.0`) to white (`1.0`), meaning the shinier a part of the entity"},{"text":"is, the darker RealityKit draws it."},{"text":""},{"text":"RealityKit calculates roughness for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no affect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .roughness)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of gray which is a graphical"},{"text":"representation of the TV’s surface roughness."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-roughness-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode"],"names":{"title":"BlendTreeBlendNode","navigator":[{"kind":"identifier","spelling":"BlendTreeBlendNode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeBlendNode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A source node for an animation that mixes several animations to form a"},{"text":"single animation."},{"text":""},{"text":"A _blend tree animation_ mixes multiple animations to form a single"},{"text":"animation. The ``BlendTreeBlendNode`` structure adopts the ``BlendTreeNode``"},{"text":"protocol, which specifies the behavior of animations that make up a blend"},{"text":"tree animation. This structure adds the ability to branch a blend tree at"},{"text":"any point. Each member of this property's ``BlendTreeBlendNode/sources``"},{"text":"array represents a branch in the tree. For more information about blend"},{"text":"trees, see ``BlendTreeAnimation``."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendTreeBlendNode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","removeDuplicates()"],"names":{"title":"removeDuplicates()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element."},{"text":""},{"text":"Use ``Publisher/removeDuplicates()`` to remove repeating elements from an upstream publisher. This operator has a two-element memory: the operator uses the current and previously published elements as the basis for its comparison."},{"text":""},{"text":"In the example below, ``Publisher/removeDuplicates()`` triggers on the doubled, tripled, and quadrupled occurrences of `1`, `3`, and `4` respectively. Because the two-element memory considers only the current element and the previous element, the operator prints the final `0` in the example data since its immediate predecessor is `4`."},{"text":""},{"text":" let numbers = [0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .removeDuplicates()"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 0\""},{"text":""},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6accessyxxSo20MTLSamplerDescriptorCKXEKlF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","access(_:)"],"names":{"title":"access(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"access"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]},"functionSignature":{"parameters":[{"name":"closure","declarationFragments":[{"kind":"identifier","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"access"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"closure"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"MTLSamplerDescriptor","preciseIdentifier":"c:objc(cs)MTLSamplerDescriptor"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8metallicyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","metallic"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.metallic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the reflectiveness of an entity as its surface"},{"text":"color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`metallic` to an entity to tell RealityKit to draw that entity so"},{"text":"the surface color indicates whether that part of the object reflects"},{"text":"the surrounding environment."},{"text":""},{"text":"RealityKit draws the quality of _metallicity_ as a grayscale value"},{"text":"from black (`0.0`) to white (`1.0`), rendering the reflective parts"},{"text":"of the entity in white and the nonreflective parts in black."},{"text":""},{"text":"RealityKit calculates `metallic` values for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable `metallic` visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .metallic)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black and white which is a graphical"},{"text":"representation of the TV’s"},{"text":"reflectiveness.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-metallic-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new instance to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"instance","declarationFragments":[{"kind":"identifier","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"instance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Instance","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16ambientOcclusionyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","ambientOcclusion"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the calculated ambient occlusion value as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`ambientOcclusion` to an entity to tell RealityKit to draw the"},{"text":"calculated ambient occlusion values as the entity’s surface color."},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":"RealityKit draws ambient occlusion values as a grayscale value from"},{"text":"black (`0.0`) to white (`1.0`), rendering flat surface areas in"},{"text":"white, and crevices, dents, and recessed areas in darker shades."},{"text":""},{"text":"RealityKit calculates ambient occlusion for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable ambient occlusion visualization for an entity:"},{"text":""},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .ambientOcclusion)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":"representation of the TV’s ambient occlusion"},{"text":"values.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-ambientOcclusion-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:)"],"names":{"title":"merge(with:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from two other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:)-5crqg``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:)-8d7k7``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":""},{"text":" // Prints: \"1 40 90 2 50 100\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent"],"names":{"title":"SceneUnderstandingComponent","navigator":[{"kind":"identifier","spelling":"SceneUnderstandingComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUnderstandingComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that maps features of the physical environment."},{"text":""},{"text":"Example features include faces and the shape of arbitrary regions."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUnderstandingComponent"}],"accessLevel":"public","availability":[{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8specularyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","specular"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.specular","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays en entitiy’s shininess as its surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`specular` to an entity to tell RealityKit to draw the entity’s"},{"text":"calculated specularity as its surface color. RealityKit uses"},{"text":"`specular` to calculate bright highlights caused by shiny surfaces"},{"text":"reflecting light. RealityKit draws the specularity value as a"},{"text":"grayscale value from black (`0.0`) to white (`1.0`)."},{"text":""},{"text":"- Note: In most cases, RealityKit calculates specular highlights"},{"text":"based on an entity’s `roughness` and `metallic` values, and not its"},{"text":"`specular` value, which is usually `0.0`. As a result, this mode"},{"text":"causes most entities to render in solid black. Only entities that"},{"text":"need highlights in addition to the ones RealityKit calculates from"},{"text":"`roughness` and `metallic` need `specular` values greater than zero."},{"text":"Examples of entities that might use `specular` to create"},{"text":"supplemental highlights are gemstones and cut glass."},{"text":""},{"text":"RealityKit calculates specularity for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable ambient occlusion visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .specular)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in shades of white and gray which is a graphical"},{"text":"representation of the TV’s specular values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-specular-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8emissiveyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","emissive"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.emissive","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissive"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the emissive channel of a material as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`emissive` to an entity to tell RealityKit to draw that entity’s"},{"text":"calculated emissive values as its surface color. The emissive"},{"text":"channel indicates which parts of the entity emit light. When using"},{"text":"this mode, RealityKit draws any part of the entity that emits light"},{"text":"in the color of the light it emits and draws any part of the entity"},{"text":"that doesn’t emit light as black."},{"text":""},{"text":"RealityKit calculates emissive for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .emissive)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black except for the screen, which displays"},{"text":"the colored test pattern. This is a graphical representation of the"},{"text":"TV’s emissive"},{"text":"values.](ModelDebugOptionsComponent-VisualizationMode-swift-enum-emissive-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissive"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC7textureSo10MTLTexture_pvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Metal texture object that contains the drawable’s contents."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9clearcoatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","clearcoat"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.clearcoat","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the clearcoat channel of a material as the"},{"text":"surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`clearcoat` to an entity to tell RealityKit to draw the entity’s"},{"text":"clearcoat values as its surface color. A clearcoat is a way to"},{"text":"render objects that appear to have a transparent coating or veneer,"},{"text":"such as the surface of a car with a coat of wax or items"},{"text":"shrinkwrapped in clear plastic. RealityKit draws clearcoat values as"},{"text":"a grayscale value from black (`0.0`) to white (`1.0`), with black"},{"text":"representing parts of the entity that don’t use clearcoat."},{"text":""},{"text":"RealityKit calculates clearcoat for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .clearcoat)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old-fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black, except for the screen, which is drawn"},{"text":"in shades of gray, which is a representation of the TV’s clearcoat"},{"text":"values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-clearcoat-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V4sizeSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","size"],"names":{"title":"size","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rendered size, in units of the scene’s world coordinate space, of the particle image. Value is the half-extent of the particle's quad. Defaults to 0.02."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV13componentTypeAA0C0_pXpvp","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents","WillDeactivate","componentType"],"names":{"title":"componentType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component type."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7toValueSfSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18clearcoatRoughnessyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","clearcoatRoughness"],"names":{"title":"ModelDebugOptionsComponent.VisualizationMode.clearcoatRoughness","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that displays the clearcoat roughness channel of a material"},{"text":"as the surface color."},{"text":""},{"text":"Add a ``ModelDebugOptionsComponent`` with a visualization mode of"},{"text":"`clearcoatRoughness` to an entity to tell RealityKit to draw the"},{"text":"entity’s calculated clearcoat roughness as its surface color."},{"text":"Clearcoat is a way to render objects that have a shiny transparent"},{"text":"coating or veneer, such as the surface of a car with a coat of wax"},{"text":"or items shrinkwrapped in clear plastic. The clearcoat roughness"},{"text":"value represents the shininess of the clearcoat and is only used on"},{"text":"parts of the entity that have a `clearcoat` value greater than zero."},{"text":"RealityKit draws the clearcoat roughness value as a grayscale value"},{"text":"from black (`0.0`) to white (`1.0`), with lighter areas representing"},{"text":"parts with a shinier clearcoat."},{"text":""},{"text":"RealityKit calculates clearcoat roughness for entities with a"},{"text":"``SimpleMaterial`` and for entities imported from a USDZ file. For"},{"text":"other entities, this option has no effect."},{"text":""},{"text":"Here’s how to enable roughness visualization for an entity:"},{"text":""},{"text":"```swift"},{"text":" if let television = anchor.findEntity(named: \"Television\")"},{"text":" as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .clearcoatRoughness)"},{"text":" television.modelDebugOptions = component"},{"text":"} ```"},{"text":""},{"text":"![A screenshot showing two virtual TVs from an AR app. The TV on the"},{"text":"left uses no debug visualizations, and renders as an old fashioned"},{"text":"television displaying a multicolored test pattern. It is drawn with"},{"text":"shadows and highlights to appear as realistic as possible. The TV on"},{"text":"the right is drawn in black, except for the screen, which is drawn"},{"text":"in shades of gray. This is a representation of the TV’s clearcoat"},{"text":"roughness values."},{"text":"](ModelDebugOptionsComponent-VisualizationMode-swift-enum-clearcoatRoughness-1)"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormatSo08MTLPixelI0Vvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","pixelFormat"],"names":{"title":"pixelFormat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The size and bit layout of all pixels in each drawable's texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15PortalComponentV12targetEntityAA0F0CSgvp","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","targetEntity"],"names":{"title":"targetEntity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"targetEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The target entity representing the world that the portal is targeting."},{"text":"When the target entity is valid and has a WorldComponent, the portal"},{"text":"will render in its contents the target entity and its entity tree."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"targetEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:)-48buc`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:_:)-16rcy`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, ``Publisher/combineLatest(_:_:_:)-48buc`` receives input from any of the publishers, combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":" //"},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9, 1)."},{"text":" // Result: (3, 2, 9, 1)."},{"text":" // Result: (3, 12, 9, 1)."},{"text":" // Result: (13, 12, 9, 1)."},{"text":" // Result: (13, 12, 19, 1)."},{"text":""},{"text":"If any individual publisher of the combined set terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO2eeoiySbAI_AItFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV5coloryAGSo10CGColorRefaFZ","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraSettings","ColorBackground","color(_:)"],"names":{"title":"color(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorBackground","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use a solid color as background."},{"text":"- Parameter color: The color to use for background."}]},"functionSignature":{"parameters":[{"name":"color","declarationFragments":[{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"}]}],"returns":[{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorBackground","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorBackground","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV12makeIteratorAC0F0Vyx_GyF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation10MeshBufferV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``FromToByAnimation/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV26textureCoordinateTransformAA0E14ParameterTypesV07TexturegH0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","textureCoordinateTransform"],"names":{"title":"textureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation to apply to the entity’s primary"},{"text":"texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates control how RealityKit materials map"},{"text":"image textures onto an entity. This property allows you to transform the"},{"text":"texture coordinates to change the way this material maps its textures."},{"text":"You might, for example, change the scale of a property to apply a tiled,"},{"text":"repeating pattern, or continuously rotate or translate the texture"},{"text":"coordinates to animate materials to create special effects, such as fire"},{"text":"or flowing liquids."},{"text":""},{"text":"The following example shows how to set a material’s UV transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees converted to radians."},{"text":"material.textureCoordinateTransform = .init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"Some entities imported from USDZ files have more than one set of UV"},{"text":"coordinates. This property affects the primary UV set (sometimes called"},{"text":"“UV1”). To transform the secondary UV coordinates (”UV2”), use"},{"text":"``PhysicallyBasedMaterial/secondaryTextureCoordinateTransform``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVAAE_12trackingModeA2C6TargetO_AcAE08TrackingF0Vtcfc","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","init(_:trackingMode:)"],"names":{"title":"init(_:trackingMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trackingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trackingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV9DepthPassO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","DepthPass","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection"],"names":{"title":"MeshSkeletonCollection","navigator":[{"kind":"identifier","spelling":"MeshSkeletonCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshSkeletonCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of skeletons used by a mesh resource."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshSkeletonCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V14spreadingAngleSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","spreadingAngle"],"names":{"title":"spreadingAngle","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spreadingAngle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The range, in radians, of randomized initial particle directions as radians describing the size of the spreading cone. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spreadingAngle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO7loopingyA2ImF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","looping"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.ImageSequence.AnimationRepeatMode.looping","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"looping"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image sequence loops repeatedly."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"looping"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyLinearImpulse(_:relativeTo:)"],"names":{"title":"applyLinearImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at its center of mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO11autoReverseyA2ImF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","autoReverse"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.ImageSequence.AnimationRepeatMode.autoReverse","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoReverse"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image sequence plays through and then plays in reverse order and then repeats."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoReverse"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV17restPoseTransformAA0I0Vvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","Joint","restPoseTransform"],"names":{"title":"restPoseTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"restPoseTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The local transform of this joint in skeleton's rest pose, specified relative to"},{"text":"this joint's parent (or relative to model space, if this joint has no parent)."},{"text":""},{"text":"The rest pose of a skeleton is used when a joint is not otherwise animated."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"restPoseTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent"],"names":{"title":"PhysicsMotionComponent","navigator":[{"kind":"identifier","spelling":"PhysicsMotionComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMotionComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that controls the motion of the body in physics simulations."},{"text":""},{"text":"You specify velocities in the coordinate space of the physics simulation"},{"text":"defined by ``ARView/PhysicsSimulationComponent.nearestSimulationEntity``."},{"text":""},{"text":"The behavior of an entity with a physics motion component depends on the"},{"text":"entity’s ``PhysicsBodyComponent/mode`` setting:"},{"text":""},{"text":"- term ``PhysicsBodyMode/static``: The physics simulation ignores the"},{"text":"velocities. The entity doesn’t move. - term ``PhysicsBodyMode/kinematic``:"},{"text":"The physics simulation moves the body according to the values you set for"},{"text":"``PhysicsMotionComponent/angularVelocity`` and"},{"text":"``PhysicsMotionComponent/linearVelocity``. - term"},{"text":"``PhysicsBodyMode/dynamic``: The physics simulation overwrites the velocity"},{"text":"values based on simulation, and ignores any values that you write."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMotionComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","recoverySuggestion"],"names":{"title":"recoverySuggestion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing how one might recover from the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV13outputTextureAGyFZ","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraSettings","ColorBackground","outputTexture()"],"names":{"title":"outputTexture()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outputTexture"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorBackground","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the corresponding `CameraOutput` colorTexture as background."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorBackground","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"outputTexture"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorBackground","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","clearForcesAndTorques()"],"names":{"title":"clearForcesAndTorques()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Clears all forces previously added to the physics body."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV9DepthPassO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","DepthPass","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"],"names":{"title":"handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Performs the specified closures when publisher events occur."},{"text":""},{"text":"Use ``Publisher/handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)`` when you want to examine elements as they progress through the stages of the publisher’s lifecycle."},{"text":""},{"text":"In the example below, a publisher of integers shows the effect of printing debugging information at each stage of the element-processing lifecycle:"},{"text":""},{"text":" let integers = (0...2)"},{"text":" cancellable = integers.publisher"},{"text":" .handleEvents(receiveSubscription: { subs in"},{"text":" print(\"Subscription: \\(subs.combineIdentifier)\")"},{"text":" }, receiveOutput: { anInt in"},{"text":" print(\"in output handler, received \\(anInt)\")"},{"text":" }, receiveCompletion: { _ in"},{"text":" print(\"in completion handler\")"},{"text":" }, receiveCancel: {"},{"text":" print(\"received cancel\")"},{"text":" }, receiveRequest: { (demand) in"},{"text":" print(\"received demand: \\(demand.description)\")"},{"text":" })"},{"text":" .sink { _ in return }"},{"text":""},{"text":" // Prints:"},{"text":" // received demand: unlimited"},{"text":" // Subscription: 0x7f81284734c0"},{"text":" // in output handler, received 0"},{"text":" // in output handler, received 1"},{"text":" // in output handler, received 2"},{"text":" // in completion handler"},{"text":""},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: An optional closure that executes when the publisher receives the subscription from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveOutput: An optional closure that executes when the publisher receives a value from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveCompletion: An optional closure that executes when the upstream publisher finishes normally or terminates with an error. This value defaults to `nil`."},{"text":" - receiveCancel: An optional closure that executes when the downstream receiver cancels publishing. This value defaults to `nil`."},{"text":" - receiveRequest: An optional closure that executes when the publisher receives a request for more elements. This value defaults to `nil`."},{"text":"- Returns: A publisher that performs the specified closures when publisher events occur."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCancel","declarationFragments":[{"kind":"identifier","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveRequest","declarationFragments":[{"kind":"identifier","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"},{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from seven other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":" let pubH = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF, pubG, pubH)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1000)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1001)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 1000 2 50 100 -2 33 33 54 1001\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":" - h: An eighth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]},{"name":"h","declarationFragments":[{"kind":"identifier","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1},{"name":"H","index":6,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"},{"kind":"sameType","lhs":"G.Failure","rhs":"H.Failure"},{"kind":"sameType","lhs":"G.Output","rhs":"H.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13TextComponentV4sizeSo6CGSizeVvp","interfaceLanguage":"swift"},"pathComponents":["TextComponent","size"],"names":{"title":"size","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGSize","preciseIdentifier":"c:@S@CGSize"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGSize","preciseIdentifier":"c:@S@CGSize"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryReduce(_:_:)"],"names":{"title":"tryReduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies an error-throwing closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/tryReduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on an error-throwing closure you provide."},{"text":"If the closure throws an error, the publisher fails and passes the error to its subscriber."},{"text":""},{"text":"In the example below, the publisher’s `0` element causes the `myDivide(_:_:)` function to throw an error and publish the result:"},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" var numbers: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" numbers.publisher"},{"text":" .tryReduce(numbers.first!, { accum, next in try myDivide(accum, next) })"},{"text":" .catch({ _ in Just(Double.nan) })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: An error-throwing closure that takes the previously-accumulated value and the next element from the upstream publisher to produce a new value."},{"text":""},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation5AudioO11DirectivityO","interfaceLanguage":"swift"},"pathComponents":["Audio","Directivity"],"names":{"title":"Audio.Directivity","navigator":[{"kind":"identifier","spelling":"Directivity"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Directivity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The radiation pattern of sound emitted from an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Directivity"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","resetPhysicsTransform(_:recursive:)"],"names":{"title":"resetPhysicsTransform(_:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position and velocities of the simulated physics body."},{"text":""},{"text":"Call this method to change the transform applied to a body by physics"},{"text":"simulation. This only matters for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s ``HasTransform/transform`` property"},{"text":"directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":"- transform: The new transform to inject into the dynamic physics"},{"text":"simulation of the entity."},{"text":""},{"text":" - recursive: Apply the reset to child entities."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Will be hidden in RealityKit 2019.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","timeout(_:scheduler:options:customError:)"],"names":{"title":"timeout(_:scheduler:options:customError:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Terminates publishing if the upstream publisher exceeds the specified time interval without producing an element."},{"text":""},{"text":"Use ``Publisher/timeout(_:scheduler:options:customError:)`` to terminate a publisher if an element isn’t delivered within a timeout interval you specify."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes elements and is configured to time out if no new elements are received within its `TIME_OUT` window of 5 seconds. A single value is published after the specified 2-second `WAIT_TIME`, after which no more elements are available; the publisher then times out and completes normally."},{"text":""},{"text":" var WAIT_TIME : Int = 2"},{"text":" var TIMEOUT_TIME : Int = 5"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" let cancellable = subject"},{"text":" .timeout(.seconds(TIMEOUT_TIME), scheduler: DispatchQueue.main, options: nil, customError:nil)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0) at \\(Date())\") },"},{"text":" receiveValue: { print (\"value: \\($0) at \\(Date())\") }"},{"text":" )"},{"text":""},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(WAIT_TIME),"},{"text":" execute: { subject.send(\"Some data - sent after a delay of \\(WAIT_TIME) seconds\") } )"},{"text":""},{"text":" // Prints: value: Some data - sent after a delay of 2 seconds at 2020-03-10 23:47:59 +0000"},{"text":" // completion: finished at 2020-03-10 23:48:04 +0000"},{"text":""},{"text":""},{"text":"If `customError` is `nil`, the publisher completes normally; if you provide a closure for the `customError` argument, the upstream publisher is instead terminated upon timeout, and the error is delivered to the downstream."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The maximum time interval the publisher can go without emitting an element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to deliver events."},{"text":" - options: Scheduler options that customize the delivery of elements."},{"text":" - customError: A closure that executes if the publisher times out. The publisher sends the failure returned by this closure to the subscriber as the reason for termination."},{"text":"- Returns: A publisher that terminates if the specified interval elapses with no events received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]},{"name":"customError","declarationFragments":[{"kind":"identifier","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV11calibrationAA0cE0CAAE11CalibrationVSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","calibration"],"names":{"title":"calibration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"calibration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines calibration options. See ``RealityFoundation/AudioResource/Calibration`` for more details."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"calibration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic"],"names":{"title":"TextureResource.Semantic","navigator":[{"kind":"identifier","spelling":"Semantic"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object used to specify the intended usage of a texture."},{"text":""},{"text":"RealityKit uses image textures to transmit different types of data Metal"},{"text":"shaders. For example, it uses textures to send RGB images with the base"},{"text":"color of the entity, to send grayscale images holding roughness and"},{"text":"metallic information, and to send surface normals for doing lighting"},{"text":"calculations."},{"text":""},{"text":"This object specifies the intended use of the texture by an individual"},{"text":"property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Semantic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addTorque(_:relativeTo:)"],"names":{"title":"addTorque(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a torque to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added torque until the end of the"},{"text":"frame interval. To continue exerting the torque after that time, add the"},{"text":"torque again with another call to the method. Handle the"},{"text":"``SceneEvents/Update`` event to receive an indication of when the frame"},{"text":"interval ends. For an app that renders at 60 frames per second (fps),"},{"text":"this event occurs about once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - torque: A torque in newton meters per radian."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `torque` is defined."}]},"functionSignature":{"parameters":[{"name":"torque","declarationFragments":[{"kind":"identifier","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that refers to a property on which to run the grouped"},{"text":"animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO8playOnceyA2ImF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","playOnce"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.ImageSequence.AnimationRepeatMode.playOnce","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playOnce"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image sequence plays once and then stops."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playOnce"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","resetPhysicsTransform(recursive:)"],"names":{"title":"resetPhysicsTransform(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position, orientation, and velocities of the simulated"},{"text":"physics body."},{"text":""},{"text":"Call this method only for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s transform property directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: Apply the reset to all descendant entities."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasTransformP","interfaceLanguage":"swift"},"pathComponents":["HasTransform"],"names":{"title":"HasTransform","navigator":[{"kind":"identifier","spelling":"HasTransform"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables manipulating the scale, rotation, and translation"},{"text":"of an entity."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a ``Transform`` component, and"},{"text":"a collection of methods for manipulating the component, that you use to"},{"text":"position the entity in space."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasTransform"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV6timingAA0F14TimingFunctionVvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","timing"],"names":{"title":"timing","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines the animation’s pace over time."},{"text":""},{"text":"Depending on the option you pick, the animation's progress moves at"},{"text":"varying speeds along its duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVAAE12trackingModeAcAE08TrackingF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","trackingMode"],"names":{"title":"trackingMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trackingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trackingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","errorDescription"],"names":{"title":"errorDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing what error occurred."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:_:)"],"names":{"title":"combineLatest(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:_:)`` when you need to combine the current and 3 additional publishers and transform the values using a closure in which you specify the published elements, to publish a new element."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, as ``Publisher/combineLatest(_:_:_:_:)`` receives the most-recent values published by four publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4) { firstValue, secondValue, thirdValue, fourthValue in"},{"text":" return firstValue * secondValue * thirdValue * fourthValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 36. // pub = 2, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 54. // pub = 3, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 324. // pub = 3, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 1404. // pub = 13, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 2964. // pub = 13, pub2 = 12, pub3 = 19, pub4 = 1"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12accelerations5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","acceleration"],"names":{"title":"acceleration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"acceleration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The constant acceleration vector, in meters per second squared, applied to all particles in the system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"acceleration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC010allowsNextE7TimeoutSbvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","allowsNextDrawableTimeout"],"names":{"title":"allowsNextDrawableTimeout","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allowsNextDrawableTimeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that determines whether requests for a new drawable expire if the system can’t satisfy them."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allowsNextDrawableTimeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int8","rhsPrecise":"s:s4Int8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int8","preciseIdentifier":"s:s4Int8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV4fromAGs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addForce(_:at:relativeTo:)"],"names":{"title":"addForce(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at the specified position."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":" - position: The position at which to apply the force."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `force` are defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the collection are not returned as part"},{"text":"of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \"))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the collection and for each instance of `separator` at"},{"text":" the start or end of the collection. If `true`, only nonempty"},{"text":" subsequences are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV14materialXLabel4dataACSS_0B04DataVtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","init(materialXLabel:data:)"],"names":{"title":"init(materialXLabel:data:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"materialXLabel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"data"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a ShaderGraphMaterial from MaterialX data."},{"text":""},{"text":"- Parameters:"},{"text":" - materialXLabel: The name of the ShaderGraphMaterial in the MaterialX data."},{"text":" - data: The data containing the MaterialX file contents."},{"text":""},{"text":"- Returns: A ShaderGraphMaterial object from the data with the label specified."},{"text":""}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"materialXLabel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"data"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent"],"names":{"title":"PerspectiveCameraComponent","navigator":[{"kind":"identifier","spelling":"PerspectiveCameraComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCameraComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":""},{"text":"In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the"},{"text":"camera needs to be set by the app. (If no camera is provided by the app, the system will use"},{"text":"default camera.)"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCameraComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual representation of this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position immediately after the given index."},{"text":""},{"text":"- Parameters:"},{"text":"- i: A valid index of the collection. i must be less than endIndex."},{"text":""},{"text":"- Returns: The index value immediately after i."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation25NetworkCompatibilityTokenC","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken"],"names":{"title":"NetworkCompatibilityToken","navigator":[{"kind":"identifier","spelling":"NetworkCompatibilityToken"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"NetworkCompatibilityToken"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque token used to check the networking compatibility between two peers"},{"text":"in a multipeer connection."},{"text":""},{"text":"``RealityKit`` apps running on incompatible versions of RealityKit can’t"},{"text":"connect and sync over the network. Use ``NetworkCompatibilityToken`` to"},{"text":"check if two peers can synchronize ``RealityKit`` scenes over the network."},{"text":"With this class, host applications can prevent incompatible clients from"},{"text":"joining."},{"text":""},{"text":"Client apps send a copy of their token to the host when attempting to"},{"text":"connect to a host app. The host deserializes that token and calls"},{"text":"``NetworkCompatibilityToken/compatibilityWith(_:)`` on"},{"text":"``NetworkCompatibilityToken``.``NetworkCompatibilityToken/local``. If"},{"text":"``NetworkCompatibilityToken/compatibilityWith(_:)`` returns"},{"text":"``NetworkCompatibilityToken/Compatibility/compatible``,"},{"text":"the client and host can sync and it’s safe to proceed with the connection."},{"text":"If ``NetworkCompatibilityToken/compatibilityWith(_:)`` returns any other"},{"text":"value, the client that’s attempting to connect is incompatible and should be"},{"text":"ignored."},{"text":""},{"text":"A client running a"},{"text":","},{"text":"for example, writes its own token into its"},{"text":""},{"text":"dictionary. When the host (running a"},{"text":")"},{"text":"discovers that client, it deserializes the client’s token from the"},{"text":"`discoverInfo` dictionary and uses it to check compatibility before inviting"},{"text":"the client to the"},{"text":"."},{"text":""},{"text":"- Note: Even if two peers are compatible, scene synchronization can fail for"},{"text":"other reasons, such as packet corruption or a poor network connection."}]},"declarationFragments":[{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"NetworkCompatibilityToken"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15,"patch":4}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC04nextE0AC0E0CyKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","nextDrawable()"],"names":{"title":"nextDrawable()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nextDrawable"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Waits until a drawable is available and then returns it. This call can block the calling thread while waiting."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nextDrawable"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation21AmbientAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC20isEnabledInHierarchySbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isEnabledInHierarchy"],"names":{"title":"isEnabledInHierarchy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabledInHierarchy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity and all of its ancestors are"},{"text":"enabled."},{"text":""},{"text":"The value of this property is `true` if the entity and all of its"},{"text":"ancestors are enabled, regardless of anchor state."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabledInHierarchy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13TextComponentV4text0B016AttributedStringVSgvp","interfaceLanguage":"swift"},"pathComponents":["TextComponent","text"],"names":{"title":"text","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"text"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AttributedString","preciseIdentifier":"s:10Foundation16AttributedStringV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"text"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AttributedString","preciseIdentifier":"s:10Foundation16AttributedStringV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV13normalizationAA0cE0CAAE13NormalizationVSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","normalization"],"names":{"title":"normalization","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normalization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines normalization options. See ``RealityFoundation/AudioResource/Normalization`` for more details."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normalization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","addForce(_:relativeTo:)"],"names":{"title":"addForce(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `force` is defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5named4fromACSS_0B03URLVtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","init(named:from:)"],"names":{"title":"init(named:from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a ShaderGraphMaterial from a url."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the ShaderGraphMaterial within the file."},{"text":" - url: The path or address of the file containing the ShaderGraphMaterial."},{"text":""},{"text":"- Returns: A ShaderGraphMaterial object from the file with the name specified."},{"text":""},{"text":"Supported file formats are USD (.usd, .usda, .usdc, .usdz) and Reality File (.reality)."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV22fullContactInformationAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","fullContactInformation"],"names":{"title":"fullContactInformation","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fullContactInformation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report full contact information for collision events."},{"text":""},{"text":"@note This does not work with triggers because triggers do not have contact information."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fullContactInformation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV9DepthPassO03preG0yA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","DepthPass","prePass"],"names":{"title":"ModelSortGroup.DepthPass.prePass","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prePass"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Draws the depth of all objects in the group before drawing any color."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prePass"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV5sheenAC10SheenColorVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","sheen"],"names":{"title":"sheen","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sheen"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SheenColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of an entity’s sheen."},{"text":""},{"text":"For a ``PhysicallyBasedMaterial``, object, you can use `sheen` to add"},{"text":"soft specular highlights that simulate subtle reflections like the ones"},{"text":"that occur with some materials, primarily fabrics. You can specify"},{"text":"`sheen` using a single color, or you can provide a UV-mapped image."},{"text":""},{"text":"![An illustration showing two spheres. The one on the right has very"},{"text":"subtle, soft specular highlights and is labeled “With sheen”. The one on"},{"text":"the right has no specular highlights and is labeled “Without"},{"text":"sheen”.](PhysicallyBasedMaterial-sheen-1)"},{"text":""},{"text":"The following example specifies `sheen` using a single value for the"},{"text":"entire material:"},{"text":""},{"text":"```swift"},{"text":"let sheenColor = PhysicallyBasedMaterial.Color(deviceRed: 0.8,"},{"text":"green: 0.8, blue: 0.8, alpha: 1.0)"},{"text":"material.sheen = .init(tint:sheenColor)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify sheen using a UV-mapped image texture:"},{"text":""},{"text":"```swift"},{"text":"if let sheenResource = try? TextureResource.load(named:"},{"text":"\"entity_sheen\") {"},{"text":" let sheenMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.sheen = .init(texture: sheenMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sheen"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SheenColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Opacity.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV9DepthPassO04postG0yA2EmF","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","DepthPass","postPass"],"names":{"title":"ModelSortGroup.DepthPass.postPass","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"postPass"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Draws the depth of all objects in the group after drawing all color."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"postPass"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV8rotationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["Transform","rotation"],"names":{"title":"rotation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity specified as a unit quaternion."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection"],"names":{"title":"MeshInstanceCollection","navigator":[{"kind":"identifier","spelling":"MeshInstanceCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshInstanceCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh resource instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshInstanceCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV9DepthPassO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","DepthPass","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC14CameraSettingsV15colorBackgroundAE05ColorG0Vvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraSettings","colorBackground"],"names":{"title":"colorBackground","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colorBackground"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorBackground","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The background to use for rendering with a camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colorBackground"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorBackground","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the value of a key path."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:)-6sm0a`` operator uses the Swift key path syntax to access the `die` member of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only the value of this `Int`, not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die:Int.random(in:1...6)))"},{"text":" .map(\\.die)"},{"text":" .sink {"},{"text":" print (\"Rolled: \\($0)\")"},{"text":" }"},{"text":" // Prints \"Rolled: 3\" (or some other random value)."},{"text":""},{"text":"- Parameter keyPath: The key path of a property on `Output`."},{"text":"- Returns: A publisher that publishes the value of the key path."}]},"functionSignature":{"parameters":[{"name":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNames6frames4name9tweenMode13frameInterval10isAdditive0O13ScaleAnimated0o8RotationR00o11TranslationR010bindTarget10blendLayer06repeatL004fillL09trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SayAEGSSAA05TweenL0OSfS4bAA04BindV0OSgs5Int32VAA0d6RepeatL0OAA0d4FillL0VSdSgA11_A11_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","init(jointNames:frames:name:tweenMode:frameInterval:isAdditive:isScaleAnimated:isRotationAnimated:isTranslationAnimated:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(jointNames:frames:name:tweenMode:frameInterval:isAdditive:isScaleAnimated:isRotationAnimated:isTranslationAnimated:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two configurations of the"},{"text":"given joints."},{"text":""},{"text":"- Parameters:"},{"text":" - jointNames: The names of the joints to animate."},{"text":""},{"text":" - frames: The value of the joints to animate."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - tweenMode: An option that determines how animation frames transition."},{"text":""},{"text":" - frameInterval: The duration within the animation timeline for each"},{"text":"frame in the frames array."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - isScaleAnimated: A Boolean value that indicates whether the animation"},{"text":"observes changes in the entity’s size."},{"text":""},{"text":" - isRotationAnimated: A Boolean value that indicates whether the"},{"text":"animation observes rotational changes in the entity’s transform."},{"text":""},{"text":" - isTranslationAnimated: A Boolean value that indicates whether the"},{"text":"animation observes translational changes in the entity’s transform."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0 / 30.0, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC","interfaceLanguage":"swift"},"pathComponents":["TextureResource"],"names":{"title":"TextureResource","navigator":[{"kind":"identifier","spelling":"TextureResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a texture."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraSettings","ColorBackground"],"names":{"title":"RealityRenderer.CameraSettings.ColorBackground","navigator":[{"kind":"identifier","spelling":"ColorBackground"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ColorBackground"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines the background"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ColorBackground"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","decode(type:decoder:)"],"names":{"title":"decode(type:decoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Decodes the output from the upstream using a specified decoder."},{"text":""},{"text":"Use ``Publisher/decode(type:decoder:)`` with a (or a for property lists) to decode data received from a or other data source using the protocol."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes a JSON string. The JSON decoder parses the string, converting its fields according to the protocol implemented by `Article`, and successfully populating a new `Article`. The ``Publishers/Decode`` publisher then publishes the `Article` to the downstream. If a decoding operation fails, which happens in the case of missing or malformed data in the source JSON string, the stream terminates and passes the error to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" cancellable = dataProvider"},{"text":" .decode(type: Article.self, decoder: JSONDecoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\")},"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" dataProvider.send(Data(\"{\\\"pubDate\\\":1574273638.575666, \\\"title\\\" : \\\"My First Article\\\", \\\"author\\\" : \\\"Gita Kumar\\\" }\".utf8))"},{"text":""},{"text":" // Prints: \".sink() data received Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: 2050-11-20 18:13:58 +0000)\""},{"text":""},{"text":"- Parameters:"},{"text":" - type: The encoded data to decode into a struct that conforms to the protocol."},{"text":" - decoder: A decoder that implements the ``TopLevelDecoder`` protocol."},{"text":"- Returns: A publisher that decodes a given type using a specified decoder and publishes the result."}]},"functionSignature":{"parameters":[{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type"}]},{"name":"decoder","declarationFragments":[{"kind":"identifier","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Item","index":0,"depth":1},{"name":"Coder","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Item","rhs":"Decodable","rhsPrecise":"s:Se"},{"kind":"conformance","lhs":"Coder","rhs":"TopLevelDecoder","rhsPrecise":"s:7Combine15TopLevelDecoderP"},{"kind":"sameType","lhs":"Self.Output","rhs":"Coder.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Decodable","preciseIdentifier":"s:Se"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelDecoder","preciseIdentifier":"s:7Combine15TopLevelDecoderP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","failureReason"],"names":{"title":"failureReason","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing the reason for the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV6staticAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","static"],"names":{"title":"static","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`static`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"When a collision object is dynamic (not static), it reports collisions with other collision objects."},{"text":""},{"text":"When a collision object is static, it doesn't report collisions with static collision objects,"},{"text":"only with dynamic collision objects."},{"text":""},{"text":"- Note: Static collision objects are more light-weight and improve performance. They should be used"},{"text":"where collisions are tested against these objects, not between these objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`static`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13dampingFactorSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","dampingFactor"],"names":{"title":"dampingFactor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dampingFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that slows particles relative to their velocity. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dampingFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Retrieve the localized description for this error."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the first element in a nonempty collection."},{"text":""},{"text":"If the collection is empty, `startIndex` is equal to `endIndex`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioMixGroupV","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation blends additively"},{"text":"with concurrent animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The height of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV5ValueO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Value"],"names":{"title":"MaterialParameters.Value","navigator":[{"kind":"identifier","spelling":"Value"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Value"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Value"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations play."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5named4fromACSS_0B04DataVtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","init(named:from:)"],"names":{"title":"init(named:from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a ShaderGraphMaterial from a named material within a USD file."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the ShaderGraphMaterial within the USD file."},{"text":" - data: A data object containing USD file data"},{"text":""},{"text":"- Returns: A ShaderGraphMaterial object from the file with the name specified."},{"text":""},{"text":"Supported file formats are USD (.usd, .usda, .usdc, .usdz)"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"data"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","Joint","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","SubSequence"],"names":{"title":"Scene.AnchorCollection.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A sequence that represents a contiguous subrange of the collection’s"},{"text":"elements."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV24shouldRandomizeStartTimeSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","shouldRandomizeStartTime"],"names":{"title":"shouldRandomizeStartTime","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldRandomizeStartTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines whether or not playback starts from the beginning of the file or from a random position."},{"text":""},{"text":"If set to `true` at the same time as `shouldLoop`, only the first playback iteration will start from a random position."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldRandomizeStartTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","helpAnchor"],"names":{"title":"helpAnchor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message providing \"help\" text if the user requests help."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC8didClone4fromyAC_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","didClone(from:)"],"names":{"title":"didClone(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"didClone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells a newly cloned entity that cloning is complete."},{"text":""},{"text":"This method clones all component data automatically. When you clone an"},{"text":"entity that stores custom data that’s not part of a component, override"},{"text":"the ``Entity/didClone(from:)`` method to copy that data manually after"},{"text":"the clone finishes."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The entity from which the cloned entity was copied."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"source","declarationFragments":[{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"didClone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation5AudioO","interfaceLanguage":"swift"},"pathComponents":["Audio"],"names":{"title":"Audio","navigator":[{"kind":"identifier","spelling":"Audio"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Audio"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A namespace for types that are used commonly in audio."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Audio"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMap(_:)"],"names":{"title":"tryMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided error-throwing closure."},{"text":""},{"text":"Combine’s ``Publisher/tryMap(_:)`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/tryMap(_:)`` to transform from one kind of element to another, and to terminate publishing when the map’s closure throws an error."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/tryMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/tryMap(_:)``’s closure fails to look up a Roman numeral, it throws an error. The ``Publisher/tryMap(_:)`` operator catches this error and terminates publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from:Int) throws -> String {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" guard let numeral = romanNumeralDict[from] else {"},{"text":" throw ParseError()"},{"text":" }"},{"text":" return numeral"},{"text":" }"},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"V IV III II I completion: failure(ParseError())\""},{"text":""},{"text":"If your closure doesn’t throw, use ``Publisher/map(_:)-99evh`` instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element. If the closure throws an error, the publisher fails with the thrown error."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5named4from2inACSS_SSSo8NSBundleCSgtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","init(named:from:in:)"],"names":{"title":"init(named:from:in:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a ShaderGraphMaterial from a bundle."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the ShaderGraphMaterial within the file."},{"text":" - file: The name of the file within the bundle."},{"text":" - bundle: The bundle containing the resource. Specify nil to search the app’s main"},{"text":" bundle."},{"text":""},{"text":"- Returns: A ShaderGraphMaterial object from the file with the name specified."},{"text":""},{"text":"Supported file formats are USD (.usd, .usda, .usdc, .usdz) and Reality File (.reality)."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV5Indexa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Index"],"names":{"title":"Scene.AnchorCollection.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a position in the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13TextComponentV15backgroundColorSo10CGColorRefaSgvp","interfaceLanguage":"swift"},"pathComponents":["TextComponent","backgroundColor"],"names":{"title":"backgroundColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"backgroundColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"backgroundColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGColor","preciseIdentifier":"c:@T@CGColorRef"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","drop(untilOutputFrom:)"],"names":{"title":"drop(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores elements from the upstream publisher until it receives an element from a second publisher."},{"text":""},{"text":"Use ``Publisher/drop(untilOutputFrom:)`` to ignore elements from the upstream publisher until another, second, publisher delivers its first element."},{"text":"This publisher requests a single value from the second publisher, and it ignores (drops) all elements from the upstream publisher until the second publisher produces a value. After the second publisher produces an element, ``Publisher/drop(untilOutputFrom:)`` cancels its subscription to the second publisher, and allows events from the upstream publisher to pass through."},{"text":""},{"text":"After this publisher receives a subscription from the upstream publisher, it passes through backpressure requests from downstream to the upstream publisher. If the upstream publisher acts on those requests before the other publisher produces an item, this publisher drops the elements it receives from the upstream publisher."},{"text":""},{"text":"In the example below, the `pub1` publisher defers publishing its elements until the `pub2` publisher delivers its first element:"},{"text":""},{"text":" let upstream = PassthroughSubject()"},{"text":" let second = PassthroughSubject()"},{"text":" cancellable = upstream"},{"text":" .drop(untilOutputFrom: second)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" upstream.send(1)"},{"text":" upstream.send(2)"},{"text":" second.send(\"A\")"},{"text":" upstream.send(3)"},{"text":" upstream.send(4)"},{"text":" // Prints \"3 4\""},{"text":""},{"text":"- Parameter publisher: A publisher to monitor for its first emitted element."},{"text":"- Returns: A publisher that drops elements from the upstream publisher until the `other` publisher produces a value."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Indices"],"names":{"title":"Scene.AnchorCollection.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents the indices that are valid for subscripting"},{"text":"the collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV6HandleV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Handle"],"names":{"title":"MaterialParameters.Handle","navigator":[{"kind":"identifier","spelling":"Handle"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Handle"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Handle"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:)"],"names":{"title":"init(mesh:materials:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh and set of materials."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23ModelSortGroupComponentV5orders5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroupComponent","order"],"names":{"title":"order","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"order"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The draw order of the model relative to other models in its group. Lower value means the model"},{"text":"draws earlier."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"order"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","physicsBody"],"names":{"title":"physicsBody","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that is used for physics simulations of the model entity in"},{"text":"accordance with the laws of Newtonian mechanics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV2idAC10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object using a single value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The opacity value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV4name11parentIndex21inverseBindPoseMatrix04restL9TransformAGSS_SiSgSo13simd_float4x4aAA0O0Vtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","Joint","init(name:parentIndex:inverseBindPoseMatrix:restPoseTransform:)"],"names":{"title":"init(name:parentIndex:inverseBindPoseMatrix:restPoseTransform:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"parentIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inverseBindPoseMatrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restPoseTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a single joint in a skeleton."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"parentIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"inverseBindPoseMatrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"restPoseTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:)"],"names":{"title":"merge(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from another publisher of the same type, delivering an interleaved sequence of elements."},{"text":""},{"text":"- Parameter other: Another publisher of this publisher’s type."},{"text":"- Returns: A publisher that emits an event when either upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV5scales5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Transform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scaling factor applied to the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15PortalComponentV13clippingPlaneAC08ClippingF0VSgvp","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","clippingPlane"],"names":{"title":"clippingPlane","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clippingPlane"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PortalComponent","preciseIdentifier":"s:17RealityFoundation15PortalComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClippingPlane","preciseIdentifier":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clipping plane of the portal, defined in the entity's local"},{"text":"coordinates."},{"text":""},{"text":"If defined, the portal will clip meshes inside the world, which are in"},{"text":"front of the clipping plane."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clippingPlane"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PortalComponent","preciseIdentifier":"s:17RealityFoundation15PortalComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClippingPlane","preciseIdentifier":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materials14collisionShape4massAcA12MeshResourceC_SayAA8Material_pGAA0hK0CSftcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:collisionShape:mass:)"],"names":{"title":"init(mesh:materials:collisionShape:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"collisionShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh, set of materials,"},{"text":"collision shape, and mass."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."},{"text":""},{"text":" - collisionShape: A collection of shape resources that define a composite collision shape."},{"text":""},{"text":" - mass: The mass of the model in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [], "},{"kind":"externalParam","spelling":"collisionShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"Combine‘s `flatMap(maxPublishers:_:)` operator performs a similar function to the operator in the Swift standard library, but turns the elements from one kind of publisher into a new publisher that is sent to subscribers. Use `flatMap(maxPublishers:_:)` when you want to create a new series of events for downstream subscribers based on the received value. The closure creates the new ``Publisher`` based on the received value. The new ``Publisher`` can emit more than one event, and successful completion of the new ``Publisher`` does not complete the overall stream. Failure of the new ``Publisher`` causes the overall stream to fail."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes `WeatherStation` elements. The `flatMap(maxPublishers:_:)` receives each element, creates a from it, and produces a new , which will publish the data loaded from that ."},{"text":""},{"text":" public struct WeatherStation {"},{"text":" public let stationID: String"},{"text":" }"},{"text":""},{"text":" var weatherPublisher = PassthroughSubject()"},{"text":""},{"text":" cancellable = weatherPublisher.flatMap { station -> URLSession.DataTaskPublisher in"},{"text":" let url = URL(string:\"https://weatherapi.example.com/stations/\\(station.stationID)/observations/latest\")!"},{"text":" return URLSession.shared.dataTaskPublisher(for: url)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { completion in"},{"text":" // Handle publisher completion (normal or error)."},{"text":" },"},{"text":" receiveValue: {"},{"text":" // Process the received data."},{"text":" }"},{"text":" )"},{"text":""},{"text":" weatherPublisher.send(WeatherStation(stationID: \"KSFO\")) // San Francisco, CA"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"EGLC\")) // London, UK"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"ZBBB\")) // Beijing, CN"},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1},{"name":"P","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"T","rhs":"P.Output"},{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC","interfaceLanguage":"swift"},"pathComponents":["MeshResource"],"names":{"title":"MeshResource","navigator":[{"kind":"identifier","spelling":"MeshResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A high-level representation of a collection of vertices and edges that"},{"text":"define a shape."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A9TransformVRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of transforms in which each element represents a discrete state"},{"text":"of the target entity at a given point in the animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of tranforms."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV35secondaryTextureCoordinateTransformAA0E14ParameterTypesV0ghI0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","secondaryTextureCoordinateTransform"],"names":{"title":"secondaryTextureCoordinateTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A two-dimensional transformation to apply to the entity’s secondary"},{"text":"texture coordinates."},{"text":""},{"text":"An entity’s UV texture coordinates define how RealityKit maps image"},{"text":"textures onto an entity. This property allows you to transform the"},{"text":"secondary texture coordinates to change the way this material maps"},{"text":"textures onto an entity. If an entity has multiple materials assigned to"},{"text":"it, the transformation doesn’t affect how the other materials map their"},{"text":"textures."},{"text":""},{"text":"You might, for example, change the scale of the UV coordinates to apply"},{"text":"a tiled, repeating pattern to the surface of your entity, or"},{"text":"continuously rotate or translate the texture coordinates to animate"},{"text":"materials to create special effects, such as fire or flowing liquids."},{"text":""},{"text":"The following example demonstrates how to set a material’s UV"},{"text":"transformation:"},{"text":""},{"text":"```swift"},{"text":"let rotationRadians = Float(45.0) * .pi / 180 // 45 degrees converted to radians."},{"text":"secondaryTextureCoordinateTransform =.init(offset: SIMD2(x:0.5, y: 0.5),"},{"text":" scale: SIMD2(x:0.5, y: 0.5),"},{"text":" rotation: rotationRadians)"},{"text":"```"},{"text":""},{"text":"Some entities imported from USDZ files have more than one set of UV"},{"text":"coordinates. This property transforms the secondary set. To transform"},{"text":"the primary UV coordinates in a material, see"},{"text":"``PhysicallyBasedMaterial/textureCoordinateTransform-swift.property``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"secondaryTextureCoordinateTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9TransformV8identityACvpZ","interfaceLanguage":"swift"},"pathComponents":["Transform","identity"],"names":{"title":"identity","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identity transform."},{"text":""},{"text":"The identity transform is defined as `scale = (1, 1, 1)`, `rotation ="},{"text":"(0, 0, 0, 1)`, and `translation = (0, 0, 0)`."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V18birthRateVariationSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","birthRateVariation"],"names":{"title":"birthRateVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"birthRateVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range from which a value is randomly selected to offset `birthRate`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"birthRateVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO8SemanticV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Semantic","ID"],"names":{"title":"MeshBuffers.Semantic.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","share()"],"names":{"title":"share()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Shares the output of an upstream publisher with multiple subscribers."},{"text":""},{"text":"The publisher returned by this operator supports multiple subscribers, all of whom receive unchanged elements and completion states from the upstream publisher."},{"text":""},{"text":" - Tip: ``Publishers/Share`` is effectively a combination of the ``Publishers/Multicast`` and ``PassthroughSubject`` publishers, with an implicit ``ConnectablePublisher/autoconnect()``."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator. It uses a ``Publisher/share()`` operator to share the same random number to each of two subscribers. This example uses a ``Publisher/delay(for:tolerance:scheduler:options:)`` operator only to prevent the first subscriber from exhausting the sequence publisher immediately; an asynchronous publisher wouldn’t need this."},{"text":""},{"text":" let pub = (1...3).publisher"},{"text":" .delay(for: 1, scheduler: DispatchQueue.main)"},{"text":" .map( { _ in return Int.random(in: 0...100) } )"},{"text":" .print(\"Random\")"},{"text":" .share()"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: (20)"},{"text":" // Stream 1 received: 20"},{"text":" // Stream 2 received: 20"},{"text":" // Random: receive value: (85)"},{"text":" // Stream 1 received: 85"},{"text":" // Stream 2 received: 85"},{"text":" // Random: receive value: (98)"},{"text":" // Stream 1 received: 98"},{"text":" // Stream 2 received: 98"},{"text":""},{"text":""},{"text":"Without the ``Publisher/share()`` operator, stream 1 receives three random values, followed by stream 2 receiving three different random values."},{"text":""},{"text":"Also note that ``Publishers/Share`` is a class rather than a structure like most other publishers. This means you can use this operator to create a publisher instance that uses reference semantics."},{"text":"- Returns: A class instance that shares elements received from its upstream to multiple subscribers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The width of each drawable's texture for the base level mipmap, in pixels."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","ClippingPlane"],"names":{"title":"PortalComponent.ClippingPlane","navigator":[{"kind":"identifier","spelling":"ClippingPlane"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClippingPlane"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClippingPlane"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO4fromAIs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","scan(_:_:)"],"names":{"title":"scan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current"},{"text":"element to a closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/scan(_:_:)`` to accumulate all previously-published values into a single"},{"text":"value, which you then combine with each newly-published value."},{"text":""},{"text":"The following example logs a running total of all values received"},{"text":"from the sequence publisher."},{"text":""},{"text":" let range = (0...5)"},{"text":" cancellable = range.publisher"},{"text":" .scan(0) { return $0 + $1 }"},{"text":" .sink { print (\"\\($0)\", terminator: \" \") }"},{"text":" // Prints: \"0 1 3 6 10 15 \"."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: A closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements up to the specified maximum count."},{"text":""},{"text":"Use ``Publisher/prefix(_:)`` to limit the number of elements republished to the downstream subscriber."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(_:)`` operator limits its output to the first two elements before finishing normally:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .prefix(2)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to republish."},{"text":"- Returns: A publisher that publishes up to the specified number of elements."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV10shouldLoopSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","shouldLoop"],"names":{"title":"shouldLoop","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines whether or not playback infinitely loops until manually stopped or paused."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionVyAA0D0CSicip","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"Swift","lines":[{"text":"Accesses the element at the specified position."},{"text":""},{"text":"The following example accesses an element of an array through its"},{"text":"subscript to print its value:"},{"text":""},{"text":" var streets = [\"Adams\", \"Bryant\", \"Channing\", \"Douglas\", \"Evarts\"]"},{"text":" print(streets[1])"},{"text":" // Prints \"Bryant\""},{"text":""},{"text":"You can subscript a collection with any valid index other than the"},{"text":"collection's end index. The end index refers to the position one past"},{"text":"the last element of a collection, so it doesn't correspond with an"},{"text":"element."},{"text":""},{"text":"- Parameter position: The position of the element to access. `position`"},{"text":" must be a valid index of the collection that is not equal to the"},{"text":" `endIndex` property."},{"text":""},{"text":"- Complexity: O(1)"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode"],"names":{"title":"TextureResource.MipmapsMode","navigator":[{"kind":"identifier","spelling":"MipmapsMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MipmapsMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An enumeration used to specify how mipmaps are allocated and generated"},{"text":"for this texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MipmapsMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyImpulse(_:at:relativeTo:)"],"names":{"title":"applyImpulse(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":" - position: The position at which to apply the impulse."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `impulse` are defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/reduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on a closure you provide."},{"text":""},{"text":"In the following example, the ``Publisher/reduce(_:_:)`` operator collects all the integer values it receives from its upstream publisher:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .reduce(0, { accum, next in accum + next })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"55\""},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: A closure that produces a new value by taking the previously-accumulated value and the next element it receives from the upstream publisher."},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes. If ``Publisher/reduce(_:_:)`` receives an error from the upstream publisher, the operator delivers it to the downstream subscriber, the publisher terminates and publishes no value."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error"],"names":{"title":"ShaderGraphMaterial.Error","navigator":[{"kind":"identifier","spelling":"Error"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Error"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Error"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVyA2C6TargetOcfc","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchoring component for a given target."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The kind of real world object to target."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV8fillModeAA0f4FillH0Vvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an opacity object using a single value or a texture."},{"text":""},{"text":"This initializer allows you to create an instance using either a"},{"text":"single value for the entire material or a UV-mapped image. If"},{"text":"`texture` is non-`nil`, RealityKit uses that image to determine the"},{"text":"material’s opacity and ignores `scale`. If `texture` is `nil`, then"},{"text":"it uses `scale` for the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The opacity value for the entire material."},{"text":""},{"text":" - texture: The opacity values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13TextComponentV12cornerRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["TextComponent","cornerRadius"],"names":{"title":"cornerRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23ModelSortGroupComponentV5group5orderAcA0cdE0V_s5Int32Vtcfc","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroupComponent","init(group:order:)"],"names":{"title":"init(group:order:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"order"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"order"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Iterator"],"names":{"title":"MeshBuffer.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionVyAA12HasAnchoring_pSicip","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accesses the element at the specified position."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11ModelEntityC4mesh9materials15collisionShapes4massAcA12MeshResourceC_SayAA8Material_pGSayAA05ShapeK0CGSftcfc","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","init(mesh:materials:collisionShapes:mass:)"],"names":{"title":"init(mesh:materials:collisionShapes:mass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"collisionShapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model entity with a particular mesh, set of materials, a"},{"text":"composite collision shape, and mass."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: A mesh that defines the geometry of the model."},{"text":""},{"text":" - materials: Material resources that define the appearance of the model."},{"text":""},{"text":" - collisionShapes: A collection of shape resources that define a composite collision shape."},{"text":""},{"text":" - mass: The mass of the model in kilograms."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"] = [], "},{"kind":"externalParam","spelling":"collisionShapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstIndex(of:)"],"names":{"title":"firstIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `firstIndex(of:)` to find the position of a particular element"},{"text":"in a collection, you can use it to access the element by subscripting."},{"text":"This example shows how you can modify one of the names in an array of"},{"text":"students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\"]"},{"text":" if let i = students.firstIndex(of: \"Maxime\") {"},{"text":" students[i] = \"Max\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The first index where `element` is found. If `element` is not"},{"text":" found in the collection, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The collection's \"past the end\" position---that is, the position one"},{"text":"greater than the last valid subscript argument."},{"text":""},{"text":"When you need a range that includes the last element of a collection, use"},{"text":"the half-open range operator (`..<`) with `endIndex`. The `..<` operator"},{"text":"creates a range that doesn't include the upper bound, so it's always"},{"text":"safe to use with `endIndex`. For example:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let index = numbers.firstIndex(of: 30) {"},{"text":" print(numbers[index ..< numbers.endIndex])"},{"text":" }"},{"text":" // Prints \"[30, 40, 50]\""},{"text":""},{"text":"If the collection is empty, `endIndex` is equal to `startIndex`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23ModelSortGroupComponentV5groupAA0cdE0Vvp","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroupComponent","group"],"names":{"title":"group","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Group membership is strictly defined by having an identical group to other entities in the scene."},{"text":"This is not hierarchical; membership only applies to the entity which owns this component."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","TriangleHit","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","delay(for:tolerance:scheduler:options:)"],"names":{"title":"delay(for:tolerance:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Delays delivery of all output to the downstream receiver by a specified amount of time on a particular scheduler."},{"text":""},{"text":"Use ``Publisher/delay(for:tolerance:scheduler:options:)`` when you need to delay the delivery of elements to a downstream by a specified amount of time."},{"text":""},{"text":"In this example, a publishes an event every second. The ``Publisher/delay(for:tolerance:scheduler:options:)`` operator holds the delivery of the initial element for 3 seconds (±0.5 seconds), after which each element is delivered to the downstream on the main run loop after the specified delay:"},{"text":""},{"text":" let df = DateFormatter()"},{"text":" df.dateStyle = .none"},{"text":" df.timeStyle = .long"},{"text":" cancellable = Timer.publish(every: 1.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .handleEvents(receiveOutput: { date in"},{"text":" print (\"Sending Timestamp \\'\\(df.string(from: date))\\' to delay()\")"},{"text":" })"},{"text":" .delay(for: .seconds(3), scheduler: RunLoop.main, options: .none)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \"\\n\") },"},{"text":" receiveValue: { value in"},{"text":" let now = Date()"},{"text":" print (\"At \\(df.string(from: now)) received Timestamp \\'\\(df.string(from: value))\\' sent: \\(String(format: \"%.2f\", now.timeIntervalSince(value))) secs ago\", terminator: \"\\n\")"},{"text":" }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Sending Timestamp '5:02:33 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:34 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:35 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:36 PM PDT' to delay()"},{"text":" // At 5:02:36 PM PDT received Timestamp '5:02:33 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:37 PM PDT' to delay()"},{"text":" // At 5:02:37 PM PDT received Timestamp '5:02:34 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:38 PM PDT' to delay()"},{"text":" // At 5:02:38 PM PDT received Timestamp '5:02:35 PM PDT' sent: 3.00 secs ago"},{"text":""},{"text":"The delay affects the delivery of elements and completion, but not of the original subscription."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The amount of time to delay."},{"text":" - tolerance: The allowed tolerance in delivering delayed events. The `Delay` publisher may deliver elements this much sooner or later than the interval specifies."},{"text":" - scheduler: The scheduler to deliver the delayed events."},{"text":" - options: Options relevant to the scheduler’s behavior."},{"text":"- Returns: A publisher that delays delivery of elements and completion to the downstream receiver."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"tolerance","declarationFragments":[{"kind":"identifier","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6targetAC6TargetOvp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","target"],"names":{"title":"target","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kind of real world object to which the anchor entity should anchor."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV10influences0G9PerVertexAeA0C6BufferVyAA0cE9InfluenceVG_Sitcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","JointInfluences","init(influences:influencesPerVertex:)"],"names":{"title":"init(influences:influencesPerVertex:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"influences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"JointInfluences","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15JointInfluencesa"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"influencesPerVertex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Associates every vertex in the mesh with a fixed number of influences per vertex."},{"text":""},{"text":"- Parameters:"},{"text":" - influences: Buffer of joint influences."},{"text":" - influencesPerVertex: The number of consecutive influences used by each vertex."},{"text":""},{"text":"- Note: The buffer should contain `vertexCount * influencesPerVertex` elements."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"influences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"JointInfluences","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15JointInfluencesa"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"influencesPerVertex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent"],"names":{"title":"CharacterControllerStateComponent","navigator":[{"kind":"identifier","spelling":"CharacterControllerStateComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerStateComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that maintains state for a character controller."},{"text":""},{"text":"Add this component to an entity, this along with ``CharacterControllerComponent``, to"},{"text":"use the entity as a character that moves and animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerStateComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","applyAngularImpulse(_:relativeTo:)"],"names":{"title":"applyAngularImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an angular (torque) impulse to the physics body at its center of"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An angular impulse in kilogram square meters per second."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV8endIndexSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","endIndex"],"names":{"title":"endIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position one greater than the last valid subscript argument."},{"text":""},{"text":"When you need a range that includes the last element of an array,"},{"text":"use the half-open range operator (`..<`) with"},{"text":"``Scene/AnchorCollection/endIndex``. The `..<` operator creates a"},{"text":"range that doesn’t include the upper bound, so it’s always safe to"},{"text":"use with ``Scene/AnchorCollection/endIndex``."},{"text":""},{"text":"If the array is empty, ``Scene/AnchorCollection/endIndex`` is equal"},{"text":"to ``Scene/AnchorCollection/startIndex``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"endIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV10influencesAA0C6BufferVyAA0cE9InfluenceVGvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","JointInfluences","influences"],"names":{"title":"influences","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"influences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"JointInfluences","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15JointInfluencesa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of joint influences."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"influences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"JointInfluences","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15JointInfluencesa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASo10simd_quatfaRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of quaternions in which each element represents a discrete"},{"text":"state of the animated property at a given point in the animation’s"},{"text":"timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of quaternions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Element"],"names":{"title":"MeshBuffer.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction"],"names":{"title":"AnimationTimingFunction","navigator":[{"kind":"identifier","spelling":"AnimationTimingFunction"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationTimingFunction"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The pacing of an animation transition."},{"text":""},{"text":"Use an animation timing function to control the pace of an animation"},{"text":"transition when you call one of an entity’s animated move methods, like"},{"text":"``Entity/move(to:relativeTo:duration:timingFunction:)-905k``. If you omit a"},{"text":"timing function from the call, the method uses the"},{"text":"``AnimationTimingFunction/default`` timing function."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationTimingFunction"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10entityTypeAC06EntityG0OSgvp","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","entityType"],"names":{"title":"entityType","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of real-world object that the component models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int32yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int32"],"names":{"title":"MeshBuffers.ElementType.int32","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int32"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int32"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryScan(_:_:)"],"names":{"title":"tryScan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current element to an error-throwing closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/tryScan(_:_:)`` to accumulate all previously-published values into a single value, which you then combine with each newly-published value."},{"text":"If your accumulator closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, ``Publisher/tryScan(_:_:)`` calls a division function on elements of a collection publisher. The ``Publishers/TryScan`` publisher publishes each result until the function encounters a `DivisionByZeroError`, which terminates the publisher."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":""},{"text":" /// A function that throws a DivisionByZeroError if `current` provided by the TryScan publisher is zero."},{"text":" func myThrowingFunction(_ lastValue: Int, _ currentValue: Int) throws -> Int {"},{"text":" guard currentValue != 0 else { throw DivisionByZeroError() }"},{"text":" return (lastValue + currentValue) / currentValue"},{"text":" }"},{"text":""},{"text":" let numbers = [1,2,3,4,5,0,6,7,8,9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryScan(10) { try myThrowingFunction($0, $1) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"11 6 3 1 1 -1 failure(DivisionByZeroError())\"."},{"text":""},{"text":"If the closure throws an error, the publisher fails with the error."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: An error-throwing closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","RawValue"],"names":{"title":"InputTargetComponent.InputType.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV8rawValues6UInt32Vvp","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11mipmapsModeAC07MipmapsI0Ovp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","mipmapsMode"],"names":{"title":"mipmapsMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that determines whether the resource should generate mipmaps for each drawable's texture after it was updated."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7samplerAE7SamplerVvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","sampler"],"names":{"title":"sampler","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sampler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sampler","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int16yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int16"],"names":{"title":"MeshBuffers.ElementType.int16","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int16"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int16"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4int8yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","int8"],"names":{"title":"MeshBuffers.ElementType.int8","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int8"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"int8"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV15loadingStrategyAC07LoadingH0Ovp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","loadingStrategy"],"names":{"title":"loadingStrategy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines how the resource's data is handled before and during playback. See ``RealityFoundation/AudioFileResource/LoadingStrategy-swift.enum`` for more details."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationPeerIDP","interfaceLanguage":"swift"},"pathComponents":["SynchronizationPeerID"],"names":{"title":"SynchronizationPeerID","navigator":[{"kind":"identifier","spelling":"SynchronizationPeerID"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationPeerID"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that represents a peer among a group of networked devices."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationPeerID"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","SubSequence"],"names":{"title":"RealityRenderer.EntityCollection.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"A collection representing a contiguous subrange of this collection's"},{"text":"elements. The subsequence shares indices with the original collection."},{"text":""},{"text":"The default subsequence type for collections that don't define their own"},{"text":"is `Slice`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Slice","preciseIdentifier":"s:s5SliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityCollection","preciseIdentifier":"s:17RealityFoundation0A8RendererC16EntityCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyLevelAC010AnisotropyG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","anisotropyLevel"],"names":{"title":"anisotropyLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyLevel","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The degree to which an entity reflects light to create stretched or"},{"text":"oblong highlights."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity that"},{"text":"uses ``PhysicallyBasedMaterial`` reflects light uniformly in all"},{"text":"directions, mimicking the behavior of most real-world objects. Some"},{"text":"objects, including those with many small parallel striations such as"},{"text":"vinyl records, CDs, or straight hair, reflect light more in some"},{"text":"directions than others, resulting in stretched or oblong specular"},{"text":"highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row. The"},{"text":"left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-anisotropyLevel-swift-property-1)"},{"text":""},{"text":"This property controls the amount of anisotropy. It works together with"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property``, which"},{"text":"defines the angle of elongation for the specular highlights."},{"text":""},{"text":"The following example specifies `anisotropyLevel` using single values"},{"text":"for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.anisotropyLevel = .AnisotropyLevel(floatLiteral: 0.5)"},{"text":"```"},{"text":""},{"text":"This example specifies `anisotropyLevel` using a UV-mapped image"},{"text":"texture."},{"text":""},{"text":"```swift"},{"text":"if let anisoLevelResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_level\") {"},{"text":" let anisoLevelMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.anisotropyLevel = .init(texture: anisoLevelMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyLevel","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt32yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt32"],"names":{"title":"MeshBuffers.ElementType.uInt32","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt32"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt32"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9birthRateSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","birthRate"],"names":{"title":"birthRate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"birthRate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of particles emitted over the emission duration. Defaults to 100."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"birthRate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection"],"names":{"title":"MeshModelCollection","navigator":[{"kind":"identifier","spelling":"MeshModelCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshModelCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh models."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshModelCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd2FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd2Float"],"names":{"title":"MeshBuffers.ElementType.simd2Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd2Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd2Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addForce(_:relativeTo:)"],"names":{"title":"addForce(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `force` is defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV2id10jointNames23inverseBindPoseMatrices04restK10Transforms13parentIndicesAESgSS_SaySSGSaySo13simd_float4x4aGSayAA9TransformVGSgSaySiSgGSgtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","init(id:jointNames:inverseBindPoseMatrices:restPoseTransforms:parentIndices:)"],"names":{"title":"init(id:jointNames:inverseBindPoseMatrices:restPoseTransforms:parentIndices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"inverseBindPoseMatrices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"restPoseTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]?, "},{"kind":"externalParam","spelling":"parentIndices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"?]?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a skeleton from arrays which define its joints. Returns `nil` if there was an"},{"text":"issue converting the parameters to a valid skeleton."},{"text":""},{"text":"- Parameters:"},{"text":" - id: The unique name of this skeleton."},{"text":" - jointNames: The names of each joint."},{"text":" - inverseBindPoseMatrices: The matrix which, for each joint, transforms from model"},{"text":" space (bind pose) to the local space of that joint."},{"text":" - restPoseTransforms: The transform from each joint's local space to its parent's local"},{"text":" space, used when the joint is not animated. If not specified, the rest pose is assumed to"},{"text":" be the same as the bind pose, and is computed from the inverse bind pose matrices."},{"text":" - parentIndices: The index of each joint's parent, or nil if that joint has no parent."},{"text":" If this array is not provided, the parent of each joint is inferred from its name (e.g."},{"text":" a joint named `root/hips_joint` is parented to a joint named `root`)."},{"text":""},{"text":"> Note: A parent joint must precede all of its child joints."},{"text":"> Note: All the arrays passed to this initializer must have the same length."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"inverseBindPoseMatrices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"restPoseTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]? = nil, "},{"kind":"externalParam","spelling":"parentIndices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"?]? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV13CustomContentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV19isTranslationLockedSb1x_Sb1ySb1ztvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isTranslationLocked"],"names":{"title":"isTranslationLocked","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A tuple of Boolean values that you use to lock the position of the"},{"text":"physics body along any of the three axes."},{"text":""},{"text":"You can restrict movement of the body along one or more axes by setting"},{"text":"the corresponding item in the tuple to `true`. For example, if you set"},{"text":"the `x` and the `z` items in the tuple to `true`, then the body can move"},{"text":"only along the y-axis. By default, movement isn’t restricted."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationLocked"},{"kind":"text","spelling":": (x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", z"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6doubleyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","double"],"names":{"title":"MeshBuffers.ElementType.double","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"double"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"double"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV10startIndexSivp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","startIndex"],"names":{"title":"startIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The position of the first element in a nonempty collection."},{"text":""},{"text":"If the collection is empty, `startIndex` is equal to `endIndex`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV6normals5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","ClippingPlane","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TextComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["TextComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO5worldyAESo13simd_float4x4a_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","world(transform:)"],"names":{"title":"AnchoringComponent.Target.world(transform:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"world"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A fixed position in the scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"world"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","catch(_:)"],"names":{"title":"catch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by replacing it with another publisher."},{"text":""},{"text":"Use `catch()` to replace an error from an upstream publisher with a new publisher."},{"text":""},{"text":"In the example below, the `catch()` operator handles the `SimpleError` thrown by the upstream publisher by replacing the error with a `Just` publisher. This continues the stream by publishing a single value and completing normally."},{"text":""},{"text":" struct SimpleError: Error {}"},{"text":" let numbers = [5, 4, 3, 2, 1, 0, 9, 8, 7, 6]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast(where: {"},{"text":" guard $0 != 0 else {throw SimpleError()}"},{"text":" return true"},{"text":" })"},{"text":" .catch({ (error) in"},{"text":" Just(-1)"},{"text":" })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" // Prints: -1"},{"text":""},{"text":"Backpressure note: This publisher passes through `request` and `cancel` to the upstream. After receiving an error, the publisher sends sends any unfulfilled demand to the new `Publisher`."},{"text":"SeeAlso: `replaceError`"},{"text":"- Parameter handler: A closure that accepts the upstream failure as input and returns a publisher to replace the upstream publisher."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5floatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","float"],"names":{"title":"MeshBuffers.ElementType.float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV5Indexa","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","Index"],"names":{"title":"RealityRenderer.EntityCollection.Index","navigator":[{"kind":"identifier","spelling":"Index"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a position in the collection."},{"text":""},{"text":"Valid indices consist of the position of every element and a"},{"text":"\"past the end\" position that's not valid for use as a subscript"},{"text":"argument."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Index"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation22AudioFileGroupResourceC4load5named4from2inACSS_SSSo8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileGroupResource","load(named:from:in:)"],"names":{"title":"load(named:from:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an audio resource from a Reality Composer Pro project."},{"text":""},{"text":"This method loads a preconfigured ``RealityKit/AudioFileGroupResource`` from a"},{"text":"scene in a Reality Composer Pro project."},{"text":""},{"text":"- Important: The name provided **must** be unique."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The USD Prim path to the resource in the Reality Composer Pro project to load."},{"text":" - scene: The name of the Reality Composer Pro scene to load from."},{"text":" - bundle: The bundle that contains the project. Leave `nil` to load from the app's bundle."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"from","internalName":"scene","declarationFragments":[{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileGroupResource","preciseIdentifier":"s:17RealityFoundation22AudioFileGroupResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Retrieve the localized description for this error."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation"],"names":{"title":"AnchoringComponent.Target.HandLocation","navigator":[{"kind":"identifier","spelling":"HandLocation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HandLocation"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HandLocation"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd4FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd4Float"],"names":{"title":"MeshBuffers.ElementType.simd4Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd4Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd4Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Iterator"],"names":{"title":"MeshPartCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a component that makes an entity aware of certain aspects of the"},{"text":"physical environment."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","firstRange(of:)"],"names":{"title":"firstRange(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the range of the first occurrence of a given collection"},{"text":"within this collection."},{"text":""},{"text":"- Parameter other: The collection to search for."},{"text":"- Returns: A range in the collection of the first occurrence of `sequence`."},{"text":"Returns nil if `sequence` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.BlendMode","navigator":[{"kind":"identifier","spelling":"BlendMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for combining source and destination pixel colors when compositing particles during rendering, used by the blendMode property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BlendMode"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryCatch(_:)"],"names":{"title":"tryCatch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by either replacing it with another publisher or throwing a new error."},{"text":""},{"text":"Use ``Publisher/tryCatch(_:)`` to decide how to handle from an upstream publisher by either replacing the publisher with a new publisher, or throwing a new error."},{"text":""},{"text":"In the example below, an array publisher emits values that a ``Publisher/tryMap(_:)`` operator evaluates to ensure the values are greater than zero. If the values aren’t greater than zero, the operator throws an error to the downstream subscriber to let it know there was a problem. The subscriber, ``Publisher/tryCatch(_:)``, replaces the error with a new publisher using ``Just`` to publish a final value before the stream ends normally."},{"text":""},{"text":" enum SimpleError: Error { case error }"},{"text":" var numbers = [5, 4, 3, 2, 1, -1, 7, 8, 9, 10]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { v in"},{"text":" if v > 0 {"},{"text":" return v"},{"text":" } else {"},{"text":" throw SimpleError.error"},{"text":" }"},{"text":" }"},{"text":" .tryCatch { error in"},{"text":" Just(0) // Send a final value before completing normally."},{"text":" // Alternatively, throw a new error to terminate the stream."},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print (\"Received \\($0).\") }"},{"text":" )"},{"text":" // Received 5."},{"text":" // Received 4."},{"text":" // Received 3."},{"text":" // Received 2."},{"text":" // Received 1."},{"text":" // Received 0."},{"text":" // Completion: finished."},{"text":""},{"text":"- Parameter handler: A throwing closure that accepts the upstream failure as input. This closure can either replace the upstream publisher with a new one, or throw a new error to the downstream subscriber."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher, or an error."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV6directAEvpZ","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","direct"],"names":{"title":"direct","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"direct"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All forms of input that target content by querying proximity from the input device"},{"text":"to the content."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"direct"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV2id6jointsAESS_SayAE5JointVGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","init(id:joints:)"],"names":{"title":"init(id:joints:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"joints"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a skeleton from an array of joints."},{"text":""},{"text":"> Note: The order of joints in this array is significant. Parents must precede children."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"joints"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV8IteratorV4nextxSgyF","interfaceLanguage":"swift"},"pathComponents":["QueryResult","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Advances to the next entity and returns it."},{"text":""},{"text":"- Returns: Calling this method advances the iterator to the next"},{"text":"entity and returns it. If there is no next element, returns `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd3FloatyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","simd3Float"],"names":{"title":"MeshBuffers.ElementType.simd3Float","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd3Float"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simd3Float"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","helpAnchor"],"names":{"title":"helpAnchor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message providing \"help\" text if the user requests help."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","Element"],"names":{"title":"MeshPartCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE6framesSayAEGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of joint transforms in which each element represents a discrete"},{"text":"state of the target entity at a given point in the animation's timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of joint transforms."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV8indirectAEvpZ","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","indirect"],"names":{"title":"indirect","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indirect"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All forms of input that target content using an indirect targeting mechanism."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indirect"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","Indices"],"names":{"title":"RealityRenderer.EntityCollection.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents the indices that are valid for subscripting the"},{"text":"collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityCollection","preciseIdentifier":"s:17RealityFoundation0A8RendererC16EntityCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.ImageSequence","navigator":[{"kind":"identifier","spelling":"ImageSequence"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ImageSequence"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Structure used to define properties of the sprite sheet, used by imageSequence."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ImageSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addForce(_:at:relativeTo:)"],"names":{"title":"addForce(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a force to the physics body at the specified position."},{"text":""},{"text":"The physics simulator applies the added force until the end of the frame"},{"text":"interval. To continue exerting the force after that time, add the force"},{"text":"again with another call to the method. Handle the ``SceneEvents/Update``"},{"text":"event to receive an indication of when the frame interval ends. For an"},{"text":"app that renders at 60 frames per second (fps), this event occurs about"},{"text":"once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - force: A force in newtons."},{"text":""},{"text":" - position: The position at which to apply the force."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `force` are defined."}]},"functionSignature":{"parameters":[{"name":"force","declarationFragments":[{"kind":"identifier","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addForce"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"force"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/map(_:)-99evh`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/map(_:)-99evh`` to transform from one kind of element to another."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/map(_:)-99evh`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/map(_:)-99evh``’s closure fails to look up a Roman numeral, it returns the string `(unknown)`."},{"text":""},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" cancellable = numbers.publisher"},{"text":" .map { romanNumeralDict[$0] ?? \"(unknown)\" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"V IV III II I (unknown)\""},{"text":""},{"text":"If your closure can throw an error, use Combine’s ``Publisher/tryMap(_:)`` operator instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset."},{"text":""},{"text":"If you set a value for this property, the animation plays immediately,"},{"text":"beginning at the specified time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Chirality"],"names":{"title":"AnchoringComponent.Target.Chirality","navigator":[{"kind":"identifier","spelling":"Chirality"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Chirality"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Chirality"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.OpacityCurve","navigator":[{"kind":"identifier","spelling":"OpacityCurve"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OpacityCurve"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for the curve of opacity change over the lifetime of the particle, used by the opacityOverLife property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OpacityCurve"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","addTorque(_:relativeTo:)"],"names":{"title":"addTorque(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies a torque to the physics body at its center of mass."},{"text":""},{"text":"The physics simulator applies the added torque until the end of the"},{"text":"frame interval. To continue exerting the torque after that time, add the"},{"text":"torque again with another call to the method. Handle the"},{"text":"``SceneEvents/Update`` event to receive an indication of when the frame"},{"text":"interval ends. For an app that renders at 60 frames per second (fps),"},{"text":"this event occurs about once per 16 milliseconds."},{"text":""},{"text":"- Parameters:"},{"text":" - torque: A torque in newton meters per radian."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `torque` is defined."}]},"functionSignature":{"parameters":[{"name":"torque","declarationFragments":[{"kind":"identifier","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addTorque"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"torque"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV8resourceAA0E8ResourceCvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","resetPhysicsTransform(recursive:)"],"names":{"title":"resetPhysicsTransform(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position, orientation, and velocities of the simulated"},{"text":"physics body."},{"text":""},{"text":"Call this method only for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s transform property directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: Apply the reset to all descendant entities."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5usageSo15MTLTextureUsageVvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","usage"],"names":{"title":"usage","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine how you can use each drawable's textures."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV12makeIteratorAA6EntityC05ChildE0V08IndexingG0Vy__AEGyF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelComponent"],"names":{"title":"ModelComponent","navigator":[{"kind":"identifier","spelling":"ModelComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of resources that create the visual appearance of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC5sceneAA5SceneCSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scene that owns the entity."},{"text":""},{"text":"An entity belongs to a scene if the entity is part of a hierarchy that’s"},{"text":"rooted in the scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The value of the property is `nil` if the entity isn’t currently"},{"text":"attached to any scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14PortalMaterialV16TriangleFillModea","interfaceLanguage":"swift"},"pathComponents":["PortalMaterial","TriangleFillMode"],"names":{"title":"PortalMaterial.TriangleFillMode","navigator":[{"kind":"identifier","spelling":"TriangleFillMode"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An alias for the triangle fill mode object that’s appropriate for this"},{"text":"material class."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO14jointInfluenceyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","jointInfluence"],"names":{"title":"MeshBuffers.ElementType.jointInfluence","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointInfluence"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointInfluence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.BillboardMode","navigator":[{"kind":"identifier","spelling":"BillboardMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BillboardMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for specifying the axis about which the particle will be oriented, used by the `billboardMode` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BillboardMode"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","Joint","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of this joint. Must be unique within its skeleton."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","resetPhysicsTransform(_:recursive:)"],"names":{"title":"resetPhysicsTransform(_:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resets the position and velocities of the simulated physics body."},{"text":""},{"text":"Call this method to change the transform applied to a body by physics"},{"text":"simulation. This only matters for dynamic rigid bodies, with a"},{"text":"``PhysicsBodyComponent/mode`` of ``PhysicsBodyMode/dynamic``. This is"},{"text":"the only kind of body that’s affected by physics simulations. For all"},{"text":"others, modify the entity’s ``HasTransform/transform`` property"},{"text":"directly."},{"text":""},{"text":"Conversely, directly modifying the transform of a dynamic body has no"},{"text":"effect because the physics simulation overwrites it on every frame."},{"text":""},{"text":"- Parameters:"},{"text":"- transform: The new transform to inject into the dynamic physics"},{"text":"simulation of the entity."},{"text":""},{"text":" - recursive: Apply the reset to child entities."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resetPhysicsTransform"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Will be hidden in RealityKit 2019.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","ArrayLiteralElement"],"names":{"title":"InputTargetComponent.InputType.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O7invalidyA2GmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","invalid"],"names":{"title":"VideoPlayerEvents.ContentTypeDidChange.ContentType.invalid","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalid"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalid"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Element"],"names":{"title":"Scene.AnchorCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV8materialAA0C16MaterialResourceCvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","material"],"names":{"title":"material","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s material properties, like friction."},{"text":""},{"text":"By default, the body’s material resource is set to"},{"text":"``PhysicsMaterialResource/default``, which provides a modest amount of"},{"text":"friction and restitution (bounciness)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMaterialResource","preciseIdentifier":"s:17RealityFoundation23PhysicsMaterialResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","ClippingPlane","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the entity."},{"text":""},{"text":"You can find an entity by name in a scene by calling the scene’s"},{"text":"``Scene/findEntity(named:)`` method. Or you can recursively search among"},{"text":"the children of a given entity by calling the entity’s"},{"text":"``Entity/findEntity(named:)`` method."},{"text":""},{"text":"Entity names are not guaranteed to be unique. When you search by name,"},{"text":"these methods return the first entity encountered with the given name."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationEvents","WillSimulate"],"names":{"title":"PhysicsSimulationEvents.WillSimulate","navigator":[{"kind":"identifier","spelling":"WillSimulate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillSimulate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised before the simulation advances to the current frame."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillSimulate"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.SortOrder","navigator":[{"kind":"identifier","spelling":"SortOrder"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SortOrder"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for the rendering order of particles, used by the sortingMode property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SortOrder"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest"],"names":{"title":"LoadRequest","navigator":[{"kind":"identifier","spelling":"LoadRequest"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadRequest"}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadRequest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Output"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use Swift Concurrency based methods instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O6stereoyA2GmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","stereo"],"names":{"title":"VideoPlayerEvents.ContentTypeDidChange.ContentType.stereo","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stereo"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stereo"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationEvents","DidSimulate"],"names":{"title":"PhysicsSimulationEvents.DidSimulate","navigator":[{"kind":"identifier","spelling":"DidSimulate"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidSimulate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised after the simulation advances to the current frame."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidSimulate"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16ambientOcclusionAC07AmbientG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ambientOcclusion"],"names":{"title":"ambientOcclusion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ambient occlusion values for a material."},{"text":""},{"text":"Ambient occlusion represents the entity’s exposure to ambient light."},{"text":""},{"text":"Specify ambient occlusion using a UV-mapped image called an _ambient"},{"text":"occlusion map_. A value of black (`0.0`) represents parts of the model"},{"text":"that receive less ambient light because that part of the model is a"},{"text":"crevice, dent, or recessed area, or because another part of the same"},{"text":"entity is preventing ambient light from reaching it. Ambient occlusion"},{"text":"values of white (`1.0`) represent flat portions of the model that"},{"text":"receive full ambient light. You generate ambient occlusion maps using a"},{"text":"3D software package."},{"text":""},{"text":"The following code loads an ambient occlusion map:"},{"text":""},{"text":"```swift if let aoResource = try? TextureResource.load(named:"},{"text":"\"entity_ao\") {"},{"text":" let aoMap = MaterialParameters.Texture(aoResource)"},{"text":" material.emissiveColor = .init(texture: aoMap)"},{"text":"} ```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientOcclusion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AmbientOcclusion","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","Iterator"],"names":{"title":"Scene.AnchorCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An iterator that presents the elements of the collection."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnchorCollection","preciseIdentifier":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O4monoyA2GmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","mono"],"names":{"title":"VideoPlayerEvents.ContentTypeDidChange.ContentType.mono","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mono"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mono"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","anchoring"],"names":{"title":"anchoring","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchoring"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","last()"],"names":{"title":"last()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/last()`` when you need to emit only the last element from an upstream publisher."},{"text":""},{"text":"In the example below, the range publisher only emits the last element from the sequence publisher, `10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the last element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","clearForcesAndTorques()"],"names":{"title":"clearForcesAndTorques()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Clears all forces previously added to the physics body."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearForcesAndTorques"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","ViewingMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V4fromAEs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O9immersiveyA2GmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","immersive"],"names":{"title":"VideoPlayerEvents.ContentTypeDidChange.ContentType.immersive","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"immersive"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"immersive"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14PortalMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["PortalMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV8rawValueAEs6UInt32V_tcfc","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isTranslationAnimated"],"names":{"title":"isTranslationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes"},{"text":"translational changes in the entity's transform."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates"},{"text":"translation differences in the entity’s transform by interpolating to"},{"text":"the target translation across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP2idAA0C7BuffersO10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError"],"names":{"title":"ShaderGraphMaterial.LoadError","navigator":[{"kind":"identifier","spelling":"LoadError"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadError"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadError"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","ArrayLiteralElement"],"names":{"title":"MeshPartCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation5SceneC","interfaceLanguage":"swift"},"pathComponents":["Scene"],"names":{"title":"Scene","navigator":[{"kind":"identifier","spelling":"Scene"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Scene"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container that holds the collection of entities rendered by an AR view."},{"text":""},{"text":"You don’t create a ``Scene`` instance directly. Instead, you get the one and"},{"text":"only scene associated with a view from the ``ARView/scene`` property of an"},{"text":"``ARView`` instance."},{"text":""},{"text":"![Block diagram showing the scene as a property of an AR view, with anchor"},{"text":"entities as the scene’s children.](Scene-1)"},{"text":""},{"text":"To add content to the view’s scene, you first create and add one or more"},{"text":"``AnchorEntity`` instances to the scene’s ``RealityKit/Scene/anchors`` collection."},{"text":"Anchors tell RealityKit how to pin virtual content to real world objects,"},{"text":"like flat surfaces or images. You then add a hierarchy of other ``RealityKit/Entity``"},{"text":"instances to each anchor to indicate the geometry and behaviors that"},{"text":"RealityKit should render at a given anchor point."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Scene"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15PortalComponentV6target13clippingPlaneAcA6EntityC_AC08ClippingG0VSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","init(target:clippingPlane:)"],"names":{"title":"init(target:clippingPlane:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"clippingPlane"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PortalComponent","preciseIdentifier":"s:17RealityFoundation15PortalComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClippingPlane","preciseIdentifier":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes the PortalComponent with the given target entity, and an"},{"text":"optional clipping plane. The target entity should have a WorldComponent"},{"text":"attached."},{"text":""},{"text":"To render a portal, an entity should have a PortalComponent and a"},{"text":"ModelComponent, using one or more PortalMaterial instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"clippingPlane"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PortalComponent","preciseIdentifier":"s:17RealityFoundation15PortalComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClippingPlane","preciseIdentifier":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20HoverEffectComponentV","interfaceLanguage":"swift"},"pathComponents":["HoverEffectComponent"],"names":{"title":"HoverEffectComponent","navigator":[{"kind":"identifier","spelling":"HoverEffectComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HoverEffectComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that applies a standard highlight effect when someone focuses an entity."},{"text":""},{"text":" - Note: A `CollisionComponent` is required for the ``Entity`` to be part of hit-testing."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HoverEffectComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyLinearImpulse(_:relativeTo:)"],"names":{"title":"applyLinearImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at its center of mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyLinearImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls a closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Combine’s ``Publisher/compactMap(_:)`` operator performs a function similar to that of in the Swift standard library: the ``Publisher/compactMap(_:)`` operator in Combine removes `nil` elements in a publisher’s stream and republishes non-`nil` elements to the downstream subscriber."},{"text":""},{"text":"The example below uses a range of numbers as the source for a collection based publisher. The ``Publisher/compactMap(_:)`` operator consumes each element from the `numbers` publisher attempting to access the dictionary using the element as the key. If the example’s dictionary returns a `nil`, due to a non-existent key, ``Publisher/compactMap(_:)`` filters out the `nil` (missing) elements."},{"text":""},{"text":" let numbers = (0...5)"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .compactMap { romanNumeralDict[$0] }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"I II III V\""},{"text":""},{"text":"- Parameter transform: A closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of the calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV9depthPassA2C05DepthG0OSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","init(depthPass:)"],"names":{"title":"init(depthPass:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"depthPass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"text","spelling":"?)"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"depthPass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyAngularImpulse(_:relativeTo:)"],"names":{"title":"applyAngularImpulse(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an angular (torque) impulse to the physics body at its center of"},{"text":"mass."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An angular impulse in kilogram square meters per second."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `impulse` is defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyAngularImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``FromToByAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``FromToByAnimation/trimStart`` and ``FromToByAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``FromToByAnimation/duration`` causes the animation"},{"text":"to repeat, applying the characteristics defined by"},{"text":"``FromToByAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV9deltaTimeSdvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationEvents","WillSimulate","deltaTime"],"names":{"title":"deltaTime","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time between the last fixed update event and this one."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","Iterator"],"names":{"title":"RealityRenderer.EntityCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the collection's iteration interface and"},{"text":"encapsulates its iteration state."},{"text":""},{"text":"By default, a collection conforms to the `Sequence` protocol by"},{"text":"supplying `IndexingIterator` as its associated `Iterator`"},{"text":"type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityCollection","preciseIdentifier":"s:17RealityFoundation0A8RendererC16EntityCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","output(in:)"],"names":{"title":"output(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements specified by their range in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(in:)`` to republish a range indices you specify in the published stream. After publishing all elements, the publisher finishes normally. If the publisher completes normally or with an error before producing all the elements in the range, it doesn’t publish the remaining elements."},{"text":""},{"text":"In the example below, an array publisher emits the subset of elements at the indices in the specified range:"},{"text":""},{"text":" let numbers = [1, 1, 2, 2, 2, 3, 4, 5, 6]"},{"text":" numbers.publisher"},{"text":" .output(in: (3...5))"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 2 3\""},{"text":""},{"text":"- Parameter range: A range that indicates which elements to publish."},{"text":"- Returns: A publisher that publishes elements specified by a range."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"R","rhs":"RangeExpression","rhsPrecise":"s:SX"},{"kind":"sameType","lhs":"R.Bound","rhs":"Int","rhsPrecise":"s:Si"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RangeExpression","preciseIdentifier":"s:SX"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Bound"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off the specified number of elements"},{"text":" at the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV11parentIndexSiSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","Joint","parentIndex"],"names":{"title":"parentIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parentIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The index of this joint's parent, or nil if this joint has no parent."},{"text":""},{"text":"> Note: The parent of a joint must be found earlier in the array of joints. In other"},{"text":"words, `parentIndex < jointIndex` must be true (if this joint has a parent)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parentIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation16MaterialFunctionP","interfaceLanguage":"swift"},"pathComponents":["MaterialFunction"],"names":{"title":"MaterialFunction","navigator":[{"kind":"identifier","spelling":"MaterialFunction"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialFunction"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The abstract superclass for objects representing compute functions for RealityKit custom materials ."},{"text":""},{"text":"This class is the parent of, and contains common properties and methods for ``GeometryModifier``"},{"text":"and ``SurfaceShader``. Don’t create an instance of this superclass yourself."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialFunction"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV14massPropertiesAA0c4MassG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","massProperties"],"names":{"title":"massProperties","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s mass properties, like inertia and center of mass."},{"text":""},{"text":"By default, the mass properties value is"},{"text":"``PhysicsMassProperties/default``, which matches the properties of a"},{"text":"unit sphere with mass of 1 kilogram."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"massProperties"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMassProperties","preciseIdentifier":"s:17RealityFoundation21PhysicsMassPropertiesV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO4faceyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","face"],"names":{"title":"MeshBuffers.Rate.face","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the face rate. The buffer count must match the number of polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"face"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation22SynchronizationServiceP","interfaceLanguage":"swift"},"pathComponents":["SynchronizationService"],"names":{"title":"SynchronizationService","navigator":[{"kind":"identifier","spelling":"SynchronizationService"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationService"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables entity synchronization among a group of local"},{"text":"peers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationService"},{"kind":"text","spelling":" : AnyObject"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV16simulationEntityAA0I0Cvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationEvents","WillSimulate","simulationEntity"],"names":{"title":"simulationEntity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simulationEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The root simulation entity associated with the simulation that raised the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simulationEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","Element"],"names":{"title":"RealityRenderer.EntityCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO11faceVaryingyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","faceVarying"],"names":{"title":"MeshBuffers.Rate.faceVarying","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceVarying"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the index rate. The buffer count must match the number of indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceVarying"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceCAAE11CalibrationV","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Calibration","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","output(at:)"],"names":{"title":"output(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a specific element, indicated by its index in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(at:)`` when you need to republish a specific element specified by its position in the stream. If the publisher completes normally or with an error before publishing the specified element, then the publisher doesn’t produce any elements."},{"text":""},{"text":"In the example below, the array publisher emits the fifth element in the sequence of published elements:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" numbers.publisher"},{"text":" .output(at: 5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"6\""},{"text":""},{"text":"- Parameter index: The index that indicates the element to publish."},{"text":"- Returns: A publisher that publishes a specific indexed element."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO4handyA2E9ChiralityO_AE12HandLocationVtcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","hand(_:location:)"],"names":{"title":"AnchoringComponent.Target.hand(_:location:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hand"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Chirality","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"location"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hand"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Chirality","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"location"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandLocation","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC9isEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isEnabled"],"names":{"title":"isEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that you set to enable or disable the entity and its"},{"text":"descendants."},{"text":""},{"text":"Set this value to `true` to enable the entity. Unless an ancestor is"},{"text":"disabled, the entity and all of its enabled descendants, up to the first"},{"text":"that’s disabled, report ``Entity/isEnabledInHierarchy`` of `true`. If an"},{"text":"ancestor is disabled, they all report `false`. The state of"},{"text":"``Entity/isActive`` for enabled entities is `true` if they are anchored,"},{"text":"or `false` otherwise."},{"text":""},{"text":"If you disable an entity, it and all of its descendants become both"},{"text":"disabled (``Entity/isEnabledInHierarchy`` returns `false`) and inactive"},{"text":"(``Entity/isActive`` returns `false`), regardless of any other state."},{"text":""},{"text":"When an entity is disabled, it's no longer visible in your scene. However, the entity is still included in an ``RealityKit/EntityQuery``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO6vertexyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","vertex"],"names":{"title":"MeshBuffers.Rate.vertex","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertex"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer maps at the vertex rate. The buffer count must match the number of points."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertex"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV4next7ElementQzSgyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV9depthPassAC05DepthG0OSgvp","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","depthPass"],"names":{"title":"depthPass","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthPass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines when the depth of the models in the group are drawn relative to their color."},{"text":"A value of `nil` indicates that depth is not drawn separately from color."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"depthPass"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DepthPass","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","applyImpulse(_:at:relativeTo:)"],"names":{"title":"applyImpulse(_:at:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Applies an impulse to the physics body at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - impulse: An impulse in newton seconds."},{"text":""},{"text":" - position: The position at which to apply the impulse."},{"text":""},{"text":"- referenceEntity: The reference entity that defines the coordinate"},{"text":"space in which `position` and `impulse` are defined."}]},"functionSignature":{"parameters":[{"name":"impulse","declarationFragments":[{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"at","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"applyImpulse"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial"],"names":{"title":"PhysicallyBasedMaterial","navigator":[{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A material that simulates the appearance of real-world objects."},{"text":""},{"text":"In RealityKit, a _material_ is an object that defines the surface properties"},{"text":"of a rendered 3D object. A Physically Based Rendering (PBR) material is a"},{"text":"material that closely approximates the way light reflects off of real-world"},{"text":"objects. Use ``PhysicallyBasedMaterial`` to create highly realistic-looking"},{"text":"objects for your AR scenes."},{"text":""},{"text":"Many of the properties for ``PhysicallyBasedMaterial`` provide the option to"},{"text":"use more than one type of data to specify that property. You can set an"},{"text":"object’s ``PhysicallyBasedMaterial/baseColor-swift.property`` using a"},{"text":"specific color for the entire material, or you can use an image that UV-maps"},{"text":"on to the entity."},{"text":""},{"text":"``PhysicallyBasedMaterial`` includes all material properties supported by"},{"text":"USDZ. On iOS 15 and later, RealityKit automatically uses"},{"text":"``PhysicallyBasedMaterial`` when importing an entity from a USDZ file."},{"text":""},{"text":"For more information on using ``PhysicallyBasedMaterial``, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicallyBasedMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO4RateO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC8isActiveSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isActive"],"names":{"title":"isActive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isActive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity is active."},{"text":""},{"text":"The value of this property is `true` if the entity is anchored in a"},{"text":"scene, and it and all of its ancestors are enabled (``Entity/isEnabled``"},{"text":"is set to `true`). RealityKit doesn’t simulate or render inactive"},{"text":"entities."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isActive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7byValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV11SubSequencea","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","SubSequence"],"names":{"title":"Entity.ChildCollection.IndexingIterator.SubSequence","navigator":[{"kind":"identifier","spelling":"SubSequence"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SubSequence"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnySequence","preciseIdentifier":"s:s11AnySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","recoverySuggestion"],"names":{"title":"recoverySuggestion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing how one might recover from the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO4fromAEs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV7Elementa","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","Element"],"names":{"title":"InputTargetComponent.InputType.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC10isAnchoredSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isAnchored"],"names":{"title":"isAnchored","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the entity is anchored."},{"text":""},{"text":"The value of this property is `true` if the entity is anchored in a"},{"text":"scene. An entity that isn’t anchored becomes inactive"},{"text":"(``Entity/isActive`` returns `false`), meaning RealityKit doesn’t render"},{"text":"or simulate it."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the group."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyAngleAC010AnisotropyG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","anisotropyAngle"],"names":{"title":"anisotropyAngle","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyAngle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyAngle","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy angle."},{"text":""},{"text":"This property controls the scattering angle for anisotropic objects. If"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` is `0.0`,"},{"text":"this property has no effect. This property takes a value between `0.0"},{"text":"`and `1.0` or a UV-mapped grayscale image specifying angles for"},{"text":"different parts of the entity.` A` value of black (`0.0)` means a"},{"text":"rotation of 0° and a value of white (`1.0)` indicates a rotation of"},{"text":"360°. To determine the"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property`` value from an"},{"text":"angle, divide the desired angle in degrees by `360.0` or the desired"},{"text":"angle in radians by pi times 2."},{"text":""},{"text":"```swift"},{"text":"let angleDegrees = Float(125.0)"},{"text":"let anisotropyAngleFromDegrees = angleDegrees / 360.0"},{"text":""},{"text":"let angleRadians = Float(2.181662) let anisotropyAngleFromRadians ="},{"text":"angleRadians / (Float.pi * Float(2.0))"},{"text":"```"},{"text":""},{"text":"The following example shows how to specify `anisotropyAngle` using"},{"text":"single values for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.anisotropyAngle = .AnisotropyAngle(floatLiteral: 0.25)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify anisotropy using a UV-mapped image"},{"text":"texture for ``PhysicallyBasedMaterial/anisotropyLevel-swift.property``"},{"text":"and a separate image for"},{"text":"``PhysicallyBasedMaterial/anisotropyAngle-swift.property``:"},{"text":""},{"text":"```swift"},{"text":"if let anisoLevelResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_level\") {"},{"text":" let anisoLevelMap = MaterialParameters.Texture(sheenResource)"},{"text":" material.anisotropyLevel = .init(texture: anisoLevelMap)"},{"text":"}"},{"text":"if let anisoAngleResource = try? TextureResource.load(named:"},{"text":"\"entity_aniso_angle\") {"},{"text":" let anisoAngleMap = MaterialParameters.Texture(anisoAngleResource)"},{"text":" material.anisotropyAngle = .init(texture: anisoAngleMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anisotropyAngle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnisotropyAngle","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryCompactMap(_:)"],"names":{"title":"tryCompactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls an error-throwing closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Use ``Publisher/tryCompactMap(_:)`` to remove `nil` elements from a publisher’s stream based on an error-throwing closure you provide. If the closure throws an error, the publisher cancels the upstream publisher and sends the thrown error to the downstream subscriber as a ``Publisher/Failure``."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection-based publisher. A ``Publisher/tryCompactMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform the numbers from its Arabic to Roman numerals, as an optional ."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` fails to look up a Roman numeral, it returns the optional String `(unknown)`."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` determines the input is `0`, it throws an error. The ``Publisher/tryCompactMap(_:)`` operator catches this error and stops publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from: Int) throws -> String? {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 4: \"IV\", 5: \"V\"]"},{"text":" guard from != 0 else { throw ParseError() }"},{"text":" return romanNumeralDict[from]"},{"text":" }"},{"text":" let numbers = [6, 5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryCompactMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(Unknown) V IV III II I failure(ParseError())\""},{"text":""},{"text":"- Parameter transform: An error-throwing closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO9meshChunkyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType","meshChunk"],"names":{"title":"SceneUnderstandingComponent.EntityType.meshChunk","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"meshChunk"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An entitiy that models the physical shape of the environment within"},{"text":"a given cubic region."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"meshChunk"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isRotationAnimated"],"names":{"title":"isRotationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes rotational"},{"text":"changes in the entity’s transform."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates"},{"text":"rotational differences in the entity's transform by interpolating to the"},{"text":"target rotation across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","index(of:)"],"names":{"title":"index(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5,"minor":0},"renamed":"firstIndex(of:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","anchorIdentifier"],"names":{"title":"anchorIdentifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The identifier of the AR anchor with which the anchor entity is"},{"text":"associated, or `nil` if it isn’t currently anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorIdentifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UUID","preciseIdentifier":"s:10Foundation4UUIDV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","message":"Anchor Identifier is not supported on xrOS","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18MaterialParametersV7TextureV7uvIndexSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","uvIndex"],"names":{"title":"uvIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uvIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uvIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","Origin","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Origin","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Origin","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Origin","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Origin","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Origin","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Origin","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV3allAEvpZ","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","all"],"names":{"title":"all","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All forms of input."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC16debugDescriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["Entity","debugDescription"],"names":{"title":"debugDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A human readable description of the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21ChannelAudioComponentV4gainACSd_tcfc","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","init(gain:)"],"names":{"title":"init(gain:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configure the behavior of a channel audio source."},{"text":""},{"text":"- Parameter gain: The overall level for all sounds emitted from an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":" = .zero)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV9deltaTimeSdvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationEvents","DidSimulate","deltaTime"],"names":{"title":"deltaTime","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time between last fixed update event and this one."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO4useryA2EmF","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","Origin","user"],"names":{"title":"SceneUnderstandingComponent.Origin.user","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"user"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A scene understanding component that is owned and created by the developer."},{"text":"Component of this origin type will model an object in virtual environment."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"user"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV21inverseBindPoseMatrixSo13simd_float4x4avp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","Joint","inverseBindPoseMatrix"],"names":{"title":"inverseBindPoseMatrix","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inverseBindPoseMatrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A matrix which transforms from the authored pose (the \"bind pose\") of the bound model"},{"text":"to the local space of this joint."},{"text":""},{"text":"> Note: The bind pose matrix transforms a vertex from a joint's local coordinate"},{"text":"space to the position of that vertex in the model's bind pose. This property is the"},{"text":"_inverse_ bind pose matrix, so it transforms a vertex from its position in the"},{"text":"model's bind pose to the local coordinate space of this joint."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inverseBindPoseMatrix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``FromToByAnimation/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormat5width6height5usage11mipmapsModeAGSo08MTLPixelI0V_S2iSo15MTLTextureUsageVAC07MipmapsN0Otcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue","Descriptor","init(pixelFormat:width:height:usage:mipmapsMode:)"],"names":{"title":"init(pixelFormat:width:height:usage:mipmapsMode:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"pixelFormat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLPixelFormat","preciseIdentifier":"c:@E@MTLPixelFormat"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"usage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTextureUsage","preciseIdentifier":"c:@E@MTLTextureUsage"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mipmapsMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MipmapsMode","preciseIdentifier":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","difference(from:)"],"names":{"title":"difference(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference needed to produce this collection's ordered"},{"text":"elements from the given collection."},{"text":""},{"text":"This function does not infer element moves. If you need to infer moves,"},{"text":"call the `inferringMoves()` method on the resulting difference."},{"text":""},{"text":"- Parameters:"},{"text":" - other: The base state."},{"text":""},{"text":"- Returns: The difference needed to produce this collection's ordered"},{"text":" elements from the given collection."},{"text":""},{"text":"- Complexity: Worst case performance is O(*n* * *m*), where *n* is the"},{"text":" count of this collection and *m* is `other.count`. You can expect"},{"text":" faster execution when the collections share many common elements, or"},{"text":" if `Element` conforms to `Hashable`."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BidirectionalCollection","preciseIdentifier":"s:SK"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","debounce(for:scheduler:options:)"],"names":{"title":"debounce(for:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements only after a specified time interval elapses between events."},{"text":""},{"text":"Use the ``Publisher/debounce(for:scheduler:options:)`` operator to control the number of values and time between delivery of values from the upstream publisher. This operator is useful to process bursty or high-volume event streams where you need to reduce the number of values delivered to the downstream to a rate you specify."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes elements on a schedule defined by the `bounces` array. The array is composed of tuples representing a value sent by the ``PassthroughSubject``, and a ranging from one-quarter second up to 2 seconds that drives a delivery timer. As the queue builds, elements arriving faster than one-half second `debounceInterval` are discarded, while elements arriving at a rate slower than `debounceInterval` are passed through to the ``Publisher/sink(receiveValue:)`` operator."},{"text":""},{"text":" let bounces:[(Int,TimeInterval)] = ["},{"text":" (0, 0),"},{"text":" (1, 0.25), // 0.25s interval since last index"},{"text":" (2, 1), // 0.75s interval since last index"},{"text":" (3, 1.25), // 0.25s interval since last index"},{"text":" (4, 1.5), // 0.25s interval since last index"},{"text":" (5, 2) // 0.5s interval since last index"},{"text":" ]"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" cancellable = subject"},{"text":" .debounce(for: .seconds(0.5), scheduler: RunLoop.main)"},{"text":" .sink { index in"},{"text":" print (\"Received index \\(index)\")"},{"text":" }"},{"text":""},{"text":" for bounce in bounces {"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + bounce.1) {"},{"text":" subject.send(bounce.0)"},{"text":" }"},{"text":" }"},{"text":""},{"text":" // Prints:"},{"text":" // Received index 1"},{"text":" // Received index 4"},{"text":" // Received index 5"},{"text":""},{"text":" // Here is the event flow shown from the perspective of time, showing value delivery through the `debounce()` operator:"},{"text":""},{"text":" // Time 0: Send index 0."},{"text":" // Time 0.25: Send index 1. Index 0 was waiting and is discarded."},{"text":" // Time 0.75: Debounce period ends, publish index 1."},{"text":" // Time 1: Send index 2."},{"text":" // Time 1.25: Send index 3. Index 2 was waiting and is discarded."},{"text":" // Time 1.5: Send index 4. Index 3 was waiting and is discarded."},{"text":" // Time 2: Debounce period ends, publish index 4. Also, send index 5."},{"text":" // Time 2.5: Debounce period ends, publish index 5."},{"text":""},{"text":"- Parameters:"},{"text":" - dueTime: The time the publisher should wait before publishing an element."},{"text":" - scheduler: The scheduler on which this publisher delivers elements"},{"text":" - options: Scheduler options that customize this publisher’s delivery of elements."},{"text":"- Returns: A publisher that publishes events only after a specified time elapses."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"dueTime","declarationFragments":[{"kind":"identifier","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection"],"names":{"title":"MeshPartCollection","navigator":[{"kind":"identifier","spelling":"MeshPartCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshPartCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds a collection of mesh parts."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshPartCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV8position6normalAEs5SIMD3VySfG_AJtcfc","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","ClippingPlane","init(position:normal:)"],"names":{"title":"init(position:normal:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12channelAudioAA07ChannelE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","channelAudio"],"names":{"title":"channelAudio","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"channelAudio"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ChannelAudioComponent","preciseIdentifier":"s:17RealityFoundation21ChannelAudioComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component that configures the channel-based rendering of sounds from this entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"channelAudio"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ChannelAudioComponent","preciseIdentifier":"s:17RealityFoundation21ChannelAudioComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO6systemyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","Origin","system"],"names":{"title":"SceneUnderstandingComponent.Origin.system","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"system"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A scene understanding component that is owned and created by the system."},{"text":"Component of this origin type will model an object in real world environment."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"system"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","failureReason"],"names":{"title":"failureReason","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing the reason for the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:_:)"],"names":{"title":"zip(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:_:)`` to return a new publisher that combines the elements from three other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, the ``PassthroughSubject`` publishers, `numbersPub`,"},{"text":"`fractionsPub`, `lettersPub`, and `emojiPub` emit values. The ``Publisher/zip(_:_:_:_:)`` operator receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times and prints out the value in `fractionsPub`."},{"text":""},{"text":" let numbersPub = PassthroughSubject() // first publisher"},{"text":" let lettersPub = PassthroughSubject() // second"},{"text":" let emojiPub = PassthroughSubject() // third"},{"text":" let fractionsPub = PassthroughSubject()// fourth"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub) { anInt, aLetter, anEmoji, aFraction in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt)) \\(aFraction)\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: zip output: \"🥰🥰 BB\""},{"text":" // Prints:"},{"text":" //1 😀 A 0.1"},{"text":" //2 🥰🥰 BB 0.8"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from four upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV16simulationEntityAA0I0Cvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationEvents","DidSimulate","simulationEntity"],"names":{"title":"simulationEntity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simulationEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The root simulation entity associated with the simulation that raised the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simulationEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody","physicsBody"],"names":{"title":"physicsBody","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that is used for physics simulations of the model entity in"},{"text":"accordance with the laws of Newtonian mechanics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsBody"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyComponent","preciseIdentifier":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO4playyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","play"],"names":{"title":"ParticleEmitterComponent.SimulationState.play","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"play"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Simulation will play."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"play"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO5imageyAESS_SStcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","image(group:name:)"],"names":{"title":"AnchoringComponent.Target.image(group:name:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An image."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat intensity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","errorDescription"],"names":{"title":"errorDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing what error occurred."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"errorDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prepend(_:)"],"names":{"title":"prepend(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prefixes a publisher’s output with the specified values."},{"text":""},{"text":"Use ``Publisher/prepend(_:)-7wk5l`` when you need to prepend specific elements before the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/prepend(_:)-7wk5l`` operator publishes the provided elements before republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .prepend(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 255 0 1 2 3 4 5 6 7 8 9 10\""},{"text":""},{"text":"- Parameter elements: The elements to publish before this publisher’s elements."},{"text":"- Returns: A publisher that prefixes the specified elements prior to this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO5pauseyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","pause"],"names":{"title":"ParticleEmitterComponent.SimulationState.pause","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Simulation will pause."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation23PhysicallyBasedMaterialV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name exported with USDz or Reality File asset"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO6streamyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","stream"],"names":{"title":"AudioFileResource.LoadingStrategy.stream","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stream"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stream data from disk, decoding in real time."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stream"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO7preloadyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","preload"],"names":{"title":"AudioFileResource.LoadingStrategy.preload","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preload"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Load and decode all the data into memory before playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"preload"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19AnimationRepeatModeO","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt16yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt16"],"names":{"title":"MeshBuffers.ElementType.uInt16","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt16"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt16"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7toValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO5planeyA2E9AlignmentV_AE14ClassificationVs5SIMD2VySfGtcAEmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","plane(_:classification:minimumBounds:)"],"names":{"title":"AnchoringComponent.Target.plane(_:classification:minimumBounds:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"plane"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"classification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"minimumBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"plane"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"classification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"minimumBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5groupSayAA0C10Definition_pGvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","group"],"names":{"title":"group","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations to run."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC15updateAndRender9deltaTime12cameraOutput13whenScheduled10onComplete013actionsBeforeF00o5AfterF0ySd_AC06CameraJ0VyACcSgAMSayAC16MetalEventActionVGAPtKF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","updateAndRender(deltaTime:cameraOutput:whenScheduled:onComplete:actionsBeforeRender:actionsAfterRender:)"],"names":{"title":"updateAndRender(deltaTime:cameraOutput:whenScheduled:onComplete:actionsBeforeRender:actionsAfterRender:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"updateAndRender"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cameraOutput"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenScheduled"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"onComplete"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"actionsBeforeRender"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"actionsAfterRender"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tick the simulation and render using activeCamera and the camera rendering output."},{"text":""},{"text":"- Parameters:"},{"text":" - deltaTime: The delta time to advance the simulation"},{"text":""},{"text":" - cameraOutput: Specifies output for rendering with ``activeCamera``"},{"text":""},{"text":" - whenScheduled: A handler that is called when the corresponding MTLCommandBuffer is scheduled"},{"text":""},{"text":" - onComplete: A handler that is called when the corresponding MTLCommandBuffer is complete"},{"text":""},{"text":" - actionsBeforeRender: Array of events and values to wait before GPU rendering work"},{"text":""},{"text":" - actionsAfterRender: Array of events and values to signal after GPU rendering work"}]},"functionSignature":{"parameters":[{"name":"deltaTime","declarationFragments":[{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"cameraOutput","declarationFragments":[{"kind":"identifier","spelling":"cameraOutput"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"}]},{"name":"whenScheduled","declarationFragments":[{"kind":"identifier","spelling":"whenScheduled"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"onComplete","declarationFragments":[{"kind":"identifier","spelling":"onComplete"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"actionsBeforeRender","declarationFragments":[{"kind":"identifier","spelling":"actionsBeforeRender"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"text","spelling":"]"}]},{"name":"actionsAfterRender","declarationFragments":[{"kind":"identifier","spelling":"actionsAfterRender"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"updateAndRender"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cameraOutput"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenScheduled"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"onComplete"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"actionsBeforeRender"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"text","spelling":"] = [], "},{"kind":"externalParam","spelling":"actionsAfterRender"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"text","spelling":"] = []) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","isScaleAnimated"],"names":{"title":"isScaleAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation observes changes in"},{"text":"the entity’s size."},{"text":""},{"text":"If you set this property to `true`, the animation accommodates scale"},{"text":"differences in the entity’s transform by interpolating to the target"},{"text":"scale across the animation timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV2neoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelSortGroup","preciseIdentifier":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5uInt8yA2EmF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType","uInt8"],"names":{"title":"MeshBuffers.ElementType.uInt8","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt8"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uInt8"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO4stopyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","stop"],"names":{"title":"ParticleEmitterComponent.SimulationState.stop","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Simulation will stop and clear existing particles."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationState","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationState","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationState","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationState","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationState","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationState","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation23PhysicallyBasedMaterialV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Parameters"],"names":{"title":"PhysicallyBasedMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","reanchor(_:preservingWorldTransform:)"],"names":{"title":"reanchor(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Changes the entity’s anchoring, preserving either the world transform or"},{"text":"the local transform."},{"text":""},{"text":"- Parameters:"},{"text":" - target: Describes how the entity should be anchored in AR."},{"text":""},{"text":"- preservingWorldTransform: A Boolean you set to `true` to preserve the"},{"text":"current world space position, or `false` to use the position relative to"},{"text":"the previous anchor for the new anchor."}]},"functionSignature":{"parameters":[{"name":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reanchor"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","message":"reanchor(:preservingWorldTransform:) is not supported on xrOS","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC6updateyySdKF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tick the simulation"},{"text":""},{"text":"- Parameter deltaTime: The delta time to advance the simulation"}]},"functionSignature":{"parameters":[{"name":"deltaTime","declarationFragments":[{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AdaptiveResolutionComponentV14pixelsPerMeterSfvp","interfaceLanguage":"swift"},"pathComponents":["AdaptiveResolutionComponent","pixelsPerMeter"],"names":{"title":"pixelsPerMeter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelsPerMeter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pixelsPerMeter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateSphere6radiusACSf_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateSphere(radius:)"],"names":{"title":"generateSphere(radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a sphere shape with the specified radius."},{"text":""},{"text":"- Parameters:"},{"text":" - radius: The radius of the sphere in meters."},{"text":""},{"text":" Note: Collision shape extents that fall below 2mm are forced to be 2mm in size - this includes,"},{"text":" entities with negative scale values."},{"text":""},{"text":"- Returns: The new sphere centered at the local origin."}]},"functionSignature":{"parameters":[{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Calibration","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation27AdaptiveResolutionComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["AdaptiveResolutionComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV6removeyyAA0D0CF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"child","declarationFragments":[{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation21SpatialAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceError(with:)"],"names":{"title":"replaceError(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces any errors in the stream with the provided element."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher emits the provided element, then finishes normally."},{"text":""},{"text":"In the example below, a publisher of strings fails with a `MyError` instance, which sends a failure completion downstream. The ``Publisher/replaceError(with:)`` operator handles the failure by publishing the string `(replacement element)` and completing normally."},{"text":""},{"text":" struct MyError: Error {}"},{"text":" let fail = Fail(error: MyError())"},{"text":" cancellable = fail"},{"text":" .replaceError(with: \"(replacement element)\")"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(replacement element) finished\"."},{"text":""},{"text":"This ``Publisher/replaceError(with:)`` functionality is useful when you want to handle an error by sending a single replacement element and end the stream. Use ``Publisher/catch(_:)`` to recover from an error and provide a replacement publisher to continue providing elements to the downstream subscriber."},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher fails."},{"text":"- Returns: A publisher that replaces an error from the upstream publisher with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animations repeat."},{"text":""},{"text":"If you call ``FromToByAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationGroup/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/first(where:)`` to republish only the first element of a stream that satisfies a closure you specify. The publisher ignores all elements after the first element that satisfies the closure and finishes normally."},{"text":"If this publisher doesn’t receive any elements, it finishes without publishing."},{"text":""},{"text":"In the example below, the provided closure causes the ``Publishers/FirstWhere`` publisher to republish the first received element that’s greater than `0`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first { $0 > 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"1\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:_:_:)"],"names":{"title":"map(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of three key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:_:)`` operator uses the Swift key path syntax to access the `die1`, `die2`, and `die3` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these three values (as an `(Int, Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" let die3: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6),"},{"text":" die3: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2, \\.die3)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1), \\(values.2) (total \\(values.0 + values.1 + values.2))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 5, 4, 2 (total 11)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of a second property on `Output`."},{"text":" - keyPath2: The key path of a third property on `Output`."},{"text":"- Returns: A publisher that publishes the values of three key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},{"name":"keyPath2","declarationFragments":[{"kind":"identifier","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1},{"name":"T2","index":2,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation0A8RendererCACyKcfc","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"throws"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"() "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8MaterialP","interfaceLanguage":"swift"},"pathComponents":["Material"],"names":{"title":"Material","navigator":[{"kind":"identifier","spelling":"Material"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Material"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that describes the material aspects of a mesh, like color and"},{"text":"texture."},{"text":""},{"text":"In RealityKit, a _material_ defines the surface properties of a 3D model. It"},{"text":"specifies how RealityKit renders the entity, including its color and whether"},{"text":"it’s shiny or reflective. A ``ModelEntity`` may have one material that"},{"text":"defines the way RealityKit renders the entire entity, or it may have several"},{"text":"that define the look of different parts of the model."},{"text":""},{"text":"RealityKit provides several different material structures for different"},{"text":"types of rendering, including ``PhysicallyBasedMaterial``, which is a"},{"text":"versatile material capable of simulating real-world objects in a highly"},{"text":"realistic manner, and ``UnlitMaterial``, which RealityKit draws with no"},{"text":"lighting effects or shadows."},{"text":""},{"text":"If you import a model from a USDZ file, RealityKit automatically creates one"},{"text":"or more ``PhysicallyBasedMaterial`` instances from the material properties"},{"text":"contained in the file."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Material"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryVACycfc","interfaceLanguage":"swift"},"pathComponents":["EntityQuery","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a query that returns all entities in a scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","buffer(size:prefetch:whenFull:)"],"names":{"title":"buffer(size:prefetch:whenFull:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Buffers elements received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/buffer(size:prefetch:whenFull:)`` to collect a specific number of elements from an upstream publisher before republishing them to the downstream subscriber according to the ``Publishers/BufferingStrategy`` and ``Publishers/PrefetchStrategy`` strategy you specify."},{"text":""},{"text":"If the publisher completes before reaching the `size` threshold, it buffers the elements and publishes them downstream prior to completion."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The maximum number of elements to store."},{"text":" - prefetch: The strategy to initially populate the buffer."},{"text":" - whenFull: The action to take when the buffer becomes full."},{"text":"- Returns: A publisher that buffers elements received from an upstream publisher."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"prefetch","declarationFragments":[{"kind":"identifier","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"}]},{"name":"whenFull","declarationFragments":[{"kind":"identifier","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","Element"],"names":{"title":"AnchoringComponent.Target.Alignment.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV6Outputa","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","Output"],"names":{"title":"Scene.Publisher.Output","navigator":[{"kind":"identifier","spelling":"Output"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of values published by this publisher."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Output"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"E"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21ChannelAudioComponentV4gainSdvp","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","gain"],"names":{"title":"gain","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The overall level for all sounds emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero` where"},{"text":"`.zero` is the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP6removeyyAA0C0CF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","encode(encoder:)"],"names":{"title":"encode(encoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Encodes the output from upstream using a specified encoder."},{"text":""},{"text":"Use ``Publisher/encode(encoder:)`` with a (or a for property lists) to encode an struct into that could be used to make a JSON string (or written to disk as a binary plist in the case of property lists)."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes an `Article`. The ``Publisher/encode(encoder:)`` operator encodes the properties of the `Article` struct into a new JSON string according to the protocol adopted by `Article`. The operator publishes the resulting JSON string to the downstream subscriber. If the encoding operation fails, which can happen in the case of complex properties that can’t be directly transformed into JSON, the stream terminates and the error is passed to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" let cancellable = dataProvider"},{"text":" .encode(encoder: JSONEncoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\") },"},{"text":" receiveValue: { data in"},{"text":" guard let stringRepresentation = String(data: data, encoding: .utf8) else { return }"},{"text":" print(\"Data received \\(data) string representation: \\(stringRepresentation)\")"},{"text":" })"},{"text":""},{"text":" dataProvider.send(Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: Date()))"},{"text":""},{"text":" // Prints: \"Data received 86 bytes string representation: {\"title\":\"My First Article\",\"author\":\"Gita Kumar\",\"pubDate\":606211803.279603}\""},{"text":""},{"text":"- Parameter encoder: An encoder that implements the ``TopLevelEncoder`` protocol."},{"text":"- Returns: A publisher that encodes received elements using a specified encoder, and publishes the resulting data."}]},"functionSignature":{"parameters":[{"name":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Coder","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Coder","rhs":"TopLevelEncoder","rhsPrecise":"s:7Combine15TopLevelEncoderP"},{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelEncoder","preciseIdentifier":"s:7Combine15TopLevelEncoderP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode"],"names":{"title":"CollisionComponent.Mode","navigator":[{"kind":"identifier","spelling":"Mode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Mode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that dictates how much collision data is collected for a given"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Mode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","Origin","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromAcA04MeshD0C_tYaKFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateConvex(from:)"],"names":{"title":"generateConvex(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a convex shape from the given mesh."},{"text":""},{"text":"- Parameters:"},{"text":"- mesh: A mesh with the shape of the convex polyhedron. Use meshes with a small number of vertices to"},{"text":" avoid hurting performance."},{"text":""},{"text":"- Returns: The new shape, defined by the convex hull of the vertices in `mesh`."},{"text":"- Throws: Will throw an error if `mesh` does not define a nonempty convex volume. For example, will fail if"},{"text":" all the vertices in `mesh` are coplanar."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"mesh","declarationFragments":[{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO4fromAEs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation27AdaptiveResolutionComponentV","interfaceLanguage":"swift"},"pathComponents":["AdaptiveResolutionComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV7Failurea","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","Failure"],"names":{"title":"Scene.Publisher.Failure","navigator":[{"kind":"identifier","spelling":"Failure"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of errors this publisher might publish."},{"text":""},{"text":"Use `Never` if this `Publisher` does not publish errors."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16MetalEventActionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","MetalEventAction"],"names":{"title":"RealityRenderer.MetalEventAction","navigator":[{"kind":"identifier","spelling":"MetalEventAction"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MetalEventAction"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The structure describing an event and value to be signaled or waited for."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MetalEventAction"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV11columnCountSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","columnCount"],"names":{"title":"columnCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"columnCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of columns in the sprite sheet."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"columnCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","interfaceLanguage":"swift"},"pathComponents":["HasPerspectiveCamera","camera"],"names":{"title":"camera","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A camera component for the perspective camera entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"camera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV6insert10contentsOf11beforeIndexyx_SitSTRzAA0D0C7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","insert(contentsOf:beforeIndex:)"],"names":{"title":"insert(contentsOf:beforeIndex:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified sequence of entities to this collection in order,"},{"text":"directly before the entity at the given index."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: A sequence of entities to add to the collection."},{"text":" - index: The index of an entity to insert in front"},{"text":" of. If `endIndex` is provided, the"},{"text":" entities will be appended."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"beforeIndex","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","first()"],"names":{"title":"first()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream, then finishes."},{"text":""},{"text":"Use ``Publisher/first()`` to publish just the first element from an upstream publisher, then finish normally. The ``Publisher/first()`` operator requests ``Subscribers/Demand/unlimited`` from its upstream as soon as downstream requests at least one element. If the upstream completes before ``Publisher/first()`` receives any elements, it completes without emitting any values."},{"text":""},{"text":"In this example, the ``Publisher/first()`` publisher republishes the first element received from the sequence publisher, `-10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Print: \"-10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the first element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromACSays5SIMD3VySfGG_tYaKFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateConvex(from:)"],"names":{"title":"generateConvex(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a convex shape from the given points asynchronously."},{"text":""},{"text":"- Parameters:"},{"text":"- points: An array of 3D points that define the convex polyhedron. Keep the number of points small to"},{"text":" avoid hurting performance."},{"text":""},{"text":"- Returns: A new ShapeResource object defined by the convex hull of `points`."},{"text":"- Throws: Will throw an error if `points` do not define a nonempty convex volume. For example, will fail if"},{"text":" all of the points in `points` are coplanar."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"points","declarationFragments":[{"kind":"identifier","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offset5scale8rotationAEs5SIMD2VySfG_AKSftcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","init(offset:scale:rotation:)"],"names":{"title":"init(offset:scale:rotation:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a texture coordinate transform object."},{"text":""},{"text":"- Parameters:"},{"text":" - offset: The amount to offset the UV texture coordinates."},{"text":""},{"text":" - scale: The amount to scale the UV texture coordinates."},{"text":""},{"text":"- rotation: The amount to rotate the UV texture coordinates in"},{"text":"radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(), "},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(1, 1), "},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent"],"names":{"title":"PhysicsBodyComponent","navigator":[{"kind":"identifier","spelling":"PhysicsBodyComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines an entity’s behavior in physics body simulations."},{"text":""},{"text":"To participate in a scene's physics simulation, an entity must have a ``RealityKit/PhysicsBodyComponent``"},{"text":"and a ``RealityKit/CollisionComponent``. If you need to move an entity that participates"},{"text":"in the physics system, it also needs a ``RealityKit/PhysicsMotionComponent``."},{"text":""},{"text":"Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which"},{"text":"allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body,"},{"text":"following basic rules of Newtonian mechanics."},{"text":""},{"text":"Note the following when considering applying a non-uniform scale to an entity:"},{"text":"- Non-uniform scaling is applicable only to box, convex mesh and triangle mesh collision shapes."},{"text":"- Non-uniform scaling is not supported for all other types of collision shapes. In this case the scale.x"},{"text":"value is duplicated to the scale's y and z components as well to force scale uniformity based on the x component."},{"text":"- If the entity has a non-uniform scale assigned to its transform then that entity should not"},{"text":"have any descendants assigned that contain rotations in their transforms. A good rule of thumb is to"},{"text":"assign the non-uniform scale to the entity that has the collision shape, and avoid adding children below"},{"text":"that entity."},{"text":""},{"text":"- Note: Model entities have a physics body component by default."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from single value."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core PBR properties, you can create"},{"text":"additional realistic effects by augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from a"},{"text":"single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":"- value: A value from 0.0 to 1.0 to use as the specular value for"},{"text":"the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE8generate4from5named7optionsACSo10CGImageRefa_SSSgAC13CreateOptionsVtYaKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","generate(from:named:options:)"],"names":{"title":"generate(from:named:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously creates a texture resource from an in-memory Core"},{"text":"Graphics image."},{"text":""},{"text":"This method creates a texture resource from an existing"},{"text":" with"},{"text":"specific options. RealityKit uses the resource name to identify"},{"text":"resources, and to match texture resources between networked peers."},{"text":"Specify a unique name for each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":""},{"text":" - resourceName: A unique name for syncing the texture resource across the network. Name will be empty if omitted."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A texture resource."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"named","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","Origin","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV4nameACSS_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","init(name:)"],"names":{"title":"init(name:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create an empty mesh descriptor."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value or a texture."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular"},{"text":"highlights are bright spots of reflected light that appear on shiny"},{"text":"objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners."},{"text":"Both have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"While many real-world objects can be accurately and realistically"},{"text":"simulated with just the core PBR properties, you can create"},{"text":"additional realistic effects by augmenting the specular highlights."},{"text":""},{"text":"This initializer creates a"},{"text":"``PhysicallyBasedMaterial/Specular-swift.struct`` object from a"},{"text":"single value, an image texture, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `specular` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, RealityKit uses `scale` as the entire entity’s specular."},{"text":"If you provide a color image for `texture` rather than a grayscale"},{"text":"image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"- Parameters:"},{"text":"- scale: A value from 0.0 to 1.0 to use as the specular value for"},{"text":"the material."},{"text":""},{"text":" - texture: An optional UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives"],"names":{"title":"MeshDescriptor.Primitives","navigator":[{"kind":"identifier","spelling":"Primitives"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Primitives"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Primitives"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces all entities in this collection with those from the given"},{"text":"sequence."},{"text":""},{"text":"- Parameters:"},{"text":" - entities: The sequence of entities that will replace"},{"text":" the collection's current contents."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TriangleFillMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromAcA04MeshD0C_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateConvex(from:)"],"names":{"title":"generateConvex(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a convex shape from the given mesh."},{"text":""},{"text":"- Parameters:"},{"text":"- mesh: A mesh with the shape of the convex polyhedron. Use meshes with"},{"text":"a small number of vertices to avoid hurting performance."},{"text":""},{"text":"- Returns: The new shape."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"mesh","declarationFragments":[{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the target by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of"},{"text":"the target."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation's rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials"],"names":{"title":"MeshDescriptor.Materials","navigator":[{"kind":"identifier","spelling":"Materials"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Materials"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Materials"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21ChannelAudioComponentV6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP6insert10contentsOf11beforeIndexyqd___SitSTRd__AA0C0C7ElementRcd__lF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","insert(contentsOf:beforeIndex:)"],"names":{"title":"insert(contentsOf:beforeIndex:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified sequence of entities to this collection in order,"},{"text":"directly before the entity at the given index."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: A sequence of entities to add to the collection."},{"text":" - index: The index of an entity to insert in front"},{"text":" of. If `endIndex` is provided, the"},{"text":" entities will be appended."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"beforeIndex","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE10contentsOf8withName7optionsAC0B03URLV_SSSgAC13CreateOptionsVtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","init(contentsOf:withName:options:)"],"names":{"title":"init(contentsOf:withName:options:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity"],"names":{"title":"AnchorEntity","navigator":[{"kind":"identifier","spelling":"AnchorEntity"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An anchor that tethers entities to a scene."},{"text":""},{"text":"Use anchor entities to control how RealityKit places virtual objects into"},{"text":"your scene. ``AnchorEntity`` conforms to the ``HasAnchoring`` protocol,"},{"text":"which gives it an ``AnchoringComponent`` instance."},{"text":""},{"text":"RealityKit places anchors based on the anchoring component’s"},{"text":"``AnchoringComponent/target-swift.property`` property. For example, you can"},{"text":"configure an anchor entity to rest on a detected horizontal surface in an AR"},{"text":"scene like a table or floor, and RealityKit automatically places that anchor"},{"text":"once it detects an appropriate horizontal plane in the real world."},{"text":""},{"text":"For information on the different types of anchors available when using"},{"text":"Reality Composer, see"},{"text":"."},{"text":""},{"text":"![Diagram showing the components present in the anchor entity. It contains"},{"text":"three boxes labeled Transform component, Synchronization component, and"},{"text":"Anchoring component.](AnchorEntity-1)"},{"text":""},{"text":"Add anchor entities directly to your scene’s ``Scene/anchors`` collection,"},{"text":"or anywhere else in the scene hierarchy by adding them to the"},{"text":"``Entity/children`` collection of another entity in your scene. Because"},{"text":"``AnchorEntity`` is a subclass of ``Entity``, you can make an anchor entity"},{"text":"a child of any other entity. RealityKit may move anchor entities as the"},{"text":"scene updates, so the location and rotation of the anchor entity may change"},{"text":"relative to its parent, even if your code never modifies its"},{"text":"``Entity/transform`` property."},{"text":""},{"text":"Some anchor entities may not show up in your scene at all if RealityKit"},{"text":"fails to detect an appropriate place for them. For example, an anchor entity"},{"text":"with an `image` target won’t show up in the scene until RealityKit detects"},{"text":"the specified image in the real world."},{"text":""},{"text":"![Block diagram showing how anchor entities attach to a scene, and how they"},{"text":"support entity hierarchies. The root box of the hierarchy diagram represents"},{"text":"the ARView. It has one child representing the ARView’s scene, and that scene"},{"text":"has two children, both of which are anchor entities. Each of the anchor"},{"text":"entities have a hierarchy of child entities beneath them, most of which are"},{"text":"labeled Entity, but one of the entities in the hierarchy is another anchor"},{"text":"entity.](AnchorEntity-2)"},{"text":""},{"text":"You can have multiple anchors in a RealityKit scene. For example, one anchor"},{"text":"could place a toy car on a horizontal surface, like a table, and another"},{"text":"could tie an informative text bubbles to an image in the same scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchorEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21ChannelAudioComponentV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TriangleFillMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13CreateOptionsV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","CreateOptions"],"names":{"title":"TextureResource.CreateOptions","navigator":[{"kind":"identifier","spelling":"CreateOptions"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CreateOptions"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds texture resource creation options."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CreateOptions"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC15generateCapsule6height6radiusACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateCapsule(height:radius:)"],"names":{"title":"generateCapsule(height:radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCapsule"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a capsule shape with the specified height and radius."},{"text":""},{"text":"- Parameters:"},{"text":" - height: The height of the capsule including the spherical caps in meters, measured along the local y-axis."},{"text":""},{"text":" - radius: The radius of the capsule in meters."},{"text":""},{"text":" Note: Collision shape extents that fall below 2mm are forced to be 2mm in size - this includes,"},{"text":" entities with negative scale values."},{"text":""},{"text":"- Returns: The new capsule."}]},"functionSignature":{"parameters":[{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCapsule"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC14cameraSettingsAC06CameraE0Vvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","cameraSettings"],"names":{"title":"cameraSettings","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cameraSettings"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The settings to be used for rendering with `activeCamera`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cameraSettings"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraSettings","preciseIdentifier":"s:17RealityFoundation0A8RendererC14CameraSettingsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationSpace","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationSpace","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationSpace","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationSpace","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationSpace","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationSpace","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents"],"names":{"title":"VideoPlayerEvents","navigator":[{"kind":"identifier","spelling":"VideoPlayerEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlayerEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with video playback for VideoPlayerComponent."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoPlayerEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP6insert_11beforeIndexyAA0C0C_SitF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","insert(_:beforeIndex:)"],"names":{"title":"insert(_:beforeIndex:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity to this collection directly before the entity"},{"text":"at the given index. If the entity is already located before the index,"},{"text":"the collection will not change."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to add to the collection."},{"text":" - index: The index of an entity to insert in front"},{"text":" of. If `endIndex` is provided, the entity"},{"text":" will be appended."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"beforeIndex","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer"],"names":{"title":"RealityRenderer","navigator":[{"kind":"identifier","spelling":"RealityRenderer"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RealityRenderer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Note: All RealityKit APIs for loading resources, creating entities and adding components are compatible and work with"},{"text":"RealityRenderer. However, Custom Systems / Components and TextureResource.DrawableQueue are currently not supported with RealityRenderer."}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RealityRenderer"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11EntityQueryV5whereAcA0D9PredicateVyAA0C0CG_tcfc","interfaceLanguage":"swift"},"pathComponents":["EntityQuery","init(where:)"],"names":{"title":"init(where:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a query that returns all entities in a scene that match specific"},{"text":"criteria."},{"text":""},{"text":"- Parameters:"},{"text":" - predicate: The criteria that specifies the entities to return."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV8rowCountSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","rowCount"],"names":{"title":"rowCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rowCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of rows in the sprite sheet."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rowCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO4fillyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TriangleFillMode","fill"],"names":{"title":"MaterialParameterTypes.TriangleFillMode.fill","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Triangles and triangle strips are rasterized as filled triangles"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fill"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element equal to the argument."},{"text":""},{"text":"Use ``Publisher/contains(_:)`` to find the first element in an upstream that’s equal to the supplied argument. The contains publisher consumes all received elements until the upstream publisher produces a matching element. Upon finding the first match, it emits `true` and finishes normally. If the upstream finishes normally without producing a matching element, this publisher emits `false` and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/contains(_:)`` operator emits `true` the first time it receives the value `5` from the `numbers.publisher`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 5, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains(5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter output: An element to match against."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation24ImageBasedLightComponentV","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO5linesyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TriangleFillMode","lines"],"names":{"title":"MaterialParameterTypes.TriangleFillMode.lines","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lines"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Triangles and triangle strips are rasterized as lines"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lines"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21ChannelAudioComponentV4fromACs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceEmpty(with:)"],"names":{"title":"replaceEmpty(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces an empty stream with the provided element."},{"text":""},{"text":"Use ``Publisher/replaceEmpty(with:)`` to provide a replacement element if the upstream publisher finishes without producing any elements."},{"text":""},{"text":"In the example below, the empty `Double` array publisher doesn’t produce any elements, so ``Publisher/replaceEmpty(with:)`` publishes `Double.nan` and finishes normally."},{"text":""},{"text":" let numbers: [Double] = []"},{"text":" cancellable = numbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints \"(nan)\"."},{"text":""},{"text":"Conversely, providing a non-empty publisher publishes all elements and the publisher then terminates normally:"},{"text":""},{"text":" let otherNumbers: [Double] = [1.0, 2.0, 3.0]"},{"text":" cancellable2 = otherNumbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: 1.0 2.0 3.0"},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher finishes without emitting any elements."},{"text":"- Returns: A publisher that replaces an empty stream with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO4headyA2EmF","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","head"],"names":{"title":"AnchoringComponent.Target.head","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"head"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The head."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"head"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO6globalyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace","global"],"names":{"title":"ParticleEmitterComponent.SimulationSpace.global","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"global"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"global"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryFirst(where:)"],"names":{"title":"tryFirst(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a throwing predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/tryFirst(where:)`` when you need to republish only the first element of a stream that satisfies an error-throwing closure you specify."},{"text":"The publisher ignores all elements after the first. If this publisher doesn’t receive any elements, it finishes without publishing. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a range publisher emits the first element in the range then finishes normally:"},{"text":""},{"text":" let numberRange: ClosedRange = (-1...50)"},{"text":" numberRange.publisher"},{"text":" .tryFirst {"},{"text":" guard $0 < 99 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 completion: finished\""},{"text":" // If instead the number range were ClosedRange = (100...200), the tryFirst operator would terminate publishing with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TriangleFillMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromACSays5SIMD3VySfGG_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateConvex(from:)"],"names":{"title":"generateConvex(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a convex shape from the given points."},{"text":""},{"text":"- Parameters:"},{"text":" - points: An array of 3D points that define the convex polyhedron."},{"text":" Keep the number of points small to avoid hurting performance."},{"text":""},{"text":"- Returns: The new shape."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"points","declarationFragments":[{"kind":"identifier","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateConvex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"points"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17PerspectiveCameraCACycfc","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a perspective camera entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO5localyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace","local"],"names":{"title":"ParticleEmitterComponent.SimulationSpace.local","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two targets are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first target to compare."},{"text":""},{"text":" - rhs: The second target to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two targets are"},{"text":"equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Add a new model to the container. Returns true if added."}]},"functionSignature":{"parameters":[{"name":"model","declarationFragments":[{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:)"],"names":{"title":"zip(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and deliver pairs of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:)`` to combine the latest elements from two publishers and emit a tuple to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together as a tuple to the subscriber."},{"text":""},{"text":"Much like a zipper or zip fastener on a piece of clothing pulls together rows of teeth to link the two sides, ``Publisher/zip(_:)`` combines streams from two different publishers by linking pairs of elements from each side."},{"text":""},{"text":"In this example, `numbers` and `letters` are ``PassthroughSubject``s that emit values; once ``Publisher/zip(_:)`` receives one value from each, it publishes the pair as a tuple to the downstream subscriber. It then waits for the next pair of values."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" letters.send(\"A\") // numbers: 1,2 letters:\"A\" zip output: "},{"text":" numbers.send(3) // numbers: 1,2,3 letters: zip output: (1,\"A\")"},{"text":" letters.send(\"B\") // numbers: 1,2,3 letters: \"B\" zip output: (2,\"B\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\")"},{"text":" // (2, \"B\")"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameter other: Another publisher."},{"text":"- Returns: A publisher that emits pairs of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","assertNoFailure(_:file:line:)"],"names":{"title":"assertNoFailure(_:file:line:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a fatal error when its upstream publisher fails, and otherwise republishes all received input."},{"text":""},{"text":"Use `assertNoFailure()` for internal integrity checks that are active during testing. However, it is important to note that, like its Swift counterpart `fatalError(_:)`, the `assertNoFailure()` operator asserts a fatal exception when triggered during development and testing, _and_ in shipping versions of code."},{"text":""},{"text":"In the example below, a `CurrentValueSubject` publishes the initial and second values successfully. The third value, containing a `genericSubjectError`, causes the `assertNoFailure()` operator to assert a fatal exception stopping the process:"},{"text":""},{"text":" public enum SubjectError: Error {"},{"text":" case genericSubjectError"},{"text":" }"},{"text":""},{"text":" let subject = CurrentValueSubject(\"initial value\")"},{"text":" subject"},{"text":" .assertNoFailure()"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0).\") }"},{"text":" )"},{"text":""},{"text":" subject.send(\"second value\")"},{"text":" subject.send(completion: Subscribers.Completion.failure(SubjectError.genericSubjectError))"},{"text":""},{"text":" // Prints:"},{"text":" // value: initial value."},{"text":" // value: second value."},{"text":" // The process then terminates in the debugger as the assertNoFailure operator catches the genericSubjectError."},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string used at the beginning of the fatal error message."},{"text":" - file: A filename used in the error message. This defaults to `#file`."},{"text":" - line: A line number used in the error message. This defaults to `#line`."},{"text":"- Returns: A publisher that raises a fatal error when its upstream publisher fails."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"file","declarationFragments":[{"kind":"identifier","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"}]},{"name":"line","declarationFragments":[{"kind":"identifier","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#file"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#line"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","count()"],"names":{"title":"count()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the number of elements received from the upstream publisher."},{"text":""},{"text":"Use ``Publisher/count()`` to determine the number of elements received from the upstream publisher before it completes:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .count()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"11\""},{"text":""},{"text":"- Returns: A publisher that consumes all elements until the upstream publisher finishes, then emits a single value with the total number of elements received."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE4copy2toySo10MTLTexture_p_tYaKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","copy(to:)"],"names":{"title":"copy(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously copies texture data to another texture."},{"text":""},{"text":"This method copies all available mipmap sizes to `texture`."},{"text":""},{"text":"It is recommended that you provide a value for `CreateOptions.semantic` when creating this resource. Specifying a"},{"text":"semantic for this texture resource enables RealityKit to select an appropriate pixel format for the target texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: Target texture for copying the data. It must have the same width and height as the TextureResource, and .shaderWrite usage."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"texture","declarationFragments":[{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the shape by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"shape."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC10componentsAC12ComponentSetVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","components"],"names":{"title":"components","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ComponentSet","preciseIdentifier":"s:17RealityFoundation6EntityC12ComponentSetV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All the components stored on the entity."},{"text":""},{"text":"You can only store one component of a given type on an entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ComponentSet","preciseIdentifier":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation6EntityCAAE16ForwardDirectionO","interfaceLanguage":"swift"},"pathComponents":["Entity","ForwardDirection","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation12HasAnchoringP","interfaceLanguage":"swift"},"pathComponents":["HasAnchoring"],"names":{"title":"HasAnchoring","navigator":[{"kind":"identifier","spelling":"HasAnchoring"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasAnchoring"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables anchoring of virtual content to a real-world"},{"text":"object in an AR scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasAnchoring"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Iterator"],"names":{"title":"Entity.ChildCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the collection's iteration interface and"},{"text":"encapsulates its iteration state."},{"text":""},{"text":"By default, a collection conforms to the `Sequence` protocol by"},{"text":"supplying `IndexingIterator` as its associated `Iterator`"},{"text":"type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV10replaceAllyyxSTRzAA0D0C7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces all entities in this collection with those from the given"},{"text":"sequence."},{"text":""},{"text":"- Parameters:"},{"text":" - entities: The sequence of entities that will replace"},{"text":" the collection's current contents."}]},"functionSignature":{"parameters":[{"name":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8verticalAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","vertical"],"names":{"title":"vertical","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertical"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Vertical surfaces."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertical"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasCollision","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5group4name10repeatMode04fillH09trimStart0J3End0J8Duration6offset5delay5speedACSayAA0C10Definition_pG_SSAA0c6RepeatH0OAA0c4FillH0VSdSgA2TS2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","init(group:name:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(group:name:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collection of animations that play simultaneously."},{"text":""},{"text":"- Parameters:"},{"text":" - group: A collection of animations to run."},{"text":""},{"text":" - name: A textual name for the group."},{"text":""},{"text":" - repeatMode: An option that determines how the animations repeat."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The time, in seconds, at which the animations play."},{"text":""},{"text":" - trimEnd: The time, in seconds, at which the animations stop."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-4xn21`` to return a new publisher that combines the elements from two publishers using a transformation you specify to publish a new value to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, ``PassthroughSubject`` instances `numbersPub` and `lettersPub` emit values; ``Publisher/zip(_:_:)-4xn21`` receives the oldest value from each publisher, uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub) { anInt, aLetter in"},{"text":" String(repeating: aLetter, count: anInt)"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" zip output: \"A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" zip output: \"BB\""},{"text":" // Prints:"},{"text":" // A"},{"text":" // BB"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from two upstream publishers."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVyAA0C8ResourceCAAE0D0VSgSScip","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Read a model given its id."}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21ChannelAudioComponentV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12activeCameraAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","activeCamera"],"names":{"title":"activeCamera","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activeCamera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The camera to be used for rendering."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activeCamera"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8rawValues5UInt8Vvp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:_:)"],"names":{"title":"map(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of two key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:)`` operator uses the Swift key path syntax to access the `die1` and `die2` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these two values (as an `(Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1) (total: \\(values.0 + values.1))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 6, 4 (total: 10)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of another property on `Output`."},{"text":"- Returns: A publisher that publishes the values of two key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE10dimensions6format8contentsA2cAE12Dimensions2DV_AcAE6FormatVAcAE8ContentsVtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","init(dimensions:format:contents:)"],"names":{"title":"init(dimensions:format:contents:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dimensions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously creates a texture resource from in-memory pixel data."},{"text":""},{"text":"- Parameters:"},{"text":" - dimensions: The width and height of the texture to create."},{"text":" - format: The semantic interpretation of the pixel data."},{"text":" - contents: Pixel data that will be copied into the created texture."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dimensions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","RawValue"],"names":{"title":"AnchoringComponent.Target.Alignment.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces all entities in this collection with those from the given"},{"text":"sequence."},{"text":""},{"text":"- Parameters:"},{"text":" - entities: The sequence of entities that will replace"},{"text":" the collection's current contents."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"models"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyyxSTRzAA12HasAnchoring7ElementRpzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces the existing anchor collection with a provided sequence."},{"text":""},{"text":"- Parameters:"},{"text":"- entities: A sequence of anchors to replace the existing"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"S.Element","rhs":"HasAnchoring","rhsPrecise":"s:17RealityFoundation12HasAnchoringP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21ChannelAudioComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ChannelAudioComponent","preciseIdentifier":"s:17RealityFoundation21ChannelAudioComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ChannelAudioComponent","preciseIdentifier":"s:17RealityFoundation21ChannelAudioComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ChannelAudioComponent","preciseIdentifier":"s:17RealityFoundation21ChannelAudioComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ChannelAudioComponent","preciseIdentifier":"s:17RealityFoundation21ChannelAudioComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ChannelAudioComponent","preciseIdentifier":"s:17RealityFoundation21ChannelAudioComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ChannelAudioComponent","preciseIdentifier":"s:17RealityFoundation21ChannelAudioComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV10horizontalAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","horizontal"],"names":{"title":"horizontal","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"horizontal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Horizontal surfaces."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"horizontal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation32ImageBasedLightReceiverComponentV","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightReceiverComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9materialsAC9MaterialsOvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","materials"],"names":{"title":"materials","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Materials","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material assignments."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Materials","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV21initialFrameVariationSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","initialFrameVariation"],"names":{"title":"initialFrameVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"initialFrameVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range (in frames) from which a value is randomly selected to offset `initialFrame`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"initialFrameVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two shapes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first shape to compare."},{"text":""},{"text":" - rhs: The second shape to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two shapes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionVACycfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of specular as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23MaterialScalarParameterO","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV12makeIteratorAE08IndexingG0Vy__AEGyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsMotion","physicsMotion"],"names":{"title":"physicsMotion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics motion component used by physics simulations of the model"},{"text":"entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","ArrayLiteralElement"],"names":{"title":"AnchoringComponent.Target.Alignment.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationGroup/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationGroup/trimStart``, ``AnimationGroup/trimEnd``, or"},{"text":"``AnimationGroup/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP9removeAll5whereySbAA0C0CKXE_tKF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","removeAll(where:)"],"names":{"title":"removeAll(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all entities from this collection that satisfy the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","declarationFragments":[{"kind":"identifier","spelling":"`where`"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO2xyyA2GmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","NormalEncoding","xy"],"names":{"title":"TextureResource.Format.NormalEncoding.xy","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"xy"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normal map with the X and Y components of a surface normal in the tangent space of the surface"},{"text":"encoded in the red and green channels of a texture, with each component between 0.0 and 1.0."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"xy"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation21ChannelAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator","Element"],"names":{"title":"MeshModelCollection.Iterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO2wyyA2GmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","NormalEncoding","wy"],"names":{"title":"TextureResource.Format.NormalEncoding.wy","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wy"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normal map with the X and Y components of a surface normal in the tangent space of the surface"},{"text":"encoded in the alpha and green channels of a texture, with each component between 0.0 and 1.0."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wy"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all entities from this collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:)"],"names":{"title":"combineLatest(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and publishes a tuple upon receiving output from either publisher."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:)`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To pair elements from multiple publishers, use ``Publisher/zip(_:)`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:)-7qt71``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In this example, ``PassthroughSubject`` `pub1` and also `pub2` emit values; as ``Publisher/combineLatest(_:)`` receives input from either upstream publisher, it combines the latest value from each publisher into a tuple and publishes it."},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(3)"},{"text":" pub1.send(45)"},{"text":" pub2.send(22)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2). // pub1 latest = 2, pub2 latest = 2"},{"text":" // Result: (3, 2). // pub1 latest = 3, pub2 latest = 2"},{"text":" // Result: (45, 2). // pub1 latest = 45, pub2 latest = 2"},{"text":" // Result: (45, 22). // pub1 latest = 45, pub2 latest = 22"},{"text":""},{"text":"When all upstream publishers finish, this publisher finishes. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"- Parameter other: Another publisher to combine with this one."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE7replace5using7optionsySo10CGImageRefa_AC13CreateOptionsVtYaKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replace(using:options:)"],"names":{"title":"replace(using:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously replaces the texture with a CoreGraphics image."},{"text":""},{"text":"Do not use this method for updates at frame rate frequency. For frequent texture changes, see ``replace(withDrawables:)``. To ensure"},{"text":"consistent usage of this texture resource, pass the same semantic in `options` that you used to create the resource."},{"text":""},{"text":"- Note: The contents of a modified texture resource are not synced between network clients."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: Source image."},{"text":" - options: Options precising the type of texture to create. To preserve TextureResource's usage, the same semantic should be specified."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV7Indicesa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Indices"],"names":{"title":"Entity.ChildCollection.Indices","navigator":[{"kind":"identifier","spelling":"Indices"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents the indices that are valid for subscripting the"},{"text":"collection, in ascending order."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Indices"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies a predicate closure, after upstream finishes."},{"text":""},{"text":"Use ``Publisher/last(where:)`` when you need to republish only the last element of a stream that satisfies a closure you specify."},{"text":""},{"text":"In the example below, a range publisher emits the last element that satisfies the closure’s criteria, then finishes normally:"},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last { $0 < 6 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"5\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove all the models."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all entities from this collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC6boundsAA11BoundingBoxVvp","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","bounds"],"names":{"title":"bounds","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Axis aligned bounding box in world space."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8rawValueAGs5UInt8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation23AudioMixGroupsComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioMixGroupsComponent","preciseIdentifier":"s:17RealityFoundation23AudioMixGroupsComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioMixGroupsComponent","preciseIdentifier":"s:17RealityFoundation23AudioMixGroupsComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroupsComponent","preciseIdentifier":"s:17RealityFoundation23AudioMixGroupsComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroupsComponent","preciseIdentifier":"s:17RealityFoundation23AudioMixGroupsComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroupsComponent","preciseIdentifier":"s:17RealityFoundation23AudioMixGroupsComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroupsComponent","preciseIdentifier":"s:17RealityFoundation23AudioMixGroupsComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceCAAE18generateStaticMesh9positions11faceIndicesACSays5SIMD3VySfGG_Says6UInt16VGtYaKFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateStaticMesh(positions:faceIndices:)"],"names":{"title":"generateStaticMesh(positions:faceIndices:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateStaticMesh"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"positions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">], "},{"kind":"externalParam","spelling":"faceIndices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt16","preciseIdentifier":"s:s6UInt16V"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generate a static collision mesh."},{"text":"The triangle mesh is pre-processed into an optimized format before being used by the physics engine."},{"text":"The pre-processing step can take significant time if the position counts are large."},{"text":"To minimize this cost, the position count should be as small as possible."},{"text":"The returned `ShapeResource` can only be used under the following circumstances:"},{"text":"- This shape can only be used with `PhysicsBodyMode.static` and not `.dynamic` or `.kinematic`."},{"text":"- This shape cannot be used with `CollisionComponent.Mode.trigger`."},{"text":""},{"text":"- Parameters:"},{"text":" - positions: An array of vertex positions containing discrete points on the mesh."},{"text":" - faceIndices: An array of integers used to index into the position array."},{"text":" 3 indices per polygon are used to define a polygon in the mesh."}]},"functionSignature":{"parameters":[{"name":"positions","declarationFragments":[{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},{"name":"faceIndices","declarationFragments":[{"kind":"identifier","spelling":"faceIndices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt16","preciseIdentifier":"s:s6UInt16V"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateStaticMesh"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"positions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">], "},{"kind":"externalParam","spelling":"faceIndices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt16","preciseIdentifier":"s:s6UInt16V"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC8lightingAC15ImageBasedLightVvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","lighting"],"names":{"title":"lighting","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageBasedLight","preciseIdentifier":"s:17RealityFoundation0A8RendererC15ImageBasedLightV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The lighting used in the environment of a particular scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lighting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageBasedLight","preciseIdentifier":"s:17RealityFoundation0A8RendererC15ImageBasedLightV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","remove(id:)"],"names":{"title":"remove(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Remove a model by id."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioMixGroupsComponentV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of the joints to animate."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV6remove2atySi_tF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","remove(at:)"],"names":{"title":"remove(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity at the given index from this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - index: The index of the entity to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation23AudioMixGroupsComponentV","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioMixGroupsComponentV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10primitivesAC10PrimitivesOSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","primitives"],"names":{"title":"primitives","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"primitives"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Primitives","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The primitives that make up the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"primitives"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Primitives","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC15ImageBasedLightV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","ImageBasedLight"],"names":{"title":"RealityRenderer.ImageBasedLight","navigator":[{"kind":"identifier","spelling":"ImageBasedLight"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ImageBasedLight"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Describe the lighting properties for the scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ImageBasedLight"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV12initialFrameSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","initialFrame"],"names":{"title":"initialFrame","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"initialFrame"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"First frame of the sprite sheet animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"initialFrame"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24GroundingShadowComponentV05castsD0Sbvp","interfaceLanguage":"swift"},"pathComponents":["GroundingShadowComponent","castsShadow"],"names":{"title":"castsShadow","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"castsShadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"If true, the entity will cast a shadow"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"castsShadow"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP6remove2atySi_tF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","remove(at:)"],"names":{"title":"remove(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity at the given index from this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - index: The index of the entity to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","update(_:)"],"names":{"title":"update(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Update an existing model. The old model is returned."}]},"functionSignature":{"parameters":[{"name":"model","declarationFragments":[{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","Element"],"names":{"title":"Entity.ChildCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE9loadModel5named2inAA0eC0CSS_So8NSBundleCSgtYaKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadModel(named:in:)"],"names":{"title":"loadModel(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously loads a model entity from a file in a bundle."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`)."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The base name of the file to load, omitting the file extension."},{"text":" - bundle: The bundle containing the file. Use `nil` to search the app's main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file as a ``RealityKit/ModelEntity``."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadModel"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ModelEntity","preciseIdentifier":"s:17RealityFoundation11ModelEntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","renamed":"ModelEntity.init","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8generate4from8withName7optionsACSo10CGImageRefa_SSSgAC13CreateOptionsVtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","generate(from:withName:options:)"],"names":{"title":"generate(from:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a texture resource from an in-memory Core Graphics image."},{"text":""},{"text":"This method creates a texture resource from an existing"},{"text":" with"},{"text":"specific options. RealityKit uses the resource name to identify"},{"text":"resources, and to match texture resources between networked peers."},{"text":"Specify a unique name for each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":""},{"text":" - resourceName: A unique name for syncing the texture resource across the network. Name will be empty if omitted."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A texture resource."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7toValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17EventSubscriptionV9subscribe2toyAA5SceneC_tF","interfaceLanguage":"swift"},"pathComponents":["EventSubscription","subscribe(to:)"],"names":{"title":"subscribe(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"to","internalName":"scene","declarationFragments":[{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10bindTargetAA04BindH0Ovp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off the specified number of elements"},{"text":" at the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityCAAE_12trackingModeAcA18AnchoringComponentV6TargetO_AfAE08TrackingF0Vtcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(_:trackingMode:)"],"names":{"title":"init(_:trackingMode:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trackingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trackingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TrackingMode","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13ShapeResourceC","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","NormalEncoding","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"NormalEncoding","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17EventSubscriptionV6cancelyyF","interfaceLanguage":"swift"},"pathComponents":["EventSubscription","cancel()"],"names":{"title":"cancel()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cancel"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cancel"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","TrackingMode"],"names":{"title":"AnchoringComponent.TrackingMode","navigator":[{"kind":"identifier","spelling":"TrackingMode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TrackingMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"`AnchoringMode` decides how many times the AnchorEntity transform will be computed"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TrackingMode"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfyx_tSTRzAA12HasAnchoring7ElementRpzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds anchors from a sequence to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The sequence of anchor entities to add."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"S.Element","rhs":"HasAnchoring","rhsPrecise":"s:17RealityFoundation12HasAnchoringP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationGroup/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationGroup/trimStart`` and ``AnimationGroup/trimEnd`` are `nil`,"},{"text":"the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationGroup/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``AnimationGroup/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents"],"names":{"title":"CollisionEvents","navigator":[{"kind":"identifier","spelling":"CollisionEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionEvents"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV11descriptionSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this instance."},{"text":""},{"text":"Calling this property directly is discouraged. Instead, convert an"},{"text":"instance of any type to a string by using the `String(describing:)`"},{"text":"initializer. This initializer works with any type, and uses the custom"},{"text":"`description` property for types that conform to"},{"text":"`CustomStringConvertible`:"},{"text":""},{"text":" struct Point: CustomStringConvertible {"},{"text":" let x: Int, y: Int"},{"text":""},{"text":" var description: String {"},{"text":" return \"(\\(x), \\(y))\""},{"text":" }"},{"text":" }"},{"text":""},{"text":" let p = Point(x: 21, y: 30)"},{"text":" let s = String(describing: p)"},{"text":" print(s)"},{"text":" // Prints \"(21, 30)\""},{"text":""},{"text":"The conversion of `p` to a string in the assignment to `s` uses the"},{"text":"`Point` type's `description` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6removeyyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the anchor at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The anchor to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE5named2inACSS_So8NSBundleCSgtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["Entity","init(named:in:)"],"names":{"title":"init(named:in:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity by asynchronously loading it from a file in a bundle."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The base name of the file to load, omitting the file extension, or scene name if loading from a .reality file. "},{"text":" - bundle: The bundle containing the file. Use `nil` to search the app's main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","none"],"names":{"title":"MaterialParameterTypes.FaceCulling.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system doesn’t cull polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC9subscribe2to2on13componentType_AA17EventSubscriptionVxm_AA0I6Source_pSgAA9Component_pXpSgyxctAA0I0RzlF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","subscribe(to:on:componentType:_:)"],"names":{"title":"subscribe(to:on:componentType:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?, ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"EventSubscription","preciseIdentifier":"s:17RealityFoundation17EventSubscriptionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Subscribes to the provided RealityKit ``Event`` with ``handler``."},{"text":""},{"text":"- Parameters:"},{"text":" - `event`: The RealityKit ``Event`` type to subscribe to."},{"text":" - `sourceObject`: An optional ``EventSource`` to filter events to"},{"text":" (e.g., an entity). If no source is provided, the resulting"},{"text":" subscription will receive events for all objects in this"},{"text":" ``RealityRenderer``."},{"text":" - `componentType`: An optional ``Component`` type to filter events"},{"text":" to. If no component type is provided, the resulting subscription"},{"text":" will receive events for all components in this ``RealityRenderer``, if"},{"text":" the event type is for a component."},{"text":" - `handler`: A closure to run when the `event` occurs."},{"text":""},{"text":"- Returns: A value representing the subscription to this event stream."},{"text":" Call ``cancel()`` on this value to end the subscription."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?"}]},{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"EventSubscription","preciseIdentifier":"s:17RealityFoundation17EventSubscriptionV"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)? = nil, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"EventSubscription","preciseIdentifier":"s:17RealityFoundation17EventSubscriptionV"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfySayAA12HasAnchoring_pG_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds anchors from an array to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - array: The array of anchor entities to add."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"array","declarationFragments":[{"kind":"identifier","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23ModelSortGroupComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroupComponent"],"names":{"title":"ModelSortGroupComponent","navigator":[{"kind":"identifier","spelling":"ModelSortGroupComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelSortGroupComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that allows an entity's models to be rendered in an explicit order"},{"text":"relative to the models of other entities in the same sort group. If this component"},{"text":"is on an entity, then it must belong to a sort group."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelSortGroupComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO5frontyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","front"],"names":{"title":"MaterialParameterTypes.FaceCulling.front","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"front"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system culls front-facing polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"front"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","NormalEncoding","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-9yqi1`` to return a new publisher that combines the elements from two other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject`` that emit values; ``Publisher/zip(_:_:_:)-9yqi1`` receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(letters, emoji) { anInt, aLetter, anEmoji in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt))\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub:\"😀\", \"🥰\" zip output: \"🥰🥰 BB\""},{"text":""},{"text":" // Prints:"},{"text":" // 😀 A"},{"text":" // 🥰🥰 BB"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from three upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","Element"],"names":{"title":"AnchoringComponent.Target.Classification.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","NormalEncoding","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryLast(where:)"],"names":{"title":"tryLast(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies an error-throwing predicate closure, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/tryLast(where:)`` when you need to republish the last element that satisfies an error-throwing closure you specify. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a publisher emits the last element that satisfies the error-throwing closure, then finishes normally:"},{"text":""},{"text":" struct RangeError: Error {}"},{"text":""},{"text":" let numbers = [-62, 1, 6, 10, 9, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast {"},{"text":" guard 0 != 0 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":" // Prints: \"5 completion: finished\""},{"text":" // If instead the numbers array had contained a `0`, the `tryLast` operator would terminate publishing with a RangeError.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4backyA2EmF","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","back"],"names":{"title":"MaterialParameterTypes.FaceCulling.back","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"back"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The system culls back-facing polygons."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"back"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and invokes a closure upon receiving output from either publisher."},{"text":""},{"text":"Use `combineLatest(_:)` to combine the current and one additional publisher and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by the two publishers, it multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2) { (first, second) in"},{"text":" return first * second"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(9)"},{"text":" pub1.send(3)"},{"text":" pub2.send(12)"},{"text":" pub1.send(13)"},{"text":" //"},{"text":" // Prints:"},{"text":" //Result: 4. (pub1 latest = 2, pub2 latest = 2)"},{"text":" //Result: 18. (pub1 latest = 9, pub2 latest = 2)"},{"text":" //Result: 6. (pub1 latest = 3, pub2 latest = 2)"},{"text":" //Result: 36. (pub1 latest = 3, pub2 latest = 12)"},{"text":" //Result: 156. (pub1 latest = 13, pub2 latest = 12)"},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher to combine with this one."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation16OpacityComponentV","interfaceLanguage":"swift"},"pathComponents":["OpacityComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation7ContactV","interfaceLanguage":"swift"},"pathComponents":["Contact"],"names":{"title":"Contact","navigator":[{"kind":"identifier","spelling":"Contact"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contact"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with collisions."},{"text":""},{"text":"To subscribe to a collision event, import Combine, create a property of type "},{"text":"so that you maintain a reference to the subscription, then call ``RealityKit/Scene/subscribe(to:on:_:)``"},{"text":"or ``RealityKit/Scene/subscribe(to:on:componentType:_:)`` and provide a closure."},{"text":""},{"text":"The closure is passed an ``RealityKit/Scene/Event`` object that contains information relevant to the type of event you subscribed to."},{"text":""},{"text":"Here's an example of subscribing to the collision begain event and retrieving the two entities involved in the collision:"},{"text":""},{"text":"```swift"},{"text":" import AppKit"},{"text":" import RealityKit"},{"text":" import Combine"},{"text":""},{"text":" class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.subscribe("},{"text":" to: CollisionEvents.Began.self,"},{"text":" on: boxAnchor"},{"text":" ) { event in"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":" }"},{"text":" }"},{"text":"```"},{"text":""},{"text":"You can also create a function to respond to the event rather than a closure by using"},{"text":"."},{"text":"Here's an example of using a function to respond to a collision event:"},{"text":""},{"text":"```swift"},{"text":"import AppKit"},{"text":"import RealityKit"},{"text":"import Combine"},{"text":""},{"text":"class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.publisher(for: CollisionEvents.Began.self,"},{"text":" on:nil).sink(receiveValue: onCollisionBegan)"},{"text":" }"},{"text":""},{"text":" private func onCollisionBegan(_ event:"},{"text":" CollisionEvents.Began) {"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Contact"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV18frameRateVariationSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","frameRateVariation"],"names":{"title":"frameRateVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameRateVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range (in frames per second) from which a value is randomly selected to offset `frameRate`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameRateVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup"],"names":{"title":"ModelSortGroup","navigator":[{"kind":"identifier","spelling":"ModelSortGroup"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelSortGroup"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines a model sort group."},{"text":"Can only be configured on initialization. Once it is created, it cannot be modified."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelSortGroup"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","ignoreOutput()"],"names":{"title":"ignoreOutput()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores all upstream elements, but passes along the upstream publisher's completion state (finished or failed)."},{"text":""},{"text":"Use the ``Publisher/ignoreOutput()`` operator to determine if a publisher is able to complete successfully or would fail."},{"text":""},{"text":"In the example below, the array publisher (`numbers`) delivers the first five of its elements successfully, as indicated by the ``Publisher/ignoreOutput()`` operator. The operator consumes, but doesn’t republish the elements downstream. However, the sixth element, `0`, causes the error throwing closure to catch a `NoZeroValuesAllowedError` that terminates the stream."},{"text":""},{"text":" struct NoZeroValuesAllowedError: Error {}"},{"text":" let numbers = [1, 2, 3, 4, 5, 0, 6, 7, 8, 9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter({ anInt in"},{"text":" guard anInt != 0 else { throw NoZeroValuesAllowedError() }"},{"text":" return anInt < 20"},{"text":" })"},{"text":" .ignoreOutput()"},{"text":" .sink(receiveCompletion: {print(\"completion: \\($0)\")},"},{"text":" receiveValue: {print(\"value \\($0)\")})"},{"text":""},{"text":" // Prints: \"completion: failure(NoZeroValuesAllowedError())\""},{"text":""},{"text":"The output type of this publisher is ."},{"text":""},{"text":"- Returns: A publisher that ignores all upstream elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to determine the minimum value in the stream of elements from an upstream publisher using a comparison operation you specify."},{"text":""},{"text":"This operator is useful when the value received from the upstream publisher isn’t ."},{"text":""},{"text":"In the example below an array publishes enumeration elements representing playing card ranks. The ``Publisher/min(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the minimum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .king]"},{"text":" cancellable = cards.publisher"},{"text":" .min {"},{"text":" return $0.rawValue < $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"ace\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyySayAA12HasAnchoring_pGF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces the existing anchor collection with a provided collection."},{"text":""},{"text":"This method removes all anchors currently in the collection, then"},{"text":"appends all the elements in `entities` to the collection."},{"text":""},{"text":"- Parameters:"},{"text":"- entities: An array of anchors to replace the existing collection."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","ColorSpace","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations stop."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationGroup/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE10dimensions6format8contentsA2cAE12Dimensions2DV_AcAE6FormatVAcAE8ContentsVtKcfc","interfaceLanguage":"swift"},"pathComponents":["TextureResource","init(dimensions:format:contents:)"],"names":{"title":"init(dimensions:format:contents:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dimensions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dimensions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Dimensions2D","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"contents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all anchors from the collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorVyAA0C6BufferVy7ElementQzGSgxcAA0cE8SemanticRzluip","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","ColorSpace","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO","interfaceLanguage":"swift"},"pathComponents":["AudioEvents"],"names":{"title":"AudioEvents","navigator":[{"kind":"identifier","spelling":"AudioEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with audio playback."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(untilOutputFrom:)"],"names":{"title":"prefix(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements until another publisher emits an element."},{"text":""},{"text":"After the second publisher publishes an element, the publisher returned by this method finishes."},{"text":""},{"text":"- Parameter publisher: A second publisher."},{"text":"- Returns: A publisher that republishes elements until the second publisher publishes an element."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6remove2atySi_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","remove(at:)"],"names":{"title":"remove(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes and returns the anchor at the specified position."},{"text":""},{"text":"- Parameters:"},{"text":"- index: The position of the anchor to remove. index must be a valid"},{"text":"index of the collection."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/max()`` to determine the maximum value in the stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/max()`` operator emits a value when the publisher finishes, that value is the maximum of the values received from upstream, which is `10`."},{"text":""},{"text":" let numbers = [0, 10, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .max()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV3anyAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","any"],"names":{"title":"any","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Surfaces of any alignment."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO9displayP3yA2GmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","ColorSpace","displayP3"],"names":{"title":"TextureResource.Format.ColorSpace.displayP3","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"displayP3"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"DCI P3 primaries with a D65 white point."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"displayP3"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subject to this publisher."},{"text":""},{"text":"- Parameter subject: The subject to attach to this publisher."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8reverseds18ReversedCollectionVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a view presenting the elements of the collection in reverse"},{"text":"order."},{"text":""},{"text":"You can reverse a collection without allocating new space for its"},{"text":"elements by calling this `reversed()` method. A `ReversedCollection`"},{"text":"instance wraps an underlying collection and provides access to its"},{"text":"elements in reverse order. This example prints the characters of a"},{"text":"string in reverse order:"},{"text":""},{"text":" let word = \"Backwards\""},{"text":" for char in word.reversed() {"},{"text":" print(char, terminator: \"\")"},{"text":" }"},{"text":" // Prints \"sdrawkcaB\""},{"text":""},{"text":"If you need a reversed collection of the same type, you may be able to"},{"text":"use the collection's sequence-based or collection-based initializer. For"},{"text":"example, to get the reversed version of a string, reverse its"},{"text":"characters and initialize a new `String` instance from the result."},{"text":""},{"text":" let reversedWord = String(word.reversed())"},{"text":" print(reversedWord)"},{"text":" // Prints \"sdrawkcaB\""},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"ReversedCollection","preciseIdentifier":"s:s18ReversedCollectionV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC8entitiesAC16EntityCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","entities"],"names":{"title":"entities","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityCollection","preciseIdentifier":"s:17RealityFoundation0A8RendererC16EntityCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The RealityKit entities to be displayed in this ``RealityRenderer``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityCollection","preciseIdentifier":"s:17RealityFoundation0A8RendererC16EntityCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to find the minimum value in a stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/min(by:)`` operator emits a value when the publisher finishes, that value is the minimum of the values received from upstream, which is `-1`."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .min()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"-1\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:)-5crqg`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:)-8d7k7`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In this example, three instances of ``PassthroughSubject`` emit values; as ``Publisher/combineLatest(_:_:)-5crqg`` receives input from any of the upstream publishers, it combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9)."},{"text":" // Result: (3, 2, 9)."},{"text":" // Result: (3, 12, 9)."},{"text":" // Result: (13, 12, 9)."},{"text":" // Result: (13, 12, 19)."},{"text":""},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16triangleFillModeAA0E14ParameterTypesV08TrianglegH0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","triangleFillMode"],"names":{"title":"triangleFillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16TriangleFillModea"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that controls how RealityKit draws triangles."},{"text":""},{"text":"A value of ``RealityKit/MaterialParameterTypes.trianglefillmode.fill`` causes RealityKit"},{"text":"to draw triangles normally, while a value of ``RealityKit/MaterialParameterTypes.trianglefillmode.lines``"},{"text":"turns on wireframe rendering."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV16TriangleFillModea"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new anchor entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAll12keepCapacityySb_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","removeAll(keepCapacity:)"],"names":{"title":"removeAll(keepCapacity:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all anchors from the collection."},{"text":""},{"text":"- Parameters:"},{"text":"- keepCapacity: Pass true to keep the existing capacity of the array"},{"text":"after removing its elements. The default value is false."}]},"functionSignature":{"parameters":[{"name":"keepCapacity","declarationFragments":[{"kind":"identifier","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8additiveSbvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","additive"],"names":{"title":"additive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-8d7k7`` to return a new publisher that combines the elements from two additional publishers to publish a tuple to the downstream. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject``;"},{"text":"``Publisher/zip(_:_:)-8d7k7`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" zip output: (1, \"A\", \"😀\")"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub: zip output: (2, \"B\", \"🥰\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\")"},{"text":" // (2, \"B\", \"🥰\")"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationP","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization"],"names":{"title":"HasSynchronization","navigator":[{"kind":"identifier","spelling":"HasSynchronization"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSynchronization"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables an entity to be synchronized between processes and"},{"text":"networked applications."},{"text":""},{"text":"All entities automatically adopt this protocol because the ``Entity`` base"},{"text":"class does. This adoption gives all entities a ``SynchronizationComponent``"},{"text":"instance, and a collection of methods for manipulating the component, that"},{"text":"you use to manage ownership of the entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasSynchronization"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits the specified number of elements before republishing subsequent elements."},{"text":""},{"text":"Use ``Publisher/dropFirst(_:)`` when you want to drop the first `n` elements from the upstream publisher, and republish the remaining elements."},{"text":""},{"text":"The example below drops the first five elements from the stream:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" cancellable = numbers.publisher"},{"text":" .dropFirst(5)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"6 7 8 9 10 \""},{"text":""},{"text":"- Parameter count: The number of elements to omit. The default is `1`."},{"text":"- Returns: A publisher that doesn’t republish the first `count` elements."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation6EntityCACycfc","interfaceLanguage":"swift"},"pathComponents":["Entity","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offsets5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework offsets the entity’s UV texture"},{"text":"coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV9frameRateSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","frameRate"],"names":{"title":"frameRate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameRate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of sprite sheet frames to play per second."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frameRate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC5worldACs5SIMD3VySfG_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(world:)"],"names":{"title":"init(world:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchor entity with a target fixed at the given position in"},{"text":"the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position with which to initialize the world target."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMax(by:)"],"names":{"title":"tryMax(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMax(by:)`` to determine the maximum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMax(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMax { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first > second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: completion: failure(IllegalValueError())"},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":""},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","collect(_:options:)"],"names":{"title":"collect(_:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects elements by a given time-grouping strategy, and emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:options:)`` to emit arrays of elements on a schedule specified by a ``Scheduler`` and `Stride` that you provide. At the end of each scheduled interval, the publisher sends an array that contains the items it collected. If the upstream publisher finishes before filling the buffer, the publisher sends an array that contains items it received. This may be fewer than the number of elements specified in the requested `Stride`."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"The example above collects timestamps generated on a one-second in groups (`Stride`) of five."},{"text":""},{"text":" let sub = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .collect(.byTime(RunLoop.main, .seconds(5)))"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\\n\") }"},{"text":""},{"text":" // Prints: \"[2020-01-24 00:54:46 +0000, 2020-01-24 00:54:47 +0000,"},{"text":" // 2020-01-24 00:54:48 +0000, 2020-01-24 00:54:49 +0000,"},{"text":" // 2020-01-24 00:54:50 +0000]\""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - strategy: The timing group strategy used by the operator to collect and publish elements."},{"text":" - options: Scheduler options to use for the strategy."},{"text":"- Returns: A publisher that collects elements by a given strategy, and emits a single array of the collection."}]},"functionSignature":{"parameters":[{"name":"strategy","declarationFragments":[{"kind":"identifier","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV7ceilingAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","ceiling"],"names":{"title":"ceiling","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ceiling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for ceilings."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ceiling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6insert_11beforeIndexyAA0C0C_SitF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","insert(_:beforeIndex:)"],"names":{"title":"insert(_:beforeIndex:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity to this collection directly before the entity"},{"text":"at the given index. If the entity is already located before the index,"},{"text":"the collection will not change."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to add to the collection."},{"text":" - index: The index of an entity to insert in front"},{"text":" of. If `endIndex` is provided, the entity"},{"text":" will be appended."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"beforeIndex","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV7normalsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE9fromValueAFSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15ComponentEventsO","interfaceLanguage":"swift"},"pathComponents":["ComponentEvents"],"names":{"title":"ComponentEvents","navigator":[{"kind":"identifier","spelling":"ComponentEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides the events related to components."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-16rcy`` to return a new publisher that combines the elements from three other publishers to publish a tuple to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, several ``PassthroughSubject`` instances emit values; ``Publisher/zip(_:_:_:)-16rcy`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":" let fractionsPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" fractionsPub: 0.1 zip output: (1, \"A\", \"😀\", 0.1)"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: (2, \"B\", \"🥰\", 0.8)"},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\", 0.1)"},{"text":" // (2, \"B\", \"🥰\", 0.8)"},{"text":""},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC11generateBox5width6height5depthACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateBox(width:height:depth:)"],"names":{"title":"generateBox(width:height:depth:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a box shape with the specified dimensions."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The extent of the box along the x-axis in meters."},{"text":""},{"text":" - height: The extent of the box along the y-axis in meters."},{"text":""},{"text":" - depth: The extent of the box along the z-axis in meters."},{"text":""},{"text":" Note: Collision shape extents that fall below 2mm are forced to be 2mm in size - this includes,"},{"text":" entities with negative scale values."},{"text":""},{"text":"- Returns: The new box centered at the local origin and aligned with the"},{"text":"local axes."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV5tableAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","table"],"names":{"title":"table","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"table"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for tables."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"table"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV9positionsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6removeyyAA0C0CF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation20HasPerspectiveCameraP","interfaceLanguage":"swift"},"pathComponents":["HasPerspectiveCamera"],"names":{"title":"HasPerspectiveCamera","navigator":[{"kind":"identifier","spelling":"HasPerspectiveCamera"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPerspectiveCamera"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables you to configure a virtual camera that you can use"},{"text":"to define the rendering perspective when you’re not in an AR session."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPerspectiveCamera"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasTransform","preciseIdentifier":"s:17RealityFoundation12HasTransformP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityCyAcA18AnchoringComponentV6TargetOcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationGroup/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of opacity, specified as a single value."},{"text":""},{"text":"If ``PhysicallyBasedMaterial/Opacity/texture`` is `nil`, RealityKit"},{"text":"uses this value for the opacity of the entire material. If"},{"text":"``PhysicallyBasedMaterial/Opacity/texture`` isn’t `nil`, RealityKit"},{"text":"calculates opacity by multiplying the value sampled from"},{"text":"``PhysicallyBasedMaterial/Opacity/texture`` by"},{"text":"``CustomMaterial/Opacity/scale``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryMin(by:)"],"names":{"title":"tryMin(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMin(by:)`` to determine the minimum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMin(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" numbers.publisher"},{"text":" .tryMin { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first < second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC11generateBox4sizeACs5SIMD3VySfG_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","generateBox(size:)"],"names":{"title":"generateBox(size:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a box shape with the specified extent."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The box extent in meters along the local axes."},{"text":""},{"text":" Note: Collision shape extents that fall below 2mm are forced to be 2mm in size - this includes,"},{"text":" entities with negative scale values."},{"text":""},{"text":"- Returns: The new box centered at the local origin and aligned with the"},{"text":"local axes."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents"],"names":{"title":"SynchronizationEvents","navigator":[{"kind":"identifier","spelling":"SynchronizationEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events associated with network synchronization of scene information."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SynchronizationEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation24GroundingShadowComponentV","interfaceLanguage":"swift"},"pathComponents":["GroundingShadowComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC14CameraSettingsV20isToneMappingEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraSettings","isToneMappingEnabled"],"names":{"title":"isToneMappingEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isToneMappingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Specifies if tone mapping is enabled."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isToneMappingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE9removeAllyyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all entities from this collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO8allFacesyAEs6UInt32VcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials","allFaces(_:)"],"names":{"title":"MeshDescriptor.Materials.allFaces(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allFaces"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A single material index for the whole mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allFaces"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","ColorSpace","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Format","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ColorSpace","preciseIdentifier":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE9removeAll5whereySbAA0C0CKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","removeAll(where:)"],"names":{"title":"removeAll(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all entities from this collection that satisfy the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"shouldBeRemoved","declarationFragments":[{"kind":"identifier","spelling":"shouldBeRemoved"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"shouldBeRemoved"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV5floorAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","floor"],"names":{"title":"floor","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"floor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for floors."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"floor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV8tangentsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceVAGycfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided ordering closure."},{"text":""},{"text":"Use ``Publisher/max(by:)`` to determine the maximum value of elements received from the upstream publisher based on an ordering closure you specify."},{"text":""},{"text":"In the example below, an array publishes enumeration elements representing playing card ranks. The ``Publisher/max(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the maximum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .jack]"},{"text":" cancellable = cards.publisher"},{"text":" .max {"},{"text":" return $0.rawValue > $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"queen\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC5worldACSo13simd_float4x4a_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(world:)"],"names":{"title":"init(world:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchor entity with a target fixed at the given position in"},{"text":"the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform with which to initialize the world target."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"world"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","physicsMotion"],"names":{"title":"physicsMotion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics motion component used by physics simulations of the model"},{"text":"entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"physicsMotion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV8absolute5dBSPLAESd_tFZ","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Calibration","absolute(dBSPL:)"],"names":{"title":"absolute(dBSPL:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"absolute"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dBSPL"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reference level (-12dBLUFS) of the audio source material will be reproduced at the given `dBSPL` level on known"},{"text":"audio output hardware."},{"text":""},{"text":"- Note: The -12dBLUFS reference level is achieved automatically by using `Normalization.dynamic`."}]},"functionSignature":{"parameters":[{"name":"dBSPL","declarationFragments":[{"kind":"identifier","spelling":"dBSPL"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"absolute"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dBSPL"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use `combineLatest(_:,_:)` to combine the current and two additional publishers and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by three publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3) { firstValue, secondValue, thirdValue in"},{"text":" return firstValue * secondValue * thirdValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(10)"},{"text":""},{"text":" pub.send(9)"},{"text":" pub3.send(4)"},{"text":" pub2.send(12)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 40. // pub = 2, pub2 = 2, pub3 = 10"},{"text":" // Result: 180. // pub = 9, pub2 = 2, pub3 = 10"},{"text":" // Result: 72. // pub = 9, pub2 = 2, pub3 = 4"},{"text":" // Result: 432. // pub = 9, pub2 = 12, pub3 = 4"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV5scales5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework scale the UV texture coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV8fillModeAA0d4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation20VideoPlayerComponentV","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV18textureCoordinatesAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8rawValues6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment"],"names":{"title":"AnchoringComponent.Target.Alignment","navigator":[{"kind":"identifier","spelling":"Alignment"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Alignment"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The alignment of real-world surfaces to seek as targets."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Alignment"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV8relative5dBSPLAESd_tFZ","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Calibration","relative(dBSPL:)"],"names":{"title":"relative(dBSPL:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"relative"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dBSPL"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Relative adjustment of the resource from the default level of the audio output hardware."}]},"functionSignature":{"parameters":[{"name":"dBSPL","declarationFragments":[{"kind":"identifier","spelling":"dBSPL"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"relative"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dBSPL"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV10bitangentsAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV4wallAGvpZ","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","wall"],"names":{"title":"wall","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wall"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Look for walls."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wall"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated"],"names":{"title":"CollisionEvents.Updated","navigator":[{"kind":"identifier","spelling":"Updated"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Updated"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised on every frame when two objects are in contact."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Updated"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC16AnchorCollectionV6appendyyAA12HasAnchoring_pF","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds a new anchor at the end of the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The element to append to the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","difference(from:by:)"],"names":{"title":"difference(from:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference needed to produce this collection's ordered"},{"text":"elements from the given collection, using the given predicate as an"},{"text":"equivalence test."},{"text":""},{"text":"This function does not infer element moves. If you need to infer moves,"},{"text":"call the `inferringMoves()` method on the resulting difference."},{"text":""},{"text":"- Parameters:"},{"text":" - other: The base state."},{"text":" - areEquivalent: A closure that returns a Boolean value indicating"},{"text":" whether two elements are equivalent."},{"text":""},{"text":"- Returns: The difference needed to produce the receiver's state from"},{"text":" the parameter's state."},{"text":""},{"text":"- Complexity: Worst case performance is O(*n* * *m*), where *n* is the"},{"text":" count of this collection and *m* is `other.count`. You can expect"},{"text":" faster execution when the collections share many common elements."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"difference"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CollectionDifference","preciseIdentifier":"s:s20CollectionDifferenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BidirectionalCollection","preciseIdentifier":"s:SK"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7byValueSdSgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6appendyyAA0C0CF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to add to the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animations begin within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``AnimationGroup/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV9MaterialsO7perFaceyAESays6UInt32VGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Materials","perFace(_:)"],"names":{"title":"MeshDescriptor.Materials.perFace(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"perFace"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A different material index for each face."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"perFace"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotation11translationACSo10simd_quatfa_s5SIMD3VySfGtF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(rotation:translation:)"],"names":{"title":"offsetBy(rotation:translation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a rotation and a translation."},{"text":""},{"text":"- Parameters:"},{"text":" - rotation: The rotation to apply to the existing shape resource."},{"text":" - translation: The translation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"rotation","declarationFragments":[{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"translation","declarationFragments":[{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" = simd_quatf(ix: 0, iy: 0, iz: 0, r: 1), "},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3()) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assign(to:on:)"],"names":{"title":"assign(to:on:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Root"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Assigns each element from a publisher to a property on an object."},{"text":""},{"text":"Use the ``Publisher/assign(to:on:)`` subscriber when you want to set a given property each time a publisher produces a value."},{"text":""},{"text":"In this example, the ``Publisher/assign(to:on:)`` sets the value of the `anInt` property on an instance of `MyClass`:"},{"text":""},{"text":" class MyClass {"},{"text":" var anInt: Int = 0 {"},{"text":" didSet {"},{"text":" print(\"anInt was set to: \\(anInt)\", terminator: \"; \")"},{"text":" }"},{"text":" }"},{"text":" }"},{"text":""},{"text":" var myObject = MyClass()"},{"text":" let myRange = (0...2)"},{"text":" cancellable = myRange.publisher"},{"text":" .assign(to: \\.anInt, on: myObject)"},{"text":""},{"text":" // Prints: \"anInt was set to: 0; anInt was set to: 1; anInt was set to: 2\""},{"text":""},{"text":" > Important: The ``Subscribers/Assign`` instance created by this operator maintains a strong reference to `object`, and sets it to `nil` when the upstream publisher completes (either normally or with an error)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath: A key path that indicates the property to assign. See [Key-Path Expression](https://developer.apple.com/library/archive/documentation/Swift/Conceptual/Swift_Programming_Language/Expressions.html#//apple_ref/doc/uid/TP40014097-CH32-ID563) in _The Swift Programming Language_ to learn how to use key paths to specify a property of an object."},{"text":" - object: The object that contains the property. The subscriber assigns the object’s property every time it receives a new value."},{"text":"- Returns: An ``AnyCancellable`` instance. Call ``Cancellable/cancel()`` on this instance when you no longer want the publisher to automatically assign the property. Deinitializing this instance will also cancel automatic assignment."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">"}]},{"name":"on","internalName":"object","declarationFragments":[{"kind":"identifier","spelling":"object"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"Root","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assign"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Root"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ReferenceWritableKeyPath","preciseIdentifier":"s:s24ReferenceWritableKeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"object"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Root"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotationACSo10simd_quatfa_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(rotation:)"],"names":{"title":"offsetBy(rotation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a rotation."},{"text":""},{"text":"- Parameters:"},{"text":" - rotation: The rotation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"rotation","declarationFragments":[{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17PerspectiveCameraC","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCamera"],"names":{"title":"PerspectiveCamera","navigator":[{"kind":"identifier","spelling":"PerspectiveCamera"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCamera"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A virtual camera that establishes the rendering perspective."},{"text":""},{"text":"During an AR session, RealityKit automatically uses the device’s camera to"},{"text":"define the perspective from which to render the scene. When rendering a"},{"text":"scene outside of an AR session (with the view’s"},{"text":"``ARView/cameraMode-swift.property`` property set to"},{"text":"``ARView/CameraMode-swift.enum/nonAR``), RealityKit uses a"},{"text":"``PerspectiveCamera`` instead. You can add a perspective camera anywhere in"},{"text":"your scene to control the point of view. If you don't explicitly provide"},{"text":"one, RealityKit creates a default camera for you."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PerspectiveCamera"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Calibration","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","replaceNil(with:)"],"names":{"title":"replaceNil(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces nil elements in the stream with the provided element."},{"text":""},{"text":"The ``Publisher/replaceNil(with:)`` operator enables replacement of `nil` values in a stream with a substitute value. In the example below, a collection publisher contains a nil value. The ``Publisher/replaceNil(with:)`` operator replaces this with `0.0`."},{"text":""},{"text":" let numbers: [Double?] = [1.0, 2.0, nil, 3.0]"},{"text":" numbers.publisher"},{"text":" .replaceNil(with: 0.0)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"Optional(1.0) Optional(2.0) Optional(0.0) Optional(3.0)\""},{"text":""},{"text":"- Parameter output: The element to use when replacing `nil`."},{"text":"- Returns: A publisher that replaces `nil` elements from the upstream publisher with the provided element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"T?","rhsPrecise":"s:Sq"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","ArrayLiteralElement"],"names":{"title":"AnchoringComponent.Target.Classification.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO17trianglesAndQuadsyAESays6UInt32VG_AItcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","trianglesAndQuads(triangles:quads:)"],"names":{"title":"MeshDescriptor.Primitives.trianglesAndQuads(triangles:quads:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trianglesAndQuads"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"triangles"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"quads"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A combination of triangles and quads."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trianglesAndQuads"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"triangles"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"quads"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO6opaqueyA2EmF","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending","opaque"],"names":{"title":"PhysicallyBasedMaterial.Blending.opaque","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An opaque surface."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","eraseToAnyPublisher()"],"names":{"title":"eraseToAnyPublisher()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Wraps this publisher with a type eraser."},{"text":""},{"text":"Use ``Publisher/eraseToAnyPublisher()`` to expose an instance of ``AnyPublisher`` to the downstream subscriber, rather than this publisher’s actual type."},{"text":"This form of _type erasure_ preserves abstraction across API boundaries, such as different modules."},{"text":"When you expose your publishers as the ``AnyPublisher`` type, you can change the underlying implementation over time without affecting existing clients."},{"text":""},{"text":"The following example shows two types that each have a `publisher` property. `TypeWithSubject` exposes this property as its actual type, ``PassthroughSubject``, while `TypeWithErasedSubject` uses ``Publisher/eraseToAnyPublisher()`` to expose it as an ``AnyPublisher``. As seen in the output, a caller from another module can access `TypeWithSubject.publisher` as its native type. This means you can’t change your publisher to a different type without breaking the caller. By comparison, `TypeWithErasedSubject.publisher` appears to callers as an ``AnyPublisher``, so you can change the underlying publisher type at will."},{"text":""},{"text":" public class TypeWithSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" }"},{"text":" public class TypeWithErasedSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" .eraseToAnyPublisher()"},{"text":" }"},{"text":""},{"text":" // In another module:"},{"text":" let nonErased = TypeWithSubject()"},{"text":" if let subject = nonErased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast nonErased.publisher.\")"},{"text":" }"},{"text":" let erased = TypeWithErasedSubject()"},{"text":" if let subject = erased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast erased.publisher.\")"},{"text":" }"},{"text":""},{"text":" // Prints \"Successfully cast nonErased.publisher.\""},{"text":""},{"text":"- Returns: An ``AnyPublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8rawValueAGs6UInt64V_tcfc","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV13animationModeAG015AnimationRepeatI0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","animationMode"],"names":{"title":"animationMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"animationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"How the effect timeline is played."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"animationMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified sequence of entities to the end of this collection,"},{"text":"in order."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The entities to add to the collection."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending","transparent(opacity:)"],"names":{"title":"PhysicallyBasedMaterial.Blending.transparent(opacity:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A surface that’s transparent."},{"text":""},{"text":"This enumeration case indicates that the material supports"},{"text":"transparency."},{"text":""},{"text":"- Parameters:"},{"text":" - opacity: The opacity of the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transparent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Opacity","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12AnchorEntityC5plane14classification13minimumBoundsAcA18AnchoringComponentV6TargetO9AlignmentV_AJ14ClassificationVs5SIMD2VySfGtcfc","interfaceLanguage":"swift"},"pathComponents":["AnchorEntity","init(plane:classification:minimumBounds:)"],"names":{"title":"init(plane:classification:minimumBounds:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"plane"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"classification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"minimumBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an anchor entity that targets a plane with the given"},{"text":"characteristics."},{"text":""},{"text":"- Parameters:"},{"text":"- alignment: The alignment of the plane to target, like"},{"text":"``AnchoringComponent/Target-swift.enum/Alignment/horizontal`` or"},{"text":"``AnchoringComponent/Target-swift.enum/Alignment/vertical``."},{"text":""},{"text":"- classification: The classification of the target plane to look for,"},{"text":"like ``AnchoringComponent/Target-swift.enum/Classification/floor`` or"},{"text":"``AnchoringComponent/Target-swift.enum/Classification/ceiling``."},{"text":""},{"text":" - minimumBounds: The minium size of the target plane."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"plane"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"alignment"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Alignment","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"classification"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnchoringComponent","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Target","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Classification","preciseIdentifier":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"text","spelling":" = .any, "},{"kind":"externalParam","spelling":"minimumBounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = [0, 0])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV15triangleIndicesAEvpZ","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC8offsetBy11translationACs5SIMD3VySfG_tF","interfaceLanguage":"swift"},"pathComponents":["ShapeResource","offsetBy(translation:)"],"names":{"title":"offsetBy(translation:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new shape resource by applying a translation."},{"text":""},{"text":"- Parameters:"},{"text":"- translation: The translation to apply to the existing shape resource."},{"text":""},{"text":"- Returns: The transformed resource."}]},"functionSignature":{"parameters":[{"name":"translation","declarationFragments":[{"kind":"identifier","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offsetBy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"translation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO9trianglesyAESays6UInt32VGcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","triangles(_:)"],"names":{"title":"MeshDescriptor.Primitives.triangles(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangles"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All triangles given by indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangles"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.ImageSequence.AnimationRepeatMode","navigator":[{"kind":"identifier","spelling":"AnimationRepeatMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationRepeatMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for how the effect timeline is played, used by the animationMode property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationRepeatMode"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent"],"names":{"title":"InputTargetComponent","navigator":[{"kind":"identifier","spelling":"InputTargetComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InputTargetComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that gives an entity the ability to receive system input."},{"text":""},{"text":"This component should be added to an entity to inform the system that it should be treated as"},{"text":"a target for input handling. It can be customized to require only specific forms of input like direct"},{"text":"or indirect interactions. By default the component is configured to handle all forms of input on the system."},{"text":""},{"text":"The hit testing shape that defines the entity's interactive entity is defined by the `CollisionComponent`."},{"text":"To configure an entity for input but avoid any sort of physics-related processing, add an `InputTargetComponent`"},{"text":"and `CollisionComponent`, but disable the `CollisionComponent` for collision detection, for example:"},{"text":""},{"text":"```"},{"text":"// Enable the entity for input."},{"text":"myEntity.components.set(InputTargetComponent())"},{"text":""},{"text":"// Create a collision component with an empty group and mask."},{"text":"var collision = CollisionComponent(shapes: [.generateSphere(radius: 0.1)])"},{"text":"collision.filter = CollisionFilter(group: [], mask: [])"},{"text":"myEntity.components.set(collision)"},{"text":"```"},{"text":""},{"text":"`InputTargetComponent` behaves hierarchically, so if it is added to an entity that has"},{"text":"descendants with `CollisionComponent`s, those shapes will be used for input handling."},{"text":"The `isEnabled` flag can be used to override this behavior by adding the `InputTargetComponent`"},{"text":"to a descendant and setting `isEnabled` to false."},{"text":""},{"text":"`InputTargetComponent`'s `allowedInputTypes` property allows the entity to only receive"},{"text":"the provided types of input. This property also propagates down the hierarchy, but if a descendant"},{"text":"also has an `InputTargetComponent` defined, its `allowedInputTypes` property overrides"},{"text":"the value provided by the ancestor."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InputTargetComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Calibration","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO8polygonsyAESays5UInt8VG_Says6UInt32VGtcAEmF","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","Primitives","polygons(_:_:)"],"names":{"title":"MeshDescriptor.Primitives.polygons(_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"polygons"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":"], ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Polygons given by counts and indices."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"polygons"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":"], ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Specular.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","values"],"names":{"title":"values","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncThrowingPublisher","preciseIdentifier":"s:7Combine22AsyncThrowingPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"The elements produced by the publisher, as a throwing asynchronous sequence."},{"text":""},{"text":"This property provides an ``AsyncThrowingPublisher``, which allows you to use the Swift `async`-`await` syntax to receive the publisher's elements. Because ``AsyncPublisher`` conforms to , you iterate over its elements with a `for`-`await`-`in` loop, rather than attaching a subscriber. If the publisher terminates with an error, the awaiting caller receives the error as a `throw`."},{"text":""},{"text":"The following example shows how to use the `values` property to receive elements asynchronously. The example adapts a code snippet from the ``Publisher/tryFilter(_:)`` operator's documentation, which filters a sequence to only emit even integers, and terminate with an error on a `0`. This example replaces the ``Subscribers/Sink`` subscriber with a `for`-`await`-`in` loop that iterates over the ``AsyncPublisher`` provided by the `values` property. With this approach, the error handling previously provided in the sink subscriber's ``Subscribers/Sink/receiveCompletion`` closure goes instead in a `catch` block."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" let filterPublisher = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":""},{"text":" do {"},{"text":" for try await number in filterPublisher.values {"},{"text":" print (\"\\(number)\", terminator: \" \")"},{"text":" }"},{"text":" } catch {"},{"text":" print (\"\\(error)\")"},{"text":" }"},{"text":""},{"text":""}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncThrowingPublisher","preciseIdentifier":"s:7Combine22AsyncThrowingPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began"],"names":{"title":"CollisionEvents.Began","navigator":[{"kind":"identifier","spelling":"Began"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Began"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised when two objects collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Began"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV8rotationSfvp","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform","rotation"],"names":{"title":"rotation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount by which the framework rotates the UV texture coordinates"},{"text":"you specify in radians."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController"],"names":{"title":"AnimationPlaybackController","navigator":[{"kind":"identifier","spelling":"AnimationPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A controller that manages animation playback."},{"text":""},{"text":"This class controls the playback of an entity animation by providing its pause, resume, or stop functions."},{"text":""},{"text":"The animation starts immediately after you call ``Entity/playAnimation(_:transitionDuration:startsPaused:)``, or ``Entity/move(to:relativeTo:duration:timingFunction:)-905k``, which both return an instance of this class."},{"text":""},{"text":"A controller invalidates after its associated animation completes or stops. To play another animation, perform an action that generates another controller."},{"text":""},{"text":"While an animation plays, you can receive notification of particular playback states by subscribing to an event. For more information, see ``AnimationEvents``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification"],"names":{"title":"AnchoringComponent.Target.Classification","navigator":[{"kind":"identifier","spelling":"Classification"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Classification"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Types of real-world surfaces to seek as targets."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Classification"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","RawValue"],"names":{"title":"AnchoringComponent.Target.Classification.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV16opacityThresholdSfSgvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A threshold below which RealityKit ignores opacity."},{"text":""},{"text":"When blending is transparent, this value controls how the opacity value affects rendering. The"},{"text":"default ``opacityThreshold`` value of `0.0` indicates that the opacity values render at the specified"},{"text":"transparency, with 0.0 rendered fully transparent, `1.0` rendered fully opaque, and values between"},{"text":"`0.0` and `1.0` rendering partially transparent."},{"text":""},{"text":"If ``opacityThreshold`` is greater than `0.0`, RealityKit doesn’t render opacity values less"},{"text":"than the `opacityThreshold` at all, and renders opacity values greater than or equal to"},{"text":"``opacityThreshold`` fully opaque."},{"text":""},{"text":"When ``blending`` is ``UnlitMaterial/Blending``, RealityKit ignores this value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5NeverO7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","receive(subscriber:)"],"names":{"title":"receive(subscriber:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Implementations of ``Publisher`` must implement this method."},{"text":""},{"text":"The provided implementation of ``Publisher/subscribe(_:)-4u8kn``calls this method."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this ``Publisher``, after which it can receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"},{"kind":"sameType","lhs":"E","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioMixGroup","preciseIdentifier":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","last()"],"names":{"title":"last()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/last()`` when you need to emit only the last element from an upstream publisher."},{"text":""},{"text":"In the example below, the range publisher only emits the last element from the sequence publisher, `10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the last element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Last","preciseIdentifier":"s:7Combine10PublishersO4LastV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackLooped","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV11hitPositions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitPosition"],"names":{"title":"hitPosition","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hit position relative to physics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``BlendTreeAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``BlendTreeAnimation/trimStart`` and ``BlendTreeAnimation/trimEnd`` are"},{"text":"`nil`, the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``BlendTreeAnimation/duration`` causes the"},{"text":"animation to repeat, applying the characteristics defined by"},{"text":"``BlendTreeAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE9subscribe2to2on13componentType_7Combine11Cancellable_pxm_AA11EventSource_pSgAA9Component_pXpSgyxctAA0K0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","subscribe(to:on:componentType:_:)"],"names":{"title":"subscribe(to:on:componentType:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?, ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Receive events of type `E`."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event. For example, `SceneEvents.Update.Self`."},{"text":" - sourceObject: The event source – usually the entity you are interested in. `nil` to"},{"text":" listen all events of this type that occur in the scene."},{"text":" - componentType: The component type, or `nil` for all (for ComponentEvents)."},{"text":""},{"text":"- Returns: An object representing the subscription to this event stream."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?"}]},{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18clearcoatRoughnessAC09ClearcoatG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","clearcoatRoughness"],"names":{"title":"clearcoatRoughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The degree to which an entity’s clear, shiny coating scatters light to"},{"text":"create soft highlights."},{"text":""},{"text":"When you enable clearcoat rendering for a material, RealityKit renders"},{"text":"the clearcoat as a separate layer just above the surface of the entity."},{"text":"You can specify a clearcoat roughness value for the clearcoat to"},{"text":"indicate how much the clearcoat scatters light that bounces off of it,"},{"text":"which softens and spreads out the highlights."},{"text":""},{"text":"You can specify a single value that applies to the entire material, or"},{"text":"you can supply a UV-mapped image texture containing different roughness"},{"text":"values for different parts of the entity."},{"text":""},{"text":"The following example sets the `clearcoatRoughness` using a single"},{"text":"value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoatRoughness = .init(floatLiteral: 0.5)"},{"text":"```"},{"text":""},{"text":"This example shows how to set the `clearcoatRoughness` using a UV-mapped"},{"text":"image:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatRoughnessResource = try?"},{"text":"TextureResource.load(named: \"entity_cc_roughness\") {"},{"text":" let ccRoughnessMap = MaterialParameters.Texture(clearcoatRoughnessResource)"},{"text":" material.clearcoat = .init(texture: ccRoughnessMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoatRoughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ClearcoatRoughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16MetalEventActionV5eventSo8MTLEvent_pvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","MetalEventAction","event"],"names":{"title":"event","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLEvent","preciseIdentifier":"c:objc(pl)MTLEvent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The metal event object to be signaled or waited for."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLEvent","preciseIdentifier":"c:objc(pl)MTLEvent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16MetalEventActionV5values6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","MetalEventAction","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The value to be signaled or waited for."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","SheenColor"],"names":{"title":"PhysicallyBasedMaterial.SheenColor","navigator":[{"kind":"identifier","spelling":"SheenColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SheenColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the color of an entity’s sheen."},{"text":""},{"text":"Use `sheen` to add specular highlights that simulate subtle reflections,"},{"text":"like the ones that occur on materials such as fabrics. Use this object"},{"text":"to define the color of the highlights."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SheenColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that changes the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy"],"names":{"title":"AudioFileResource.LoadingStrategy","navigator":[{"kind":"identifier","spelling":"LoadingStrategy"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadingStrategy"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container for different strategies on how to handle resources' data before and during playback."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"LoadingStrategy"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/map(_:)-99evh`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/map(_:)-99evh`` to transform from one kind of element to another."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/map(_:)-99evh`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/map(_:)-99evh``’s closure fails to look up a Roman numeral, it returns the string `(unknown)`."},{"text":""},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" cancellable = numbers.publisher"},{"text":" .map { romanNumeralDict[$0] ?? \"(unknown)\" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"V IV III II I (unknown)\""},{"text":""},{"text":"If your closure can throw an error, use Combine’s ``Publisher/tryMap(_:)`` operator instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV10repeatModeAA0d6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``OrbitAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``OrbitAnimation/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6shapesSayAA13ShapeResourceCGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","shapes"],"names":{"title":"shapes","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of shape resources that collectively represent the outer"},{"text":"dimensions of an entity for the purposes of collision detection."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9publisher3for2onAC9PublisherVy_xGxm_AA11EventSource_pSgtAA0H0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","publisher(for:on:)"],"names":{"title":"publisher(for:on:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a publisher for events of the specified type."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The event, like `SceneEvents.Update.self`."},{"text":""},{"text":"- sourceObject: The source of the event. Set to `nil` to publish all"},{"text":"events of the given type within the scene."},{"text":""},{"text":"- Returns: A publisher for events of the specified type."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id5partsAESS_SayAcAE4PartVGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","init(id:parts:)"],"names":{"title":"init(id:parts:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource"],"names":{"title":"AudioFileResource","navigator":[{"kind":"identifier","spelling":"AudioFileResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioFileResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An audio resource that you load from a file or from a URL."},{"text":""},{"text":"Load an audio file resource, like an audio file stored in .aiff or other format, by calling one of the load functions."},{"text":"Use the resource to create an ``AudioPlaybackController`` instance by calling an entity’s ``Entity/prepareAudio(_:)`` or ``Entity/playAudio(_:)`` function."},{"text":"The controller plays the audio from the location in space of the entity that created the controller."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioFileResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource","Configuration"],"names":{"title":"AudioBufferResource.Configuration","navigator":[{"kind":"identifier","spelling":"Configuration"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Configuration"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Configuration"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstIndex(of:)"],"names":{"title":"firstIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `firstIndex(of:)` to find the position of a particular element"},{"text":"in a collection, you can use it to access the element by subscripting."},{"text":"This example shows how you can modify one of the names in an array of"},{"text":"students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\"]"},{"text":" if let i = students.firstIndex(of: \"Maxime\") {"},{"text":" students[i] = \"Max\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The first index where `element` is found. If `element` is not"},{"text":" found in the collection, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``BlendTreeAnimation/fillMode`` other than ``AnimationFillMode/none``,"},{"text":"the animation fills the vacant area created by the offset according to"},{"text":"the characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6originAcAE6OriginOvp","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","origin"],"names":{"title":"origin","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Origin","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The origin which the component is created from"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Origin","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``SampledAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher"],"names":{"title":"Scene.Publisher","navigator":[{"kind":"identifier","spelling":"Publisher"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Publisher"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A publisher for the given event type in the scene."}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","Origin"],"names":{"title":"SceneUnderstandingComponent.Origin","navigator":[{"kind":"identifier","spelling":"Origin"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Origin"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The origin which the component is created from"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Origin"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16MetalEventActionV4wait3for5valueAESo8MTLEvent_p_s6UInt64VtFZ","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","MetalEventAction","wait(for:value:)"],"names":{"title":"wait(for:value:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wait"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLEvent","preciseIdentifier":"c:objc(pl)MTLEvent"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns an action that represents waiting for an event to reach the value."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLEvent","preciseIdentifier":"c:objc(pl)MTLEvent"}]},{"name":"value","declarationFragments":[{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]}],"returns":[{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wait"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLEvent","preciseIdentifier":"c:objc(pl)MTLEvent"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryCatch(_:)"],"names":{"title":"tryCatch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by either replacing it with another publisher or throwing a new error."},{"text":""},{"text":"Use ``Publisher/tryCatch(_:)`` to decide how to handle from an upstream publisher by either replacing the publisher with a new publisher, or throwing a new error."},{"text":""},{"text":"In the example below, an array publisher emits values that a ``Publisher/tryMap(_:)`` operator evaluates to ensure the values are greater than zero. If the values aren’t greater than zero, the operator throws an error to the downstream subscriber to let it know there was a problem. The subscriber, ``Publisher/tryCatch(_:)``, replaces the error with a new publisher using ``Just`` to publish a final value before the stream ends normally."},{"text":""},{"text":" enum SimpleError: Error { case error }"},{"text":" var numbers = [5, 4, 3, 2, 1, -1, 7, 8, 9, 10]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { v in"},{"text":" if v > 0 {"},{"text":" return v"},{"text":" } else {"},{"text":" throw SimpleError.error"},{"text":" }"},{"text":" }"},{"text":" .tryCatch { error in"},{"text":" Just(0) // Send a final value before completing normally."},{"text":" // Alternatively, throw a new error to terminate the stream."},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print (\"Received \\($0).\") }"},{"text":" )"},{"text":" // Received 5."},{"text":" // Received 4."},{"text":" // Received 3."},{"text":" // Received 2."},{"text":" // Received 1."},{"text":" // Received 0."},{"text":" // Completion: finished."},{"text":""},{"text":"- Parameter handler: A throwing closure that accepts the upstream failure as input. This closure can either replace the upstream publisher with a new one, or throw a new error to the downstream subscriber."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher, or an error."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCatch"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCatch","preciseIdentifier":"s:7Combine10PublishersO8TryCatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16MetalEventActionV6signal_5valueAESo8MTLEvent_p_s6UInt64VtFZ","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","MetalEventAction","signal(_:value:)"],"names":{"title":"signal(_:value:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"signal"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MTLEvent","preciseIdentifier":"c:objc(pl)MTLEvent"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns an action that represents signaling event with the value."}]},"functionSignature":{"parameters":[{"name":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLEvent","preciseIdentifier":"c:objc(pl)MTLEvent"}]},{"name":"value","declarationFragments":[{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]}],"returns":[{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"signal"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLEvent","preciseIdentifier":"c:objc(pl)MTLEvent"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MetalEventAction","preciseIdentifier":"s:17RealityFoundation0A8RendererC16MetalEventActionV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange"],"names":{"title":"VideoPlayerEvents.MediaTypeDidChange","navigator":[{"kind":"identifier","spelling":"MediaTypeDidChange"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MediaTypeDidChange"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Media type changed event"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MediaTypeDidChange"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV6append10contentsOfyx_tSTRzAA0D0C7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified sequence of entities to the end of this collection,"},{"text":"in order."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The entities to add to the collection."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV15parameterHandle4nameAA0E10ParametersV0G0VSS_tFZ","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","parameterHandle(name:)"],"names":{"title":"parameterHandle(name:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameterHandle"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameterHandle"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentVAAE19isAffectedByGravitySbvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","isAffectedByGravity"],"names":{"title":"isAffectedByGravity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAffectedByGravity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether gravity acts on dynamic rigid bodies."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAffectedByGravity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC9subscribe2to2on_7Combine11Cancellable_pxm_AA11EventSource_pSgyxctAA0I0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","subscribe(to:on:_:)"],"names":{"title":"subscribe(to:on:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Receives events of the given type."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event, like `SceneEvents.Update.Self`."},{"text":""},{"text":"- sourceObject: The source of the event. Set to nil to listen for all"},{"text":"events of the given type within the scene."},{"text":""},{"text":" - handler: A closure to call with the event."},{"text":""},{"text":"- Returns: The subscription to the event stream."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Cancellable","preciseIdentifier":"s:7Combine11CancellableP"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAeA0E10ParametersV7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a specified texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The image’s texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitNormals5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitNormal"],"names":{"title":"hitNormal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hit normal relative to physics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16opacityThresholdSfSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","opacityThreshold"],"names":{"title":"opacityThreshold","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A threshold below which RealityKit ignores opacity."},{"text":""},{"text":"When ``PhysicallyBasedMaterial/blending-swift.property`` is transparent,"},{"text":"this value controls how the opacity value affects rendering. The default"},{"text":"`opacityThreshold` value of `0.0` indicates that the opacity values"},{"text":"render at the specified transparency, with `0.0` rendered fully"},{"text":"transparent, `1.0` rendered fully opaque, and values between `0.0` and"},{"text":"`1.0` rendering partially transparent."},{"text":""},{"text":"If `opacityThreshold` is greater than `0.0`, RealityKit doesn’t render"},{"text":"opacity values less than the `opacityThreshold` at all, and renders"},{"text":"opacity values greater than or equal to `opacityThreshold` fully opaque."},{"text":""},{"text":"When ``PhysicallyBasedMaterial/blending-swift.property`` is opaque,"},{"text":"RealityKit ignores this value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityThreshold"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO4fromAGs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackCompleted","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12ambientAudioAA07AmbientE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","ambientAudio"],"names":{"title":"ambientAudio","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientAudio"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AmbientAudioComponent","preciseIdentifier":"s:17RealityFoundation21AmbientAudioComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component that configures the ambient rendering of sounds from this entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ambientAudio"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AmbientAudioComponent","preciseIdentifier":"s:17RealityFoundation21AmbientAudioComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TweenModeO","interfaceLanguage":"swift"},"pathComponents":["TweenMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The relative joint transforms of the model entity."},{"text":""},{"text":"Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints."},{"text":""},{"text":"- Note: Active animations may override the joint transforms set using this property.."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","visualBounds(recursive:relativeTo:excludeInactive:)"],"names":{"title":"visualBounds(recursive:relativeTo:excludeInactive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Computes a bounding box for the entity in the specified space,"},{"text":"optionally including child entities."},{"text":""},{"text":"The method has complexity `O(n)`, where `n` is the number of entities in"},{"text":"the hierarchy."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to incorporate the bounds"},{"text":"of all descendants."},{"text":""},{"text":" - referenceEntity: An entity that defines a frame of reference. Set to"},{"text":"`nil` to indicate world space."},{"text":""},{"text":"- excludeInactive: A Boolean that you set to `true` to exclude inactive"},{"text":"entities."},{"text":""},{"text":"- Returns: The bounding box."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"excludeInactive","declarationFragments":[{"kind":"identifier","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackLooped"],"names":{"title":"AnimationEvents.PlaybackLooped","navigator":[{"kind":"identifier","spelling":"PlaybackLooped"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackLooped"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an animation loops."},{"text":""},{"text":"You loop animation playback by creating an ``AnimationResource``"},{"text":"instance from an existing one with either the"},{"text":"``AnimationResource/repeat(count:)`` or the"},{"text":"``AnimationResource/repeat(duration:)`` method."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackLooped"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP6appendyyAA0C0CF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to add to the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The elapsed time for one complete rotation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``OrbitAnimation/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``OrbitAnimation/trimStart``, ``OrbitAnimation/trimEnd``, or"},{"text":"``OrbitAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryScan(_:_:)"],"names":{"title":"tryScan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current element to an error-throwing closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/tryScan(_:_:)`` to accumulate all previously-published values into a single value, which you then combine with each newly-published value."},{"text":"If your accumulator closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, ``Publisher/tryScan(_:_:)`` calls a division function on elements of a collection publisher. The ``Publishers/TryScan`` publisher publishes each result until the function encounters a `DivisionByZeroError`, which terminates the publisher."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":""},{"text":" /// A function that throws a DivisionByZeroError if `current` provided by the TryScan publisher is zero."},{"text":" func myThrowingFunction(_ lastValue: Int, _ currentValue: Int) throws -> Int {"},{"text":" guard currentValue != 0 else { throw DivisionByZeroError() }"},{"text":" return (lastValue + currentValue) / currentValue"},{"text":" }"},{"text":""},{"text":" let numbers = [1,2,3,4,5,0,6,7,8,9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryScan(10) { try myThrowingFunction($0, $1) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"11 6 3 1 1 -1 failure(DivisionByZeroError())\"."},{"text":""},{"text":"If the closure throws an error, the publisher fails with the error."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: An error-throwing closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryScan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryScan","preciseIdentifier":"s:7Combine10PublishersO7TryScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackCompleted"],"names":{"title":"AnimationEvents.PlaybackCompleted","navigator":[{"kind":"identifier","spelling":"PlaybackCompleted"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an animation reaches the end of its duration."},{"text":""},{"text":"This event isn’t triggered if you call the"},{"text":"``AnimationPlaybackController/stop()`` method on a playback controller."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV5partsAA0C14PartCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","parts"],"names":{"title":"parts","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of parts composing this mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshPartCollection","preciseIdentifier":"s:17RealityFoundation18MeshPartCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a 4x4"},{"text":"matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionP6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified sequence of entities to the end of this collection,"},{"text":"in order."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The entities to add to the collection."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType"],"names":{"title":"VideoPlayerEvents.MediaTypeDidChange.MediaType","navigator":[{"kind":"identifier","spelling":"MediaType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MediaType"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MediaType"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``BlendTreeAnimation/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O7invalidyA2GmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","invalid"],"names":{"title":"VideoPlayerEvents.MediaTypeDidChange.MediaType.invalid","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalid"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"invalid"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV8blendingAA015PhysicallyBasedD0V8BlendingOvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","blending"],"names":{"title":"blending","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparency options for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``AnimationView/trimStart`` instead and choose a"},{"text":"``AnimationView/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackTerminated"],"names":{"title":"AnimationEvents.PlaybackTerminated","navigator":[{"kind":"identifier","spelling":"PlaybackTerminated"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackTerminated"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when an animation has been terminated, regardless of"},{"text":"whether it ran to completion."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackTerminated"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O4monoyA2GmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","mono"],"names":{"title":"VideoPlayerEvents.MediaTypeDidChange.MediaType.mono","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mono"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mono"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","catch(_:)"],"names":{"title":"catch(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Handles errors from an upstream publisher by replacing it with another publisher."},{"text":""},{"text":"Use `catch()` to replace an error from an upstream publisher with a new publisher."},{"text":""},{"text":"In the example below, the `catch()` operator handles the `SimpleError` thrown by the upstream publisher by replacing the error with a `Just` publisher. This continues the stream by publishing a single value and completing normally."},{"text":""},{"text":" struct SimpleError: Error {}"},{"text":" let numbers = [5, 4, 3, 2, 1, 0, 9, 8, 7, 6]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast(where: {"},{"text":" guard $0 != 0 else {throw SimpleError()}"},{"text":" return true"},{"text":" })"},{"text":" .catch({ (error) in"},{"text":" Just(-1)"},{"text":" })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" // Prints: -1"},{"text":""},{"text":"Backpressure note: This publisher passes through `request` and `cancel` to the upstream. After receiving an error, the publisher sends sends any unfulfilled demand to the new `Publisher`."},{"text":"SeeAlso: `replaceError`"},{"text":"- Parameter handler: A closure that accepts the upstream failure as input and returns a publisher to replace the upstream publisher."},{"text":"- Returns: A publisher that handles errors from an upstream publisher by replacing the failed publisher with another publisher."}]},"functionSignature":{"parameters":[{"name":"handler","declarationFragments":[{"kind":"identifier","spelling":"handler"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"P.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`catch`"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"handler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Catch","preciseIdentifier":"s:7Combine10PublishersO5CatchV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O6stereoyA2GmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","stereo"],"names":{"title":"VideoPlayerEvents.MediaTypeDidChange.MediaType.stereo","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stereo"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stereo"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV12setParameter6handle5valueyAA0E10ParametersV6HandleV_AH5ValueOtKF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","setParameter(handle:value:)"],"names":{"title":"setParameter(handle:value:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"handle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"functionSignature":{"parameters":[{"name":"handle","declarationFragments":[{"kind":"identifier","spelling":"handle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"}]},{"name":"value","internalName":"newValue","declarationFragments":[{"kind":"identifier","spelling":"newValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"handle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O9immersiveyA2GmF","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","immersive"],"names":{"title":"VideoPlayerEvents.MediaTypeDidChange.MediaType.immersive","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"immersive"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"immersive"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV9materialsSayAA8Material_pGvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","materials"],"names":{"title":"materials","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The materials used by the model."},{"text":""},{"text":"Each ``RealityKit/MeshResource`` requires a set of materials. An entity that has no materials"},{"text":"renders using a pink, striped material. To determine the number of materials a model entity requires"},{"text":", use `MeshResource.expectedMaterialCount`"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","ID"],"names":{"title":"MeshResource.Model.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prepend(_:)"],"names":{"title":"prepend(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prefixes a publisher’s output with the specified values."},{"text":""},{"text":"Use ``Publisher/prepend(_:)-7wk5l`` when you need to prepend specific elements before the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/prepend(_:)-7wk5l`` operator publishes the provided elements before republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .prepend(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 255 0 1 2 3 4 5 6 7 8 9 10\""},{"text":""},{"text":"- Parameter elements: The elements to publish before this publisher’s elements."},{"text":"- Returns: A publisher that prefixes the specified elements prior to this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prepend"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV12setParameter4name5valueySS_AA0E10ParametersV5ValueOtKF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","setParameter(name:value:)"],"names":{"title":"setParameter(name:value:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"value","internalName":"newValue","declarationFragments":[{"kind":"identifier","spelling":"newValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new string by concatenating the elements of the sequence,"},{"text":"adding the given separator between each element."},{"text":""},{"text":"The following example shows how an array of strings can be joined to a"},{"text":"single, comma-separated string:"},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let list = cast.joined(separator: \", \")"},{"text":" print(list)"},{"text":" // Prints \"Vivien, Marlon, Kim, Karl\""},{"text":""},{"text":"- Parameter separator: A string to insert between each of the elements"},{"text":" in this sequence. The default separator is an empty string."},{"text":"- Returns: A single, concatenated string."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\") -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","replaceAll(_:)"],"names":{"title":"replaceAll(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Replaces all entities in this collection with those from the given"},{"text":"sequence."},{"text":""},{"text":"- Parameters:"},{"text":" - entities: The sequence of entities that will replace"},{"text":" the collection's current contents."}]},"functionSignature":{"parameters":[{"name":"entities","declarationFragments":[{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entities"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup"],"names":{"title":"AnimationGroup","navigator":[{"kind":"identifier","spelling":"AnimationGroup"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationGroup"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of animations that play simultaneously."},{"text":""},{"text":"This structure concurrently starts the animations it contains. Use a group"},{"text":"to:"},{"text":""},{"text":"- Animate more than one property at once."},{"text":"- Animate the same property at different times."},{"text":""},{"text":"## Animate Multiple Properties Concurrently"},{"text":""},{"text":"For each animatable property your animation needs to control, create a group"},{"text":"and add an animation to the array argument of the initializer. The following"},{"text":"listing begins coding an animation group that colorizes 3D numbers that"},{"text":"count down over a 4-second duration."},{"text":""},{"text":"```swift"},{"text":"let frames: [Float] = [3.0, 2.0, 1.0, 0.0]"},{"text":"let duration = TimeInterval(frames.count)"},{"text":"let anim1 = FromToByAnimation(name: \"colorize\", from: 0.0, to: 1.0,"},{"text":" duration: duration, bindTarget: .parameter(\"foo\"))"},{"text":"let anim2 = SampledAnimation(frames: frames, name: \"count down\","},{"text":" frameInterval: duration / frames.count, bindTarget: .parameter(\"bar\"))"},{"text":"let group = AnimationGroup(group: [anim1, anim2], name: \"group\")"},{"text":"```"},{"text":""},{"text":"## Create a Sequence for the Same Animation"},{"text":""},{"text":"You can play the same animation at different times by grouping multiple"},{"text":"``AnimationDefinition`` objects that refer to the same animated property. To"},{"text":"disperse their playback at runtime, give each definition a unique"},{"text":"``AnimationDefinition/delay``."},{"text":""},{"text":"- Important: The framework processes animations with a lower"},{"text":"``AnimationGroup/blendLayer`` first, and if the"},{"text":"``AnimationGroup/blendLayer`` matches, in the order in which they appear in"},{"text":"the groups array. If two animations on the same property overlap durations"},{"text":"at runtime, the one that the framework processes second overwrites the"},{"text":"first."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationGroup"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal"],"names":{"title":"PhysicallyBasedMaterial.Normal","navigator":[{"kind":"identifier","spelling":"Normal"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that specifies an entity’s normal map."},{"text":""},{"text":"The `normal` property of a RealityKit entity holds an optional _normal"},{"text":"map_, which stores fine details about the entity’s surface, using a"},{"text":"texture rather than increasing the number of polygons in the model. If"},{"text":"you provide a normal map, RealityKit uses the vectors from that normal"},{"text":"map when rendering the entity, resulting in greater detail and more"},{"text":"accurate highlights, shadows, and reflections."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the source animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined()"],"names":{"title":"joined()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of this sequence of sequences, concatenated."},{"text":""},{"text":"In this example, an array of three ranges is flattened so that the"},{"text":"elements of each range can be iterated in turn."},{"text":""},{"text":" let ranges = [0..<3, 8..<10, 15..<17]"},{"text":""},{"text":" // A for-in loop over 'ranges' accesses each range:"},{"text":" for range in ranges {"},{"text":" print(range)"},{"text":" }"},{"text":" // Prints \"0..<3\""},{"text":" // Prints \"8..<10\""},{"text":" // Prints \"15..<17\""},{"text":""},{"text":" // Use 'joined()' to access each element of each range:"},{"text":" for index in ranges.joined() {"},{"text":" print(index, terminator: \" \")"},{"text":" }"},{"text":" // Prints: \"0 1 2 8 9 15 16\""},{"text":""},{"text":"- Returns: A flattened view of the elements of this"},{"text":" sequence of sequences."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"FlattenSequence","preciseIdentifier":"s:s15FlattenSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a"},{"text":"transform."},{"text":""},{"text":"Note: Animating the scale of an entity to 0 will cause a subsequent inverse"},{"text":"of the entity's transform to return NaN values. Developers may consider animating"},{"text":"the scale of an entity to a small non-zero value. When the move completes, the"},{"text":"entity can then be hidden or removed if applicable to the use case."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioResource"],"names":{"title":"AudioResource","navigator":[{"kind":"identifier","spelling":"AudioResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A playable audio resource"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV12getParameter6handleAA0E10ParametersV5ValueOSgAG6HandleV_tF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","getParameter(handle:)"],"names":{"title":"getParameter(handle:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"getParameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"handle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":"?"}]},"functionSignature":{"parameters":[{"name":"handle","declarationFragments":[{"kind":"identifier","spelling":"handle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"getParameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"handle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Handle","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV6HandleV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","EntityType"],"names":{"title":"SceneUnderstandingComponent.EntityType","navigator":[{"kind":"identifier","spelling":"EntityType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Types of real-world object that a scene-understanding component models."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityType"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the collection are not returned as part"},{"text":"of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \"))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the collection and for each instance of `separator` at"},{"text":" the start or end of the collection. If `true`, only nonempty"},{"text":" subsequences are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV13moveDirections5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","moveDirection"],"names":{"title":"moveDirection","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Move direction controller was moving (unit vector). In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isScaleAnimated"],"names":{"title":"isScaleAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether that animation interpolates"},{"text":"changes to the target’s size."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE10contentsOf8withNameAC0B03URLV_SSSgtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["Entity","init(contentsOf:withName:)"],"names":{"title":"init(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new entity by asynchronously loading it from a file URL."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":" For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":" - url: A file URL representing the file to load."},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronizaiton."},{"text":""},{"text":"- Returns: The root entity of the loaded file."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation22AudioFileGroupResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioFileGroupResource"],"names":{"title":"AudioFileGroupResource","navigator":[{"kind":"identifier","spelling":"AudioFileGroupResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioFileGroupResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An audio file group."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioFileGroupResource"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV14previousParentAA0G0CSgvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity","previousParent"],"names":{"title":"previousParent","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousParent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousParent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV14parameterNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","parameterNames"],"names":{"title":"parameterNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameterNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameterNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a transform."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4axiss5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","axis"],"names":{"title":"axis","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A 3D vector that points in the direction of the axis around which to"},{"text":"rotate."},{"text":""},{"text":"You can rotate an object around any axis. For example, if you set a `1`"},{"text":"in the vector's x-coordinate, rotation occurs around the x-axis, as in"},{"text":"the following code."},{"text":""},{"text":"```swift"},{"text":"orbitAnimation.axis = SIMD3(x: 1.0, y: 0.0, z: 0.0)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion"],"names":{"title":"PhysicallyBasedMaterial.AmbientOcclusion","navigator":[{"kind":"identifier","spelling":"AmbientOcclusion"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the ambient occlusion of an entity’s surface."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientOcclusion"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","debounce(for:scheduler:options:)"],"names":{"title":"debounce(for:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements only after a specified time interval elapses between events."},{"text":""},{"text":"Use the ``Publisher/debounce(for:scheduler:options:)`` operator to control the number of values and time between delivery of values from the upstream publisher. This operator is useful to process bursty or high-volume event streams where you need to reduce the number of values delivered to the downstream to a rate you specify."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes elements on a schedule defined by the `bounces` array. The array is composed of tuples representing a value sent by the ``PassthroughSubject``, and a ranging from one-quarter second up to 2 seconds that drives a delivery timer. As the queue builds, elements arriving faster than one-half second `debounceInterval` are discarded, while elements arriving at a rate slower than `debounceInterval` are passed through to the ``Publisher/sink(receiveValue:)`` operator."},{"text":""},{"text":" let bounces:[(Int,TimeInterval)] = ["},{"text":" (0, 0),"},{"text":" (1, 0.25), // 0.25s interval since last index"},{"text":" (2, 1), // 0.75s interval since last index"},{"text":" (3, 1.25), // 0.25s interval since last index"},{"text":" (4, 1.5), // 0.25s interval since last index"},{"text":" (5, 2) // 0.5s interval since last index"},{"text":" ]"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" cancellable = subject"},{"text":" .debounce(for: .seconds(0.5), scheduler: RunLoop.main)"},{"text":" .sink { index in"},{"text":" print (\"Received index \\(index)\")"},{"text":" }"},{"text":""},{"text":" for bounce in bounces {"},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + bounce.1) {"},{"text":" subject.send(bounce.0)"},{"text":" }"},{"text":" }"},{"text":""},{"text":" // Prints:"},{"text":" // Received index 1"},{"text":" // Received index 4"},{"text":" // Received index 5"},{"text":""},{"text":" // Here is the event flow shown from the perspective of time, showing value delivery through the `debounce()` operator:"},{"text":""},{"text":" // Time 0: Send index 0."},{"text":" // Time 0.25: Send index 1. Index 0 was waiting and is discarded."},{"text":" // Time 0.75: Debounce period ends, publish index 1."},{"text":" // Time 1: Send index 2."},{"text":" // Time 1.25: Send index 3. Index 2 was waiting and is discarded."},{"text":" // Time 1.5: Send index 4. Index 3 was waiting and is discarded."},{"text":" // Time 2: Debounce period ends, publish index 4. Also, send index 5."},{"text":" // Time 2.5: Debounce period ends, publish index 5."},{"text":""},{"text":"- Parameters:"},{"text":" - dueTime: The time the publisher should wait before publishing an element."},{"text":" - scheduler: The scheduler on which this publisher delivers elements"},{"text":" - options: Scheduler options that customize this publisher’s delivery of elements."},{"text":"- Returns: A publisher that publishes events only after a specified time elapses."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"dueTime","declarationFragments":[{"kind":"identifier","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debounce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"dueTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Debounce","preciseIdentifier":"s:7Combine10PublishersO8DebounceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentVAAE13linearDampingSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","linearDamping"],"names":{"title":"linearDamping","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearDamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The value that controls how fast a dynamic rigid body's translation motion approaches the zero rest state."},{"text":""},{"text":"- Important: The damping value must be non-negative."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearDamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV5modelSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name of the model to instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation27SceneUnderstandingComponentV10entityTypeA2C06EntityG0OSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","init(entityType:)"],"names":{"title":"init(entityType:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"entityType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a component for the given entity type that makes an entity aware"},{"text":"of certain aspects of the physical environment."},{"text":""},{"text":"- Parameters:"},{"text":" - entityType: The entity type to make the component for."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"entityType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUnderstandingComponent","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityType","preciseIdentifier":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV12getParameter4nameAA0E10ParametersV5ValueOSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","getParameter(name:)"],"names":{"title":"getParameter(name:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"getParameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":"?"}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"getParameter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Value","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scale of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s scale relative to its parent. To get the"},{"text":"actual scale of the entity in the scene, use"},{"text":"``HasTransform/scale(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/scale`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationView/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a 4x4 matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV4meshAA12MeshResourceCvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","mesh"],"names":{"title":"mesh","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The mesh that defines the shape of the entity."},{"text":""},{"text":"For more information, see ``RealityKit/MeshResource``"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9clearcoatAC9ClearcoatVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","clearcoat"],"names":{"title":"clearcoat","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparent highlights that simulate a clear, shiny coating on an"},{"text":"entity."},{"text":""},{"text":"An entity in RealityKit can display a clearcoat, which is a separate"},{"text":"layer of transparent specular highlights used to simulate a clear"},{"text":"transparent coating, like the paint on a car, or the surface of"},{"text":"lacquered objects. By default, materials don’t have clearcoat enabled."},{"text":""},{"text":"Use this property to enable clearcoat rendering. Specifying any value"},{"text":"greater than `0.0` turns clearcoat rendering on. A value of `1.0`"},{"text":"indicates a full clearcoat. RealityKit treats values above `1.0` as if"},{"text":"they’re `1.0`."},{"text":""},{"text":"You can specify ``PhysicallyBasedMaterial/clearcoat-swift.property``"},{"text":"using a single `Float` that applies to the entire material, or a"},{"text":"UV-mapped grayscale image to provide different values for different"},{"text":"parts of an entity."},{"text":""},{"text":"The following example specifies `clearcoat` using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.clearcoat = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"And this example shows how to specify `clearcoat` using a UV-mapped"},{"text":"image texture:"},{"text":""},{"text":"```swift"},{"text":"if let clearcoatResource = try? TextureResource.load(named:\"entity_clearcoat\") {"},{"text":" let clearcoatMap = MaterialParameters.Texture(clearcoatResource)"},{"text":" material.clearcoat = .init(texture: clearcoatMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clearcoat"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Clearcoat","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","zip(_:_:_:_:)"],"names":{"title":"zip(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:_:)`` to return a new publisher that combines the elements from three other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, the ``PassthroughSubject`` publishers, `numbersPub`,"},{"text":"`fractionsPub`, `lettersPub`, and `emojiPub` emit values. The ``Publisher/zip(_:_:_:_:)`` operator receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times and prints out the value in `fractionsPub`."},{"text":""},{"text":" let numbersPub = PassthroughSubject() // first publisher"},{"text":" let lettersPub = PassthroughSubject() // second"},{"text":" let emojiPub = PassthroughSubject() // third"},{"text":" let fractionsPub = PassthroughSubject()// fourth"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub) { anInt, aLetter, anEmoji, aFraction in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt)) \\(aFraction)\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: zip output: \"🥰🥰 BB\""},{"text":" // Prints:"},{"text":" //1 😀 A 0.1"},{"text":" //2 🥰🥰 BB 0.8"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from four upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation19AudioBufferResourceC","interfaceLanguage":"swift"},"pathComponents":["AudioBufferResource"],"names":{"title":"AudioBufferResource","navigator":[{"kind":"identifier","spelling":"AudioBufferResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioBufferResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An audio resource that you load from an ."},{"text":""},{"text":"Use the resource to create an ``AudioPlaybackController`` instance by calling an entity’s ``Entity/prepareAudio(_:)`` or ``Entity/playAudio(_:)`` function."},{"text":"The controller plays the audio from the location in space of the entity that created the controller."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioBufferResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","ID"],"names":{"title":"MeshResource.Instance.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8BindPathV5partsSayAC4PartOGvp","interfaceLanguage":"swift"},"pathComponents":["BindPath","parts"],"names":{"title":"parts","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of the individual components of a complete bind path."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id11descriptorsAESS_SayAA0C10DescriptorVGtKcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","init(id:descriptors:)"],"names":{"title":"init(id:descriptors:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"modelID"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the source animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``BlendTreeAnimation/duration``. If you set a value, the"},{"text":"animation edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE6shapes4mode16collisionOptions6filterACSayAA13ShapeResourceCG_AC4ModeOAcAE0cH0VAA0C6FilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","init(shapes:mode:collisionOptions:filter:)"],"names":{"title":"init(shapes:mode:collisionOptions:filter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"collisionOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":" = .default, "},{"kind":"externalParam","spelling":"collisionOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .default)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part"],"names":{"title":"BindPath.Part","navigator":[{"kind":"identifier","spelling":"Part"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An individual piece of a larger path that refers to the target of an"},{"text":"animation."},{"text":""},{"text":"Path-based instances of ``AnimationDefinition/bindTarget``, or those"},{"text":"identified by the ``BindTarget/path(_:)`` call, consist of one or more"},{"text":"components identified by these enumeration options."},{"text":""},{"text":"For example, the succession of ``BindPath/Part`` calls in the following"},{"text":"code results in a path with a ``BindPath/parts`` array that contains"},{"text":"three components: `entityA`, `entityB`, and `myInt`."},{"text":""},{"text":"```swift"},{"text":"let target3: BindTarget = .entity(\"entityA\").entity(\"entityB\").parameter(\"myInt\")"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Part"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV12moveDistanceSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","moveDistance"],"names":{"title":"moveDistance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Move distance controller was attempting to move. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions"],"names":{"title":"CollisionComponent.CollisionOptions","navigator":[{"kind":"identifier","spelling":"CollisionOptions"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionOptions"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionOptions"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyLevel","navigator":[{"kind":"identifier","spelling":"AnisotropyLevel"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyLevel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the degree to which an entity reflects light to"},{"text":"create stretched or oblong highlights."},{"text":""},{"text":"By default, PBR materials are isotropic; in other words, an entity that"},{"text":"uses ``PhysicallyBasedMaterial`` reflects light uniformly in all"},{"text":"directions, mimicking the behavior of most real-world objects. Some"},{"text":"objects, including those with many small parallel striations such as"},{"text":"vinyl records, CDs, or straight hair, reflect light more in some"},{"text":"directions than others, resulting in stretched or oblong specular"},{"text":"highlights, as shown in the following figure."},{"text":""},{"text":"![An illustration showing 11 metallic spheres in a horizontal row. The"},{"text":"left-most sphere is isotropic. The spheres represent increasing"},{"text":"anisotropy from left to right, with the sphere furthest to the right"},{"text":"displaying a long, stretched highlight."},{"text":"](PhysicallyBasedMaterial-AnisotropyLevel-swift-struct-1)"},{"text":""},{"text":"Use this object to specify the"},{"text":"``PhysicallyBasedMaterial/anisotropyLevel-swift.property`` for a"},{"text":"material."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyLevel"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isRotationAnimated"],"names":{"title":"isRotationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation interpolates"},{"text":"rotational changes."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","joined(separator:)"],"names":{"title":"joined(separator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the concatenated elements of this sequence of sequences,"},{"text":"inserting the given separator between each element."},{"text":""},{"text":"This example shows how an array of `[Int]` instances can be joined, using"},{"text":"another `[Int]` instance as the separator:"},{"text":""},{"text":" let nestedNumbers = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"},{"text":" let joined = nestedNumbers.joined(separator: [-1, -2])"},{"text":" print(Array(joined))"},{"text":" // Prints \"[1, 2, 3, -1, -2, 4, 5, 6, -1, -2, 7, 8, 9]\""},{"text":""},{"text":"- Parameter separator: A sequence to insert between each of this"},{"text":" sequence's elements."},{"text":"- Returns: The joined sequence of elements."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Separator","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Separator.Element","rhs":"Self.Element.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joined"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Separator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JoinedSequence","preciseIdentifier":"s:s14JoinedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Separator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE9publisher3for2on13componentTypeAC9PublisherVy_xGxm_AA11EventSource_pSgAA9Component_pXpSgtAA0J0RzlF","interfaceLanguage":"swift"},"pathComponents":["Scene","publisher(for:on:componentType:)"],"names":{"title":"publisher(for:on:componentType:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a `Publisher` for events of the specified type in a `Scene`."},{"text":""},{"text":"- Parameters:"},{"text":" - event: The type of the event. For example, `SceneEvents.Update.Self`."},{"text":" - sourceObject: The event source – usually the entity you are interested in. `nil` to"},{"text":" listen all events of this type that occur in the scene."},{"text":" - componentType: The component type, or `nil` for all (for ComponentEvents)."},{"text":""},{"text":"- Returns: A `Publisher` for events of the specified type."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"event","declarationFragments":[{"kind":"identifier","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type"}]},{"name":"on","internalName":"sourceObject","declarationFragments":[{"kind":"identifier","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")?"}]},{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Event","rhsPrecise":"s:17RealityFoundation5EventP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"event"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sourceObject"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"EventSource","preciseIdentifier":"s:17RealityFoundation11EventSourceP"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"componentType"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)?) -> "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:17RealityFoundation5SceneC9PublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Event","preciseIdentifier":"s:17RealityFoundation5EventP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV5childAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity","child"],"names":{"title":"child","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"child"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV","interfaceLanguage":"swift"},"pathComponents":["BoundingBox"],"names":{"title":"BoundingBox","navigator":[{"kind":"identifier","spelling":"BoundingBox"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BoundingBox"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An axis-aligned bounding box (AABB)."}]},"declarationFragments":[{"kind":"attribute","spelling":"@frozen"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BoundingBox"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryCompactMap(_:)"],"names":{"title":"tryCompactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls an error-throwing closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Use ``Publisher/tryCompactMap(_:)`` to remove `nil` elements from a publisher’s stream based on an error-throwing closure you provide. If the closure throws an error, the publisher cancels the upstream publisher and sends the thrown error to the downstream subscriber as a ``Publisher/Failure``."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection-based publisher. A ``Publisher/tryCompactMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform the numbers from its Arabic to Roman numerals, as an optional ."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` fails to look up a Roman numeral, it returns the optional String `(unknown)`."},{"text":""},{"text":"If the closure called by ``Publisher/tryCompactMap(_:)`` determines the input is `0`, it throws an error. The ``Publisher/tryCompactMap(_:)`` operator catches this error and stops publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from: Int) throws -> String? {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 4: \"IV\", 5: \"V\"]"},{"text":" guard from != 0 else { throw ParseError() }"},{"text":" return romanNumeralDict[from]"},{"text":" }"},{"text":" let numbers = [6, 5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryCompactMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(Unknown) V IV III II I failure(ParseError())\""},{"text":""},{"text":"- Parameter transform: An error-throwing closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryCompactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryCompactMap","preciseIdentifier":"s:7Combine10PublishersO13TryCompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV16triangleFillModeAA0E14ParameterTypesV08TrianglegH0Ovp","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","triangleFillMode"],"names":{"title":"triangleFillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV16TriangleFillModea"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that controls how RealityKit draws triangles."},{"text":""},{"text":"A value of ``RealityKit/MaterialParameterTypes.trianglefillmode.fill`` causes RealityKit"},{"text":"to draw triangles normally, while a value of ``RealityKit/MaterialParameterTypes.trianglefillmode.lines``"},{"text":"turns on wireframe rendering."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV16TriangleFillModea"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV16TriangleFillModea","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","TriangleFillMode"],"names":{"title":"ShaderGraphMaterial.TriangleFillMode","navigator":[{"kind":"identifier","spelling":"TriangleFillMode"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An alias for the triangle fill mode object that’s appropriate for this"},{"text":"material class."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillRemoveEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE16collisionOptionsAcAE0cF0Vvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","collisionOptions"],"names":{"title":"collisionOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","output(in:)"],"names":{"title":"output(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes elements specified by their range in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(in:)`` to republish a range indices you specify in the published stream. After publishing all elements, the publisher finishes normally. If the publisher completes normally or with an error before producing all the elements in the range, it doesn’t publish the remaining elements."},{"text":""},{"text":"In the example below, an array publisher emits the subset of elements at the indices in the specified range:"},{"text":""},{"text":" let numbers = [1, 1, 2, 2, 2, 3, 4, 5, 6]"},{"text":" numbers.publisher"},{"text":" .output(in: (3...5))"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 2 3\""},{"text":""},{"text":"- Parameter range: A range that indicates which elements to publish."},{"text":"- Returns: A publisher that publishes elements specified by a range."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"R","rhs":"RangeExpression","rhsPrecise":"s:SX"},{"kind":"sameType","lhs":"R.Bound","rhs":"Int","rhsPrecise":"s:Si"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RangeExpression","preciseIdentifier":"s:SX"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Bound"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV14startTransformAA0F0Vvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","startTransform"],"names":{"title":"startTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The pose of the orbiting object at the start of the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Calls a closure with each received element and publishes any returned optional that has a value."},{"text":""},{"text":"Combine’s ``Publisher/compactMap(_:)`` operator performs a function similar to that of in the Swift standard library: the ``Publisher/compactMap(_:)`` operator in Combine removes `nil` elements in a publisher’s stream and republishes non-`nil` elements to the downstream subscriber."},{"text":""},{"text":"The example below uses a range of numbers as the source for a collection based publisher. The ``Publisher/compactMap(_:)`` operator consumes each element from the `numbers` publisher attempting to access the dictionary using the element as the key. If the example’s dictionary returns a `nil`, due to a non-existent key, ``Publisher/compactMap(_:)`` filters out the `nil` (missing) elements."},{"text":""},{"text":" let numbers = (0...5)"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1: \"I\", 2: \"II\", 3: \"III\", 5: \"V\"]"},{"text":""},{"text":" cancellable = numbers.publisher"},{"text":" .compactMap { romanNumeralDict[$0] }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"I II III V\""},{"text":""},{"text":"- Parameter transform: A closure that receives a value and returns an optional value."},{"text":"- Returns: Any non-`nil` optional results of the calling the supplied closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CompactMap","preciseIdentifier":"s:7Combine10PublishersO10CompactMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentVAAE14angularDampingSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","angularDamping"],"names":{"title":"angularDamping","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularDamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The value that controls how fast a dynamic rigid body's rotational motion approaches the zero rest state."},{"text":""},{"text":"- Important: The damping value must be non-negative."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularDamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation8ResourceP","interfaceLanguage":"swift"},"pathComponents":["Resource"],"names":{"title":"Resource","navigator":[{"kind":"identifier","spelling":"Resource"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Resource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A shared resource you use to configure a component, like a material, mesh,"},{"text":"or texture."},{"text":""},{"text":"Resources can be costly to load or create. Share and reuse resources as much as possible."}]},"declarationFragments":[{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Resource"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of ambient occlusion specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyAngle"],"names":{"title":"PhysicallyBasedMaterial.AnisotropyAngle","navigator":[{"kind":"identifier","spelling":"AnisotropyAngle"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyAngle"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object used to define a material’s anisotropy angle."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnisotropyAngle"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``FromToByAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``AnimationView/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``AnimationView/trimStart`` and ``AnimationView/trimEnd`` are `nil`, the"},{"text":"animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``AnimationView/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``AnimationView/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform of an entity relative to its parent."},{"text":""},{"text":"For an ``AnchorEntity`` instance, the transform is relative to the AR"},{"text":"anchor."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeTo7forwardys5SIMD3VySfG_A2lA6EntityCSgAnAE16ForwardDirectionOtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","look(at:from:upVector:relativeTo:forward:)"],"names":{"title":"look(at:from:upVector:relativeTo:forward:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"forward"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions and orients the entity such that it looks at certain target from a give position."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The target position to look at."},{"text":" - position: The new position of the entity."},{"text":" - upVector: The *up* direction of the entity."},{"text":" - referenceEntity: The reference entity which defines the frame of reference."},{"text":" Can be `nil`, which is equivalent to \"world space\"."},{"text":" - forward: Use default forward (.negativeZ)."},{"text":" Can be set to .positiveZ for non-camera entities"},{"text":""},{"text":"This function moves the entity to the specified `position`. It rotates the entity such that"},{"text":"the forward direction is pointing towards `target`. It further makes sure that entity's *up*"},{"text":"direction aligns with the specified `upVector`."},{"text":""},{"text":"Note: This method can be used for non-camera entities."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"upVector","declarationFragments":[{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"forward","declarationFragments":[{"kind":"identifier","spelling":"forward"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(0, 1, 0), "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"forward"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"text","spelling":" = .negativeZ)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","output(at:)"],"names":{"title":"output(at:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a specific element, indicated by its index in the sequence of published elements."},{"text":""},{"text":"Use ``Publisher/output(at:)`` when you need to republish a specific element specified by its position in the stream. If the publisher completes normally or with an error before publishing the specified element, then the publisher doesn’t produce any elements."},{"text":""},{"text":"In the example below, the array publisher emits the fifth element in the sequence of published elements:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" numbers.publisher"},{"text":" .output(at: 5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"6\""},{"text":""},{"text":"- Parameter index: The index that indicates the element to publish."},{"text":"- Returns: A publisher that publishes a specific indexed element."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO9onCollideyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","onCollide"],"names":{"title":"ParticleEmitterComponent.SpawnOccasion.onCollide","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"onCollide"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The spawned effect starts when particles from the main effect collide with one of the provided collision planes."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"onCollide"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8blendingAC8BlendingOvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","blending"],"names":{"title":"blending","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transparency of an entity."},{"text":""},{"text":"Use this property to specify whether an entity is opaque or transparent."},{"text":"To create an entity that’s opaque, assign"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/opaque`` to this property."},{"text":""},{"text":"```swift"},{"text":"material.blending = .opaque"},{"text":"```"},{"text":""},{"text":"To create a translucent or transparent object using a single opacity"},{"text":"value for the entire material, initialize"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/transparent(opacity:)``"},{"text":"using a `Float` value."},{"text":""},{"text":"```swift"},{"text":"material.blending = .transparent(opacity: .init(floatLiteral:0.5))"},{"text":"```"},{"text":""},{"text":"To use a UV-mapped grayscale image texture to specify different opacity"},{"text":"values for different parts of an entity, initialize"},{"text":"``PhysicallyBasedMaterial/Blending-swift.enum/transparent(opacity:)``"},{"text":"using a texture. If you provide a color image, RealityKit only uses the"},{"text":"intensity of the red channel."},{"text":""},{"text":"```swift"},{"text":"if let opacityResource = try? TextureResource.load(named:"},{"text":"\"entity_opacity\") {"},{"text":" let opacityMap = MaterialParameterTypes.Texture(opacityResource)"},{"text":" material.blending = .transparent(opacity: .init(texture: opacityMap))"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blending"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","trimmed(start:end:duration:)"],"names":{"title":"trimmed(start:end:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Edits the animation duration according to the specified time."},{"text":""},{"text":"If an argument property lies outside the underlying"},{"text":"``AnimationDefinition/duration``, the animation plays back according to"},{"text":"the characteristics of its ``AnimationDefinition/repeatMode``."},{"text":""},{"text":"- Parameters:"},{"text":" - start: The time within the underlying duration to begin playback."},{"text":""},{"text":" - end: The time within the underlying duration to end playback."},{"text":""},{"text":" - duration: The amount of time that overrides the underlying duration."},{"text":""},{"text":"- Returns: A version of the animation shortened or lengthened according"},{"text":"to the specified times."}]},"functionSignature":{"parameters":[{"name":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmed"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceCAAE6FormatV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation7ContactV19penetrationDistanceSfvp","interfaceLanguage":"swift"},"pathComponents":["Contact","penetrationDistance"],"names":{"title":"penetrationDistance","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"penetrationDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The distance of overlap between the contact pair."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"penetrationDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SpawnOccasion","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SpawnOccasion","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SpawnOccasion","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SpawnOccasion","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SpawnOccasion","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SpawnOccasion","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"P.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SetFailureType","preciseIdentifier":"s:7Combine10PublishersO14SetFailureTypeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"watchOS","introduced":{"major":7,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}},{"domain":"tvOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO7onDeathyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","onDeath"],"names":{"title":"ParticleEmitterComponent.SpawnOccasion.onDeath","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"onDeath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The spawned effect starts at the death of a main particle."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"onDeath"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","look(at:from:upVector:relativeTo:)"],"names":{"title":"look(at:from:upVector:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions and orients the entity to look at a target from a given"},{"text":"position."},{"text":""},{"text":"You can use this method on any entity, but it’s particularly useful for"},{"text":"orienting cameras and lights to aim at a particular point in space."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The target position to look at."},{"text":""},{"text":" - position: The new position of the entity."},{"text":""},{"text":" - upVector: The up direction of the entity after moving."},{"text":""},{"text":" - relativeTo: The entity that defines a frame of reference. Set this to"},{"text":"`nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"upVector","declarationFragments":[{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(0, 1, 0), "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the value of a key path."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:)-6sm0a`` operator uses the Swift key path syntax to access the `die` member of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only the value of this `Int`, not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die:Int.random(in:1...6)))"},{"text":" .map(\\.die)"},{"text":" .sink {"},{"text":" print (\"Rolled: \\($0)\")"},{"text":" }"},{"text":" // Prints \"Rolled: 3\" (or some other random value)."},{"text":""},{"text":"- Parameter keyPath: The key path of a property on `Output`."},{"text":"- Returns: A publisher that publishes the value of the key path."}]},"functionSignature":{"parameters":[{"name":"keyPath","declarationFragments":[{"kind":"identifier","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath","preciseIdentifier":"s:7Combine10PublishersO10MapKeyPathV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6appendyyAA0C0CF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to add to the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18MeshJointInfluenceV","interfaceLanguage":"swift"},"pathComponents":["MeshJointInfluence"],"names":{"title":"MeshJointInfluence","navigator":[{"kind":"identifier","spelling":"MeshJointInfluence"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshJointInfluence"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A binding to a joint, which consists of the joint's index and the weight of that joint's"},{"text":"influence on a vertex."},{"text":""},{"text":"A vertex may be influenced by one or more joints. The skinned position of that vertex is defined"},{"text":"by a set of MeshJointInfluence values whose weights sum to 1. The skinned position is given by:"},{"text":""},{"text":"```swift"},{"text":"position = vertexPosition(transformedByJoint: influences[0].jointIndex) * influences[0].weight"},{"text":" + vertexPosition(transformedByJoint: influences[1].jointIndex) * influences[1].weight"},{"text":" + ..."},{"text":"```"},{"text":""},{"text":"The skinned position of a vertex is a linear combination of the vertex's position transformed by"},{"text":"each joint, with weights given by the MeshJointInfluence values."},{"text":""},{"text":"To transform a vertex position by a joint, the initial vertex position is first transformed by"},{"text":"the joint's inverse bind pose matrix, then by the local-to-parent transform of the joint, and"},{"text":"finally by the local-to-parent transform of each of the joint's parents."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshJointInfluence"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","isTranslationAnimated"],"names":{"title":"isTranslationAnimated","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation interpolates"},{"text":"changes to the target object’s position."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s position relative to its parent. To get the"},{"text":"world-space position of the entity in the scene, use"},{"text":"``HasTransform/position(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/translation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","decode(type:decoder:)"],"names":{"title":"decode(type:decoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Decodes the output from the upstream using a specified decoder."},{"text":""},{"text":"Use ``Publisher/decode(type:decoder:)`` with a (or a for property lists) to decode data received from a or other data source using the protocol."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes a JSON string. The JSON decoder parses the string, converting its fields according to the protocol implemented by `Article`, and successfully populating a new `Article`. The ``Publishers/Decode`` publisher then publishes the `Article` to the downstream. If a decoding operation fails, which happens in the case of missing or malformed data in the source JSON string, the stream terminates and passes the error to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" cancellable = dataProvider"},{"text":" .decode(type: Article.self, decoder: JSONDecoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\")},"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" dataProvider.send(Data(\"{\\\"pubDate\\\":1574273638.575666, \\\"title\\\" : \\\"My First Article\\\", \\\"author\\\" : \\\"Gita Kumar\\\" }\".utf8))"},{"text":""},{"text":" // Prints: \".sink() data received Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: 2050-11-20 18:13:58 +0000)\""},{"text":""},{"text":"- Parameters:"},{"text":" - type: The encoded data to decode into a struct that conforms to the protocol."},{"text":" - decoder: A decoder that implements the ``TopLevelDecoder`` protocol."},{"text":"- Returns: A publisher that decodes a given type using a specified decoder and publishes the result."}]},"functionSignature":{"parameters":[{"name":"type","declarationFragments":[{"kind":"identifier","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type"}]},{"name":"decoder","declarationFragments":[{"kind":"identifier","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Item","index":0,"depth":1},{"name":"Coder","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Item","rhs":"Decodable","rhsPrecise":"s:Se"},{"kind":"conformance","lhs":"Coder","rhs":"TopLevelDecoder","rhsPrecise":"s:7Combine15TopLevelDecoderP"},{"kind":"sameType","lhs":"Self.Output","rhs":"Coder.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":".Type, "},{"kind":"externalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decode","preciseIdentifier":"s:7Combine10PublishersO6DecodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Item"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Decodable","preciseIdentifier":"s:Se"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelDecoder","preciseIdentifier":"s:7Combine15TopLevelDecoderP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended"],"names":{"title":"CollisionEvents.Ended","navigator":[{"kind":"identifier","spelling":"Ended"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Ended"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event raised when two objects, previously in contact, separate."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Ended"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC13playAnimation_18transitionDuration12startsPausedAA0E18PlaybackControllerCAA0E8ResourceC_SdSbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(_:transitionDuration:startsPaused:)"],"names":{"title":"playAnimation(_:transitionDuration:startsPaused:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays the given animation on the entity."},{"text":""},{"text":"- Parameters:"},{"text":" - animation: The animation to play."},{"text":""},{"text":"- transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":"- startsPaused: A Boolean that you set to `true` to return from the call"},{"text":"with the animation paused. Set to `false` to start the animation right"},{"text":"away."},{"text":""},{"text":"- Returns: An animation playback controller that you can use to start"},{"text":"and stop the animation."}]},"functionSignature":{"parameters":[{"name":"animation","declarationFragments":[{"kind":"identifier","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat roughness object using a single value or a"},{"text":"texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. When you enable clearcoat"},{"text":"rendering for a material, RealityKit renders the clearcoat as a"},{"text":"separate layer just above the surface of the entity. You can specify"},{"text":"a clearcoat roughness value for the clearcoat to indicate how much"},{"text":"the clearcoat scatters light that bounces off of it, which softens"},{"text":"and spreads out the highlights."},{"text":""},{"text":"This initializer creates an object that specifies the clearcoat"},{"text":"roughness for a material using a single value for the entire"},{"text":"material, a UV-mapped image, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the clearcoat"},{"text":"roughness for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify a `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s clearcoat roughness. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat roughness value for the entire material."},{"text":""},{"text":" - texture: The clearcoat roughness values as a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:_:)"],"names":{"title":"combineLatest(_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:_:)`` when you need to combine the current and 3 additional publishers and transform the values using a closure in which you specify the published elements, to publish a new element."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, as ``Publisher/combineLatest(_:_:_:_:)`` receives the most-recent values published by four publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4) { firstValue, secondValue, thirdValue, fourthValue in"},{"text":" return firstValue * secondValue * thirdValue * fourthValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 36. // pub = 2, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 54. // pub = 3, pub2 = 2, pub3 = 9, pub4 = 1"},{"text":" // Result: 324. // pub = 3, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 1404. // pub = 13, pub2 = 12, pub3 = 9, pub4 = 1"},{"text":" // Result: 2964. // pub = 13, pub2 = 12, pub3 = 19, pub4 = 1"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1},{"name":"T","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by an irrational"},{"text":"number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","append(contentsOf:)"],"names":{"title":"append(contentsOf:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified sequence of entities to the end of this collection,"},{"text":"in order."},{"text":""},{"text":"- Parameters:"},{"text":" - sequence: The entities to add to the collection."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"sequence","declarationFragments":[{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV13spinClockwiseSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","spinClockwise"],"names":{"title":"spinClockwise","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the object orbits the center"},{"text":"point in the clockwise direction."},{"text":""},{"text":"The default value is `true`, which indicates that the rotation occurs in"},{"text":"the clockwise direction. Set the value to `false` to cause the object to"},{"text":"orbit the center point counterclockwise."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV14videoDimensions5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","VideoSizeDidChange","videoDimension"],"names":{"title":"videoDimension","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"videoDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Video resolution"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"videoDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV7isEmptySbvp","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if there are no models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(transform:to:)"],"names":{"title":"convert(transform:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of the entity on which you called this method to the local space"},{"text":"of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","position(relativeTo:)"],"names":{"title":"position(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the position of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","Element"],"names":{"title":"CharacterControllerComponent.CollisionFlags.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","ElementType"],"names":{"title":"MeshBuffers.ElementType","navigator":[{"kind":"identifier","spelling":"ElementType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ElementType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The data type for each element of the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ElementType"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation23ModelSortGroupComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroupComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Dimensions2D","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation7ContactV16impulseDirections5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Contact","impulseDirection"],"names":{"title":"impulseDirection","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulseDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Impulse direction in scene coordinate space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulseDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","jointTransforms"],"names":{"title":"jointTransforms","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The relative joint transforms of the model entity."},{"text":""},{"text":"Call ``RealityKit/BodyTrackedEntity/jointNames`` to determine the name and order of the joints."},{"text":""},{"text":"- Note: Active animations may override the joint transforms set using this property.."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","buffers"],"names":{"title":"buffers","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Descriptors for the buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffers"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnyMeshBuffer","preciseIdentifier":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20PhysicsBodyComponentV4modeAA0cD4ModeOvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","mode"],"names":{"title":"mode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The physics body’s mode, indicating how or if it moves."},{"text":""},{"text":"By default, this value is set to ``PhysicsBodyMode/dynamic``, meaning"},{"text":"the body responds to forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC13playAnimation5named18transitionDuration12startsPaused9recursiveAA0E18PlaybackControllerCSS_SdS2btF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(named:transitionDuration:startsPaused:recursive:)"],"names":{"title":"playAnimation(named:transitionDuration:startsPaused:recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays all the animations with the given name on the entity."},{"text":""},{"text":"The method plays all the animations in the"},{"text":"``Entity/availableAnimations`` property with a matching name. If there"},{"text":"are none, the method returns a controller showing a stopped animation."},{"text":""},{"text":"- Parameters:"},{"text":" - animationName: The name of the animation."},{"text":""},{"text":"- transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":"- startsPaused: A Boolean that you set to `true` to return from the call"},{"text":"with the animations paused. Set to `false` to start the animations right"},{"text":"away."},{"text":""},{"text":"- recursive: Indicates whether to also play animations on all"},{"text":"descendants of the entity."},{"text":""},{"text":"- Returns: An animation playback controller that you can use to start"},{"text":"and stop the animations."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"animationName","declarationFragments":[{"kind":"identifier","spelling":"animationName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animationName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use playAnimation functions that utilize an AnimationResource instead of a name.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10bindTargetAA04BindF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the animated property."},{"text":""},{"text":"The property name is a key path. For more information on key paths, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat roughness object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. When you enable clearcoat"},{"text":"rendering for a material, RealityKit renders the clearcoat as a"},{"text":"separate layer just above the surface of the entity. You can specify"},{"text":"a clearcoat roughness value for the clearcoat to indicate how much"},{"text":"the clearcoat scatters light that bounces off of it, which softens"},{"text":"and spreads out the highlights."},{"text":""},{"text":"This initializer creates an object that specifies the clearcoat"},{"text":"roughness for a material using a single value for the entire"},{"text":"material."},{"text":""},{"text":"- Parameters:"},{"text":"- value: The clearcoat roughness value to use for the entire"},{"text":"material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeated(count:)"],"names":{"title":"repeated(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation the number of times specified by a whole number."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of times the animation repeats before stopping."},{"text":""},{"text":"- Returns: A version of the calling animation repeated the given number"},{"text":"of times."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeated"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV010screenMeshF0s5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","VideoSizeDidChange","screenMeshSize"],"names":{"title":"screenMeshSize","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"screenMeshSize"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"video screen mesh size in meters"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"screenMeshSize"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV3farSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","far"],"names":{"title":"far","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum distance in meters from the camera that the camera can see."},{"text":""},{"text":"The value defaults to infinity. Always use a value greater than the"},{"text":"value of ``PerspectiveCameraComponent/near``. The renderer clips any"},{"text":"surface beyond the ``PerspectiveCameraComponent/far`` point."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","scale(relativeTo:)"],"names":{"title":"scale(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the scale of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO10bindTargetyAcA04BindF0O_SftcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","bindTarget(_:defaultWeight:)"],"names":{"title":"BlendWeight.bindTarget(_:defaultWeight:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of impact an animation has on the bind target of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE6shapes8isStatic6filterACSayAA13ShapeResourceCG_SbAA0C6FilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","init(shapes:isStatic:filter:)"],"names":{"title":"init(shapes:isStatic:filter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"isStatic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision component."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"isStatic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .default)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(normal:to:)"],"names":{"title":"convert(normal:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, given in the"},{"text":" local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","interfaceLanguage":"swift"},"pathComponents":["AnimationGroup","repeatingForever()"],"names":{"title":"repeatingForever()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats the animation infinitely."},{"text":""},{"text":"- Returns: A version of the calling animation that will repeat infinitely."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatingForever"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","timeout(_:scheduler:options:customError:)"],"names":{"title":"timeout(_:scheduler:options:customError:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Terminates publishing if the upstream publisher exceeds the specified time interval without producing an element."},{"text":""},{"text":"Use ``Publisher/timeout(_:scheduler:options:customError:)`` to terminate a publisher if an element isn’t delivered within a timeout interval you specify."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes elements and is configured to time out if no new elements are received within its `TIME_OUT` window of 5 seconds. A single value is published after the specified 2-second `WAIT_TIME`, after which no more elements are available; the publisher then times out and completes normally."},{"text":""},{"text":" var WAIT_TIME : Int = 2"},{"text":" var TIMEOUT_TIME : Int = 5"},{"text":""},{"text":" let subject = PassthroughSubject()"},{"text":" let cancellable = subject"},{"text":" .timeout(.seconds(TIMEOUT_TIME), scheduler: DispatchQueue.main, options: nil, customError:nil)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0) at \\(Date())\") },"},{"text":" receiveValue: { print (\"value: \\($0) at \\(Date())\") }"},{"text":" )"},{"text":""},{"text":" DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(WAIT_TIME),"},{"text":" execute: { subject.send(\"Some data - sent after a delay of \\(WAIT_TIME) seconds\") } )"},{"text":""},{"text":" // Prints: value: Some data - sent after a delay of 2 seconds at 2020-03-10 23:47:59 +0000"},{"text":" // completion: finished at 2020-03-10 23:48:04 +0000"},{"text":""},{"text":""},{"text":"If `customError` is `nil`, the publisher completes normally; if you provide a closure for the `customError` argument, the upstream publisher is instead terminated upon timeout, and the error is delivered to the downstream."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The maximum time interval the publisher can go without emitting an element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to deliver events."},{"text":" - options: Scheduler options that customize the delivery of elements."},{"text":" - customError: A closure that executes if the publisher times out. The publisher sends the failure returned by this closure to the subscriber as the reason for termination."},{"text":"- Returns: A publisher that terminates if the specified interval elapses with no events received from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]},{"name":"customError","declarationFragments":[{"kind":"identifier","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"customError"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Timeout","preciseIdentifier":"s:7Combine10PublishersO7TimeoutV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO4fromAEs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE13playAnimation_18transitionDuration16blendLayerOffset21separateAnimatedValue12startsPaused5clockAA0E18PlaybackControllerCAA0E8ResourceC_SdSiS2byXlSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:)"],"names":{"title":"playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays an animation with the specified options."},{"text":""},{"text":"Call this method to play an animation and configure playback options."},{"text":"RealityKit supports blending up to two different animations at the same"},{"text":"time. When RealityKit applies multiple animations to an entity, the"},{"text":"order in which it applies the animations affects the final animation."},{"text":"Use the `blendLayerOffset` parameter to specify the order of animations"},{"text":"when playing multiple animations at the same time."},{"text":""},{"text":"- Parameters:"},{"text":" - animation: The animation to play."},{"text":""},{"text":" - transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":" - blendLayerOffset: An integer that specifies the order in which to"},{"text":"apply animations when more than one animation is playing. Valid values"},{"text":"are `0` or `1`."},{"text":""},{"text":" - separateAnimatedValue: When set to false, this value indicates that the"},{"text":"animation will write directly to the entity's base value. When set to true,"},{"text":"this value indicates that the animation will write to an interim value for"},{"text":"the duration of the animation. If this value is set to true then when the"},{"text":"animation completes, the entity's value will be reset to the base value."},{"text":""},{"text":" - startsPaused: A Boolean that pauses the progress of an animation when"},{"text":"set to `true`."},{"text":""},{"text":" - clock: An optional clock to drive the animation with a custom"},{"text":"timescale."},{"text":""},{"text":" - Returns: An animation playback controller that you can use to start"},{"text":"and stop the animation."}]},"functionSignature":{"parameters":[{"name":"animation","declarationFragments":[{"kind":"identifier","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"blendLayerOffset","declarationFragments":[{"kind":"identifier","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"separateAnimatedValue","declarationFragments":[{"kind":"identifier","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"clock","declarationFragments":[{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6insert_11beforeIndexyAA0C0C_SitF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","insert(_:beforeIndex:)"],"names":{"title":"insert(_:beforeIndex:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity to this collection directly before the entity"},{"text":"at the given index. If the entity is already located before the index,"},{"text":"the collection will not change."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to add to the collection."},{"text":" - index: The index of an entity to insert in front"},{"text":" of. If `endIndex` is provided, the entity"},{"text":" will be appended."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"beforeIndex","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2id13materialIndexAESS_Sitcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","init(id:materialIndex:)"],"names":{"title":"init(id:materialIndex:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a new part."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation8BindPathV","interfaceLanguage":"swift"},"pathComponents":["BindPath"],"names":{"title":"BindPath","navigator":[{"kind":"identifier","spelling":"BindPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The components of a target's path that refer to the animation properties of"},{"text":"a nested scene or entity."},{"text":""},{"text":"The following code demonstrates bind target paths with varying numbers of"},{"text":"elements. For a multicomponent target, call the ``BindPath/Part``"},{"text":"enumeration for each component. The individual elements form the path's"},{"text":"resulting ``BindPath/parts`` array."},{"text":""},{"text":"```swift"},{"text":"// Single-component paths:"},{"text":"let target0: BindTarget = .transform"},{"text":"let target1: BindTarget = .jointTransforms"},{"text":"let target2: BindTarget = .parameter(\"myInt\")"},{"text":""},{"text":"// Relative entity path:"},{"text":"let target3: BindTarget = .entity(\"entityA\").entity(\"entityB\").parameter(\"myInt\")"},{"text":""},{"text":"// Root entity path:"},{"text":"let target4: BindTarget = .anchorEntity(\"entityA\").entity(\"entityB\").transform"},{"text":""},{"text":"// Scene path:"},{"text":"let target5: BindTarget = .scene(\"sceneA\").anchorEntity(\"entityA\").entity(\"entityB\").jointTransforms"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC5widthSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture’s width in pixels."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation7ContactV7impulseSfvp","interfaceLanguage":"swift"},"pathComponents":["Contact","impulse"],"names":{"title":"impulse","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Impulse, the force over time of the collision, in newton-seconds"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two blend weights are"},{"text":"equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The blend weight on the left side of the operator."},{"text":""},{"text":" - rhs: The blend weight on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the blend weights are equal. Otherwise,"},{"text":"returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC14generateSphere6radiusACSf_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateSphere(radius:)"],"names":{"title":"generateSphere(radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new sphere mesh with the specified radius."},{"text":""},{"text":"The sphere is centered at the entity’s origin."},{"text":""},{"text":"- Parameters:"},{"text":" - radius: The radius, in meters, of the sphere."},{"text":""},{"text":"- Returns: A sphere mesh."}]},"functionSignature":{"parameters":[{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateSphere"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6normalAC6NormalVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The normal map for the entity."},{"text":""},{"text":"_Normal mapping_ is a real-time rendering technique that captures fine"},{"text":"surface details for a model using a texture instead of increasing the"},{"text":"number of polygons in the model. It works by storing _surface normals_,"},{"text":"which are vectors perpendicular to the surface of the model, from a much"},{"text":"higher resolution version of the same 3D object. A normal map stores"},{"text":"each vector in the image by storing the vectors’ `X`, `Y`, and `Z`"},{"text":"values as the `R`, `G`, and `B` components of the corresponding pixel in"},{"text":"the UV-mapped image."},{"text":""},{"text":"If you provide a normal map, RealityKit uses the normals stored in the"},{"text":"image to do lighting calculations. This results in much more realistic"},{"text":"highlights, shadows, and reflections without incurring the computational"},{"text":"cost of using a much higher resolution 3D model. RealityKit uses"},{"text":"tangent-space normal maps."},{"text":""},{"text":"The following code loads a normal map texture and uses it to set this"},{"text":"property:"},{"text":""},{"text":"```swift"},{"text":"if let normalResource = try? TextureResource.load(named:"},{"text":"\"entity_normals\") {"},{"text":" let normalMap = MaterialParameters.Texture(normalResource)"},{"text":" material.normal = PhysicallyBasedMaterial.Normal(texture:normalMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normal","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6removeyyAA0C0CF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to remove from the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","Iterator"],"names":{"title":"QueryResult.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of iterator used for entity query results."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV08previousfG0AA0C18PlaybackControllerCAAE0fG0OSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ViewingModeDidChange","previousViewingMode"],"names":{"title":"previousViewingMode","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE9removeAll5whereySbAA0C0CKXE_tKF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","removeAll(where:)"],"names":{"title":"removeAll(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all entities from this collection that satisfy the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"shouldBeRemoved","declarationFragments":[{"kind":"identifier","spelling":"shouldBeRemoved"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"shouldBeRemoved"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to three additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:_:)-48buc`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:_:)-16rcy`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In the example below, ``Publisher/combineLatest(_:_:_:)-48buc`` receives input from any of the publishers, combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":" let pub4 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3, pub4)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":" pub4.send(1)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":" //"},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9, 1)."},{"text":" // Result: (3, 2, 9, 1)."},{"text":" // Result: (3, 12, 9, 1)."},{"text":" // Result: (13, 12, 9, 1)."},{"text":" // Result: (13, 12, 19, 1)."},{"text":""},{"text":"If any individual publisher of the combined set terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - publisher3: A fourth publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and three other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest4","preciseIdentifier":"s:7Combine10PublishersO0A7Latest4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV12orientToPathSbvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","orientToPath"],"names":{"title":"orientToPath","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the orbiting object updates its"},{"text":"orientation during the animation to orient itself along the rotation"},{"text":"path."},{"text":""},{"text":"The default value of this property is `false`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(of:)"],"names":{"title":"index(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5,"minor":0},"renamed":"firstIndex(of:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8semanticAC8SemanticOSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","semantic"],"names":{"title":"semantic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended usage of the texture resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic"],"names":{"title":"MeshBufferSemantic","navigator":[{"kind":"identifier","spelling":"MeshBufferSemantic"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferSemantic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A protocol that holds an identifier value for mesh buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferSemantic"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Identifiable","preciseIdentifier":"s:s12IdentifiableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE8isStaticSbvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","isStatic"],"names":{"title":"isStatic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStatic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the collider is static."},{"text":""},{"text":"When an object is static the physics engine recognizes that the object isn't moving, which typically improves performance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStatic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized with the given elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["EntityCollection","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all entities from this collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(position:to:)"],"names":{"title":"convert(position:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation7ContactV5points5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Contact","point"],"names":{"title":"point","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Point of contact in scene coordinate space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"point"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO5valueyACSfcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","value(_:)"],"names":{"title":"BlendWeight.value(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The numerical representation of the impact an animation has on an"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValueAEs5UInt8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes collisions flags from a raw value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation11BlendWeightO9parameteryACSS_SftcACmF","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","parameter(_:defaultWeight:)"],"names":{"title":"BlendWeight.parameter(_:defaultWeight:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of impact an animation has on a named parameter of an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"defaultWeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation14WorldComponentV","interfaceLanguage":"swift"},"pathComponents":["WorldComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:_:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from seven other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":" let pubH = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF, pubG, pubH)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1000)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":" pubH.send(1001)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 1000 2 50 100 -2 33 33 54 1001\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":" - h: An eighth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]},{"name":"h","declarationFragments":[{"kind":"identifier","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1},{"name":"H","index":6,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"},{"kind":"sameType","lhs":"G.Failure","rhs":"H.Failure"},{"kind":"sameType","lhs":"G.Output","rhs":"H.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"H"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"h"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge8","preciseIdentifier":"s:7Combine10PublishersO6Merge8V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"H"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"],"names":{"title":"handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Performs the specified closures when publisher events occur."},{"text":""},{"text":"Use ``Publisher/handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)`` when you want to examine elements as they progress through the stages of the publisher’s lifecycle."},{"text":""},{"text":"In the example below, a publisher of integers shows the effect of printing debugging information at each stage of the element-processing lifecycle:"},{"text":""},{"text":" let integers = (0...2)"},{"text":" cancellable = integers.publisher"},{"text":" .handleEvents(receiveSubscription: { subs in"},{"text":" print(\"Subscription: \\(subs.combineIdentifier)\")"},{"text":" }, receiveOutput: { anInt in"},{"text":" print(\"in output handler, received \\(anInt)\")"},{"text":" }, receiveCompletion: { _ in"},{"text":" print(\"in completion handler\")"},{"text":" }, receiveCancel: {"},{"text":" print(\"received cancel\")"},{"text":" }, receiveRequest: { (demand) in"},{"text":" print(\"received demand: \\(demand.description)\")"},{"text":" })"},{"text":" .sink { _ in return }"},{"text":""},{"text":" // Prints:"},{"text":" // received demand: unlimited"},{"text":" // Subscription: 0x7f81284734c0"},{"text":" // in output handler, received 0"},{"text":" // in output handler, received 1"},{"text":" // in output handler, received 2"},{"text":" // in completion handler"},{"text":""},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: An optional closure that executes when the publisher receives the subscription from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveOutput: An optional closure that executes when the publisher receives a value from the upstream publisher. This value defaults to `nil`."},{"text":" - receiveCompletion: An optional closure that executes when the upstream publisher finishes normally or terminates with an error. This value defaults to `nil`."},{"text":" - receiveCancel: An optional closure that executes when the downstream receiver cancels publishing. This value defaults to `nil`."},{"text":" - receiveRequest: An optional closure that executes when the publisher receives a request for more elements. This value defaults to `nil`."},{"text":"- Returns: A publisher that performs the specified closures when publisher events occur."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveCancel","declarationFragments":[{"kind":"identifier","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},{"name":"receiveRequest","declarationFragments":[{"kind":"identifier","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"handleEvents"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCancel"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveRequest"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"HandleEvents","preciseIdentifier":"s:7Combine10PublishersO12HandleEventsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setScale(_:relativeTo:)"],"names":{"title":"setScale(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the scale factor of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A new scale factor, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"scale","declarationFragments":[{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(direction:to:)"],"names":{"title":"convert(direction:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of the entity on which"},{"text":"you called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the source animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers"],"names":{"title":"MeshBuffers","navigator":[{"kind":"identifier","spelling":"MeshBuffers"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffers"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that holds the data for an model entity's mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffers"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryReduce(_:_:)"],"names":{"title":"tryReduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies an error-throwing closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/tryReduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on an error-throwing closure you provide."},{"text":"If the closure throws an error, the publisher fails and passes the error to its subscriber."},{"text":""},{"text":"In the example below, the publisher’s `0` element causes the `myDivide(_:_:)` function to throw an error and publish the result:"},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" var numbers: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" numbers.publisher"},{"text":" .tryReduce(numbers.first!, { accum, next in try myDivide(accum, next) })"},{"text":" .catch({ _ in Just(Double.nan) })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: An error-throwing closure that takes the previously-accumulated value and the next element from the upstream publisher to produce a new value."},{"text":""},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryReduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryReduce","preciseIdentifier":"s:7Combine10PublishersO9TryReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11QueryResultV12makeIteratorAC0F0Vyx_GyF","interfaceLanguage":"swift"},"pathComponents":["QueryResult","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns an iterator for the contained entities."},{"text":""},{"text":"- Returns: The iterator."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation11QueryResultV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","ArrayLiteralElement"],"names":{"title":"MeshModelCollection.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation7ContactV6normals5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["Contact","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The normal of the contacting surfaces at the contact point. The normal direction points from the"},{"text":"second shape to the first shape in scene coordinate space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV07currentfG0AA0C18PlaybackControllerCAAE0fG0OSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ViewingModeDidChange","currentViewingMode"],"names":{"title":"currentViewingMode","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"currentViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"currentViewingMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ViewingMode","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC17stopAllAnimations9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","stopAllAnimations(recursive:)"],"names":{"title":"stopAllAnimations(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAnimations"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops all playing of animations on this entity."},{"text":""},{"text":"- Parameters:"},{"text":"- recursive: Indicates whether to also stop animations on all"},{"text":"descendants of the entity."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stopAllAnimations"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV20fieldOfViewInDegreesSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","fieldOfViewInDegrees"],"names":{"title":"fieldOfViewInDegrees","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The camera’s total vertical field of view in degrees."},{"text":""},{"text":"This property contains the entire vertifical field of view for the"},{"text":"camera in degrees. The system automatically calculates the horizontal"},{"text":"field of view from this value to fit the aspect ratio of the device’s"},{"text":"screen."},{"text":""},{"text":"This property defaults to `60` degrees."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","ArrayLiteralElement"],"names":{"title":"CharacterControllerComponent.CollisionFlags.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV15triangleIndicesAA0C6BufferVys6UInt32VGSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","triangleIndices"],"names":{"title":"triangleIndices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleIndices","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Index buffer for triangles."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleIndices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleIndices","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(transform:from:)"],"names":{"title":"convert(transform:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of a reference entity to the local space of the entity on which"},{"text":"you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","init(mesh:materials:)"],"names":{"title":"init(mesh:materials:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a model component from a mesh and a collection of materials."},{"text":""},{"text":"- Parameters:"},{"text":" - mesh: The mesh that describes the shape of the model."},{"text":""},{"text":" - materials: Materials used to give the mesh a certain visual appearance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"mesh"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"materials"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Material","preciseIdentifier":"s:17RealityFoundation8MaterialP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setOrientation(_:relativeTo:)"],"names":{"title":"setOrientation(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the orientation of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - orientation: A new orientation, relative to `referenceEntity`."},{"text":""},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"orientation","declarationFragments":[{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE9removeAll5whereySbAA0C0CKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","removeAll(where:)"],"names":{"title":"removeAll(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all entities from this collection that satisfy the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"shouldBeRemoved","declarationFragments":[{"kind":"identifier","spelling":"shouldBeRemoved"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"shouldBeRemoved"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","interfaceLanguage":"swift"},"pathComponents":["NetworkCompatibilityToken","Compatibility","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","delay(for:tolerance:scheduler:options:)"],"names":{"title":"delay(for:tolerance:scheduler:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Delays delivery of all output to the downstream receiver by a specified amount of time on a particular scheduler."},{"text":""},{"text":"Use ``Publisher/delay(for:tolerance:scheduler:options:)`` when you need to delay the delivery of elements to a downstream by a specified amount of time."},{"text":""},{"text":"In this example, a publishes an event every second. The ``Publisher/delay(for:tolerance:scheduler:options:)`` operator holds the delivery of the initial element for 3 seconds (±0.5 seconds), after which each element is delivered to the downstream on the main run loop after the specified delay:"},{"text":""},{"text":" let df = DateFormatter()"},{"text":" df.dateStyle = .none"},{"text":" df.timeStyle = .long"},{"text":" cancellable = Timer.publish(every: 1.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .handleEvents(receiveOutput: { date in"},{"text":" print (\"Sending Timestamp \\'\\(df.string(from: date))\\' to delay()\")"},{"text":" })"},{"text":" .delay(for: .seconds(3), scheduler: RunLoop.main, options: .none)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \"\\n\") },"},{"text":" receiveValue: { value in"},{"text":" let now = Date()"},{"text":" print (\"At \\(df.string(from: now)) received Timestamp \\'\\(df.string(from: value))\\' sent: \\(String(format: \"%.2f\", now.timeIntervalSince(value))) secs ago\", terminator: \"\\n\")"},{"text":" }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Sending Timestamp '5:02:33 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:34 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:35 PM PDT' to delay()"},{"text":" // Sending Timestamp '5:02:36 PM PDT' to delay()"},{"text":" // At 5:02:36 PM PDT received Timestamp '5:02:33 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:37 PM PDT' to delay()"},{"text":" // At 5:02:37 PM PDT received Timestamp '5:02:34 PM PDT' sent: 3.00 secs ago"},{"text":" // Sending Timestamp '5:02:38 PM PDT' to delay()"},{"text":" // At 5:02:38 PM PDT received Timestamp '5:02:35 PM PDT' sent: 3.00 secs ago"},{"text":""},{"text":"The delay affects the delivery of elements and completion, but not of the original subscription."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The amount of time to delay."},{"text":" - tolerance: The allowed tolerance in delivering delayed events. The `Delay` publisher may deliver elements this much sooner or later than the interval specifies."},{"text":" - scheduler: The scheduler to deliver the delayed events."},{"text":" - options: Options relevant to the scheduler’s behavior."},{"text":"- Returns: A publisher that delays delivery of elements and completion to the downstream receiver."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"tolerance","declarationFragments":[{"kind":"identifier","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"?"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tolerance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Delay","preciseIdentifier":"s:7Combine10PublishersO5DelayV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","RawValue"],"names":{"title":"CharacterControllerComponent.CollisionFlags.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O8rawValues5UInt8Vvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC2IDa","interfaceLanguage":"swift"},"pathComponents":["Entity","ID"],"names":{"title":"Entity.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","orientation(relativeTo:)"],"names":{"title":"orientation(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the orientation of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The orientation of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValues5UInt8Vvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bitmask representation of the option set."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Iterator"],"names":{"title":"MeshModelCollection.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The base color as a UV Image map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16InternalBindPathV","interfaceLanguage":"swift"},"pathComponents":["InternalBindPath"],"names":{"title":"InternalBindPath","navigator":[{"kind":"identifier","spelling":"InternalBindPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InternalBindPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target for framework-provided properties."},{"text":""},{"text":"This structure defines a bind path for the ``BindTarget/internal(_:)`` case."},{"text":"As a reference to framework properties, this bind target hides its path. You"},{"text":"can, however, store and assign instances of this structure."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InternalBindPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","share()"],"names":{"title":"share()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Shares the output of an upstream publisher with multiple subscribers."},{"text":""},{"text":"The publisher returned by this operator supports multiple subscribers, all of whom receive unchanged elements and completion states from the upstream publisher."},{"text":""},{"text":" - Tip: ``Publishers/Share`` is effectively a combination of the ``Publishers/Multicast`` and ``PassthroughSubject`` publishers, with an implicit ``ConnectablePublisher/autoconnect()``."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator. It uses a ``Publisher/share()`` operator to share the same random number to each of two subscribers. This example uses a ``Publisher/delay(for:tolerance:scheduler:options:)`` operator only to prevent the first subscriber from exhausting the sequence publisher immediately; an asynchronous publisher wouldn’t need this."},{"text":""},{"text":" let pub = (1...3).publisher"},{"text":" .delay(for: 1, scheduler: DispatchQueue.main)"},{"text":" .map( { _ in return Int.random(in: 0...100) } )"},{"text":" .print(\"Random\")"},{"text":" .share()"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: (20)"},{"text":" // Stream 1 received: 20"},{"text":" // Stream 2 received: 20"},{"text":" // Random: receive value: (85)"},{"text":" // Stream 1 received: 85"},{"text":" // Stream 2 received: 85"},{"text":" // Random: receive value: (98)"},{"text":" // Stream 1 received: 98"},{"text":" // Stream 2 received: 98"},{"text":""},{"text":""},{"text":"Without the ``Publisher/share()`` operator, stream 1 receives three random values, followed by stream 2 receiving three different random values."},{"text":""},{"text":"Also note that ``Publishers/Share`` is a class rather than a structure like most other publishers. This means you can use this operator to create a publisher instance that uses reference semantics."},{"text":"- Returns: A class instance that shares elements received from its upstream to multiple subscribers."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"share"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Share","preciseIdentifier":"s:7Combine10PublishersO5ShareC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O8rawValueAGSgs5UInt8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation14AnimatableDataP","interfaceLanguage":"swift"},"pathComponents":["AnimatableData"],"names":{"title":"AnimatableData","navigator":[{"kind":"identifier","spelling":"AnimatableData"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimatableData"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A functionality specification that animatable data types adopt."},{"text":""},{"text":"The templated animation objects, for example ``BlendTreeAnimation``"},{"text":"``, determine that the type you specify for `Value` adopts this"},{"text":"protocol. The types that the framework accepts are: ``JointTransforms``,"},{"text":"``Transform``, ,"},{"text":","},{"text":","},{"text":","},{"text":", and"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimatableData"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV13rotationCountSfvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","rotationCount"],"names":{"title":"rotationCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of times to rotate the target entity before stopping."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV12makeIteratorAC0G0VyF","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Iterator","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV8IteratorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6insert_11beforeIndexyAA0C0C_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","insert(_:beforeIndex:)"],"names":{"title":"insert(_:beforeIndex:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity to this collection directly before the entity"},{"text":"at the given index. If the entity is already located before the index,"},{"text":"the collection will not change."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to add to the collection."},{"text":" - index: The index of an entity to insert in front"},{"text":" of. If `endIndex` is provided, the entity"},{"text":" will be appended."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"beforeIndex","internalName":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"beforeIndex"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O8RawValuea","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","RawValue"],"names":{"title":"VideoPlayerEvents.MediaTypeDidChange.MediaType.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AudioEvents","PlaybackCompleted","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The audio playback controller that triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioPlaybackController","preciseIdentifier":"s:17RealityFoundation23AudioPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Normal","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s normal map."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC13generatePlane5width5depth12cornerRadiusACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generatePlane(width:depth:cornerRadius:)"],"names":{"title":"generatePlane(width:depth:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new rectangle mesh with the specified dimensions in the"},{"text":"entity’s XZ-plane."},{"text":""},{"text":"The rectangle is centered at the entity’s origin and aligned with its x"},{"text":"and y axes. The surface normal points along the y-axis. The depth along"},{"text":"the y-axis is 0."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the rectangle along the x-axis."},{"text":""},{"text":" - depth: The depth, in meters, of the rectangle along the z-axis."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The rectangle mesh."},{"text":""}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNames4name15isScaleAnimated0l8RotationN00l11TranslationN04from2to2by8duration6timing0L8Additive10bindTarget10blendLayer10repeatMode8fillMode9trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SSS3bAESgA1_A1_SdAA0F14TimingFunctionVSbAA04BindX0OSgs5Int32VAA0F10RepeatModeOAA0F8FillModeVSdSgA13_A13_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(jointNames:name:isScaleAnimated:isRotationAnimated:isTranslationAnimated:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two configurations of the"},{"text":"given joints."},{"text":""},{"text":"- Parameters:"},{"text":" - jointNames: The names of the joints in the animated skeletal pose."},{"text":""},{"text":" - name: A unique name for the animation."},{"text":""},{"text":"- isScaleAnimated: A Boolean value that indicates whether that animation"},{"text":"interpolates changes to the target’s size."},{"text":""},{"text":"- isRotationAnimated: A Boolean value that indicates whether that"},{"text":"animation interpolates rotational changes."},{"text":""},{"text":"- isTranslationAnimated: A Boolean value that indicates whether that"},{"text":"animation interpolates changes to the target object’s position."},{"text":""},{"text":"- from: The state of the target object’s joints before the animation"},{"text":"starts."},{"text":""},{"text":"- to: The state of the target object’s joints after the animation"},{"text":"finishes."},{"text":""},{"text":"- by: An amount that increments the animated joints during the"},{"text":"animation."},{"text":""},{"text":" - duration: The total playback time."},{"text":""},{"text":" - timing: An option that determines the animation’s pace over time."},{"text":""},{"text":"- isAdditive: A Boolean value that indicates whether the animation"},{"text":"blends additively with concurrent animations."},{"text":""},{"text":"- bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":"- blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":"- trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":"- trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"- trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":"- offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":"- speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isScaleAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isRotationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"isTranslationAnimated"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV11faceCullingAA0E14ParameterTypesV04FaceG0Ovp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","faceCulling"],"names":{"title":"faceCulling","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A process in which the system specifies polygons to remove before"},{"text":"rendering a scene."},{"text":""},{"text":"To improve performance, RealityKit culls polygons, or faces, that it"},{"text":"determines won’t be visible. Discarding faces that aren’t part of the"},{"text":"final render elimininates the need to do any calculations for those"},{"text":"faces."},{"text":""},{"text":"RealityKit recognizes when a face aims toward the camera (a front face)"},{"text":"or away from the camera (a back face). This value controls the type of"},{"text":"faces RealityKit culls."},{"text":""},{"text":"This value defaults to ``MaterialParameterTypes/FaceCulling/back``,"},{"text":"which means RealityKit removes faces that point away from the camera."},{"text":"Most of the time, this is the correct behavior, because back faces are"},{"text":"usually obscured by other front-facing polygons."},{"text":""},{"text":"You can change the culling behavior to cull front faces instead or to"},{"text":"turn off face culling altogether, but be aware that turning off face"},{"text":"culling results in less efficient rendering and may negatively impact"},{"text":"your app’s frame rate."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceCulling"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","transformMatrix(relativeTo:)"],"names":{"title":"transformMatrix(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the 4 x 4 transform matrix of an entity relative to the given"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","scan(_:_:)"],"names":{"title":"scan(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms elements from the upstream publisher by providing the current"},{"text":"element to a closure along with the last value returned by the closure."},{"text":""},{"text":"Use ``Publisher/scan(_:_:)`` to accumulate all previously-published values into a single"},{"text":"value, which you then combine with each newly-published value."},{"text":""},{"text":"The following example logs a running total of all values received"},{"text":"from the sequence publisher."},{"text":""},{"text":" let range = (0...5)"},{"text":" cancellable = range.publisher"},{"text":" .scan(0) { return $0 + $1 }"},{"text":" .sink { print (\"\\($0)\", terminator: \" \") }"},{"text":" // Prints: \"0 1 3 6 10 15 \"."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The previous result returned by the `nextPartialResult` closure."},{"text":" - nextPartialResult: A closure that takes as its arguments the previous value returned by the closure and the next element emitted from the upstream publisher."},{"text":"- Returns: A publisher that transforms elements by applying a closure that receives its previous return value and the next element from the upstream publisher."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scan"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scan","preciseIdentifier":"s:7Combine10PublishersO4ScanV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements up to the specified maximum count."},{"text":""},{"text":"Use ``Publisher/prefix(_:)`` to limit the number of elements republished to the downstream subscriber."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(_:)`` operator limits its output to the first two elements before finishing normally:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .prefix(2)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to republish."},{"text":"- Returns: A publisher that publishes up to the specified number of elements."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output","preciseIdentifier":"s:7Combine10PublishersO6OutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO4fromAGs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE5ModelV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Model"],"names":{"title":"MeshResource.Model","navigator":[{"kind":"identifier","spelling":"Model"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Model"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A model consists of a list of parts."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Model"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure that collects each element of a stream and publishes a final result upon completion."},{"text":""},{"text":"Use ``Publisher/reduce(_:_:)`` to collect a stream of elements and produce an accumulated value based on a closure you provide."},{"text":""},{"text":"In the following example, the ``Publisher/reduce(_:_:)`` operator collects all the integer values it receives from its upstream publisher:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .reduce(0, { accum, next in accum + next })"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"55\""},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value that the closure receives the first time it’s called."},{"text":" - nextPartialResult: A closure that produces a new value by taking the previously-accumulated value and the next element it receives from the upstream publisher."},{"text":"- Returns: A publisher that applies the closure to all received elements and produces an accumulated value when the upstream publisher finishes. If ``Publisher/reduce(_:_:)`` receives an error from the upstream publisher, the operator delivers it to the downstream subscriber, the publisher terminates and publishes no value."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Reduce","preciseIdentifier":"s:7Combine10PublishersO6ReduceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4noneAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","none"],"names":{"title":"none","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"No collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV4near3far20fieldOfViewInDegreesACSf_S2ftcfc","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","init(near:far:fieldOfViewInDegrees:)"],"names":{"title":"init(near:far:fieldOfViewInDegrees:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new perspective camera component with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":"- near: The minimum distance in meters from the camera that the camera"},{"text":"can see."},{"text":""},{"text":"- far: The maximum distance in meters from the camera that the camera"},{"text":"can see."},{"text":""},{"text":" - fieldOfViewInDegrees: The camera’s field of view, given in degrees."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.01, "},{"kind":"externalParam","spelling":"far"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = .infinity, "},{"kind":"externalParam","spelling":"fieldOfViewInDegrees"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 60.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4sideAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","side"],"names":{"title":"side","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"side"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The side of capsule was hit when moving in the direction tangent to the up vector."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"side"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC13generatePlane5width6height12cornerRadiusACSf_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generatePlane(width:height:cornerRadius:)"],"names":{"title":"generatePlane(width:height:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new rectangle mesh with the specified dimensions in the"},{"text":"entity’s XY-plane."},{"text":""},{"text":"The rectangle is centered at the entity’s origin and aligned with its x"},{"text":"and y axes. The surface normal points along the z-axis. The depth along"},{"text":"the z-axis is 0."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the rectangle along the x-axis."},{"text":""},{"text":" - height: The height, in meters, of the rectangle along the y-axis."},{"text":""},{"text":" - cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The rectangle mesh."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generatePlane"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC6heightSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture’s height in pixels."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(normal:from:)"],"names":{"title":"convert(normal:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of a reference entity to"},{"text":"the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, specified"},{"text":"relative to specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation19MeshModelCollectionV7Elementa","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","Element"],"names":{"title":"MeshModelCollection.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the sequence's elements."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Model","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE5ModelV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s rate of"},{"text":"playback. A value of `2.0` plays the animation at twice the normal rate,"},{"text":"and a speed of `0.5` makes the animation finish after twice the normal"},{"text":"time. A negative value plays the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC22synchronizationServiceAA015SynchronizationE0_pSgvp","interfaceLanguage":"swift"},"pathComponents":["Scene","synchronizationService"],"names":{"title":"synchronizationService","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronizationService"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationService","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The service to use for network synchronization."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronizationService"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationService","preciseIdentifier":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO","interfaceLanguage":"swift"},"pathComponents":["BindTarget"],"names":{"title":"BindTarget","navigator":[{"kind":"identifier","spelling":"BindTarget"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindTarget"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to a particular scene, entity, or property that animates."},{"text":""},{"text":"This structure describes a reference to an animated property. The property"},{"text":"may be a transform, collection of joint transforms, an arbitrary named"},{"text":"property of an entity, or the property of a nested entity."},{"text":""},{"text":"For nested entities, the ``BindTarget/path(_:)`` case returns a ``BindPath``"},{"text":"instance that contains an array of _parts_ (``BindPath/Part``). Each part"},{"text":"identifies one or more nested, named entities or scenes, followed by the"},{"text":"property to animate."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindTarget"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange"],"names":{"title":"VideoPlayerEvents.ContentTypeDidChange","navigator":[{"kind":"identifier","spelling":"ContentTypeDidChange"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ContentTypeDidChange"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Content type changed event"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ContentTypeDidChange"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","orientation"],"names":{"title":"orientation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s rotation relative to its parent. To get the"},{"text":"world-space orientation of the entity, use"},{"text":"``HasTransform/orientation(relativeTo:)``, passing `nil` as the"},{"text":"reference entity."},{"text":""},{"text":"This is the same as the ``Transform/rotation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","drop(untilOutputFrom:)"],"names":{"title":"drop(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores elements from the upstream publisher until it receives an element from a second publisher."},{"text":""},{"text":"Use ``Publisher/drop(untilOutputFrom:)`` to ignore elements from the upstream publisher until another, second, publisher delivers its first element."},{"text":"This publisher requests a single value from the second publisher, and it ignores (drops) all elements from the upstream publisher until the second publisher produces a value. After the second publisher produces an element, ``Publisher/drop(untilOutputFrom:)`` cancels its subscription to the second publisher, and allows events from the upstream publisher to pass through."},{"text":""},{"text":"After this publisher receives a subscription from the upstream publisher, it passes through backpressure requests from downstream to the upstream publisher. If the upstream publisher acts on those requests before the other publisher produces an item, this publisher drops the elements it receives from the upstream publisher."},{"text":""},{"text":"In the example below, the `pub1` publisher defers publishing its elements until the `pub2` publisher delivers its first element:"},{"text":""},{"text":" let upstream = PassthroughSubject()"},{"text":" let second = PassthroughSubject()"},{"text":" cancellable = upstream"},{"text":" .drop(untilOutputFrom: second)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" upstream.send(1)"},{"text":" upstream.send(2)"},{"text":" second.send(\"A\")"},{"text":" upstream.send(3)"},{"text":" upstream.send(4)"},{"text":" // Prints \"3 4\""},{"text":""},{"text":"- Parameter publisher: A publisher to monitor for its first emitted element."},{"text":"- Returns: A publisher that drops elements from the upstream publisher until the `other` publisher produces a value."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropUntilOutput","preciseIdentifier":"s:7Combine10PublishersO15DropUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV3topAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","top"],"names":{"title":"top","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"top"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The top of capsule was hit when moving in the up direction."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"top"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC10findEntity5namedAA0E0CSgSS_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","findEntity(named:)"],"names":{"title":"findEntity(named:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Searches the scene’s anchor entity hierarchies for an entity with the"},{"text":"given name."},{"text":""},{"text":"The ``Scene/findEntity(named:)`` method conducts a depth-first,"},{"text":"recursive search over all of the scene’s entities for one whose"},{"text":"``Entity/name`` property matches the given name. The method returns the"},{"text":"first match. Entity names need not be unique."},{"text":""},{"text":"- Parameters:"},{"text":" - name: The name of the entity for which to search."},{"text":""},{"text":"- Returns: The first entity found with the given name, or `nil` if none"},{"text":"is found."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14ModelComponentV12boundsMarginSfvp","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","boundsMargin"],"names":{"title":"boundsMargin","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundsMargin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A margin applied to an entity’s bounding box that determines object"},{"text":"visibility."},{"text":""},{"text":"When determining which entities are currently visible, RealityKit tests"},{"text":"each entity’s bounding box to see if it overlaps with the camera’s field"},{"text":"of view (also known as the camera’s _frustum_). For efficiency, entities"},{"text":"with a bounding box that don’t overlap the camera’s frustum aren’t"},{"text":"rendered. Use this property to prevent RealityKit from incorrectly"},{"text":"culling entities that use a ``CustomMaterial`` with a geometry modifier"},{"text":"that moves vertices outside of the entity’s bounding box."},{"text":""},{"text":"RealityKit adds the value of `boundsMargin` to the bounding box before"},{"text":"determining which entities are visible."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"boundsMargin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","interfaceLanguage":"swift"},"pathComponents":["AudioEvents","PlaybackCompleted"],"names":{"title":"AudioEvents.PlaybackCompleted","navigator":[{"kind":"identifier","spelling":"PlaybackCompleted"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Audio playback completed."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PlaybackCompleted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(position:from:)"],"names":{"title":"convert(position:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of a reference entity to the"},{"text":"local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","load(contentsOf:withName:)"],"names":{"title":"load(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL."},{"text":""},{"text":"This method loads the image specified by `URL` and creates a texture"},{"text":"resource from it. The method blocks until it has loaded the image and"},{"text":"created the texture resource. RealityKit uses the resource name to"},{"text":"distinguish resources locally, and to match texture resources between networked"},{"text":"peers. Specify a unique name for each texture resource you load or"},{"text":"generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use"},{"text":"in network synchronization."},{"text":""},{"text":"- Returns: The loaded resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition"],"names":{"title":"AnimationDefinition","navigator":[{"kind":"identifier","spelling":"AnimationDefinition"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationDefinition"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The configuration, including target object, timeframe, and visual semantics,"},{"text":"of an animation."},{"text":""},{"text":"The framework adopts this protocol for several concrete animation objects,"},{"text":"such as ``FromToByAnimation``, ``SampledAnimation``, ``OrbitAnimation``,"},{"text":"``BlendTreeAnimation``, ``AnimationView``, and ``AnimationGroup``."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationDefinition"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","convert(direction:from:)"],"names":{"title":"convert(direction:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of a reference entity"},{"text":"to the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector specified relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartVyAA0C6BufferVy7ElementQzGSgxcAA0cF8SemanticRzluip","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The buffer for a given semantic. There can only be one buffer for any given ID."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"MeshBufferSemantic","rhsPrecise":"s:17RealityFoundation18MeshBufferSemanticP"}]},"declarationFragments":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"semantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"MeshBufferSemantic","preciseIdentifier":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","merge(with:)"],"names":{"title":"merge(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from another publisher of the same type, delivering an interleaved sequence of elements."},{"text":""},{"text":"- Parameter other: Another publisher of this publisher’s type."},{"text":"- Returns: A publisher that emits an event when either upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MergeMany","preciseIdentifier":"s:7Combine10PublishersO9MergeManyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PerspectiveCameraComponent","preciseIdentifier":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","flatMap(maxPublishers:_:)"],"names":{"title":"flatMap(maxPublishers:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from an upstream publisher into a new publisher up to a maximum number of publishers you specify."},{"text":""},{"text":"Combine‘s `flatMap(maxPublishers:_:)` operator performs a similar function to the operator in the Swift standard library, but turns the elements from one kind of publisher into a new publisher that is sent to subscribers. Use `flatMap(maxPublishers:_:)` when you want to create a new series of events for downstream subscribers based on the received value. The closure creates the new ``Publisher`` based on the received value. The new ``Publisher`` can emit more than one event, and successful completion of the new ``Publisher`` does not complete the overall stream. Failure of the new ``Publisher`` causes the overall stream to fail."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes `WeatherStation` elements. The `flatMap(maxPublishers:_:)` receives each element, creates a from it, and produces a new , which will publish the data loaded from that ."},{"text":""},{"text":" public struct WeatherStation {"},{"text":" public let stationID: String"},{"text":" }"},{"text":""},{"text":" var weatherPublisher = PassthroughSubject()"},{"text":""},{"text":" cancellable = weatherPublisher.flatMap { station -> URLSession.DataTaskPublisher in"},{"text":" let url = URL(string:\"https://weatherapi.example.com/stations/\\(station.stationID)/observations/latest\")!"},{"text":" return URLSession.shared.dataTaskPublisher(for: url)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { completion in"},{"text":" // Handle publisher completion (normal or error)."},{"text":" },"},{"text":" receiveValue: {"},{"text":" // Process the received data."},{"text":" }"},{"text":" )"},{"text":""},{"text":" weatherPublisher.send(WeatherStation(stationID: \"KSFO\")) // San Francisco, CA"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"EGLC\")) // London, UK"},{"text":" weatherPublisher.send(WeatherStation(stationID: \"ZBBB\")) // Beijing, CN"},{"text":""},{"text":"- Parameters:"},{"text":" - maxPublishers: Specifies the maximum number of concurrent publisher subscriptions, or ``Combine/Subscribers/Demand/unlimited`` if unspecified."},{"text":" - transform: A closure that takes an element as a parameter and returns a publisher that produces elements of that type."},{"text":"- Returns: A publisher that transforms elements from an upstream publisher into a publisher of that element’s type."}]},"functionSignature":{"parameters":[{"name":"maxPublishers","declarationFragments":[{"kind":"identifier","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1},{"name":"P","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"T","rhs":"P.Output"},{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"maxPublishers"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Demand","preciseIdentifier":"s:7Combine11SubscribersO6DemandV"},{"kind":"text","spelling":" = .unlimited, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FlatMap","preciseIdentifier":"s:7Combine10PublishersO7FlatMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setPosition(_:relativeTo:)"],"names":{"title":"setPosition(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the position of the entity relative to the given reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: A new position, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV4name8duration4axis14startTransform13spinClockwise12orientToPath13rotationCount10bindTarget10blendLayer10repeatMode04fillV010isAdditive9trimStart0Z3End0Z8Duration6offset5delay5speedACSS_Sds5SIMD3VySfGAA0I0VS2bSfAA04BindR0OSgs5Int32VAA0d6RepeatV0OAA0d4FillV0VSbSdSgA8_A8_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","init(name:duration:axis:startTransform:spinClockwise:orientToPath:rotationCount:bindTarget:blendLayer:repeatMode:fillMode:isAdditive:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(name:duration:axis:startTransform:spinClockwise:orientToPath:rotationCount:bindTarget:blendLayer:repeatMode:fillMode:isAdditive:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that revolves an entity around its origin."},{"text":""},{"text":"- Parameters:"},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - duration: The elapsed time for one complete rotation."},{"text":""},{"text":" - axis: A 3D vector that points in the direction of the axis around"},{"text":"which to rotate."},{"text":""},{"text":" - startTransform: The orbiting entity's beginning position."},{"text":""},{"text":" - spinClockwise: A Boolean value that indicates whether the object"},{"text":"orbits the center point in the clockwise direction."},{"text":""},{"text":" - orientToPath: A Boolean value that indicates whether the orbiting"},{"text":"object updates its orientation during the animation to orient itself"},{"text":"along the rotation path."},{"text":""},{"text":" - rotationCount: The number of times to rotate the target entity before"},{"text":"stopping."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .init(x: 0.0, y: 1.0, z: 0.0), "},{"kind":"externalParam","spelling":"startTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" = .identity, "},{"kind":"externalParam","spelling":"spinClockwise"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"orientToPath"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"rotationCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC10findEntity2idAA0E0CSgs6UInt64V_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","findEntity(id:)"],"names":{"title":"findEntity(id:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ID","preciseIdentifier":"s:17RealityFoundation6EntityC2IDa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns `Entity` with the given `Entity.ID` in the `Scene`."},{"text":"- Parameters:"},{"text":" - id: `Entity.ID` obtained from `Entity.id`"},{"text":"- Returns: `Entity` with the given `Entity.ID`, or `nil` if no such `Entity` is found in the `Scene`."},{"text":"- Note: This method uses efficient mapping from `Entity.ID` to `Entity`, not linear traversal of all Entities in the `Scene`."}]},"functionSignature":{"parameters":[{"name":"id","declarationFragments":[{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ID","preciseIdentifier":"s:17RealityFoundation6EntityC2IDa"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"findEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ID","preciseIdentifier":"s:17RealityFoundation6EntityC2IDa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setTransformMatrix(_:relativeTo:)"],"names":{"title":"setTransformMatrix(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the transform of the entity relative to the given reference entity"},{"text":"using a 4x4 matrix representation."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Setting a ``HasTransform/transform``"},{"text":"using a 4x4 matrix is therefore a lossy event that might result in"},{"text":"certain transformations, like shear, being dropped."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 transform matrix, given relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation13TextComponentV","interfaceLanguage":"swift"},"pathComponents":["TextComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO8additiveyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","additive"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.BlendMode.additive","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The source and destination colors are added together."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"additive"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV08previousG0AE0fG0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","previousType"],"names":{"title":"previousType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlayerEvents","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MediaTypeDidChange","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MediaType","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"previous media type"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"previousType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlayerEvents","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MediaTypeDidChange","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MediaType","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an unlit material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BlendMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BlendMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BlendMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BlendMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BlendMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BlendMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO5alphayA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","alpha"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.BlendMode.alpha","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"alpha"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The source and destination colors are blended by multiplying the source alpha value."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"alpha"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation15PortalComponentV","interfaceLanguage":"swift"},"pathComponents":["PortalComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC16mipmapLevelCountSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","mipmapLevelCount"],"names":{"title":"mipmapLevelCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapLevelCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of mipmaps contained in this texture."},{"text":""},{"text":"Mipmaps are additional copies of the same texture at different"},{"text":"resolutions. This property contains the number of different versions of"},{"text":"this texture, including the original-size version."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mipmapLevelCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO6opaqueyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","opaque"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.BlendMode.opaque","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The particle fully occludes anything drawn before it."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opaque"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.ClearcoatRoughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation"],"names":{"title":"FromToByAnimation","navigator":[{"kind":"identifier","spelling":"FromToByAnimation"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FromToByAnimation"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation that starts, stops, or increments by a specific value."},{"text":""},{"text":"To animate an entity or scene, this structure gradually changes a"},{"text":"parameter's value over time. You can specify a _from_ value, which"},{"text":"represents the animated property's initial value at the beginning of the"},{"text":"animation. You can also specify a _to_ value, which determines the value of"},{"text":"the property at the end of the animation. Alternatively, you can set a _by_"},{"text":"value. The framework adds the _by_ value to the property's initial state to"},{"text":"calculate the value at the end of the animation."},{"text":""},{"text":"To specify the property that this struct animates, define `bindTarget` in"},{"text":"the intializer,"},{"text":""},{"text":"``FromToByAnimation/init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)``."},{"text":""},{"text":"## Configure the Animation Inputs"},{"text":""},{"text":"This animation supports varying input combinations, which exhibit the"},{"text":"following behavior. When you specify:"},{"text":""},{"text":"- term A _from_ and _to_ value: The animation interpolates between _from_"},{"text":"and _to_, and ignores the _by_ value."},{"text":"- term A _from_ and _by_ value: The"},{"text":"animation interpolates between _from_ and the sum of _from_ and _by_."},{"text":"- term Only a _from_ value: The animation interpolates between _from_ and the"},{"text":"default source value."},{"text":"- term Only a _to_ value: The animation interpolates"},{"text":"between the default source value and _to_."},{"text":"- term A _to_ and _by_ value: The"},{"text":"animation starts at _by_ subtracted from _to _and completes at _to_."},{"text":"- term Only a _by_ value: The animation interpolates between the default source"},{"text":"value and the sum of default source value and _by_."},{"text":"- term No _from_, _to_, or _by_ value: The animation interpolates between"},{"text":"the default source value and the default target value."},{"text":""},{"text":"The default source value is the base value of the of animated property. If"},{"text":"multiple animations target the property, then the framework observes the"},{"text":"output of the previous animation as the subsequent animation's default"},{"text":"source value. The default target value is the base value of the animated"},{"text":"property."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FromToByAnimation"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"AnimatableData","preciseIdentifier":"s:17RealityFoundation14AnimatableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV18playbackControllerAA0ceH0Cvp","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents","PlaybackTerminated","playbackController"],"names":{"title":"playbackController","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation playback controller managing the animation that"},{"text":"triggered the event."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playbackController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV03newG0AE0fG0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","newType"],"names":{"title":"newType","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"newType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlayerEvents","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MediaTypeDidChange","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MediaType","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"new media type, can be same as previousType"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"newType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlayerEvents","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MediaTypeDidChange","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MediaType","preciseIdentifier":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use ContentTypeDidChange","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10repeatModeAA0e6RepeatG0Ovp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``BlendTreeAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``BlendTreeAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType"],"names":{"title":"VideoPlayerEvents.ContentTypeDidChange.ContentType","navigator":[{"kind":"identifier","spelling":"ContentType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ContentType"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ContentType"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount of specular for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV8fillModeAA0c4FillF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationView/offset``. - A range determined by"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation16EntityCollectionPAAE6appendyyAA0C0CF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the specified entity to the end of this collection."},{"text":""},{"text":"- Parameters:"},{"text":" - entity: The entity to add to the collection."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMap(_:)"],"names":{"title":"tryMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Transforms all elements from the upstream publisher with a provided error-throwing closure."},{"text":""},{"text":"Combine’s ``Publisher/tryMap(_:)`` operator performs a function similar to that of in the Swift standard library: it uses a closure to transform each element it receives from the upstream publisher. You use ``Publisher/tryMap(_:)`` to transform from one kind of element to another, and to terminate publishing when the map’s closure throws an error."},{"text":""},{"text":"The following example uses an array of numbers as the source for a collection based publisher. A ``Publisher/tryMap(_:)`` operator consumes each integer from the publisher and uses a dictionary to transform it from its Arabic numeral to a Roman equivalent, as a ."},{"text":"If the ``Publisher/tryMap(_:)``’s closure fails to look up a Roman numeral, it throws an error. The ``Publisher/tryMap(_:)`` operator catches this error and terminates publishing, sending a ``Subscribers/Completion/failure(_:)`` that wraps the error."},{"text":""},{"text":" struct ParseError: Error {}"},{"text":" func romanNumeral(from:Int) throws -> String {"},{"text":" let romanNumeralDict: [Int : String] ="},{"text":" [1:\"I\", 2:\"II\", 3:\"III\", 4:\"IV\", 5:\"V\"]"},{"text":" guard let numeral = romanNumeralDict[from] else {"},{"text":" throw ParseError()"},{"text":" }"},{"text":" return numeral"},{"text":" }"},{"text":" let numbers = [5, 4, 3, 2, 1, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMap { try romanNumeral(from: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"V IV III II I completion: failure(ParseError())\""},{"text":""},{"text":"If your closure doesn’t throw, use ``Publisher/map(_:)-99evh`` instead."},{"text":""},{"text":"- Parameter transform: A closure that takes one element as its parameter and returns a new element. If the closure throws an error, the publisher fails with the thrown error."},{"text":"- Returns: A publisher that uses the provided closure to map elements from the upstream publisher to new elements that it then publishes."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryMap","preciseIdentifier":"s:7Combine10PublishersO6TryMapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","firstRange(of:)"],"names":{"title":"firstRange(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the range of the first occurrence of a given collection"},{"text":"within this collection."},{"text":""},{"text":"- Parameter other: The collection to search for."},{"text":"- Returns: A range in the collection of the first occurrence of `sequence`."},{"text":"Returns nil if `sequence` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV15textureSemanticAA15TextureResourceC0I0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","BaseColor","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of this object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV6bottomAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","bottom"],"names":{"title":"bottom","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bottom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The bottom of capsule was hit when moving in the down direction."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bottom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13VideoMaterialV","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","Parameters"],"names":{"title":"VideoMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV10controllerAA0C18PlaybackControllerCvp","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","controller"],"names":{"title":"controller","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"controller"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that configures framework-specific video options."},{"text":""},{"text":"Use this property to configure AR-specific properties of the texture’s"},{"text":"video, such as whether the material should use spatial audio."},{"text":""},{"text":"The following example demonstrates enabling spatial audio for a video"},{"text":"material:"},{"text":""},{"text":"```swift"},{"text":"material.controller.audioInputMode = .spatial"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"controller"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoPlaybackController","preciseIdentifier":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV5sceneAA0C0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The updated scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","suffix(from:)"],"names":{"title":"suffix(from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the specified position to the end of the"},{"text":"collection."},{"text":""},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the suffix of the array starting at"},{"text":"that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.suffix(from: i))"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"Passing the collection's `endIndex` as the `start` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.suffix(from: numbers.endIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `suffix(from:)` method is equivalent to using a partial range"},{"text":"from the index as the collection's subscript. The subscript notation is"},{"text":"preferred over `suffix(from:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[i...])"},{"text":" }"},{"text":" // Prints \"[40, 50, 60]\""},{"text":""},{"text":"- Parameter start: The index at which to start the resulting subsequence."},{"text":" `start` must be a valid index of the collection."},{"text":"- Returns: A subsequence starting at the `start` position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","transformMatrix(relativeTo:)"],"names":{"title":"transformMatrix(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the 4 x 4 transform matrix of an entity relative to the given"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/max()`` to determine the maximum value in the stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/max()`` operator emits a value when the publisher finishes, that value is the maximum of the values received from upstream, which is `10`."},{"text":""},{"text":" let numbers = [0, 10, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .max()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV9isEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","isEnabled"],"names":{"title":"isEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Whether the component's entity is enabled for input."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and publishes a tuple upon receiving output from any of the publishers."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:_:)-5crqg`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To combine elements from multiple publishers, use ``Publisher/zip(_:_:)-8d7k7`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:_:)``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"In this example, three instances of ``PassthroughSubject`` emit values; as ``Publisher/combineLatest(_:_:)-5crqg`` receives input from any of the upstream publishers, it combines the latest value from each publisher into a tuple and publishes it:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(9)"},{"text":""},{"text":" pub.send(3)"},{"text":" pub2.send(12)"},{"text":" pub.send(13)"},{"text":" pub3.send(19)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2, 9)."},{"text":" // Result: (3, 2, 9)."},{"text":" // Result: (3, 12, 9)."},{"text":" // Result: (13, 12, 9)."},{"text":" // Result: (13, 12, 19)."},{"text":""},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to find the minimum value in a stream of elements from an upstream publisher."},{"text":""},{"text":"In the example below, the ``Publisher/min(by:)`` operator emits a value when the publisher finishes, that value is the minimum of the values received from upstream, which is `-1`."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .min()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"-1\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.associatedtype","displayName":"Associated Type"},"identifier":{"precise":"s:17RealityFoundation18MeshBufferSemanticP7ElementQa","interfaceLanguage":"swift"},"pathComponents":["MeshBufferSemantic","Element"],"names":{"title":"Element","subHeading":[{"kind":"keyword","spelling":"associatedtype"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"associatedtype"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC6anchorAA12HasAnchoring_pSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","anchor"],"names":{"title":"anchor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The nearest ancestor entity that can act as an anchor."},{"text":""},{"text":"This property returns `nil` if no ancestor can act as an anchor. An"},{"text":"entity can act as an anchor if it adopts the ``HasAnchoring`` protocol."},{"text":"Just because an ancestor can be anchored doesn’t mean that it is."},{"text":"Inspect the ``Entity/isAnchored`` property to see if an entity (or one"},{"text":"of its ancestors) is anchored."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subject to this publisher."},{"text":""},{"text":"- Parameter subject: The subject to attach to this publisher."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","Element"],"names":{"title":"CollisionComponent.CollisionOptions.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO4fromAGs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","prefix(through:)"],"names":{"title":"prefix(through:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection through the"},{"text":"specified position."},{"text":""},{"text":"The resulting subsequence *includes* the element at the position"},{"text":"specified by the `through` parameter."},{"text":"The following example searches for the index of the number `40` in an"},{"text":"array of integers, and then prints the prefix of the array up to, and"},{"text":"including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(through: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"Using the `prefix(through:)` method is equivalent to using a partial"},{"text":"closed range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(through:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[...i])"},{"text":" }"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter position: The index of the last element to include in the"},{"text":" resulting subsequence. `position` must be a valid index of the collection"},{"text":" that is not equal to the `endIndex` property."},{"text":"- Returns: A subsequence up to, and including, the given position."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"through","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"through"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(normal:from:)"],"names":{"title":"convert(normal:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of a reference entity to"},{"text":"the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, specified"},{"text":"relative to specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits the specified number of elements before republishing subsequent elements."},{"text":""},{"text":"Use ``Publisher/dropFirst(_:)`` when you want to drop the first `n` elements from the upstream publisher, and republish the remaining elements."},{"text":""},{"text":"The example below drops the first five elements from the stream:"},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"},{"text":" cancellable = numbers.publisher"},{"text":" .dropFirst(5)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"6 7 8 9 10 \""},{"text":""},{"text":"- Parameter count: The number of elements to omit. The default is `1`."},{"text":"- Returns: A publisher that doesn’t republish the first `count` elements."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drop","preciseIdentifier":"s:7Combine10PublishersO4DropV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation13VideoMaterialV","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name exported with USDz or Reality File asset"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial"],"names":{"title":"UnlitMaterial","navigator":[{"kind":"identifier","spelling":"UnlitMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"UnlitMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A simple material that doesn’t respond to lights in the scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"UnlitMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-8d7k7`` to return a new publisher that combines the elements from two additional publishers to publish a tuple to the downstream. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject``;"},{"text":"``Publisher/zip(_:_:)-8d7k7`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" zip output: (1, \"A\", \"😀\")"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub: zip output: (2, \"B\", \"🥰\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\")"},{"text":" // (2, \"B\", \"🥰\")"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21PhysicsMassPropertiesV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMassProperties"],"names":{"title":"PhysicsMassProperties","navigator":[{"kind":"identifier","spelling":"PhysicsMassProperties"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMassProperties"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mass properties of a physics body."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsMassProperties"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int16","preciseIdentifier":"s:s5Int16V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV15loadingStrategy10shouldLoop0I18RandomizeStartTime13normalization11calibration12mixGroupNameAeC07LoadingH0O_S2bAA0cE0CAAE13NormalizationVSgAoAE11CalibrationVSgSSSgtcfc","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","init(loadingStrategy:shouldLoop:shouldRandomizeStartTime:normalization:calibration:mixGroupName:)"],"names":{"title":"init(loadingStrategy:shouldLoop:shouldRandomizeStartTime:normalization:calibration:mixGroupName:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"shouldRandomizeStartTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"normalization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"calibration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"mixGroupName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a new instance of ``RealityFoundation/AudioFileResource/Configuration-swift.struct``."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"loadingStrategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LoadingStrategy","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"text","spelling":" = .preload, "},{"kind":"externalParam","spelling":"shouldLoop"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"shouldRandomizeStartTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"normalization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"calibration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Calibration","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"mixGroupName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV5widthSdvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","RelativeViewport","width"],"names":{"title":"width","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsVAEycfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV8entities8matching18updatingSystemWhenAA11QueryResultVyAA6EntityCGAA0mK0V_AA0iD9ConditionVtF","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext","entities(matching:updatingSystemWhen:)"],"names":{"title":"entities(matching:updatingSystemWhen:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"matching"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"updatingSystemWhen"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemUpdateCondition","preciseIdentifier":"s:17RealityFoundation21SystemUpdateConditionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns all entities which pass the ``QueryPredicate`` of the query."},{"text":""},{"text":"Calling this function can increase the rate at which the ``System.update``"},{"text":"function is called."},{"text":""},{"text":"- Parameters:"},{"text":" - query: The query identifying which entities should be updated."},{"text":" - condition: How often the ``System`` is updated (if the query is not empty)."},{"text":""},{"text":"- Returns: Entities matching the query. If ``condition`` is not met for"},{"text":"the current update, an empty result is returned."}]},"functionSignature":{"parameters":[{"name":"matching","internalName":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"}]},{"name":"updatingSystemWhen","internalName":"condition","declarationFragments":[{"kind":"identifier","spelling":"condition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemUpdateCondition","preciseIdentifier":"s:17RealityFoundation21SystemUpdateConditionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entities"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"matching"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"updatingSystemWhen"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"condition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemUpdateCondition","preciseIdentifier":"s:17RealityFoundation21SystemUpdateConditionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged"],"names":{"title":"SceneEvents.AnchoredStateChanged","navigator":[{"kind":"identifier","spelling":"AnchoredStateChanged"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoredStateChanged"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event invoked when the anchored state of an anchoring entity"},{"text":"changes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoredStateChanged"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO6staticyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","static"],"names":{"title":"PhysicsBodyMode.static","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`static`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The body never moves."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`static`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","NormalEncoding","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setOrientation(_:relativeTo:)"],"names":{"title":"setOrientation(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the orientation of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - orientation: A new orientation, relative to `referenceEntity`."},{"text":""},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"orientation","declarationFragments":[{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setOrientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode"],"names":{"title":"PhysicsBodyMode","navigator":[{"kind":"identifier","spelling":"PhysicsBodyMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ways that a physics body can move in response to physical forces."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsBodyMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE13playAnimation_18transitionDuration16blendLayerOffset21separateAnimatedValue12startsPaused5clock11handoffTypeAA0E18PlaybackControllerCAA0E8ResourceC_SdSiS2byXlSgAA0e7HandoffR0VtF","interfaceLanguage":"swift"},"pathComponents":["Entity","playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:handoffType:)"],"names":{"title":"playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:handoffType:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"handoffType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Plays an animation with the specified options."},{"text":""},{"text":"Call this method to play an animation and configure playback options."},{"text":"RealityKit supports blending up to two different animations at the same"},{"text":"time. When RealityKit applies multiple animations to an entity, the"},{"text":"order in which it applies the animations affects the final animation."},{"text":"Use the `blendLayerOffset` parameter to specify the order of animations"},{"text":"when playing multiple animations at the same time."},{"text":""},{"text":"- Parameters:"},{"text":" - animation: The animation to play."},{"text":""},{"text":" - transitionDuration: The duration in seconds over which the animation"},{"text":"fades in or cross-fades."},{"text":""},{"text":" - blendLayerOffset: An integer that specifies the order in which to"},{"text":"apply animations when more than one animation is playing."},{"text":""},{"text":" - separateAnimatedValue: When set to false, this value indicates that the"},{"text":"animation will write directly to the entity's base value. When set to true,"},{"text":"this value indicates that the animation will write to an interim value for"},{"text":"the duration of the animation. If this value is set to true then when the"},{"text":"animation completes, the entity's value will be reset to the base value."},{"text":""},{"text":" - startsPaused: A Boolean that pauses the progress of an animation when"},{"text":"set to `true`."},{"text":""},{"text":" - clock: An optional clock to drive the animation with a custom"},{"text":"timescale."},{"text":""},{"text":" - handoffType: Type of handoff behavior between a currently-playing animation"},{"text":"and the new animation. Defaults to `.snapshotAndReplace(applyToAllLayers: true)`."},{"text":""},{"text":" - Returns: An animation playback controller that you can use to start"},{"text":"and stop the animation."}]},"functionSignature":{"parameters":[{"name":"animation","declarationFragments":[{"kind":"identifier","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},{"name":"transitionDuration","declarationFragments":[{"kind":"identifier","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"blendLayerOffset","declarationFragments":[{"kind":"identifier","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"separateAnimatedValue","declarationFragments":[{"kind":"identifier","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"startsPaused","declarationFragments":[{"kind":"identifier","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"clock","declarationFragments":[{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"?"}]},{"name":"handoffType","declarationFragments":[{"kind":"identifier","spelling":"handoffType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"playAnimation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"animation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"transitionDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"blendLayerOffset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"separateAnimatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"startsPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"handoffType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationHandoffType","preciseIdentifier":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16OpacityComponentV","interfaceLanguage":"swift"},"pathComponents":["OpacityComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV0G0a","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","Iterator"],"names":{"title":"Entity.ChildCollection.IndexingIterator.Iterator","navigator":[{"kind":"identifier","spelling":"Iterator"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that provides the sequence's iteration interface and"},{"text":"encapsulates its iteration state."}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Iterator"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Clearcoat.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, after it finishes."},{"text":""},{"text":"Use ``Publisher/min(by:)`` to determine the minimum value in the stream of elements from an upstream publisher using a comparison operation you specify."},{"text":""},{"text":"This operator is useful when the value received from the upstream publisher isn’t ."},{"text":""},{"text":"In the example below an array publishes enumeration elements representing playing card ranks. The ``Publisher/min(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the minimum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .king]"},{"text":" cancellable = cards.publisher"},{"text":" .min {"},{"text":" return $0.rawValue < $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"ace\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","ignoreOutput()"],"names":{"title":"ignoreOutput()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Ignores all upstream elements, but passes along the upstream publisher's completion state (finished or failed)."},{"text":""},{"text":"Use the ``Publisher/ignoreOutput()`` operator to determine if a publisher is able to complete successfully or would fail."},{"text":""},{"text":"In the example below, the array publisher (`numbers`) delivers the first five of its elements successfully, as indicated by the ``Publisher/ignoreOutput()`` operator. The operator consumes, but doesn’t republish the elements downstream. However, the sixth element, `0`, causes the error throwing closure to catch a `NoZeroValuesAllowedError` that terminates the stream."},{"text":""},{"text":" struct NoZeroValuesAllowedError: Error {}"},{"text":" let numbers = [1, 2, 3, 4, 5, 0, 6, 7, 8, 9]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter({ anInt in"},{"text":" guard anInt != 0 else { throw NoZeroValuesAllowedError() }"},{"text":" return anInt < 20"},{"text":" })"},{"text":" .ignoreOutput()"},{"text":" .sink(receiveCompletion: {print(\"completion: \\($0)\")},"},{"text":" receiveValue: {print(\"value \\($0)\")})"},{"text":""},{"text":" // Prints: \"completion: failure(NoZeroValuesAllowedError())\""},{"text":""},{"text":"The output type of this publisher is ."},{"text":""},{"text":"- Returns: A publisher that ignores all upstream elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ignoreOutput"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"IgnoreOutput","preciseIdentifier":"s:7Combine10PublishersO12IgnoreOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO4fromAEs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO9kinematicyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","kinematic"],"names":{"title":"PhysicsBodyMode.kinematic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"kinematic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The user controls body movement."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"kinematic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(transform:from:)"],"names":{"title":"convert(transform:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of a reference entity to the local space of the entity on which"},{"text":"you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a color or texture."},{"text":""},{"text":"In PBR rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. This initializer creates a new object"},{"text":"from a single value to describe the reflectiveness of the entire"},{"text":"material. This initializer creates a new object from a single value"},{"text":"or a grayscale image texture, or from both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `metallic` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, then RealityKit uses `scale` as the entire entity’s"},{"text":"reflectiveness. If you provide a color image for `texture` rather"},{"text":"than a grayscale image, RealityKit only uses the intensity of the"},{"text":"image’s red channel."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The"},{"text":"sphere on the left is shiny but dielecric so doesn’t reflect the"},{"text":"surrounding environment other than specular highlights from the"},{"text":"visible light. The sphere on the right is metallic and reflects all"},{"text":"of the surrounding environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-Metallic-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The reflectiveness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The unique identifier of this skeleton. This acts as a stable identity for this object."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update"],"names":{"title":"SceneEvents.Update","navigator":[{"kind":"identifier","spelling":"Update"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Update"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An event invoked once per frame interval that you can use to execute"},{"text":"custom logic for each frame."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Update"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV7Elementa","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","Element"],"names":{"title":"Entity.ChildCollection.IndexingIterator.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of element traversed by the iterator."}]},"swiftGenerics":{"parameters":[{"name":"Elements","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Elements"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO7dynamicyA2CmF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","dynamic"],"names":{"title":"PhysicsBodyMode.dynamic","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dynamic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Forces and collisions control body movement."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dynamic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsBodyMode","preciseIdentifier":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17OcclusionMaterialV","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial"],"names":{"title":"OcclusionMaterial","navigator":[{"kind":"identifier","spelling":"OcclusionMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OcclusionMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An invisible material that hides objects rendered behind it."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OcclusionMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","ArrayLiteralElement"],"names":{"title":"CollisionComponent.CollisionOptions.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from single value."},{"text":""},{"text":"In PBR rendering, the `metallic` property represents the"},{"text":"reflectiveness of an entity. This initializer creates a new object"},{"text":"from a single value to describe the reflectiveness of the entire"},{"text":"material. A value of 0.0 creates a _dielectric_ (or non-reflective)"},{"text":"material. Values greater than 0.0 result in an increasingly"},{"text":"_metallic_ (or reflective) materials."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The"},{"text":"sphere on the left is shiny but dielecric so doesn’t reflect the"},{"text":"surrounding environment other than specular highlights from the"},{"text":"visible light. The sphere on the right is metallic and reflects all"},{"text":"of the surrounding environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-Metallic-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"- Parameters:"},{"text":" - value: The reflectiveness value for the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","orientation(relativeTo:)"],"names":{"title":"orientation(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the orientation of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The orientation of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","prefix(untilOutputFrom:)"],"names":{"title":"prefix(untilOutputFrom:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements until another publisher emits an element."},{"text":""},{"text":"After the second publisher publishes an element, the publisher returned by this method finishes."},{"text":""},{"text":"- Parameter publisher: A second publisher."},{"text":"- Returns: A publisher that republishes elements until the second publisher publishes an element."}]},"functionSignature":{"parameters":[{"name":"untilOutputFrom","internalName":"publisher","declarationFragments":[{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"untilOutputFrom"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixUntilOutput","preciseIdentifier":"s:7Combine10PublishersO17PrefixUntilOutputV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","Element"],"names":{"title":"AccessibilityComponent.SupportedActions.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"that don't contain elements satisfying the given predicate."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(maxSplits: 1, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == \" \" }))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the collection satisfying the `isSeparator`"},{"text":" predicate. The default value is `true`."},{"text":" - isSeparator: A closure that takes an element as an argument and"},{"text":" returns a Boolean value indicating whether the collection should be"},{"text":" split at that element."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidReparentEntity"],"names":{"title":"SceneEvents.DidReparentEntity","navigator":[{"kind":"identifier","spelling":"DidReparentEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidReparentEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity has been reparented within the same scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidReparentEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO13increasingAgeyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","increasingAge"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.SortOrder.increasingAge","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increasingAge"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emitted more recently are rendered before particles emitted earlier."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increasingAge"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13UnlitMaterialV","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Parameters"],"names":{"title":"UnlitMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV16TriangleFillModea","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","TriangleFillMode"],"names":{"title":"VideoMaterial.TriangleFillMode","navigator":[{"kind":"identifier","spelling":"TriangleFillMode"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","ArrayLiteralElement"],"names":{"title":"AccessibilityComponent.SupportedActions.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","DepthPass"],"names":{"title":"ModelSortGroup.DepthPass","navigator":[{"kind":"identifier","spelling":"DepthPass"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DepthPass"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines when the depth of the models in this group are drawn relative to their color."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DepthPass"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll25preservingWorldTransformsySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","removeAll(preservingWorldTransforms:)"],"names":{"title":"removeAll(preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO12decreasingIDyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","decreasingID"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.SortOrder.decreasingID","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decreasingID"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles with higher IDs are rendered first"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decreasingID"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int16","rhsPrecise":"s:s5Int16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV5sceneAA0C0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The updating scene."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``FromToByAnimation/trimStart`` instead and choose a"},{"text":"``FromToByAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillRemoveEntity"],"names":{"title":"SceneEvents.WillRemoveEntity","navigator":[{"kind":"identifier","spelling":"WillRemoveEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemoveEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised before an entity is removed from the scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillRemoveEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO13decreasingAgeyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","decreasingAge"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.SortOrder.decreasingAge","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decreasingAge"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emitted earlier are rendered before particles emitted more recently."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decreasingAge"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from two other publishers and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-9yqi1`` to return a new publisher that combines the elements from two other publishers using a transformation you specify to publish a new value to the downstream subscriber. The returned publisher waits until all three publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, `numbersPub`, `lettersPub` and `emojiPub` are each a ``PassthroughSubject`` that emit values; ``Publisher/zip(_:_:_:)-9yqi1`` receives the oldest value from each publisher and uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` and `emojiPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(letters, emoji) { anInt, aLetter, anEmoji in"},{"text":" (\"\\(String(repeating: anEmoji, count: anInt)) \\(String(repeating: aLetter, count: anInt))\")"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub:\"😀\" zip output: \"😀 A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: emojiPub:\"😀\", \"🥰\" zip output: \"🥰🥰 BB\""},{"text":""},{"text":" // Prints:"},{"text":" // 😀 A"},{"text":" // 🥰🥰 BB"},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from three upstream publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip3","preciseIdentifier":"s:7Combine10PublishersO4Zip3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV8rawValueAESu_tcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setTransformMatrix(_:relativeTo:)"],"names":{"title":"setTransformMatrix(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the transform of the entity relative to the given reference entity"},{"text":"using a 4x4 matrix representation."},{"text":""},{"text":"The ``Transform`` component can’t represent all transforms that a"},{"text":"general 4x4 matrix can represent. Setting a ``HasTransform/transform``"},{"text":"using a 4x4 matrix is therefore a lossy event that might result in"},{"text":"certain transformations, like shear, being dropped."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 transform matrix, given relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setTransformMatrix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO15decreasingDepthyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","decreasingDepth"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.SortOrder.decreasingDepth","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decreasingDepth"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles closer to camera are rendered first"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decreasingDepth"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","RawValue"],"names":{"title":"CollisionComponent.CollisionOptions.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15PhysicsBodyModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsySayACG_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","replaceAll(_:preservingWorldTransforms:)"],"names":{"title":"replaceAll(_:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity and adds the specified list of entities as the new"},{"text":"children."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The list of the new children."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"]"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO15increasingDepthyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","increasingDepth"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.SortOrder.increasingDepth","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increasingDepth"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles further from camera are rendered first."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increasingDepth"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillDeactivateEntity"],"names":{"title":"SceneEvents.WillDeactivateEntity","navigator":[{"kind":"identifier","spelling":"WillDeactivateEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivateEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised before an entity becomes inactive."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WillDeactivateEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:)"],"names":{"title":"combineLatest(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and invokes a closure upon receiving output from either publisher."},{"text":""},{"text":"Use `combineLatest(_:)` to combine the current and one additional publisher and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by the two publishers, it multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2) { (first, second) in"},{"text":" return first * second"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(9)"},{"text":" pub1.send(3)"},{"text":" pub2.send(12)"},{"text":" pub1.send(13)"},{"text":" //"},{"text":" // Prints:"},{"text":" //Result: 4. (pub1 latest = 2, pub2 latest = 2)"},{"text":" //Result: 18. (pub1 latest = 9, pub2 latest = 2)"},{"text":" //Result: 6. (pub1 latest = 3, pub2 latest = 2)"},{"text":" //Result: 36. (pub1 latest = 3, pub2 latest = 12)"},{"text":" //Result: 156. (pub1 latest = 13, pub2 latest = 12)"},{"text":""},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher to combine with this one."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21AmbientAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent"],"names":{"title":"AmbientAudioComponent","navigator":[{"kind":"identifier","spelling":"AmbientAudioComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientAudioComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configure ambient rendering of sounds from an entity."},{"text":""},{"text":"Ambient audio sources emit each channel of an audio resource from an angle projected from the entity, without reverberation. Ambient"},{"text":"audio sources take into account the relative orientation of the source and the listener. Position is not taken into account; the channels"},{"text":"do not get louder as the user moves toward them."},{"text":""},{"text":"The audio resource's front channels (e.g., mono, center) are projected into the entity's -Z direction, with the rear channels projected"},{"text":"into +Z. The left channels are laid out in -X and the right channels are laid out in +X."},{"text":""},{"text":"```swift"},{"text":"let entity = Entity()"},{"text":"let resource = try AudioFileResource.load(named: \"MyAudioFile\")"},{"text":"entity.ambientAudio = AmbientAudioComponent()"},{"text":"entity.playAudio(resource)"},{"text":"```"},{"text":""},{"text":"The `AmbientAudioComponent` allows you to set the overall level of all sounds played from the entity with the `gain` property,"},{"text":"in relative Decibels, in the range `-.infinity ... .zero` where `-infinity` is silent and `.zero` is nominal."},{"text":""},{"text":"```swift"},{"text":"entity.ambientAudio?.gain = -10"},{"text":"```"},{"text":""},{"text":"Ambient audio sources are well suited to play back multichannel content which captures the acoustics of its originating environment in"},{"text":"the recording process (e.g., multichannel field recordings of outdoor environments)."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AmbientAudioComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation13UnlitMaterialV","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name exported with USDz or Reality File asset"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV16triangleFillModeAA0D14ParameterTypesV08TrianglefG0Ovp","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","triangleFillMode"],"names":{"title":"triangleFillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoMaterial","preciseIdentifier":"s:17RealityFoundation13VideoMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation13VideoMaterialV16TriangleFillModea"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that controls how RealityKit draws triangles."},{"text":""},{"text":"A value of ``RealityKit/MaterialParameterTypes.trianglefillmode.fill`` causes RealityKit"},{"text":"to draw triangles normally, while a value of ``RealityKit/MaterialParameterTypes.trianglefillmode.lines``"},{"text":"turns on wireframe rendering."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"VideoMaterial","preciseIdentifier":"s:17RealityFoundation13VideoMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation13VideoMaterialV16TriangleFillModea"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO12increasingIDyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","increasingID"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.SortOrder.increasingID","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increasingID"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles with lower IDs are rendered first"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increasingID"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV8rawValueSuvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryLast(where:)"],"names":{"title":"tryLast(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies an error-throwing predicate closure, after the stream finishes."},{"text":""},{"text":"Use ``Publisher/tryLast(where:)`` when you need to republish the last element that satisfies an error-throwing closure you specify. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a publisher emits the last element that satisfies the error-throwing closure, then finishes normally:"},{"text":""},{"text":" struct RangeError: Error {}"},{"text":""},{"text":" let numbers = [-62, 1, 6, 10, 9, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryLast {"},{"text":" guard 0 != 0 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":" // Prints: \"5 completion: finished\""},{"text":" // If instead the numbers array had contained a `0`, the `tryLast` operator would terminate publishing with a RangeError.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryLastWhere","preciseIdentifier":"s:7Combine10PublishersO12TryLastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV9instancesAA0C18InstanceCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","instances"],"names":{"title":"instances","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"instances"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of instances."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"instances"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshInstanceCollection","preciseIdentifier":"s:17RealityFoundation22MeshInstanceCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO5worldyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","world"],"names":{"title":"ParticleEmitterComponent.BirthDirection.world","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"world"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Ignores the orientation from the emitter entity's transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"world"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV6heightSdvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","RelativeViewport","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidActivateEntity"],"names":{"title":"SceneEvents.DidActivateEntity","navigator":[{"kind":"identifier","spelling":"DidActivateEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivateEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity becomes active."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidActivateEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueSivp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO5localyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","local"],"names":{"title":"ParticleEmitterComponent.BirthDirection.local","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Emit direction is relative to the orientation of the emitter entity's transform."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"local"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(position:from:)"],"names":{"title":"convert(position:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of a reference entity to the"},{"text":"local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position specified relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","RawValue"],"names":{"title":"AccessibilityComponent.SupportedActions.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","orientation"],"names":{"title":"orientation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The rotation of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s rotation relative to its parent. To get the"},{"text":"world-space orientation of the entity, use"},{"text":"``HasTransform/orientation(relativeTo:)``, passing `nil` as the"},{"text":"reference entity."},{"text":""},{"text":"This is the same as the ``Transform/rotation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"orientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO6normalyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","normal"],"names":{"title":"ParticleEmitterComponent.BirthDirection.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The emitting direction for each particle is along the surface normal vector at the point where the particle is emitted."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the collection, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the collection are not returned as part"},{"text":"of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \"))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the collection, or"},{"text":" one less than the number of subsequences to return. If"},{"text":" `maxSplits + 1` subsequences are returned, the last one is a suffix"},{"text":" of the original collection containing the remaining elements."},{"text":" `maxSplits` must be greater than or equal to zero. The default value"},{"text":" is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the collection and for each instance of `separator` at"},{"text":" the start or end of the collection. If `true`, only nonempty"},{"text":" subsequences are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this collection's"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. Use this initializer to"},{"text":"create an object to specify the amount of clearcoat for a material"},{"text":"using a single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The clearcoat value to use for the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation17OcclusionMaterialV","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","Parameters"],"names":{"title":"OcclusionMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthDirection","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthDirection","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthDirection","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthDirection","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthDirection","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthDirection","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidAddEntity"],"names":{"title":"SceneEvents.DidAddEntity","navigator":[{"kind":"identifier","spelling":"DidAddEntity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAddEntity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Raised after an entity is added to the scene."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DidAddEntity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","replaceAll(_:preservingWorldTransforms:)"],"names":{"title":"replaceAll(_:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity and adds the specified list of entities as the new"},{"text":"children."},{"text":""},{"text":"- Parameters:"},{"text":" - children: The list of the new children."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"children","declarationFragments":[{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"superclass","lhs":"S.Element","rhs":"Entity","rhsPrecise":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAll"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setPosition(_:relativeTo:)"],"names":{"title":"setPosition(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the position of the entity relative to the given reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: A new position, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setPosition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxVAAEyACSo8SPRect3Dacfc","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Rect3D","preciseIdentifier":"c:@SA@SPRect3D"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rect3D"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Rect3D","preciseIdentifier":"c:@SA@SPRect3D"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SortOrder","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SortOrder","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SortOrder","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SortOrder","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SortOrder","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SortOrder","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation17OcclusionMaterialV","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name exported with USDz or Reality File asset"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO6linearyA2CmF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","linear"],"names":{"title":"TweenMode.linear","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates that a keyframe changes to the next gradually."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a clearcoat object using a single value or a texture."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights"},{"text":"used to simulate a clear transparent coating, like the paint on a"},{"text":"car, or the surface of lacquered objects. Use this initializer to"},{"text":"create an object to specify the amount of clearcoat for a material"},{"text":"using a single value for the entire material, a UV-mapped image to"},{"text":"specify different values for different parts of the entity, or both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the clearcoat"},{"text":"intensity for the entity by UV-mapping `texture` onto the entity and"},{"text":"multiplying the value of each mapped pixel by `scale`. If you don’t"},{"text":"specify `texture`, then RealityKit uses `scale` as the entire"},{"text":"entity’s clearcoat intensity value. If you provide a color image for"},{"text":"`texture` rather than a grayscale image, RealityKit only uses the"},{"text":"intensity of the image’s red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The clearcoat value for the entire material."},{"text":""},{"text":"- texture: The clearcoat values as the texture of a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO8unsortedyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","unsorted"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.SortOrder.unsorted","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unsorted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles are not sorted; they may be rendered in any order."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"unsorted"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Metallic.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt8","rhsPrecise":"s:s5UInt8V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14PortalMaterialV16triangleFillModeAA0D14ParameterTypesV08TrianglefG0Ovp","interfaceLanguage":"swift"},"pathComponents":["PortalMaterial","triangleFillMode"],"names":{"title":"triangleFillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PortalMaterial","preciseIdentifier":"s:17RealityFoundation14PortalMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation14PortalMaterialV16TriangleFillModea"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that controls how RealityKit draws triangles."},{"text":""},{"text":"A value of ``RealityKit/MaterialParameterTypes.trianglefillmode.fill`` causes RealityKit"},{"text":"to draw triangles normally, while a value of ``RealityKit/MaterialParameterTypes.trianglefillmode.lines``"},{"text":"turns on wireframe rendering."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PortalMaterial","preciseIdentifier":"s:17RealityFoundation14PortalMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation14PortalMaterialV16TriangleFillModea"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV4noneAEvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","none"],"names":{"title":"none","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO4holdyA2CmF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hold"],"names":{"title":"TweenMode.hold","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hold"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that indicates a keyframe changes to the next abruptly."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hold"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(direction:from:)"],"names":{"title":"convert(direction:from:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of a reference entity"},{"text":"to the local space of the entity on which you called this method."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector specified relative to `referenceEntity`."},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector given in the local space of the entity."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueAESi_tcfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceNil(with:)"],"names":{"title":"replaceNil(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces nil elements in the stream with the provided element."},{"text":""},{"text":"The ``Publisher/replaceNil(with:)`` operator enables replacement of `nil` values in a stream with a substitute value. In the example below, a collection publisher contains a nil value. The ``Publisher/replaceNil(with:)`` operator replaces this with `0.0`."},{"text":""},{"text":" let numbers: [Double?] = [1.0, 2.0, nil, 3.0]"},{"text":" numbers.publisher"},{"text":" .replaceNil(with: 0.0)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"Optional(1.0) Optional(2.0) Optional(0.0) Optional(3.0)\""},{"text":""},{"text":"- Parameter output: The element to use when replacing `nil`."},{"text":"- Returns: A publisher that replaces `nil` elements from the upstream publisher with the provided element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Output","rhs":"T?","rhsPrecise":"s:Sq"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceNil"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO7defaultyA2EmF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","default"],"names":{"title":"CollisionComponent.Mode.default","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default collision object."},{"text":""},{"text":"When two objects of this type collide, RealityKit computes the full"},{"text":"contact details (contact points, normal vectors, penetration depths,"},{"text":"and so on) and stores them in the contact set."},{"text":""},{"text":"@note Collisions will fall through and do not collide by default, to"},{"text":" enable colliding see the `.colliding` mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(transform:to:)"],"names":{"title":"convert(transform:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts the scale, rotation, and position of a transform from the local"},{"text":"space of the entity on which you called this method to the local space"},{"text":"of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: The transform given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The transform specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV9deltaTimeSdvp","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext","deltaTime"],"names":{"title":"deltaTime","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of seconds elapsed since the last update."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","position(relativeTo:)"],"names":{"title":"position(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the position of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":"- referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position of the entity relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","first(matchingCategory:)"],"names":{"title":"first(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds and returns the first tag matching the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO7triggeryA2EmF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","trigger"],"names":{"title":"CollisionComponent.Mode.trigger","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trigger"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A trigger collision object."},{"text":""},{"text":"When a collision object of this type collides with any other object,"},{"text":"RealityKit records that contact was made, but does not compute other"},{"text":"details, like contact points, normal vectors, and so on. This makes"},{"text":"a trigger object more performant when all you need is a Boolean"},{"text":"indicator that contact occurred."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trigger"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"simd_quatf","rhsPrecise":"c:@SA@simd_quatf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8activateAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","activate"],"names":{"title":"activate","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to activate itself."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"activate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","eraseToAnyPublisher()"],"names":{"title":"eraseToAnyPublisher()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Wraps this publisher with a type eraser."},{"text":""},{"text":"Use ``Publisher/eraseToAnyPublisher()`` to expose an instance of ``AnyPublisher`` to the downstream subscriber, rather than this publisher’s actual type."},{"text":"This form of _type erasure_ preserves abstraction across API boundaries, such as different modules."},{"text":"When you expose your publishers as the ``AnyPublisher`` type, you can change the underlying implementation over time without affecting existing clients."},{"text":""},{"text":"The following example shows two types that each have a `publisher` property. `TypeWithSubject` exposes this property as its actual type, ``PassthroughSubject``, while `TypeWithErasedSubject` uses ``Publisher/eraseToAnyPublisher()`` to expose it as an ``AnyPublisher``. As seen in the output, a caller from another module can access `TypeWithSubject.publisher` as its native type. This means you can’t change your publisher to a different type without breaking the caller. By comparison, `TypeWithErasedSubject.publisher` appears to callers as an ``AnyPublisher``, so you can change the underlying publisher type at will."},{"text":""},{"text":" public class TypeWithSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" }"},{"text":" public class TypeWithErasedSubject {"},{"text":" public let publisher: some Publisher = PassthroughSubject()"},{"text":" .eraseToAnyPublisher()"},{"text":" }"},{"text":""},{"text":" // In another module:"},{"text":" let nonErased = TypeWithSubject()"},{"text":" if let subject = nonErased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast nonErased.publisher.\")"},{"text":" }"},{"text":" let erased = TypeWithErasedSubject()"},{"text":" if let subject = erased.publisher as? PassthroughSubject {"},{"text":" print(\"Successfully cast erased.publisher.\")"},{"text":" }"},{"text":""},{"text":" // Prints \"Successfully cast nonErased.publisher.\""},{"text":""},{"text":"- Returns: An ``AnyPublisher`` wrapping this publisher."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"eraseToAnyPublisher"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"AnyPublisher","preciseIdentifier":"s:7Combine12AnyPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["TweenMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV6jointsSayAE5JointVGvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","joints"],"names":{"title":"joints","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joints"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The joints which define this skeleton's hierarchy."},{"text":""},{"text":"> Note: The order of joints in this array is significant. Parents must precede children."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"joints"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Skeleton","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Joint","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE21defaultAnimationClockyXlvp","interfaceLanguage":"swift"},"pathComponents":["Entity","defaultAnimationClock"],"names":{"title":"defaultAnimationClock","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultAnimationClock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the default animation clock for this entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultAnimationClock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO10IdentifierV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Identifier"],"names":{"title":"MeshBuffers.Identifier","navigator":[{"kind":"identifier","spelling":"Identifier"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Identifier"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20AnimationHandoffTypeV","interfaceLanguage":"swift"},"pathComponents":["AnimationHandoffType"],"names":{"title":"AnimationHandoffType","navigator":[{"kind":"identifier","spelling":"AnimationHandoffType"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationHandoffType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of handoff the play animation method performs between a current animation and a new animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationHandoffType"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation9TweenModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TweenMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType"],"names":{"title":"CollisionCastQueryType","navigator":[{"kind":"identifier","spelling":"CollisionCastQueryType"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastQueryType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The kinds of ray and convex shape cast queries that you can make."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastQueryType"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO14quickFadeInOutyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","quickFadeInOut"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.OpacityCurve.quickFadeInOut","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quickFadeInOut"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quickFadeInOut"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO5floatyACSfcACmF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","float(_:)"],"names":{"title":"MaterialScalarParameter.float(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A scalar, single-precision value."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"float"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","look(at:from:upVector:relativeTo:)"],"names":{"title":"look(at:from:upVector:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions and orients the entity to look at a target from a given"},{"text":"position."},{"text":""},{"text":"You can use this method on any entity, but it’s particularly useful for"},{"text":"orienting cameras and lights to aim at a particular point in space."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The target position to look at."},{"text":""},{"text":" - position: The new position of the entity."},{"text":""},{"text":" - upVector: The up direction of the entity after moving."},{"text":""},{"text":" - relativeTo: The entity that defines a frame of reference. Set this to"},{"text":"`nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"upVector","declarationFragments":[{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(0, 1, 0), "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll12keepCapacity25preservingWorldTransformsySb_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","removeAll(keepCapacity:preservingWorldTransforms:)"],"names":{"title":"removeAll(keepCapacity:preservingWorldTransforms:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all children from this entity."},{"text":""},{"text":"- Parameters:"},{"text":" - keepCapacity: `true` to keep the memory reserved for storing the children."},{"text":" `false` to free the reserved memory."},{"text":" - preservingWorldTransform: `true` to preserve the world transform. `false` to"},{"text":" preserve the relative transform. (Use `true` if the"},{"text":" entities should keep its effective location and size in"},{"text":" the scene!)"}]},"functionSignature":{"parameters":[{"name":"keepCapacity","declarationFragments":[{"kind":"identifier","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"preservingWorldTransforms","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"keepCapacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"preservingWorldTransforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV7originX0H1Y5width6heightAGSd_S3dtcfc","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","RelativeViewport","init(originX:originY:width:height:)"],"names":{"title":"init(originX:originY:width:height:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"originX"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"originY"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"originX"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"originY"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO9collidingyA2EmF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","colliding"],"names":{"title":"CollisionComponent.Mode.colliding","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colliding"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An environmental collision object."},{"text":""},{"text":"Enabling this flag allows collision objects to interact with dynamic"},{"text":"rigid bodies without requiring an extra physicsBody component."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colliding"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO10easeFadeInyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","easeFadeIn"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.OpacityCurve.easeFadeIn","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeFadeIn"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeFadeIn"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationSpace"],"names":{"title":"ParticleEmitterComponent.SimulationSpace","navigator":[{"kind":"identifier","spelling":"SimulationSpace"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimulationSpace"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for particle simulation space"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimulationSpace"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat roughness specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Int32","rhsPrecise":"s:s5Int32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO11easeFadeOutyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","easeFadeOut"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.OpacityCurve.easeFadeOut","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeFadeOut"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeFadeOut"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","VisualizationMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO13linearFadeOutyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","linearFadeOut"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.OpacityCurve.linearFadeOut","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearFadeOut"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearFadeOut"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO7textureyAcA15TextureResourceCcACmF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","texture(_:)"],"names":{"title":"MaterialScalarParameter.texture(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A one-channel texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9incrementAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","increment"],"names":{"title":"increment","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increment"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to increment the value of its content."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"increment"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s position relative to its parent. To get the"},{"text":"world-space position of the entity in the scene, use"},{"text":"``HasTransform/position(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/translation`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO12linearFadeInyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","linearFadeIn"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.OpacityCurve.linearFadeIn","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearFadeIn"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearFadeIn"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASfRszrlE6framesSaySfGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point values in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of `Float` values."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","firstValue(matchingCategory:)"],"names":{"title":"firstValue(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Finds the first tag matching the specified category and returns the value of the matching tag."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO16gradualFadeInOutyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","gradualFadeInOut"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.OpacityCurve.gradualFadeInOut","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gradualFadeInOut"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gradualFadeInOut"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO12floatLiteralACSf_tcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a scalar parameter from a floating-point literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(position:to:)"],"names":{"title":"convert(position:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a position from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - position: The position given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The position specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer"],"names":{"title":"MeshBuffer","navigator":[{"kind":"identifier","spelling":"MeshBuffer"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mesh buffer containing elements of any type."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBuffer"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMin(by:)"],"names":{"title":"tryMin(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the minimum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMin(by:)`` to determine the minimum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMin(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" numbers.publisher"},{"text":" .tryMin { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first < second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":"- Returns: A publisher that publishes the minimum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMin"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","firstIndex(of:)"],"names":{"title":"firstIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `firstIndex(of:)` to find the position of a particular element"},{"text":"in a collection, you can use it to access the element by subscripting."},{"text":"This example shows how you can modify one of the names in an array of"},{"text":"students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\"]"},{"text":" if let i = students.firstIndex(of: \"Maxime\") {"},{"text":" students[i] = \"Max\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The first index where `element` is found. If `element` is not"},{"text":" found in the collection, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4ModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO14integerLiteralACSi_tcfc","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a scalar parameter from an integer literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO8constantyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","constant"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.OpacityCurve.constant","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"constant"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"constant"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two scalar parameters are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first scalar parameter to compare."},{"text":""},{"text":" - rhs: The second scalar parameter to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scalar parameters"},{"text":"are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt16","preciseIdentifier":"s:s6UInt16V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided ordering closure."},{"text":""},{"text":"Use ``Publisher/max(by:)`` to determine the maximum value of elements received from the upstream publisher based on an ordering closure you specify."},{"text":""},{"text":"In the example below, an array publishes enumeration elements representing playing card ranks. The ``Publisher/max(by:)`` operator compares the current and next elements using the `rawValue` property of each enumeration value in the user supplied closure and prints the maximum value found after publishing all of the elements."},{"text":""},{"text":" enum Rank: Int {"},{"text":" case ace = 1, two, three, four, five, six, seven, eight, nine, ten, jack, queen, king"},{"text":" }"},{"text":""},{"text":" let cards: [Rank] = [.five, .queen, .ace, .eight, .jack]"},{"text":" cancellable = cards.publisher"},{"text":" .max {"},{"text":" return $0.rawValue > $1.rawValue"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"queen\""},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A closure that receives two elements and returns true if they’re in increasing order."},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Comparison","preciseIdentifier":"s:7Combine10PublishersO10ComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","firstIndex(where:)"],"names":{"title":"firstIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index in which an element of the collection satisfies"},{"text":"the given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. Here's an example that finds a student name that"},{"text":"begins with the letter \"A\":"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.firstIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Abena starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the first element for which `predicate` returns"},{"text":" `true`. If no elements in the collection satisfy the given predicate,"},{"text":" returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OpacityCurve","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OpacityCurve","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OpacityCurve","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OpacityCurve","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OpacityCurve","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OpacityCurve","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV07allowedC5TypesAC0C4TypeVvp","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","allowedInputTypes"],"names":{"title":"allowedInputTypes","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allowedInputTypes"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The set of input types this component's entity can receive."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allowedInputTypes"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO4fromAEs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthDirection","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(direction:to:)"],"names":{"title":"convert(direction:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a direction vector from the local space of the entity on which"},{"text":"you called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - direction: The direction vector given in the local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The direction vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Format","ColorSpace","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:_:_:)"],"names":{"title":"combineLatest(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to two additional publishers and invokes a closure upon receiving output from any of the publishers."},{"text":""},{"text":"Use `combineLatest(_:,_:)` to combine the current and two additional publishers and transform them using a closure you specify to publish a new value to the downstream."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t `.unlimited`, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":"All upstream publishers need to finish for this publisher to finish. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":"If any of the combined publishers terminates with a failure, this publisher also fails."},{"text":""},{"text":"In the example below, `combineLatest()` receives the most-recent values published by three publishers, multiplies them together, and republishes the result:"},{"text":""},{"text":" let pub = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":" let pub3 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub"},{"text":" .combineLatest(pub2, pub3) { firstValue, secondValue, thirdValue in"},{"text":" return firstValue * secondValue * thirdValue"},{"text":" }"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub.send(1)"},{"text":" pub.send(2)"},{"text":" pub2.send(2)"},{"text":" pub3.send(10)"},{"text":""},{"text":" pub.send(9)"},{"text":" pub3.send(4)"},{"text":" pub2.send(12)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: 40. // pub = 2, pub2 = 2, pub3 = 10"},{"text":" // Result: 180. // pub = 9, pub2 = 2, pub3 = 10"},{"text":" // Result: 72. // pub = 9, pub2 = 2, pub3 = 4"},{"text":" // Result: 432. // pub = 9, pub2 = 12, pub3 = 4"},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher to combine with the first publisher."},{"text":" - publisher2: A third publisher to combine with the first publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that receives and combines elements from this publisher and two other publishers."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"T","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest3","preciseIdentifier":"s:7Combine10PublishersO0A7Latest3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType"],"names":{"title":"InputTargetComponent.InputType","navigator":[{"kind":"identifier","spelling":"InputType"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InputType"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type of input that the `InputTargetComponent`'s entity can receive."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"InputType"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","setScale(_:relativeTo:)"],"names":{"title":"setScale(_:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Sets the scale factor of the entity relative to the given reference"},{"text":"entity."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: A new scale factor, relative to `referenceEntity`."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"scale","declarationFragments":[{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setScale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9decrementAEvpZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","decrement"],"names":{"title":"decrement","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decrement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Tells the entity to decrement the value of its content."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"decrement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryMax(by:)"],"names":{"title":"tryMax(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the maximum value received from the upstream publisher, using the provided error-throwing closure to order the items."},{"text":""},{"text":"Use ``Publisher/tryMax(by:)`` to determine the maximum value of elements received from the upstream publisher using an error-throwing closure you specify."},{"text":""},{"text":"In the example below, an array publishes elements. The ``Publisher/tryMax(by:)`` operator executes the error-throwing closure that throws when the `first` element is an odd number, terminating the publisher."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [0, 10, 6, 13, 22, 22]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryMax { first, second -> Bool in"},{"text":" if (first % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return first > second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: completion: failure(IllegalValueError())"},{"text":""},{"text":"After this publisher receives a request for more than 0 items, it requests unlimited items from its upstream publisher."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A throwing closure that receives two elements and returns `true` if they’re in increasing order. If this closure throws, the publisher terminates with a ``Subscribers/Completion/failure(_:)``."},{"text":""},{"text":"- Returns: A publisher that publishes the maximum value received from the upstream publisher, after the upstream publisher finishes."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryMax"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryComparison","preciseIdentifier":"s:7Combine10PublishersO13TryComparisonV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation33CharacterControllerStateComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect(_:options:)"],"names":{"title":"collect(_:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects elements by a given time-grouping strategy, and emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:options:)`` to emit arrays of elements on a schedule specified by a ``Scheduler`` and `Stride` that you provide. At the end of each scheduled interval, the publisher sends an array that contains the items it collected. If the upstream publisher finishes before filling the buffer, the publisher sends an array that contains items it received. This may be fewer than the number of elements specified in the requested `Stride`."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"The example above collects timestamps generated on a one-second in groups (`Stride`) of five."},{"text":""},{"text":" let sub = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .collect(.byTime(RunLoop.main, .seconds(5)))"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\\n\") }"},{"text":""},{"text":" // Prints: \"[2020-01-24 00:54:46 +0000, 2020-01-24 00:54:47 +0000,"},{"text":" // 2020-01-24 00:54:48 +0000, 2020-01-24 00:54:49 +0000,"},{"text":" // 2020-01-24 00:54:50 +0000]\""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - strategy: The timing group strategy used by the operator to collect and publish elements."},{"text":" - options: Scheduler options to use for the strategy."},{"text":"- Returns: A publisher that collects elements by a given strategy, and emits a single array of the collection."}]},"functionSignature":{"parameters":[{"name":"strategy","declarationFragments":[{"kind":"identifier","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TimeGroupingStrategy","preciseIdentifier":"s:7Combine10PublishersO20TimeGroupingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByTime","preciseIdentifier":"s:7Combine10PublishersO13CollectByTimeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO8onUpdateyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","onUpdate"],"names":{"title":"ParticleEmitterComponent.SpawnOccasion.onUpdate","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"onUpdate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The spawned effect starts on every tick of the engine."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"onUpdate"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","ID"],"names":{"title":"MeshResource.Skeleton.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:_:)"],"names":{"title":"zip(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from three other publishers and delivers groups of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:_:_:)-16rcy`` to return a new publisher that combines the elements from three other publishers to publish a tuple to the downstream subscriber. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber."},{"text":""},{"text":"In this example, several ``PassthroughSubject`` instances emit values; ``Publisher/zip(_:_:_:)-16rcy`` receives the oldest unconsumed value from each publisher and combines them into a tuple that it republishes to the downstream:"},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" let emojiPub = PassthroughSubject()"},{"text":" let fractionsPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub, emojiPub, fractionsPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.1) // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" emojiPub: fractionsPub: 0.1 zip output: "},{"text":" emojiPub.send(\"😀\") // numbersPub: 2,3 lettersPub: \"A\" emojiPub: \"😀\" fractionsPub: 0.1 zip output: (1, \"A\", \"😀\", 0.1)"},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: zip output: "},{"text":" fractionsPub.send(0.8) // numbersPub: 2,3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: "},{"text":" emojiPub.send(\"🥰\") // numbersPub: 3 lettersPub: \"B\" emojiPub: fractionsPub: 0.8 zip output: (2, \"B\", \"🥰\", 0.8)"},{"text":" // Prints:"},{"text":" // (1, \"A\", \"😀\", 0.1)"},{"text":" // (2, \"B\", \"🥰\", 0.8)"},{"text":""},{"text":""},{"text":"If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher."},{"text":""},{"text":"- Parameters:"},{"text":" - publisher1: A second publisher."},{"text":" - publisher2: A third publisher."},{"text":" - publisher3: A fourth publisher."},{"text":"- Returns: A publisher that emits groups of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"publisher1","declarationFragments":[{"kind":"identifier","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"publisher2","declarationFragments":[{"kind":"identifier","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"}]},{"name":"publisher3","declarationFragments":[{"kind":"identifier","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"Q","index":1,"depth":1},{"name":"R","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"},{"kind":"sameType","lhs":"P.Failure","rhs":"Q.Failure"},{"kind":"sameType","lhs":"Q.Failure","rhs":"R.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"publisher3"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip4","preciseIdentifier":"s:7Combine10PublishersO4Zip4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Q"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SimulationState"],"names":{"title":"ParticleEmitterComponent.SimulationState","navigator":[{"kind":"identifier","spelling":"SimulationState"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimulationState"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for the particle simulation state, used by the `simulationState` property."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimulationState"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO7onBirthyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","SpawnOccasion","onBirth"],"names":{"title":"ParticleEmitterComponent.SpawnOccasion.onBirth","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"onBirth"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The spawned effect starts at the birth time of a main particle."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"onBirth"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","interfaceLanguage":"swift"},"pathComponents":["HasTransform","scale(relativeTo:)"],"names":{"title":"scale(relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets the scale of an entity relative to the given entity."},{"text":""},{"text":"- Parameters:"},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""}]},"functionSignature":{"parameters":[{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the scalar parameter by feeding them"},{"text":"into the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scalar parameter."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","convert(normal:to:)"],"names":{"title":"convert(normal:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Converts a normal vector from the local space of the entity on which you"},{"text":"called this method to the local space of a reference entity."},{"text":""},{"text":"- Parameters:"},{"text":" - normal: A vector perpendicular to a surface at a point, given in the"},{"text":" local space of the entity."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":"- Returns: The normal vector specified relative to `referenceEntity`."}]},"functionSignature":{"parameters":[{"name":"normal","declarationFragments":[{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE08registerC0yyFZ","interfaceLanguage":"swift"},"pathComponents":["System","registerSystem()"],"names":{"title":"registerSystem()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerSystem"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a system with RealityKit."},{"text":""},{"text":"Calling this method informs RealityKit of a system of defined behavior"},{"text":"for its scenes. RealityKit automatically creates an instance of all"},{"text":"registered systems for every scene and calls every registered system’s"},{"text":"``System/update(context:)-3d0qz`` method every frame."},{"text":""},{"text":"If you call ``System/registerSystem()`` multiple times, RealityKit"},{"text":"ignores additional calls after the first."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerSystem"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The clearcoat roughness specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","FloatLiteralType"],"names":{"title":"MaterialScalarParameter.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt16","rhsPrecise":"s:s6UInt16V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAASdRszrlE6framesSaySdGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of double-precision values in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of `Double` values."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","values"],"names":{"title":"values","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncPublisher","preciseIdentifier":"s:7Combine14AsyncPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"The elements produced by the publisher, as an asynchronous sequence."},{"text":""},{"text":"This property provides an ``AsyncPublisher``, which allows you to use the Swift `async`-`await` syntax to receive the publisher's elements. Because ``AsyncPublisher`` conforms to , you iterate over its elements with a `for`-`await`-`in` loop, rather than attaching a subscriber."},{"text":""},{"text":"The following example shows how to use the `values` property to receive elements asynchronously. The example adapts a code snippet from the ``Publisher/filter(_:)`` operator's documentation, which filters a sequence to only emit even integers. This example replaces the ``Subscribers/Sink`` subscriber with a `for`-`await`-`in` loop that iterates over the ``AsyncPublisher`` provided by the `values` property."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" let filtered = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":""},{"text":" for await number in filtered.values"},{"text":" {"},{"text":" print(\"\\(number)\", terminator: \" \")"},{"text":" }"},{"text":""}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"values"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AsyncPublisher","preciseIdentifier":"s:7Combine14AsyncPublisherV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation14HasPhysicsBodyP","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsBody"],"names":{"title":"HasPhysicsBody","navigator":[{"kind":"identifier","spelling":"HasPhysicsBody"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsBody"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that enables physics simulations based on the rules of"},{"text":"Newtonian mechanics."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsBody"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasCollision","preciseIdentifier":"s:17RealityFoundation12HasCollisionP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation26ModelDebugOptionsComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent"],"names":{"title":"ModelDebugOptionsComponent","navigator":[{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that changes how RealityKit renders its entity to help with"},{"text":"debugging."},{"text":""},{"text":"Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells"},{"text":"RealityKit to change the way it renders that entity based on a specified"},{"text":"``ModelDebugOptionsComponent/visualizationMode-swift.property``. This"},{"text":"component isolates individual parts of the rendering process, such as the"},{"text":"entity’s transparency or roughness, and displays surface color to help"},{"text":"identify visual anomalies."},{"text":""},{"text":"To use this component, create a `ModelDebugOptionsComponent` and set its"},{"text":"``ModelDebugOptionsComponent/visualizationMode-swift.property`` to the"},{"text":"desired value. Then, set the component as the entity’s"},{"text":"``ModelEntity/modelDebugOptions`` property:"},{"text":""},{"text":"```swift"},{"text":"if let robot = anchor.findEntity(named: \"Robot\") as? ModelEntity {"},{"text":" let component = ModelDebugOptionsComponent(visualizationMode: .normal)"},{"text":" robot.modelDebugOptions = component"},{"text":"}"},{"text":"```"},{"text":""},{"text":"For more information on the visualization modes supported by"},{"text":"`ModelDebugOptionsComponent`, see"},{"text":"``ModelDebugOptionsComponent/VisualizationMode-swift.enum``."},{"text":""},{"text":"## Attach a Debug Component to an Entity"},{"text":""},{"text":"To attach a debug component to a particular entity, traverse the entity tree"},{"text":"while passing the component to each child:"},{"text":""},{"text":"```swift"},{"text":"// Traverse the entity tree to attach a certain debug mode through components."},{"text":"func attachDebug(entity: Entity, debug:"},{"text":"ModelDebugOptionsComponent) {"},{"text":" entity.components.set(debug)"},{"text":" for child in entity.children {"},{"text":" attachDebug(entity: child, debug: debug)"},{"text":" }"},{"text":"}"},{"text":"// Respond to a button or UI element. func"},{"text":"debugLightingDiffuseButtonCallback() {"},{"text":" let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" attachDebug(entity: model, debug: debugComponent)"},{"text":"}"},{"text":"```"},{"text":""},{"text":"## Attach a Debug Component to a Trait"},{"text":""},{"text":"To attach a debug component based on a trait, traverse the entity tree while"},{"text":"checking for ``HasModel`` adoption:"},{"text":""},{"text":"```swift"},{"text":"func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent)"},{"text":"{"},{"text":" if let model = entity as? ModelEntity {"},{"text":" model.visualizationMode = debug"},{"text":" }"},{"text":" for child in entity.children {"},{"text":" attachDebug(entity: child, debug: debug)"},{"text":" }"},{"text":"}"},{"text":"// Respond to a button or UI element. func"},{"text":"debugLightingDiffuseButtonCallback() {"},{"text":" let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse)"},{"text":" attachDebug(entity: model, debug: debugComponent)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ModelDebugOptionsComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO18IntegerLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter","IntegerLiteralType"],"names":{"title":"MaterialScalarParameter.IntegerLiteralType","navigator":[{"kind":"identifier","spelling":"IntegerLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IntegerLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents an integer literal."},{"text":""},{"text":"The standard library integer and floating-point types are all valid types"},{"text":"for `IntegerLiteralType`."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"IntegerLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Skeleton","Joint"],"names":{"title":"MeshResource.Skeleton.Joint","navigator":[{"kind":"identifier","spelling":"Joint"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Joint"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A named joint in a ``Skeleton``."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Joint"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup"],"names":{"title":"CollisionGroup","navigator":[{"kind":"identifier","spelling":"CollisionGroup"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionGroup"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bitmask used to define the collision group to which an entity belongs."},{"text":""},{"text":"You use collision groups along with ``CollisionFilter`` to define custom"},{"text":"collision properties for entities in your scene and controlling which"},{"text":"entities collide wit which other entities. By default, all entities that"},{"text":"participate in the physics simulation collide with all other participating"},{"text":"entities. There are times, however, when you need certain entities to not"},{"text":"collide with certain other entities, and that’s where collision groups and"},{"text":"filters come into play."},{"text":""},{"text":"Create individual collision groups using raw bit flag values, like this:"},{"text":""},{"text":"```swift"},{"text":" let redGroup = CollisionGroup(rawValue: 1 << 0)"},{"text":" let blueGroup = CollisionGroup(rawValue: 1 << 1)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 2)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 3)"},{"text":"```"},{"text":""},{"text":"Because ``CollisionGroup`` conforms to"},{"text":", this allows"},{"text":"you to create aggregate groups that encompass multiple individual collision"},{"text":"groups, like so:"},{"text":""},{"text":"```swift"},{"text":" let blueAndRedGroup = redGroup.union(blueGroup)"},{"text":" let greenAndYellowGroup = greenGroup.union(yellowGroup)"},{"text":"```"},{"text":""},{"text":"You can also define groups that have all entities except those in specific"},{"text":"groups. In a game, for example, you might want to turn off collisions"},{"text":"between members of the same team or between pieces owned by the same player."},{"text":"This is what creating that kind of filter would look like:"},{"text":""},{"text":"```swift"},{"text":" let allButRedGroup = CollisionGroup.all.subtracting(redGroup)"},{"text":"```"},{"text":""},{"text":"Collision groups aren’t assigned directly to entities. Instead, you create a"},{"text":"``CollisionFilter`` for the group, and then assign that filter to all the"},{"text":"entities you wish to include in its group. The collision filter’s mask"},{"text":"defines which objects the entities in this group collide with, and all"},{"text":"entities that share the same filter are part of the same collision group."},{"text":""},{"text":"```swift"},{"text":"let allButRedFilter = CollisionFilter(group: redGroup, mask:allButRedGroup)"},{"text":"redTeamPlayer1.collision?.filter = allButRedFilter"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionGroup"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV13colorTexturesSaySo10MTLTexture_pGvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","Descriptor","colorTextures"],"names":{"title":"colorTextures","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colorTextures"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Textures to store color output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colorTextures"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial"],"names":{"title":"SimpleMaterial","navigator":[{"kind":"identifier","spelling":"SimpleMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimpleMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A basic material that you can apply to meshes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SimpleMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE12dependenciesSayAA0C10DependencyOGvpZ","interfaceLanguage":"swift"},"pathComponents":["System","dependencies"],"names":{"title":"dependencies","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default implementation of the dependencies array."},{"text":""},{"text":"RealityKit provides a default implementation of this property which"},{"text":"returns an empty array. If a class that conforms to ``System`` has no"},{"text":"dependencies, it doesn’t need to implement this property."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags"],"names":{"title":"CharacterControllerComponent.CollisionFlags","navigator":[{"kind":"identifier","spelling":"CollisionFlags"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFlags"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option set that specifies which parts of the character capsule have collided with other objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFlags"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``FromToByAnimation/trimStart``, ``FromToByAnimation/trimEnd``, or"},{"text":"``FromToByAnimation/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","firstRange(of:)"],"names":{"title":"firstRange(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the range of the first occurrence of a given collection"},{"text":"within this collection."},{"text":""},{"text":"- Parameter other: The collection to search for."},{"text":"- Returns: A range in the collection of the first occurrence of `sequence`."},{"text":"Returns nil if `sequence` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"firstRange"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7toValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","toValue"],"names":{"title":"toValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"toValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlE8elements7indicesACySfGSaySfG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO4freeyAGs5SIMD3VySfG_SftcAGmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","free(axis:variation:)"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.BillboardMode.free(axis:variation:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"free"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"variation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The axis about which the particle will be oriented is the given `axis`. The `variation` is a unit multiplier that determines how far from the given axis the particle is allowed to actually be oriented."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"free"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"axis"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"variation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV17emissiveIntensitySfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","emissiveIntensity"],"names":{"title":"emissiveIntensity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveIntensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity of light emitted by the entity."},{"text":""},{"text":"To make a material _emissive_ and appear to emit light, set this"},{"text":"property to a value greater than zero and set"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` to a value"},{"text":"other than black. RealityKit multiplies"},{"text":"``PhysicallyBasedMaterial/emissiveColor-swift.property`` by this value,"},{"text":"so the higher the value, the more intense the entity’s emission of"},{"text":"light."},{"text":""},{"text":"You can set this property to values greater than `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveIntensity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation10HasPhysicsP","interfaceLanguage":"swift"},"pathComponents":["HasPhysics"],"names":{"title":"HasPhysics","navigator":[{"kind":"identifier","spelling":"HasPhysics"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysics"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that combines the physics body and physics motion interfaces."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysics"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"HasPhysicsBody","preciseIdentifier":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"HasPhysicsMotion","preciseIdentifier":"s:17RealityFoundation16HasPhysicsMotionP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO17billboardYAlignedyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","billboardYAligned"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.BillboardMode.billboardYAligned","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"billboardYAligned"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Each particle is oriented to face the camera but remains fixed about the Y axis"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"billboardYAligned"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a transform."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6shapes4mode6filterACSayAA13ShapeResourceCG_AC4ModeOAA0C6FilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","init(shapes:mode:filter:)"],"names":{"title":"init(shapes:mode:filter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision component with the given collision shape, mode, and"},{"text":"filter parameters."},{"text":""},{"text":"- Parameters:"},{"text":" - shapes: The collection of shapes that collectively define the outer"},{"text":"dimensions of the associated entity for the purposes of collision"},{"text":"detection."},{"text":""},{"text":" - mode: The mode of the collision component."},{"text":""},{"text":"- filter: A filter that limits the other entities with which the entity"},{"text":"can collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"text","spelling":" = .default, "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .default)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element equal to the argument."},{"text":""},{"text":"Use ``Publisher/contains(_:)`` to find the first element in an upstream that’s equal to the supplied argument. The contains publisher consumes all received elements until the upstream publisher produces a matching element. Upon finding the first match, it emits `true` and finishes normally. If the upstream finishes normally without producing a matching element, this publisher emits `false` and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/contains(_:)`` operator emits `true` the first time it receives the value `5` from the `numbers.publisher`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 5, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains(5)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter output: An element to match against."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contains","preciseIdentifier":"s:7Combine10PublishersO8ContainsV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO9billboardyA2GmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","billboard"],"names":{"title":"ParticleEmitterComponent.ParticleEmitter.BillboardMode.billboard","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"billboard"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Each particle is oriented to always face the camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"billboard"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceEmpty(with:)"],"names":{"title":"replaceEmpty(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces an empty stream with the provided element."},{"text":""},{"text":"Use ``Publisher/replaceEmpty(with:)`` to provide a replacement element if the upstream publisher finishes without producing any elements."},{"text":""},{"text":"In the example below, the empty `Double` array publisher doesn’t produce any elements, so ``Publisher/replaceEmpty(with:)`` publishes `Double.nan` and finishes normally."},{"text":""},{"text":" let numbers: [Double] = []"},{"text":" cancellable = numbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints \"(nan)\"."},{"text":""},{"text":"Conversely, providing a non-empty publisher publishes all elements and the publisher then terminates normally:"},{"text":""},{"text":" let otherNumbers: [Double] = [1.0, 2.0, 3.0]"},{"text":" cancellable2 = otherNumbers.publisher"},{"text":" .replaceEmpty(with: Double.nan)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: 1.0 2.0 3.0"},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher finishes without emitting any elements."},{"text":"- Returns: A publisher that replaces an empty stream with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceEmpty"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceEmpty","preciseIdentifier":"s:7Combine10PublishersO12ReplaceEmptyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGSaySfGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV4fromACs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:)"],"names":{"title":"move(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity instantly to a new location given by a 4x4 matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - transform: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scale of the entity relative to its parent."},{"text":""},{"text":"This value is the entity’s scale relative to its parent. To get the"},{"text":"actual scale of the entity in the scene, use"},{"text":"``HasTransform/scale(relativeTo:)``, passing `nil` as the reference"},{"text":"entity."},{"text":""},{"text":"This is the same as the ``Transform/scale`` value on the"},{"text":"``HasTransform/transform``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision"],"names":{"title":"CharacterControllerComponent.Collision","navigator":[{"kind":"identifier","spelling":"Collision"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Collision"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container that holds collision state for the character controller."},{"text":""},{"text":"All coordinates are in _physics space_, the coordinate system of the physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Collision"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter"],"names":{"title":"CollisionFilter","navigator":[{"kind":"identifier","spelling":"CollisionFilter"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFilter"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of masks that determine whether entities can collide during"},{"text":"simulations."},{"text":""},{"text":"Use Collision filters in combination with collision groups to define which"},{"text":"entities collide with which other entities in a scene. For more information"},{"text":"on using collision filters, see ``CollisionGroup``"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionFilter"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV8fillModeAA0e4FillG0Vvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","fillMode"],"names":{"title":"fillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines which data displays outside of the normal"},{"text":"duration."},{"text":""},{"text":"This property determines what to display when the framework samples the"},{"text":"animation outside of the range defined by its underlying duration. The"},{"text":"animation applies this property when:"},{"text":""},{"text":"- Playback progresses toward, but hasn't yet reached, a nonzero"},{"text":"``AnimationDefinition/offset``. - A range determined by"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration`` exceeds the animation's underlying"},{"text":"duration."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21SpatialAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationDefinition/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationDefinition/trimStart``, ``AnimationDefinition/trimEnd``, or"},{"text":"``AnimationDefinition/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryFirst(where:)"],"names":{"title":"tryFirst(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a throwing predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/tryFirst(where:)`` when you need to republish only the first element of a stream that satisfies an error-throwing closure you specify."},{"text":"The publisher ignores all elements after the first. If this publisher doesn’t receive any elements, it finishes without publishing. If the predicate closure throws an error, the publisher fails."},{"text":""},{"text":"In the example below, a range publisher emits the first element in the range then finishes normally:"},{"text":""},{"text":" let numberRange: ClosedRange = (-1...50)"},{"text":" numberRange.publisher"},{"text":" .tryFirst {"},{"text":" guard $0 < 99 else {throw RangeError()}"},{"text":" return true"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 completion: finished\""},{"text":" // If instead the number range were ClosedRange = (100...200), the tryFirst operator would terminate publishing with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFirstWhere","preciseIdentifier":"s:7Combine10PublishersO13TryFirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit"],"names":{"title":"CollisionCastHit","navigator":[{"kind":"identifier","spelling":"CollisionCastHit"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastHit"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A hit result of a collision cast."},{"text":""},{"text":"You get a collection of collision cast hits from either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method, or"},{"text":"the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method. Each hit indicates where the ray or the convex shape, starting at a"},{"text":"given point and traveling in a given direction, hit a particular entity in"},{"text":"the scene."},{"text":""},{"text":"The frame of reference for the position and normal of the hit depends on the"},{"text":"reference entity parameter passed to the method that generated the hit. Pass"},{"text":"`nil` as the reference to use world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionCastHit"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``AnimationDefinition/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationDefinition/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BlendWeightO","interfaceLanguage":"swift"},"pathComponents":["BlendWeight","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","WillDeactivateEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation16HasPhysicsMotionP","interfaceLanguage":"swift"},"pathComponents":["HasPhysicsMotion"],"names":{"title":"HasPhysicsMotion","navigator":[{"kind":"identifier","spelling":"HasPhysicsMotion"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsMotion"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An interface that provides velocity properties for physics simulations."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"HasPhysicsMotion"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6SystemPAAE6update7contextyAA18SceneUpdateContextV_tF","interfaceLanguage":"swift"},"pathComponents":["System","update(context:)"],"names":{"title":"update(context:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A default implementation that does nothing."},{"text":""},{"text":"- Parameters:"},{"text":" - context: The scene context for the scene to update."}]},"functionSignature":{"parameters":[{"name":"context","declarationFragments":[{"kind":"identifier","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV9viewportsSayAE16RelativeViewportVGvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","Descriptor","viewports"],"names":{"title":"viewports","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"viewports"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RelativeViewport","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Viewports to use for rendering with a camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"viewports"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RelativeViewport","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2id5model2atAESS_SSSo13simd_float4x4aSgtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","init(id:model:at:)"],"names":{"title":"init(id:model:at:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":"?)"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation9ComponentP","interfaceLanguage":"swift"},"pathComponents":["Component"],"names":{"title":"Component","navigator":[{"kind":"identifier","spelling":"Component"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Component"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a geometry or a behavior that you apply to an entity."},{"text":""},{"text":"You assemble a particular combination of behavior and appearance for an"},{"text":"entity by adding components to the ``Entity/components`` set of an"},{"text":"``Entity`` instance. Each component, represented by a type that conforms to"},{"text":"the ``Component`` protocol, defines a single aspect of the entity. For"},{"text":"example, one might define a position in space, while another provides a"},{"text":"visual appearance. You can add at most one component of a given type to an"},{"text":"entity."},{"text":""},{"text":"![Diagram showing the components present in different kinds of"},{"text":"entities.](Component-1)"},{"text":""},{"text":"RealityKit has a variety of predefined component types that you can use to"},{"text":"add commonly needed characteristics. For example, the ``ModelComponent``"},{"text":"specifies visual appearance with a mesh and materials. The"},{"text":"``CollisionComponent`` contains a shape and other information used to decide"},{"text":"if one entity collides with another."},{"text":""},{"text":"You can also define custom component types. When you do, register that type"},{"text":"with the system by calling the new component’s"},{"text":"``Component/registerComponent()`` method—a default implementation of which"},{"text":"is provided by the ``Component`` protocol. Call this method once before"},{"text":"using the component type. You don’t need to make this call for component"},{"text":"types that RealityKit provides."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Component"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD2VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point pairs in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point pairs."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","FaceCulling"],"names":{"title":"MaterialParameterTypes.FaceCulling","navigator":[{"kind":"identifier","spelling":"FaceCulling"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines how the system removes polygons before rendering"},{"text":"a scene."},{"text":""},{"text":"To improve performance, RealityKit culls polygons, or faces, that it"},{"text":"determines won’t be visible. Discarding faces that aren’t part of the"},{"text":"final render elimininates the need to do any calculations for those"},{"text":"faces. Use this object to specify what kind of polygons RealityKit"},{"text":"culls."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a"},{"text":"transform."},{"text":""},{"text":"Note: Animating the scale of an entity to 0 will cause a subsequent inverse"},{"text":"of the entity's transform to return NaN values. Developers may consider animating"},{"text":"the scale of an entity to a small non-zero value. When the move completes, the"},{"text":"entity can then be hidden or removed if applicable to the use case."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A ``Transform`` instance that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO2eeoiySbAG_AGtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BillboardMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BillboardMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BillboardMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BillboardMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BillboardMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BillboardMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO4coneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","cone"],"names":{"title":"ParticleEmitterComponent.EmitterShape.cone","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cone"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from a cone with its apex pointing up along the Y axis, centered on the origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cone"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV16FloatLiteralTypea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","FloatLiteralType"],"names":{"title":"PhysicallyBasedMaterial.Roughness.FloatLiteralType","navigator":[{"kind":"identifier","spelling":"FloatLiteralType"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"}]},"docComment":{"module":"Swift","lines":[{"text":"A type that represents a floating-point literal."},{"text":""},{"text":"Valid types for `FloatLiteralType` are `Float`, `Double`, and `Float80`"},{"text":"where available."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FloatLiteralType"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV4name4from2to2by8duration6timing10isAdditive10bindTarget10blendLayer10repeatMode04fillT09trimStart0V3End0V8Duration6offset5delay5speedACyxGSS_xSgA2VSdAA0F14TimingFunctionVSbAA04BindP0OSgs5Int32VAA0f6RepeatT0OAA0f4FillT0VSdSgA6_A6_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(name:from:to:by:duration:timing:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that interpolates between two values for a property"},{"text":"of the target entity."},{"text":""},{"text":"- Parameters:"},{"text":" - name: A unique name for the animation."},{"text":""},{"text":" - from: The state of the animated property before the animation starts."},{"text":""},{"text":" - to: The state of the animated property after the animation ends."},{"text":""},{"text":" - by: An amount that increments the animated property during the"},{"text":"animation."},{"text":""},{"text":" - duration: The total playback time."},{"text":""},{"text":" - timing: An option that determines the animation’s pace over time."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"blends additively with concurrent animations."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The time, in seconds, at which the animation plays."},{"text":""},{"text":" - trimEnd: The time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"timing"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation14ModelComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ","interfaceLanguage":"swift"},"pathComponents":["System","dependencies"],"names":{"title":"dependencies","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of dependencies for this system."},{"text":""},{"text":"If you need to specify the update order between your system and other"},{"text":"systems in your app, you can do that using this property. If your system"},{"text":"has no dependencies, you don’t need to declare this property. RealityKit"},{"text":"provides a default implementation for systems with no dependencies."},{"text":""},{"text":"Here’s an example where one other system must update before this system,"},{"text":"and another system must update after it."},{"text":""},{"text":"```swift"},{"text":"class SystemB : RealityKit.System {"},{"text":" static var dependencies: [SystemDependency] {"},{"text":" [.after(SystemA.self), // Run SystemB after SystemA."},{"text":" .before(SystemC.self)] // Run SystemB before SystemC."},{"text":" }"},{"text":" // ..."},{"text":"}"},{"text":"```"},{"text":""},{"text":"When the app runs, RealityKit calls ``System/update(context:)-69f86`` on"},{"text":"`SystemA` first, then on `SystemB`, and then on `SystemC`."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dependencies"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SystemDependency","preciseIdentifier":"s:17RealityFoundation16SystemDependencyO"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO21parameterNameNotFoundyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","parameterNameNotFound"],"names":{"title":"ShaderGraphMaterial.Error.parameterNameNotFound","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameterNameNotFound"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameterNameNotFound"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO29incorrectTypeForParameterNameyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","incorrectTypeForParameterName"],"names":{"title":"ShaderGraphMaterial.Error.incorrectTypeForParameterName","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"incorrectTypeForParameterName"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"incorrectTypeForParameterName"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume"],"names":{"title":"TriggerVolume","navigator":[{"kind":"identifier","spelling":"TriggerVolume"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriggerVolume"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An invisible 3D shape that detects when objects enter or exit a given region"},{"text":"of space."},{"text":""},{"text":"A trigger volume is an entity that can participate in collisions because it"},{"text":"has a ``CollisionComponent``. You use a trigger volume as a sensor that"},{"text":"indicates when another collision-capable entity, like a ``ModelEntity``,"},{"text":"enters the region of space occupied by the trigger volume. You can use the"},{"text":"generated ``CollisionEvents`` between the trigger volume and the other"},{"text":"entity to trigger an action, like indicating to the user that a projectile"},{"text":"hit its target."},{"text":""},{"text":"![Diagram showing the components present in the trigger volume"},{"text":"entity.](TriggerVolume-1)"},{"text":""},{"text":"The trigger volume itself is very simple. It lacks any physical appearance,"},{"text":"and doesn’t participate in physics simulations. This makes it very efficient"},{"text":"for tasks that require only collision detection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriggerVolume"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation14SimpleMaterialV","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name exported with USDz or Reality File asset"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7byValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","byValue"],"names":{"title":"byValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"byValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isPlayingSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isPlaying"],"names":{"title":"isPlaying","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation plays."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPlaying"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE17teleportCharacter2to10relativeToys5SIMD3VySfG_ACSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","teleportCharacter(to:relativeTo:)"],"names":{"title":"teleportCharacter(to:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"teleportCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves the character instantly to a new position."},{"text":""},{"text":"This method moves the character to a location specified relative to another entity. Pass `nil` in"},{"text":"`relativeTo` to specify a position in world coordinates. A teleport move happens instantly."},{"text":"RealityKit does no collision checking when it moves the entity."},{"text":""},{"text":"- Parameters:"},{"text":" - newPosition:The position, relative to `relativeTo` to move the character."},{"text":" - relativeTo: Reference Entity which defines the frame of reference of the new position."},{"text":" Can be `nil`, which is equivalent to \"world space\"."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"teleportCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO3boxyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","box"],"names":{"title":"ParticleEmitterComponent.EmitterShape.box","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"box"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from an axis-aligned box that is centered on the origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"box"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO6sphereyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","sphere"],"names":{"title":"ParticleEmitterComponent.EmitterShape.sphere","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sphere"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from a sphere centered on the origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sphere"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO5planeyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","plane"],"names":{"title":"ParticleEmitterComponent.EmitterShape.plane","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"plane"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from a 2d plane that lies on the X-Z axis."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"plane"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation6SystemP5scenexAA5SceneC_tcfc","interfaceLanguage":"swift"},"pathComponents":["System","init(scene:)"],"names":{"title":"init(scene:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new system."},{"text":""},{"text":"There’s no need to instantiate your own systems, so don’t call this"},{"text":"method. Instead, register your system with RealityKit by calling"},{"text":"``System/registerSystem()``. RealityKit automatically creates an"},{"text":"instance of every registered system for every scene."},{"text":""},{"text":"- Parameters:"},{"text":" - scene: The scene this system affects."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","first()"],"names":{"title":"first()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream, then finishes."},{"text":""},{"text":"Use ``Publisher/first()`` to publish just the first element from an upstream publisher, then finish normally. The ``Publisher/first()`` operator requests ``Subscribers/Demand/unlimited`` from its upstream as soon as downstream requests at least one element. If the upstream completes before ``Publisher/first()`` receives any elements, it completes without emitting any values."},{"text":""},{"text":"In this example, the ``Publisher/first()`` publisher republishes the first element received from the sequence publisher, `-10`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Print: \"-10\""},{"text":""},{"text":"- Returns: A publisher that only publishes the first element of a stream."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"First","preciseIdentifier":"s:7Combine10PublishersO5FirstV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeTo7forwardys5SIMD3VySfG_A2lA6EntityCSgAnAE16ForwardDirectionOtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","look(at:from:upVector:relativeTo:forward:)"],"names":{"title":"look(at:from:upVector:relativeTo:forward:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"forward"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions and orients the entity such that it looks at certain target from a give position."},{"text":""},{"text":"- Parameters:"},{"text":" - target: The target position to look at."},{"text":" - position: The new position of the entity."},{"text":" - upVector: The *up* direction of the entity."},{"text":" - referenceEntity: The reference entity which defines the frame of reference."},{"text":" Can be `nil`, which is equivalent to \"world space\"."},{"text":" - forward: Use default forward (.negativeZ)."},{"text":" Can be set to .positiveZ for non-camera entities"},{"text":""},{"text":"This function moves the entity to the specified `position`. It rotates the entity such that"},{"text":"the forward direction is pointing towards `target`. It further makes sure that entity's *up*"},{"text":"direction aligns with the specified `upVector`."},{"text":""},{"text":"Note: This method can be used for non-camera entities."}]},"functionSignature":{"parameters":[{"name":"at","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"from","internalName":"position","declarationFragments":[{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"upVector","declarationFragments":[{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"forward","declarationFragments":[{"kind":"identifier","spelling":"forward"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"look"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"at"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = SIMD3(0, 1, 0), "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"forward"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ForwardDirection","preciseIdentifier":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"text","spelling":" = .negativeZ)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","first"],"names":{"title":"first","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The first element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let firstNumber = numbers.first {"},{"text":" print(firstNumber)"},{"text":" }"},{"text":" // Prints \"10\""}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShaderGraphMaterial","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","interfaceLanguage":"swift"},"pathComponents":["HasTransform","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The transform of an entity relative to its parent."},{"text":""},{"text":"For an ``AnchorEntity`` instance, the transform is relative to the AR"},{"text":"anchor."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidActivateEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlE8elements7indicesACyAEGSayAEG_AItcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO5pointyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","point"],"names":{"title":"ParticleEmitterComponent.EmitterShape.point","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"point"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from a single point on the origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"point"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14SimpleMaterialV","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","Parameters"],"names":{"title":"SimpleMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","Sampler","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ImageBasedLightComponentV","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14WorldComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["WorldComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","replaceError(with:)"],"names":{"title":"replaceError(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Replaces any errors in the stream with the provided element."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher emits the provided element, then finishes normally."},{"text":""},{"text":"In the example below, a publisher of strings fails with a `MyError` instance, which sends a failure completion downstream. The ``Publisher/replaceError(with:)`` operator handles the failure by publishing the string `(replacement element)` and completing normally."},{"text":""},{"text":" struct MyError: Error {}"},{"text":" let fail = Fail(error: MyError())"},{"text":" cancellable = fail"},{"text":" .replaceError(with: \"(replacement element)\")"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"(replacement element) finished\"."},{"text":""},{"text":"This ``Publisher/replaceError(with:)`` functionality is useful when you want to handle an error by sending a single replacement element and end the stream. Use ``Publisher/catch(_:)`` to recover from an error and provide a replacement publisher to continue providing elements to the downstream subscriber."},{"text":""},{"text":"- Parameter output: An element to emit when the upstream publisher fails."},{"text":"- Returns: A publisher that replaces an error from the upstream publisher with the provided output element."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"output","declarationFragments":[{"kind":"identifier","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceError"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"output"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReplaceError","preciseIdentifier":"s:7Combine10PublishersO12ReplaceErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC15ImageBasedLightV8resourceAA19EnvironmentResourceCSgvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","ImageBasedLight","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The corresponding `EnvironmentResource` used for your Image Based Light."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF","interfaceLanguage":"swift"},"pathComponents":["System","update(context:)"],"names":{"title":"update(context:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Updates entities every frame."},{"text":""},{"text":"RealityKit calls this method on all registered systems in every frame."},{"text":"It passes a `context` parameter that contains a reference to the scene"},{"text":"that the system updates, along with the amount of time that has elapsed"},{"text":"since the last time RealityKit called the method for the same scene."},{"text":""},{"text":"- Parameters:"},{"text":" - context: The scene context for the scene to update."}]},"functionSignature":{"parameters":[{"name":"context","declarationFragments":[{"kind":"identifier","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"context"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneUpdateContext","preciseIdentifier":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"UInt32","rhsPrecise":"s:s6UInt32V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","init(scale:texture:)"],"names":{"title":"init(scale:texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a roughness object from a color or texture."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light it reflects. A material with a high roughness"},{"text":"has a matte appearance, while one with a low roughness has a shiny"},{"text":"appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-Roughness-swift-struct-init(scale:texture:)-1)"},{"text":""},{"text":"Use this initializer to create a new object from a single roughness"},{"text":"value, from an image texture, or from both."},{"text":""},{"text":"If you specify `texture`, RealityKit calculates the `roughness` for"},{"text":"the entity by UV-mapping `texture` onto the entity and multiplying"},{"text":"the value of each mapped pixel by `scale`. If you don’t specify"},{"text":"`texture`, then RealityKit uses `scale` as the entire entity’s"},{"text":"roughness. If you provide a color image for `texture` rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s"},{"text":"red channel."},{"text":""},{"text":"- Parameters:"},{"text":" - scale: The roughness value."},{"text":""},{"text":" - texture: An optional image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0, "},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE7isValidSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isValid"],"names":{"title":"isValid","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isValid"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation controller is"},{"text":"functional."},{"text":""},{"text":"This function returns `false` for stopped animations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isValid"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV16singleProjection12colorTextureAGSo10MTLTexture_p_tFZ","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","Descriptor","singleProjection(colorTexture:)"],"names":{"title":"singleProjection(colorTexture:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"singleProjection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"colorTexture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a descriptor for single projection output."}]},"functionSignature":{"parameters":[{"name":"colorTexture","declarationFragments":[{"kind":"identifier","spelling":"colorTexture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]}],"returns":[{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"singleProjection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"colorTexture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18MaterialParametersV7TextureV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameters","Texture","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmitterShape","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmitterShape","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmitterShape","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmitterShape","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmitterShape","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmitterShape","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20HoverEffectComponentV","interfaceLanguage":"swift"},"pathComponents":["HoverEffectComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8specularAC8SpecularVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","specular"],"names":{"title":"specular","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The specular highlight applied to the entity."},{"text":""},{"text":"In Physically Based Rendering (PBR), specular highlights primarily come"},{"text":"from the object’s ``PhysicallyBasedMaterial/roughness-swift.property``"},{"text":"value. RealityKit automatically renders materials that have a low"},{"text":"roughness value with specular highlights based on the environment"},{"text":"lighting and the shape of the entity. As a result, for most materials,"},{"text":"you won’t need to specify a `specular` value when using"},{"text":"``PhysicallyBasedMaterial``."},{"text":""},{"text":"For some types of dielectric (nonmetallic) materials, like facet-cut"},{"text":"glass or gems, PBR algorithms don’t create bright enough specular"},{"text":"highlights using just roughness. To accurately simulate those types of"},{"text":"materials, use the ``PhysicallyBasedMaterial/specular-swift.property``"},{"text":"property to specify additional specular for the entity."},{"text":""},{"text":"The following example demonstrates how to specify specular using a"},{"text":"single value for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.specular = .init(floatLiteral: 0.8)"},{"text":"```"},{"text":""},{"text":"This example shows how to specify specular using a UV-mapped image"},{"text":"texture:"},{"text":""},{"text":"```swift"},{"text":"if let specularResource = try? TextureResource.load(named:\"entity_specular\") {"},{"text":" let specularMap = MaterialParameters.Texture(specularResource)"},{"text":" material.specular = .init(texture: specularMap)"},{"text":"}"},{"text":" ```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"specular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Specular","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV6entityAA0G0Cvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","DidAddEntity","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:_:_:)"],"names":{"title":"map(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of three key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:_:)`` operator uses the Swift key path syntax to access the `die1`, `die2`, and `die3` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these three values (as an `(Int, Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" let die3: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6),"},{"text":" die3: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2, \\.die3)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1), \\(values.2) (total \\(values.0 + values.1 + values.2))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 5, 4, 2 (total 11)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of a second property on `Output`."},{"text":" - keyPath2: The key path of a third property on `Output`."},{"text":"- Returns: A publisher that publishes the values of three key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},{"name":"keyPath2","declarationFragments":[{"kind":"identifier","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1},{"name":"T2","index":2,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T2"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath3","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T2"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO4fromAGs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the first element of a stream to satisfy a predicate closure, then finishes normally."},{"text":""},{"text":"Use ``Publisher/first(where:)`` to republish only the first element of a stream that satisfies a closure you specify. The publisher ignores all elements after the first element that satisfies the closure and finishes normally."},{"text":"If this publisher doesn’t receive any elements, it finishes without publishing."},{"text":""},{"text":"In the example below, the provided closure causes the ``Publishers/FirstWhere`` publisher to republish the first received element that’s greater than `0`, then finishes normally."},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .first { $0 > 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"1\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the first element of a stream that satisfies the predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FirstWhere","preciseIdentifier":"s:7Combine10PublishersO10FirstWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation21SystemUpdateConditionV9renderingACvpZ","interfaceLanguage":"swift"},"pathComponents":["SystemUpdateCondition","rendering"],"names":{"title":"rendering","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rendering"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemUpdateCondition","preciseIdentifier":"s:17RealityFoundation21SystemUpdateConditionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A condition that is active whenever an update for rendering may be needed."},{"text":"This usually matches the refresh rate of the display."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rendering"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SystemUpdateCondition","preciseIdentifier":"s:17RealityFoundation21SystemUpdateConditionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO8cylinderyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","cylinder"],"names":{"title":"ParticleEmitterComponent.EmitterShape.cylinder","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cylinder"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from a cylinder oriented vertically along the Y axis, centered on the origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cylinder"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","encode(encoder:)"],"names":{"title":"encode(encoder:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Encodes the output from upstream using a specified encoder."},{"text":""},{"text":"Use ``Publisher/encode(encoder:)`` with a (or a for property lists) to encode an struct into that could be used to make a JSON string (or written to disk as a binary plist in the case of property lists)."},{"text":""},{"text":"In this example, a ``PassthroughSubject`` publishes an `Article`. The ``Publisher/encode(encoder:)`` operator encodes the properties of the `Article` struct into a new JSON string according to the protocol adopted by `Article`. The operator publishes the resulting JSON string to the downstream subscriber. If the encoding operation fails, which can happen in the case of complex properties that can’t be directly transformed into JSON, the stream terminates and the error is passed to the downstream subscriber."},{"text":""},{"text":" struct Article: Codable {"},{"text":" let title: String"},{"text":" let author: String"},{"text":" let pubDate: Date"},{"text":" }"},{"text":""},{"text":" let dataProvider = PassthroughSubject()"},{"text":" let cancellable = dataProvider"},{"text":" .encode(encoder: JSONEncoder())"},{"text":" .sink(receiveCompletion: { print (\"Completion: \\($0)\") },"},{"text":" receiveValue: { data in"},{"text":" guard let stringRepresentation = String(data: data, encoding: .utf8) else { return }"},{"text":" print(\"Data received \\(data) string representation: \\(stringRepresentation)\")"},{"text":" })"},{"text":""},{"text":" dataProvider.send(Article(title: \"My First Article\", author: \"Gita Kumar\", pubDate: Date()))"},{"text":""},{"text":" // Prints: \"Data received 86 bytes string representation: {\"title\":\"My First Article\",\"author\":\"Gita Kumar\",\"pubDate\":606211803.279603}\""},{"text":""},{"text":"- Parameter encoder: An encoder that implements the ``TopLevelEncoder`` protocol."},{"text":"- Returns: A publisher that encodes received elements using a specified encoder, and publishes the resulting data."}]},"functionSignature":{"parameters":[{"name":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Coder","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Coder","rhs":"TopLevelEncoder","rhsPrecise":"s:7Combine15TopLevelEncoderP"},{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Encodable","rhsPrecise":"s:SE"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Coder"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Encode","preciseIdentifier":"s:7Combine10PublishersO6EncodeV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Coder"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"TopLevelEncoder","preciseIdentifier":"s:7Combine15TopLevelEncoderP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","buffer(size:prefetch:whenFull:)"],"names":{"title":"buffer(size:prefetch:whenFull:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Buffers elements received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/buffer(size:prefetch:whenFull:)`` to collect a specific number of elements from an upstream publisher before republishing them to the downstream subscriber according to the ``Publishers/BufferingStrategy`` and ``Publishers/PrefetchStrategy`` strategy you specify."},{"text":""},{"text":"If the publisher completes before reaching the `size` threshold, it buffers the elements and publishes them downstream prior to completion."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The maximum number of elements to store."},{"text":" - prefetch: The strategy to initially populate the buffer."},{"text":" - whenFull: The action to take when the buffer becomes full."},{"text":"- Returns: A publisher that buffers elements received from an upstream publisher."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"prefetch","declarationFragments":[{"kind":"identifier","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"}]},{"name":"whenFull","declarationFragments":[{"kind":"identifier","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"buffer"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"prefetch"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefetchStrategy","preciseIdentifier":"s:7Combine10PublishersO16PrefetchStrategyO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whenFull"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BufferingStrategy","preciseIdentifier":"s:7Combine10PublishersO17BufferingStrategyO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Buffer","preciseIdentifier":"s:7Combine10PublishersO6BufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV12floatLiteralAESf_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","init(floatLiteral:)"],"names":{"title":"init(floatLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from a single value."},{"text":""},{"text":"The `roughness` property represents how much the surface of the"},{"text":"entity scatters light it reflects. A material with a high roughness"},{"text":"has a matte appearance, while one with a low roughness has a shiny"},{"text":"appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte"},{"text":"appearance with very soft specular highlights. The sphere on the"},{"text":"right has no highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-Roughness-swift-struct-init(floatLiteral:)-1)"},{"text":""},{"text":"Use this initializer to create an object to specify the amount of"},{"text":"roughness using a single value that applies to the entire material."},{"text":""},{"text":"- Parameters:"},{"text":" - value: The roughness value."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"floatLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE13moveCharacter2by9deltaTime10relativeTo16collisionHandlerAA0E19ControllerComponentV14CollisionFlagsVs5SIMD3VySfG_SfACSgyAJ0O0VcSgtF","interfaceLanguage":"swift"},"pathComponents":["Entity","moveCharacter(by:deltaTime:relativeTo:collisionHandler:)"],"names":{"title":"moveCharacter(by:deltaTime:relativeTo:collisionHandler:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves the character along a specified vector over a period of time."},{"text":""},{"text":"Moves the character in the collision world, with continuous collision checking and response."},{"text":"This will create character collision events."},{"text":"Entity.transform will be updated on the next engine tick."},{"text":"Use `CharacterControllerStateComponent` to get additional information about the state of the character after the move."},{"text":""},{"text":"- Parameters:"},{"text":" - moveDelta: Delta vector to attempt to move capsule in collision world."},{"text":" - deltaTime: Time between last frame and current."},{"text":" - referenceEntity: Reference entity that defines the frame of reference of the move delta."},{"text":" Can be `nil`, which is equivalent to \"world space\"."},{"text":" - collisionHandler: Optional callback when an entity was hit. One call per each hit entity."},{"text":"- Returns: Collision flags that indicate the location of the collision."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"moveDelta","declarationFragments":[{"kind":"identifier","spelling":"moveDelta"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"deltaTime","declarationFragments":[{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"collisionHandler","declarationFragments":[{"kind":"identifier","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"moveCharacter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"moveDelta"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"collisionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collision","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionFlags","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD3VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point triplets in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point triplets."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO5torusyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","torus"],"names":{"title":"ParticleEmitterComponent.EmitterShape.torus","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"torus"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from a torus oriented along the Z axis, centered on the origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"torus"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8InstanceV9transformSo13simd_float4x4avp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Instance","transform"],"names":{"title":"transform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Transform for the instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_float4x4","preciseIdentifier":"c:@SA@simd_float4x4"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC7Failurea","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","Failure"],"names":{"title":"LoadRequest.Failure","navigator":[{"kind":"identifier","spelling":"Failure"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"}]},"docComment":{"module":"Combine","lines":[{"text":"The kind of errors this publisher might publish."},{"text":""},{"text":"Use `Never` if this `Publisher` does not publish errors."}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Failure"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use Swift Concurrency based methods instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"normal rate. A value of `0.5` indicates that the duration is twice the"},{"text":"normal rate. Negative values play the animation in reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s"},{"text":"``FromToByAnimation/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Joint names that define the joints in the skeletal pose."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV4modeAC4ModeOvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","mode"],"names":{"title":"mode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Mode","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV4ModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13imageSequenceAE05ImageG0VSgvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","imageSequence"],"names":{"title":"imageSequence","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"imageSequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Determines if the particle image is a sprite sheet (used for animation)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"imageSequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ImageSequence","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV15textureSemanticAA15TextureResourceC0H0OvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat","textureSemantic"],"names":{"title":"textureSemantic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intended use of the object’s texture property."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureSemantic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","receive(subscriber:)"],"names":{"title":"receive(subscriber:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Implementations of ``Publisher`` must implement this method."},{"text":""},{"text":"The provided implementation of ``Publisher/subscribe(_:)-4u8kn``calls this method."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this ``Publisher``, after which it can receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Output","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use Swift Concurrency based methods instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Normalization"],"names":{"title":"AudioResource.Normalization","navigator":[{"kind":"identifier","spelling":"Normalization"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normalization"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Normalization adjusts the level of an audio file or buffer to be at a defined target."},{"text":""},{"text":"Audio files produced in a production environment where dynamics are already being"},{"text":"processed may not need normalization."},{"text":""},{"text":"Normalization has a CPU cost on _load_ for audio file resources that have a loading strategy"},{"text":"of ``RealityFoundation/AudioFileResource/LoadingStrategy-swift.enum/preload``"},{"text":"and a CPU cost on _playback_ for audio files that have a loading strategy of"},{"text":"``RealityFoundation/AudioFileResource/LoadingStrategy-swift.enum/stream``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Normalization"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TriangleFillMode"],"names":{"title":"MaterialParameterTypes.TriangleFillMode","navigator":[{"kind":"identifier","spelling":"TriangleFillMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines how the system rasterizes triangles and triangle strips"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV12mixGroupNameSSSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration","mixGroupName"],"names":{"title":"mixGroupName","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mixGroupName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An arbitrary name that can be used to assign an audio resource to an ``RealityFoundation/AudioMixGroup``. See also ``RealityFoundation/AudioMixGroupsComponent``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mixGroupName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","index(of:)"],"names":{"title":"index(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first index where the specified value appears in the"},{"text":"collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5,"minor":0},"renamed":"firstIndex(of:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV8avPlayerACSo8AVPlayerC_tcfc","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","init(avPlayer:)"],"names":{"title":"init(avPlayer:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new video material."},{"text":""},{"text":"To create a video material, first create an"},{"text":""},{"text":"instance initialized with a URL that points to the movie file you want"},{"text":"the video material to play, then pass that to this initializer. The"},{"text":"following code demonstrates this process."},{"text":""},{"text":"```swift"},{"text":"// Create a URL that points to the movie file."},{"text":"if let url = Bundle.main.url(forResource: \"MyMovie\", withExtension: \"mp4\") {"},{"text":""},{"text":" // Create an AVPlayer instance to control playback of that movie."},{"text":" let player = AVPlayer(url: url)"},{"text":""},{"text":" // Instantiate and configure the video material."},{"text":" let material = VideoMaterial(avPlayer: player)"},{"text":""},{"text":" // Configure audio playback mode. This is optional for movie"},{"text":" // files that contain sound."},{"text":" material.controller.audioInputMode = .spatial"},{"text":""},{"text":" // Create a new model entity using the video material."},{"text":" let modelEntity = ModelEntity(mesh: cube, materials: [material])"},{"text":""},{"text":" // Start playing the video."},{"text":" player.play()"},{"text":"}"},{"text":""},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- avPlayer: An"},{"text":""},{"text":"instance."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGqd__cSTRd__Sd7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness value for the entire entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation32ImageBasedLightReceiverComponentV","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightReceiverComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isStoppedSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isStopped"],"names":{"title":"isStopped","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStopped"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation stopped."},{"text":""},{"text":"This function returns `true` for stopped animations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStopped"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV6anchorAA12HasAnchoring_pvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged","anchor"],"names":{"title":"anchor","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity whose anchoring state changed."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"HasAnchoring","preciseIdentifier":"s:17RealityFoundation12HasAnchoringP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off the specified number of elements"},{"text":" at the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC15ImageBasedLightV17intensityExponentSfvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","ImageBasedLight","intensityExponent"],"names":{"title":"intensityExponent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensityExponent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity value of the light."},{"text":"The intensity modulates the intensity specified in the diffuse and specular textures"},{"text":"An intensity of 0 means using the diffuse/specular intensities as-is"},{"text":"Otherwise the intensity is multiplied by 2^intensity"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensityExponent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation16SystemDependencyO","interfaceLanguage":"swift"},"pathComponents":["SystemDependency"],"names":{"title":"SystemDependency","navigator":[{"kind":"identifier","spelling":"SystemDependency"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SystemDependency"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines update order relative to other systems."},{"text":"An object that specifies the update order between multiple systems."},{"text":""},{"text":"Add instances of `SystemDependency` to your system’s"},{"text":"``System/dependencies-2s31o`` array to indicate whether RealityKit updates"},{"text":"another specified system before or after this system."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SystemDependency"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV6modelsAA0C15ModelCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","models"],"names":{"title":"models","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"models"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of models."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"models"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshModelCollection","preciseIdentifier":"s:17RealityFoundation19MeshModelCollectionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV8avPlayerSo8AVPlayerCSgvp","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial","avPlayer"],"names":{"title":"avPlayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material’s video playback controller."},{"text":""},{"text":"Use this property to control animation playback for a video texture."},{"text":"This property allows you to play or pause the movie, _seek to_ (in other"},{"text":"words, skip to) a specific part of the movie, or to change the movie’s"},{"text":"playback rate. The following code demonstrates pausing the texture’s"},{"text":"video and restarting it from the beginning of the movie file:"},{"text":""},{"text":"```swift"},{"text":"myMaterial.avPlayer.pause()"},{"text":"myMaterial.avPlayer.seek(to: .zero)"},{"text":"myMaterial.avPlayer.play()"},{"text":"```"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"avPlayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AVPlayer","preciseIdentifier":"c:objc(cs)AVPlayer"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","combineLatest(_:)"],"names":{"title":"combineLatest(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Subscribes to an additional publisher and publishes a tuple upon receiving output from either publisher."},{"text":""},{"text":"Use ``Publisher/combineLatest(_:)`` when you want the downstream subscriber to receive a tuple of the most-recent element from multiple publishers when any of them emit a value. To pair elements from multiple publishers, use ``Publisher/zip(_:)`` instead. To receive just the most-recent element from multiple publishers rather than tuples, use ``Publisher/merge(with:)-7qt71``."},{"text":""},{"text":"> Tip: The combined publisher doesn't produce elements until each of its upstream publishers publishes at least one element."},{"text":""},{"text":"The combined publisher passes through any requests to *all* upstream publishers. However, it still obeys the demand-fulfilling rule of only sending the request amount downstream. If the demand isn’t ``Subscribers/Demand/unlimited``, it drops values from upstream publishers. It implements this by using a buffer size of 1 for each upstream, and holds the most-recent value in each buffer."},{"text":""},{"text":"In this example, ``PassthroughSubject`` `pub1` and also `pub2` emit values; as ``Publisher/combineLatest(_:)`` receives input from either upstream publisher, it combines the latest value from each publisher into a tuple and publishes it."},{"text":""},{"text":" let pub1 = PassthroughSubject()"},{"text":" let pub2 = PassthroughSubject()"},{"text":""},{"text":" cancellable = pub1"},{"text":" .combineLatest(pub2)"},{"text":" .sink { print(\"Result: \\($0).\") }"},{"text":""},{"text":" pub1.send(1)"},{"text":" pub1.send(2)"},{"text":" pub2.send(2)"},{"text":" pub1.send(3)"},{"text":" pub1.send(45)"},{"text":" pub2.send(22)"},{"text":""},{"text":" // Prints:"},{"text":" // Result: (2, 2). // pub1 latest = 2, pub2 latest = 2"},{"text":" // Result: (3, 2). // pub1 latest = 3, pub2 latest = 2"},{"text":" // Result: (45, 2). // pub1 latest = 45, pub2 latest = 2"},{"text":" // Result: (45, 22). // pub1 latest = 45, pub2 latest = 22"},{"text":""},{"text":"When all upstream publishers finish, this publisher finishes. If an upstream publisher never publishes a value, this publisher never finishes."},{"text":""},{"text":"- Parameter other: Another publisher to combine with this one."},{"text":"- Returns: A publisher that receives and combines elements from this and another publisher."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"combineLatest"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CombineLatest","preciseIdentifier":"s:7Combine10PublishersO0A6LatestV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO4fromAEs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","EmitterShape","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the last element of a stream that satisfies a predicate closure, after upstream finishes."},{"text":""},{"text":"Use ``Publisher/last(where:)`` when you need to republish only the last element of a stream that satisfies a closure you specify."},{"text":""},{"text":"In the example below, a range publisher emits the last element that satisfies the closure’s criteria, then finishes normally:"},{"text":""},{"text":" let numbers = (-10...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .last { $0 < 6 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"5\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether to publish the element."},{"text":"- Returns: A publisher that only publishes the last element satisfying the given predicate."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"LastWhere","preciseIdentifier":"s:7Combine10PublishersO9LastWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC6shapes6filterACSayAA13ShapeResourceCG_AA15CollisionFilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init(shapes:filter:)"],"names":{"title":"init(shapes:filter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume with the given composite shape and collision"},{"text":"filter."},{"text":""},{"text":"- Parameters:"},{"text":"- shapes: A collection of shapes which taken together define the"},{"text":"composite shape of the trigger volume."},{"text":""},{"text":"- filter: A collision filter that lets you differentiate among collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shapes"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .sensor)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20InputTargetComponentV07allowedC5TypesA2C0C4TypeV_tcfc","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","init(allowedInputTypes:)"],"names":{"title":"init(allowedInputTypes:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"allowedInputTypes"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new instance of an `InputTargetComponent` with a set of `allowedInputTypes`"},{"text":"that define what kinds of input the component's entity can receive."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"allowedInputTypes"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"InputTargetComponent","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"InputType","preciseIdentifier":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"},{"kind":"text","spelling":" = .all)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE19characterControllerAA09CharacterE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","characterController"],"names":{"title":"characterController","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character controller component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterController"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerComponent","preciseIdentifier":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence by skipping elements while `predicate` returns"},{"text":"`true` and returning the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be skipped or `false` if it should be included. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation's rate of playback."},{"text":""},{"text":"The animation applies the value of this property as an irrational factor"},{"text":"of the unaltered speed. For example, a value of `2` plays the animation"},{"text":"twice as fast, a value of `0.5` plays the animation at half speed, and a"},{"text":"value of `1` plays the animation at the unaltered rate."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10repeatModeAA0f6RepeatH0Ovp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``FromToByAnimation/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``FromToByAnimation/duration``, the animation fills the additional"},{"text":"playback by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC9subscribeyyqd__5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Output","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Output","rhs":"S.Input"},{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"S.Failure","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use Swift Concurrency based methods instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:_:)"],"names":{"title":"zip(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and delivers a transformed output."},{"text":""},{"text":"Use ``Publisher/zip(_:_:)-4xn21`` to return a new publisher that combines the elements from two publishers using a transformation you specify to publish a new value to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together that the operator uses in the transformation."},{"text":""},{"text":"In this example, ``PassthroughSubject`` instances `numbersPub` and `lettersPub` emit values; ``Publisher/zip(_:_:)-4xn21`` receives the oldest value from each publisher, uses the `Int` from `numbersPub` and publishes a string that repeats the from `lettersPub` that many times."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub) { anInt, aLetter in"},{"text":" String(repeating: aLetter, count: anInt)"},{"text":" }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" numbersPub.send(3) // numbersPub: 1,2,3 lettersPub: zip output: "},{"text":" lettersPub.send(\"A\") // numbersPub: 1,2,3 lettersPub: \"A\" zip output: \"A\""},{"text":" lettersPub.send(\"B\") // numbersPub: 2,3 lettersPub: \"B\" zip output: \"BB\""},{"text":" // Prints:"},{"text":" // A"},{"text":" // BB"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameters:"},{"text":" - other: Another publisher."},{"text":" - transform: A closure that receives the most-recent value from each publisher and returns a new value to publish."},{"text":"- Returns: A publisher that uses the `transform` closure to emit new elements, produced by combining the most recent value from two upstream publishers."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]},{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1},{"name":"T","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Map","preciseIdentifier":"s:7Combine10PublishersO3MapV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationVAAs5SIMD4VySfGRszrlE6framesSayAFGvp","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","frames"],"names":{"title":"frames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of floating-point quadruples in which each element represents a"},{"text":"discrete state of the animated property at a given point in the"},{"text":"animation’s timeline."},{"text":""},{"text":"This array contains sequential values for the animated property when"},{"text":"``AnimationDefinition/bindTarget`` is an array of"},{"text":""},{"text":"floating-point quadruplets."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlE8elements7indicesACySdGSaySdG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyOAAE8rawValueSSvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE9fromValueAESgvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","fromValue"],"names":{"title":"fromValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Value","rhs":"JointTransforms","rhsPrecise":"s:17RealityFoundation15JointTransformsV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fromValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional image texture that defines the color of light emission."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV6filterAA0C6FilterVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","filter"],"names":{"title":"filter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision filter used to segregate entities into different collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0VAEycfc","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the specified maximum length, containing"},{"text":"the initial elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence starting at the beginning of this collection"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to select from the beginning of the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode"],"names":{"title":"AnimationFillMode","navigator":[{"kind":"identifier","spelling":"AnimationFillMode"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationFillMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine which animation frames display outside of the normal"},{"text":"duration."},{"text":""},{"text":"This structure enables you to lock an animation at its starting frame for a"},{"text":"period of time before beginning. You can also lock an animation to its"},{"text":"ending frame for a specified amount of time after it finishes, or both."},{"text":""},{"text":"An animation applies the fill mode you choose when a range determined by"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration`` exceeds the animation's underlying duration,"},{"text":"which the framework calculates as the frame count (see"},{"text":"``SampledAnimation/frames-2j4nj``) multiplied by the"},{"text":"``SampledAnimation/frameInterval``, multiplied by"},{"text":"``AnimationDefinition/speed``."},{"text":""},{"text":"For example, if you set the ``AnimationDefinition/trimStart`` property for"},{"text":"an animation of a hand waving to `-1.0` and ``SampledAnimation/fillMode`` to"},{"text":"``AnimationFillMode/backwards`` or ``AnimationFillMode/both``, the hand"},{"text":"displays immediately, freezes at the first animation frame for one second,"},{"text":"and then begins to wave."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationFillMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV02isE0Sbvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","AnchoredStateChanged","isAnchored"],"names":{"title":"isAnchored","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The current anchoring state of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAnchored"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","map(_:_:)"],"names":{"title":"map(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the values of two key paths as a tuple."},{"text":""},{"text":"In the following example, the ``Publisher/map(_:_:)`` operator uses the Swift key path syntax to access the `die1` and `die2` members of the `DiceRoll` structure published by the ``Just`` publisher."},{"text":""},{"text":"The downstream sink subscriber receives only these two values (as an `(Int, Int)` tuple), not the entire `DiceRoll`."},{"text":""},{"text":" struct DiceRoll {"},{"text":" let die1: Int"},{"text":" let die2: Int"},{"text":" }"},{"text":""},{"text":" cancellable = Just(DiceRoll(die1:Int.random(in:1...6),"},{"text":" die2: Int.random(in:1...6)))"},{"text":" .map(\\.die1, \\.die2)"},{"text":" .sink { values in"},{"text":" print (\"Rolled: \\(values.0), \\(values.1) (total: \\(values.0 + values.1))\")"},{"text":" }"},{"text":" // Prints \"Rolled: 6, 4 (total: 10)\" (or other random values)."},{"text":""},{"text":"- Parameters:"},{"text":" - keyPath0: The key path of a property on `Output`."},{"text":" - keyPath1: The key path of another property on `Output`."},{"text":"- Returns: A publisher that publishes the values of two key paths as a tuple."}]},"functionSignature":{"parameters":[{"name":"keyPath0","declarationFragments":[{"kind":"identifier","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">"}]},{"name":"keyPath1","declarationFragments":[{"kind":"identifier","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"T0","index":0,"depth":1},{"name":"T1","index":1,"depth":1}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"T1"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath0"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"keyPath1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"KeyPath","preciseIdentifier":"s:s7KeyPathC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapKeyPath2","preciseIdentifier":"s:7Combine10PublishersO11MapKeyPath2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T0"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T1"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeC5shape6filterAcA13ShapeResourceC_AA15CollisionFilterVtcfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init(shape:filter:)"],"names":{"title":"init(shape:filter:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume with the given shape and collision filter."},{"text":""},{"text":"- Parameters:"},{"text":" - shape: The shape of the trigger volume."},{"text":""},{"text":"- filter: A collision filter that lets you differentiate among collision"},{"text":"groups."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"shape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"filter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .sensor)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8ContentsV9skeletonsAA0C18SkeletonCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Contents","skeletons"],"names":{"title":"skeletons","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skeletons"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshSkeletonCollection","preciseIdentifier":"s:17RealityFoundation22MeshSkeletonCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Table of skeletons."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skeletons"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshSkeletonCollection","preciseIdentifier":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13emissiveColorAC08EmissiveG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","emissiveColor"],"names":{"title":"emissiveColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of the light the entity emits."},{"text":""},{"text":"With Physically Based Rendering (PBR), you can give entities in"},{"text":"RealityKit the appearance of emitting light. Use this property to"},{"text":"simulate real-world objects that glow, such as objects with LEDs or"},{"text":"computer screens. To enable light emission from a material, set"},{"text":"``PhysicallyBasedMaterial/emissiveIntensity`` to a value greater than"},{"text":"zero, then specify a color for the emitted light other than black using"},{"text":"this property. You can specify a single emissive color for the entire"},{"text":"material, or use a UV-mapped image texture to use different colors for"},{"text":"different parts of the entity."},{"text":""},{"text":"The following example uses a single color for the entire material:"},{"text":""},{"text":"```swift"},{"text":"material.emissiveIntensity = 2.0"},{"text":"self.emissiveColor = PhysicallyBasedMaterial.EmissiveColor(color: .red)"},{"text":"```"},{"text":""},{"text":"This example uses an image map to control the light emission color:"},{"text":""},{"text":"```swift"},{"text":"if let emissiveResource = try? TextureResource.load(named:\"entity_emissive\") {"},{"text":" let emissiveMap = MaterialParameters.Texture(emissiveResource)"},{"text":" material.emissiveColor = .init(texture: emissiveMap)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"emissiveColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EmissiveColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(matchingCategory:)"],"names":{"title":"filter(matchingCategory:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"CoreMedia","lines":[{"text":"Filters a sequence of tags based on matching the specified category. Returns the tags that match the specified category."},{"text":""},{"text":"- Parameters:"},{"text":"- category: The category to match."},{"text":""}]},"functionSignature":{"parameters":[{"name":"matchingCategory","internalName":"category","declarationFragments":[{"kind":"identifier","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Sendable","rhsPrecise":"s:s8SendableP"},{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"superclass","lhs":"Self.Element","rhs":"CMTag","rhsPrecise":"s:9CoreMedia5CMTagC"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"matchingCategory"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"category"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Category","preciseIdentifier":"s:9CoreMedia10CMTypedTagC8CategoryV"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"CMTypedTag","preciseIdentifier":"s:9CoreMedia10CMTypedTagC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"watchOS","introduced":{"major":10,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}},{"domain":"tvOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGSaySdGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Double","rhsPrecise":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21ChannelAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","move(to:relativeTo:duration:timingFunction:)"],"names":{"title":"move(to:relativeTo:duration:timingFunction:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Moves an entity over a period of time to a new location given by a 4x4"},{"text":"matrix."},{"text":""},{"text":"- Parameters:"},{"text":" - target: A 4x4 matrix that indicates the new location."},{"text":""},{"text":" - referenceEntity: The entity that defines a frame of reference. Set"},{"text":"this to `nil` to indicate world space."},{"text":""},{"text":" - duration: The time in seconds over which the move should occur."},{"text":""},{"text":" - timingFunction: A timing function that controls the progress of the"},{"text":"animation."},{"text":""},{"text":"- Returns: An ``AnimationPlaybackController`` instance that you use to"},{"text":"control the animation playback."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"target","declarationFragments":[{"kind":"identifier","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"timingFunction","declarationFragments":[{"kind":"identifier","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"move"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"target"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"float4x4","preciseIdentifier":"s:4simd8float4x4a"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"timingFunction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" = .default) -> "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV10bindTargetAA04BindG0Ovp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","bindTarget"],"names":{"title":"bindTarget","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name that identifies the particular property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO6UpdateV9deltaTimeSdvp","interfaceLanguage":"swift"},"pathComponents":["SceneEvents","Update","deltaTime"],"names":{"title":"deltaTime","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The elapsed time since the last update."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"deltaTime"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","zip(_:)"],"names":{"title":"zip(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from another publisher and deliver pairs of elements as tuples."},{"text":""},{"text":"Use ``Publisher/zip(_:)`` to combine the latest elements from two publishers and emit a tuple to the downstream. The returned publisher waits until both publishers have emitted an event, then delivers the oldest unconsumed event from each publisher together as a tuple to the subscriber."},{"text":""},{"text":"Much like a zipper or zip fastener on a piece of clothing pulls together rows of teeth to link the two sides, ``Publisher/zip(_:)`` combines streams from two different publishers by linking pairs of elements from each side."},{"text":""},{"text":"In this example, `numbers` and `letters` are ``PassthroughSubject``s that emit values; once ``Publisher/zip(_:)`` receives one value from each, it publishes the pair as a tuple to the downstream subscriber. It then waits for the next pair of values."},{"text":""},{"text":" let numbersPub = PassthroughSubject()"},{"text":" let lettersPub = PassthroughSubject()"},{"text":""},{"text":" cancellable = numbersPub"},{"text":" .zip(lettersPub)"},{"text":" .sink { print(\"\\($0)\") }"},{"text":" numbersPub.send(1) // numbersPub: 1 lettersPub: zip output: "},{"text":" numbersPub.send(2) // numbersPub: 1,2 lettersPub: zip output: "},{"text":" letters.send(\"A\") // numbers: 1,2 letters:\"A\" zip output: "},{"text":" numbers.send(3) // numbers: 1,2,3 letters: zip output: (1,\"A\")"},{"text":" letters.send(\"B\") // numbers: 1,2,3 letters: \"B\" zip output: (2,\"B\")"},{"text":""},{"text":" // Prints:"},{"text":" // (1, \"A\")"},{"text":" // (2, \"B\")"},{"text":""},{"text":"If either upstream publisher finishes successfully or fails with an error, the zipped publisher does the same."},{"text":""},{"text":"- Parameter other: Another publisher."},{"text":"- Returns: A publisher that emits pairs of elements from the upstream publishers as tuples."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"P","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"P.Failure"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zip"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"P"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Zip","preciseIdentifier":"s:7Combine10PublishersO3ZipV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"P"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing the initial elements until `predicate`"},{"text":"returns `false` and skipping the remaining elements."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the"},{"text":" sequence as its argument and returns `true` if the element should"},{"text":" be included or `false` if it should be excluded. Once the predicate"},{"text":" returns `false` it will not be called again."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13TriggerVolumeCACycfc","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a trigger volume."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"required"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23AudioMixGroupsComponentV","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthLocation","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthLocation","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthLocation","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthLocation","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthLocation","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BirthLocation","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyOAAE8RawValuea","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","RawValue"],"names":{"title":"AudioFileResource.LoadingStrategy.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains all the elements in the collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length of"},{"text":" the collection."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","count()"],"names":{"title":"count()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes the number of elements received from the upstream publisher."},{"text":""},{"text":"Use ``Publisher/count()`` to determine the number of elements received from the upstream publisher before it completes:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .count()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"11\""},{"text":""},{"text":"- Returns: A publisher that consumes all elements until the upstream publisher finishes, then emits a single value with the total number of elements received."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Count","preciseIdentifier":"s:7Combine10PublishersO5CountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","assertNoFailure(_:file:line:)"],"names":{"title":"assertNoFailure(_:file:line:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a fatal error when its upstream publisher fails, and otherwise republishes all received input."},{"text":""},{"text":"Use `assertNoFailure()` for internal integrity checks that are active during testing. However, it is important to note that, like its Swift counterpart `fatalError(_:)`, the `assertNoFailure()` operator asserts a fatal exception when triggered during development and testing, _and_ in shipping versions of code."},{"text":""},{"text":"In the example below, a `CurrentValueSubject` publishes the initial and second values successfully. The third value, containing a `genericSubjectError`, causes the `assertNoFailure()` operator to assert a fatal exception stopping the process:"},{"text":""},{"text":" public enum SubjectError: Error {"},{"text":" case genericSubjectError"},{"text":" }"},{"text":""},{"text":" let subject = CurrentValueSubject(\"initial value\")"},{"text":" subject"},{"text":" .assertNoFailure()"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0).\") }"},{"text":" )"},{"text":""},{"text":" subject.send(\"second value\")"},{"text":" subject.send(completion: Subscribers.Completion.failure(SubjectError.genericSubjectError))"},{"text":""},{"text":" // Prints:"},{"text":" // value: initial value."},{"text":" // value: second value."},{"text":" // The process then terminates in the debugger as the assertNoFailure operator catches the genericSubjectError."},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string used at the beginning of the fatal error message."},{"text":" - file: A filename used in the error message. This defaults to `#file`."},{"text":" - line: A line number used in the error message. This defaults to `#line`."},{"text":"- Returns: A publisher that raises a fatal error when its upstream publisher fails."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"file","declarationFragments":[{"kind":"identifier","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"}]},{"name":"line","declarationFragments":[{"kind":"identifier","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"assertNoFailure"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"file"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"StaticString","preciseIdentifier":"s:s12StaticStringV"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#file"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"line"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":" = "},{"kind":"keyword","spelling":"#line"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AssertNoFailure","preciseIdentifier":"s:7Combine10PublishersO15AssertNoFailureV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO8verticesyAEs5SIMD3VySuG_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","vertices(count:)"],"names":{"title":"ParticleEmitterComponent.BirthLocation.vertices(count:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertices"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from the vertices of the shape. `count` is the number of vertices in each direction, the distribution depends on the EmitterShape chosen."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vertices"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"UInt","preciseIdentifier":"s:Su"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11LoadRequestC6results6ResultOyxs5Error_pGSgvp","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","result"],"names":{"title":"result","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"result"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:s6ResultO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of the load operation."},{"text":""},{"text":"A load operation can have the following results:"},{"text":"- `success(Output)` ... The load operation has completed successfully."},{"text":"- `failure(Error)` ... The load operation failed."},{"text":"- `nil` ... The load operation is still in progress."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"result"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result","preciseIdentifier":"s:s6ResultO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":">? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use Swift Concurrency based methods instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","visualBounds(recursive:relativeTo:excludeInactive:)"],"names":{"title":"visualBounds(recursive:relativeTo:excludeInactive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Computes a bounding box for the entity in the specified space,"},{"text":"optionally including child entities."},{"text":""},{"text":"The method has complexity `O(n)`, where `n` is the number of entities in"},{"text":"the hierarchy."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to incorporate the bounds"},{"text":"of all descendants."},{"text":""},{"text":" - referenceEntity: An entity that defines a frame of reference. Set to"},{"text":"`nil` to indicate world space."},{"text":""},{"text":"- excludeInactive: A Boolean that you set to `true` to exclude inactive"},{"text":"entities."},{"text":""},{"text":"- Returns: The bounding box."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"excludeInactive","declarationFragments":[{"kind":"identifier","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"visualBounds"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"excludeInactive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE24characterControllerStateAA09CharactereF9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","characterControllerState"],"names":{"title":"characterControllerState","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterControllerState"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerStateComponent","preciseIdentifier":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character controller state for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterControllerState"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CharacterControllerStateComponent","preciseIdentifier":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO6volumeyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","volume"],"names":{"title":"ParticleEmitterComponent.BirthLocation.volume","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"volume"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from the internal volume of the shape."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"volume"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGqd__cSTRd__Sf7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"Float","rhsPrecise":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO7surfaceyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","BirthLocation","surface"],"names":{"title":"ParticleEmitterComponent.BirthLocation.surface","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"surface"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particles emit from the surface of the shape."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"surface"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness values as a UV-mapped image texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE4timeSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","time"],"names":{"title":"time","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"time"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The animation's location within the timeline."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"time"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","prefix(upTo:)"],"names":{"title":"prefix(upTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"upTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence from the start of the collection up to, but not"},{"text":"including, the specified position."},{"text":""},{"text":"The resulting subsequence *does not include* the element at the position"},{"text":"`end`. The following example searches for the index of the number `40`"},{"text":"in an array of integers, and then prints the prefix of the array up to,"},{"text":"but not including, that index:"},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60]"},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers.prefix(upTo: i))"},{"text":" }"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"Passing the collection's starting index as the `end` parameter results in"},{"text":"an empty subsequence."},{"text":""},{"text":" print(numbers.prefix(upTo: numbers.startIndex))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"Using the `prefix(upTo:)` method is equivalent to using a partial"},{"text":"half-open range as the collection's subscript. The subscript notation is"},{"text":"preferred over `prefix(upTo:)`."},{"text":""},{"text":" if let i = numbers.firstIndex(of: 40) {"},{"text":" print(numbers[.. "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyOAAE8rawValueAESgSS_tcfc","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the specified raw value."},{"text":""},{"text":"If there is no value of the type that corresponds with the specified raw"},{"text":"value, this initializer returns `nil`. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" print(PaperSize(rawValue: \"Legal\"))"},{"text":" // Prints \"Optional(\"PaperSize.Legal\")\""},{"text":""},{"text":" print(PaperSize(rawValue: \"Tabloid\"))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"- Parameter rawValue: The raw value to use for the new instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet"],"names":{"title":"Entity.ComponentSet","navigator":[{"kind":"identifier","spelling":"ComponentSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of stored components."},{"text":""},{"text":"The set represents all the components stored on an entity. It can hold"},{"text":"only one component of any given type."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ComponentSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV9trimStartSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimStart"],"names":{"title":"trimStart","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation plays."},{"text":""},{"text":"This property is `nil` by default, which plays the animation with `time`"},{"text":"= `0`. If you set a value, the animation edits the duration according to"},{"text":"the specified beginning time."},{"text":""},{"text":"If you set a negative value for this property, the duration increases"},{"text":"and the additional animation data fills in based on the"},{"text":"``AnimationView/fillMode`` you choose."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new accessibility component with default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17EventSubscriptionV","interfaceLanguage":"swift"},"pathComponents":["EventSubscription"],"names":{"title":"EventSubscription","navigator":[{"kind":"identifier","spelling":"EventSubscription"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EventSubscription"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EventSubscription"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE11blendFactorSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","blendFactor"],"names":{"title":"blendFactor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The level of influence the controller gives to its animation."},{"text":""},{"text":"You can run multiple animations on the same property, for example,"},{"text":"walking and jumping animations that affect the same joint transforms."},{"text":"When multiple animations adjust the same property at runtime, the"},{"text":"framework applies this blend factor on the animations' respective"},{"text":"controllers to calculate a middle ground value that displays at runtime."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV3allAEvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","all"],"names":{"title":"all","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Reports collisions between kinematic objects and both static and kinematic objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO5sceneyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","scene(_:)"],"names":{"title":"BindPath.Part.scene(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for a nested scene."},{"text":""},{"text":"This path component indicates that another component follows, and at"},{"text":"the same time specifies the entity, scene, or property that"},{"text":"animates."},{"text":""},{"text":"Because no path contains nested scenes, this component exists only"},{"text":"as the first element of a multicomponent path."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO6entityyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","entity(_:)"],"names":{"title":"BindPath.Part.entity(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for a nested entity."},{"text":""},{"text":"This path component indicates that another component follows, which"},{"text":"either contains or identifies the property of the entity that"},{"text":"animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given predicate."},{"text":""},{"text":"Use the ``Publisher/allSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes."},{"text":""},{"text":"In the example below, the ``Publisher/allSatisfy(_:)`` operator tests if each an integer array publisher’s elements fall into the `targetRange`:"},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .allSatisfy { targetRange.contains($0) }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"AllSatisfy","preciseIdentifier":"s:7Combine10PublishersO10AllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over pairs of elements."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE4load5named2in13configurationACSS_So8NSBundleCSgAcAE13ConfigurationVtKFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","load(named:in:configuration:)"],"names":{"title":"load(named:in:configuration:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an AudioFileResource synchronously."},{"text":""},{"text":"- Important: The name provided **must** be unique."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]},{"name":"configuration","declarationFragments":[{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":" = .init()) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV_4name10isAdditive10bindTarget10blendLayer10repeatMode04fillN09trimStart0P3End0P8Duration6offset5delay5speedACyxGAA0cD4Node_p_SSSbAA04BindJ0OSgs5Int32VAA0e6RepeatN0OAA0e4FillN0VSdSgA_A_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","init(_:name:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(_:name:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a unique animation from a combination of other animations in the"},{"text":"form of a tree."},{"text":""},{"text":"- Parameters:"},{"text":" - root: The first node in a tree of animations."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The behavior when the animated property reaches its end"},{"text":"value."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the source"},{"text":"animation plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the source animation"},{"text":"stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s rate of"},{"text":"playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedVAAE19penetrationDistanceSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","penetrationDistance"],"names":{"title":"penetrationDistance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"penetrationDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The estimated distance of overlap between the two colliding entities in scene coordinate space."},{"text":""},{"text":"@note This is the maximum penetration distance for all contacts, for more detailed"},{"text":" penetration distance see the `contacts` and"},{"text":" `CollisionComponent.CollisionOptions.fullContactInformation`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"penetrationDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC8generate19fromEquirectangular8withNameACSo10CGImageRefa_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","generate(fromEquirectangular:withName:)"],"names":{"title":"generate(fromEquirectangular:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"fromEquirectangular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"functionSignature":{"parameters":[{"name":"fromEquirectangular","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"fromEquirectangular"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two synchronization components are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first synchronization component to compare."},{"text":""},{"text":" - rhs: The second synchronization component to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two synchronization"},{"text":"components are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV7Elementa","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","Element"],"names":{"title":"CollisionGroup.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO12anchorEntityyAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","anchorEntity(_:)"],"names":{"title":"BindPath.Part.anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component for the scene's anchor entity."},{"text":""},{"text":"This path component indicates that another component follows, which"},{"text":"either contains or identifies the property of the entity that"},{"text":"animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16OpacityComponentV7opacityACSf_tcfc","interfaceLanguage":"swift"},"pathComponents":["OpacityComponent","init(opacity:)"],"names":{"title":"init(opacity:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV19burstCountVariationSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","burstCountVariation"],"names":{"title":"burstCountVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"burstCountVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range from which a value is randomly selected to offset `burstCount`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"burstCountVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation16OpacityComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["OpacityComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"OpacityComponent","preciseIdentifier":"s:17RealityFoundation16OpacityComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OpacityComponent","preciseIdentifier":"s:17RealityFoundation16OpacityComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OpacityComponent","preciseIdentifier":"s:17RealityFoundation16OpacityComponentV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OpacityComponent","preciseIdentifier":"s:17RealityFoundation16OpacityComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OpacityComponent","preciseIdentifier":"s:17RealityFoundation16OpacityComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OpacityComponent","preciseIdentifier":"s:17RealityFoundation16OpacityComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14PortalMaterialV","interfaceLanguage":"swift"},"pathComponents":["PortalMaterial","Parameters"],"names":{"title":"PortalMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedVAAE16impulseDirections5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","impulseDirection"],"names":{"title":"impulseDirection","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulseDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The direction of the total impulse in scene coordinate space."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulseDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO9parameteryAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","parameter(_:)"],"names":{"title":"BindPath.Part.parameter(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate a named parameter."},{"text":""},{"text":"This path component terminates an array of paths, and at the same"},{"text":"time specifies a named scene or entity property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9blendModeAE05BlendG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","blendMode"],"names":{"title":"blendMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BlendMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"How overlapping particles are composited together. Defaults to `alpha`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BlendMode","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV017reportKinematicVsI0AEvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","reportKinematicVsKinematic"],"names":{"title":"reportKinematicVsKinematic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reportKinematicVsKinematic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Reports collisions between kinematic objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reportKinematicVsKinematic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8DrawableC","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Drawable"],"names":{"title":"TextureResource.Drawable","navigator":[{"kind":"identifier","spelling":"Drawable"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Drawable"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A drawable associated with a drawable queue"}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Drawable"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer"],"names":{"title":"AnyMeshBuffer","navigator":[{"kind":"identifier","spelling":"AnyMeshBuffer"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnyMeshBuffer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Mesh buffer stored in the container."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnyMeshBuffer"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation21AmbientAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedVAAE8contactsSayAA7ContactVGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","contacts"],"names":{"title":"contacts","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contacts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Contact","preciseIdentifier":"s:17RealityFoundation7ContactV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All contacts between the collision pair. Empty if all contact information is not requested."},{"text":"@see `CollisionComponent.CollisionOptions.fullContactInformation`"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contacts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Contact","preciseIdentifier":"s:17RealityFoundation7ContactV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV23reportKinematicVsStaticAEvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","reportKinematicVsStatic"],"names":{"title":"reportKinematicVsStatic","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reportKinematicVsStatic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Reports collisions between kinematic objects and static objects."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reportKinematicVsStatic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE4load5named4from2inACSS_SSSo8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","load(named:from:in:)"],"names":{"title":"load(named:from:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a preconfigured AudioFileResource from a Reality Composer Pro project with the given"},{"text":"`name` as the the prim-path of the AudioFile, and the `scene` as the name of the"},{"text":"USD file name."},{"text":""},{"text":"- Important: The name provided **must** be unique."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"from","internalName":"scene","declarationFragments":[{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14ModelSortGroupV","interfaceLanguage":"swift"},"pathComponents":["ModelSortGroup","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation14PortalMaterialV","interfaceLanguage":"swift"},"pathComponents":["PortalMaterial","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name exported with USDz or Reality File asset"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO15jointTransformsyA2EmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","jointTransforms"],"names":{"title":"BindPath.Part.jointTransforms","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate joint transforms."},{"text":""},{"text":"This path component terminates an array of components, and at the"},{"text":"same time specifies the entity's joint transforms that animate."},{"text":""},{"text":"This BindTarget references a Transform type"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over three elements per step."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","append(_:)"],"names":{"title":"append(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"docComment":{"module":"Combine","lines":[{"text":"Appends a publisher’s output with the specified elements."},{"text":""},{"text":"Use ``Publisher/append(_:)-1qb8d`` when you need to prepend specific elements after the output of a publisher."},{"text":""},{"text":"In the example below, the ``Publisher/append(_:)-1qb8d`` operator publishes the provided elements after republishing all elements from `dataElements`:"},{"text":""},{"text":" let dataElements = (0...10)"},{"text":" cancellable = dataElements.publisher"},{"text":" .append(0, 1, 255)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 5 6 7 8 9 10 0 1 255\""},{"text":""},{"text":""},{"text":"- Parameter elements: Elements to publish after this publisher’s elements."},{"text":"- Returns: A publisher that appends the specifiecd elements after this publisher’s elements."}]},"functionSignature":{"parameters":[{"name":"elements","declarationFragments":[{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"..."}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"append"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"...) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Concatenate","preciseIdentifier":"s:7Combine10PublishersO11ConcatenateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":"], "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">>"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO9transformyA2EmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","transform"],"names":{"title":"BindPath.Part.transform","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate a transform."},{"text":""},{"text":"This path component terminates an array of paths, and at the same"},{"text":"time specifies a transform that animates."},{"text":""},{"text":"This BindTarget references a Transform type"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO6manualyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","manual"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode.manual","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"manual"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Require explicit ownership request confirmation."},{"text":""},{"text":"Handle the ``SynchronizationEvents/OwnershipRequest`` event to find"},{"text":"out when a peer requests ownership of an entity, and call the method"},{"text":"stored in the requests’s"},{"text":"``SynchronizationEvents/OwnershipRequest/accept`` property to"},{"text":"confirm the transfer of ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"manual"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV7trimEndSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimEnd"],"names":{"title":"trimEnd","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The optional time, in seconds, at which the animation stops."},{"text":""},{"text":"This property is `nil` by default, which plays the animation until"},{"text":"`time` = ``AnimationGroup/duration``. If you set a value, the animation"},{"text":"edits the duration according to the specified ending time."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC8generate19fromEquirectangular8withNameACSo10CGImageRefa_SSSgtYaKFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","generate(fromEquirectangular:withName:)"],"names":{"title":"generate(fromEquirectangular:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"fromEquirectangular"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"functionSignature":{"parameters":[{"name":"fromEquirectangular","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"fromEquirectangular"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVA2A0C14JointInfluenceVRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"MeshJointInfluence","rhsPrecise":"s:17RealityFoundation18MeshJointInfluenceV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"MeshJointInfluence","rhsPrecise":"s:17RealityFoundation18MeshJointInfluenceV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The length of time the animation spans, in seconds."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO10autoAcceptyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","autoAccept"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode.autoAccept","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoAccept"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Grant ownership requests automatically."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoAccept"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","RawValue"],"names":{"title":"CollisionGroup.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation6SystemP","interfaceLanguage":"swift"},"pathComponents":["System"],"names":{"title":"System","navigator":[{"kind":"identifier","spelling":"System"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"System"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that affects multiple entities in every frame of a RealityKit"},{"text":"scene."},{"text":""},{"text":"In RealityKit’s Entity Component System (ECS), a _system_ represents"},{"text":"continuous behavior that affects multiple entities in the scene. Use systems"},{"text":"to implement any behavior or logic that updates entities every frame, such"},{"text":"as different types of objects or characters. For example, a physics"},{"text":"simulation system calculates and applies the affect of gravity, forces, and"},{"text":"collisions for all entities."},{"text":""},{"text":"Systems often work with components. You might, for example, create a system"},{"text":"that calculates the hunger levels for entities in a game capable of feeling"},{"text":"hunger. To identify which entities experience hunger, use a component that"},{"text":"stores hunger-related state data and add it to the selected entities. The"},{"text":"hunger system then iterates through all entities in every frame that contain"},{"text":"a hunger component and updates their state based on relevant factors, such"},{"text":"as when the entity ate last or how much energy it expends."},{"text":""},{"text":"A complex game or experience may consist of many systems which need to be executed"},{"text":"in a specific order. The ``dependencies-2s31o`` property defines when the `update` method for each"},{"text":"system is called each frame. Update order is defined between system types and"},{"text":"not between individual system instances."},{"text":""},{"text":"Systems and their dependencies form a directed acyclic graph (DAG). Custom systems are executed in"},{"text":"dependency order. Systems without dependencies are updated in the order they were registered. If there"},{"text":"are conflicting dependencies or cycles, then RealityKit ignores some conflicting dependencies and"},{"text":"logs a warning. Each system instance is only run once per simulation step."},{"text":""},{"text":"Properties of a system are never serialized to a file or synced over the network. Therefore, data should"},{"text":"usually be stored on entities using components, rather than as part of the system."},{"text":""},{"text":"For more information, see"},{"text":"."},{"text":""},{"text":"Note: Custom System are currently not supported when referenced inside RealityRenderer."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"System"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8rawValues6UInt32Vvp","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13DrawableQueueC","interfaceLanguage":"swift"},"pathComponents":["TextureResource","DrawableQueue"],"names":{"title":"TextureResource.DrawableQueue","navigator":[{"kind":"identifier","spelling":"DrawableQueue"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DrawableQueue"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A drawable queue that may be used to update a texture resource dynamically"},{"text":""},{"text":"Note: DrawableQueue usage with RealityRenderer is not supported on visionOS. Specifically, if one wants to use"},{"text":"DrawableQueue with a material referenced inside RealityRenderer, it is currently not supported. However, DrawableQueue can"},{"text":"be used to present the output textures from a RealityRenderer to a RealityView."}]},"declarationFragments":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"DrawableQueue"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount that an animation impacts the entity it applies to."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerP","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer"],"names":{"title":"MeshBufferContainer","navigator":[{"kind":"identifier","spelling":"MeshBufferContainer"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferContainer"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Conforming objects contain a table of mesh buffers."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshBufferContainer"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode"],"names":{"title":"SynchronizationComponent.OwnershipTransferMode","navigator":[{"kind":"identifier","spelling":"OwnershipTransferMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Modes of ownership transfer."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16OpacityComponentV7opacitySfvp","interfaceLanguage":"swift"},"pathComponents":["OpacityComponent","opacity"],"names":{"title":"opacity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The opacity value applied to the entity and its descendants."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC6repeat5countACSi_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","repeat(count:)"],"names":{"title":"repeat(count:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation that repeats the specified number of times."},{"text":""},{"text":"- Parameters:"},{"text":" - count: The number of animation repetitions."},{"text":""},{"text":"- Returns: A repeating copy of the calling animation resource."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","subscribe(_:)"],"names":{"title":"subscribe(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches the specified subscriber to this publisher."},{"text":""},{"text":"Always call this function instead of ``Publisher/receive(subscriber:)``."},{"text":"Adopters of ``Publisher`` must implement ``Publisher/receive(subscriber:)``. The implementation of ``Publisher/subscribe(_:)-4u8kn`` provided by ``Publisher`` calls through to ``Publisher/receive(subscriber:)``."},{"text":""},{"text":"- Parameter subscriber: The subscriber to attach to this publisher. After attaching, the subscriber can start to receive values."}]},"functionSignature":{"parameters":[{"name":"subscriber","declarationFragments":[{"kind":"identifier","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subscriber","rhsPrecise":"s:7Combine10SubscriberP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Input"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"subscriber"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subscriber","preciseIdentifier":"s:7Combine10SubscriberP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Input"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position representing the estimated point of contact."},{"text":""},{"text":"The point is an average calculated from the intersecting shapes."},{"text":"It’s specified in the coordinate space of the physics simulation,"},{"text":"which means it’s relative to ``ARView/PhysicsSimulationComponent.nearestSimulationEntity``. If the"},{"text":"physics origin is `nil`, the point is given in world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV8rawValueACs6UInt32V_tcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision group from a raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set."},{"text":"Usually, you will want to create each collision groups setting a"},{"text":"different bit flag for each value, so that multiple individual groups"},{"text":"can be combined using"},{"text":" methods."},{"text":""},{"text":"Here is an example of creating four collision groups using different"},{"text":"bitflag values for each one."},{"text":""},{"text":"```swift"},{"text":" let redGroup = CollisionGroup(rawValue: 1 << 0)"},{"text":" let blueGroup = CollisionGroup(rawValue: 1 << 1)"},{"text":" let greenGroup = CollisionGroup(rawValue: 1 << 2)"},{"text":" let orangeGroup = CollisionGroup(rawValue: 1 << 3)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":"- rawValue: The raw value of the option set to create. Each bit of"},{"text":"rawValue potentially represents an element of the option set, though raw"},{"text":"values may include bits that are not defined as distinct values of the"},{"text":"OptionSet type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV04mainD0AC0cD0Vvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","mainEmitter"],"names":{"title":"mainEmitter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mainEmitter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Particle attributes affecting the main particles of the base simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mainEmitter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO7opacityyA2EmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","opacity"],"names":{"title":"BindPath.Part.opacity","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An path component to animate an opacity. Requires that"},{"text":"the entity has an OpacityComponent"},{"text":""},{"text":"This BindTarget references a Float type"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label0B023LocalizedStringResourceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","label"],"names":{"title":"label","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that identifies the label for this content."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":""},{"text":" let s = \"Swift\""},{"text":" let i = s.index(s.startIndex, offsetBy: 4)"},{"text":" print(s[i])"},{"text":" // Prints \"t\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":"- Returns: An index offset by `distance` from the index `i`. If"},{"text":" `distance` is positive, this is the same value as the result of"},{"text":" `distance` calls to `index(after:)`. If `distance` is negative, this"},{"text":" is the same value as the result of `abs(distance)` calls to"},{"text":" `index(before:)`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7impulseSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","impulse"],"names":{"title":"impulse","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total impulse in this collision pair obtained by adding up all the"},{"text":"individual impulses applied at each contact point."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO8materialyAESicAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","material(_:)"],"names":{"title":"BindPath.Part.material(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to animate a material property."},{"text":""},{"text":"This path component indicates that another component follows, which"},{"text":"either contains or identifies the material property that animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC6repeat8durationACSd_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","repeat(duration:)"],"names":{"title":"repeat(duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Repeats an animation for the specified amount of time."},{"text":""},{"text":"- Parameters:"},{"text":"- duration: The amount of time that the animation should play. If you"},{"text":"omit this parameter, the animation loops indefinitely."},{"text":""},{"text":"- Returns: A new animation resource that you play on an entity by"},{"text":"calling the entity’s"},{"text":"``Entity/playAnimation(_:transitionDuration:startsPaused:)`` method."}]},"functionSignature":{"parameters":[{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = .infinity) -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V5imageAA15TextureResourceCSgvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","image"],"names":{"title":"image","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The image that each particle will use. Defaults to a white circular texture."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"image"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","synchronization"],"names":{"title":"synchronization","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s synchronization component."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC7replace13withDrawablesyAC13DrawableQueueC_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replace(withDrawables:)"],"names":{"title":"replace(withDrawables:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withDrawables"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Dynamically replaces the texture with a drawable queue."}]},"functionSignature":{"parameters":[{"name":"withDrawables","internalName":"drawableQueue","declarationFragments":[{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withDrawables"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVA2A0C14JointInfluenceVRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"MeshJointInfluence","rhsPrecise":"s:17RealityFoundation18MeshJointInfluenceV"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"MeshJointInfluence","rhsPrecise":"s:17RealityFoundation18MeshJointInfluenceV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"MeshJointInfluence","rhsPrecise":"s:17RealityFoundation18MeshJointInfluenceV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"MeshJointInfluence","preciseIdentifier":"s:17RealityFoundation18MeshJointInfluenceV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18SceneUpdateContextV","interfaceLanguage":"swift"},"pathComponents":["SceneUpdateContext"],"names":{"title":"SceneUpdateContext","navigator":[{"kind":"identifier","spelling":"SceneUpdateContext"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUpdateContext"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that contains information about the scene to update."},{"text":""},{"text":"RealityKit uses a ``SceneUpdateContext`` to pass information to a ``System``"},{"text":"about the scene it’s currently updating."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneUpdateContext"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5clockyXlvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","clock"],"names":{"title":"clock","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference clock to synchronize the animation with other events."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","ArrayLiteralElement"],"names":{"title":"CollisionGroup.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0E4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["ParameterSet","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a bindable value for the given name."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation19EnvironmentResourceC8generate11fromLatLong8withNameACSo10CGImageRefa_SSSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["EnvironmentResource","generate(fromLatLong:withName:)"],"names":{"title":"generate(fromLatLong:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"fromLatLong"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"functionSignature":{"parameters":[{"name":"fromLatLong","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"fromLatLong"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"*","message":"use \\\"generate(fromEquirectangular cgImage: CGImage, withName resourceName: String? = nil) throws -> EnvironmentResource\\\"","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","TrackingMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC14CameraSettingsV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraSettings"],"names":{"title":"RealityRenderer.CameraSettings","navigator":[{"kind":"identifier","spelling":"CameraSettings"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CameraSettings"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Settings for rendering with a camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CameraSettings"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation13ShapeResourceC","interfaceLanguage":"swift"},"pathComponents":["ShapeResource"],"names":{"title":"ShapeResource","navigator":[{"kind":"identifier","spelling":"ShapeResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShapeResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A representation of a shape."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShapeResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14PortalMaterialV","interfaceLanguage":"swift"},"pathComponents":["PortalMaterial"],"names":{"title":"PortalMaterial","navigator":[{"kind":"identifier","spelling":"PortalMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PortalMaterial"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PortalMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput"],"names":{"title":"RealityRenderer.CameraOutput","navigator":[{"kind":"identifier","spelling":"CameraOutput"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CameraOutput"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Output produced by rendering with a camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CameraOutput"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an index that is the specified distance from the given index,"},{"text":"unless that distance is beyond a given limiting index."},{"text":""},{"text":"The following example obtains an index advanced four positions from a"},{"text":"string's starting index and then prints the character at that position."},{"text":"The operation doesn't require going beyond the limiting `s.endIndex`"},{"text":"value, so it succeeds."},{"text":""},{"text":" let s = \"Swift\""},{"text":" if let i = s.index(s.startIndex, offsetBy: 4, limitedBy: s.endIndex) {"},{"text":" print(s[i])"},{"text":" }"},{"text":" // Prints \"t\""},{"text":""},{"text":"The next example attempts to retrieve an index six positions from"},{"text":"`s.startIndex` but fails, because that distance is beyond the index"},{"text":"passed as `limit`."},{"text":""},{"text":" let j = s.index(s.startIndex, offsetBy: 6, limitedBy: s.endIndex)"},{"text":" print(j)"},{"text":" // Prints \"nil\""},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: An index offset by `distance` from the index `i`, unless that"},{"text":" index would be beyond `limit` in the direction of movement. In that"},{"text":" case, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Classification","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent"],"names":{"title":"CharacterControllerComponent","navigator":[{"kind":"identifier","spelling":"CharacterControllerComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that manages character movement."},{"text":""},{"text":"To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent``"},{"text":"to your entity to make it a character entity. Character entities can *move* to new locations in space,"},{"text":"which happens over a period of time based on how you've configured the character controller component,"},{"text":"and also *teleport*, which moves the charcter to the new location instantaneously."},{"text":""},{"text":"- Note: PhysicsBodyComponent and CollisionComponent can not exist on the same Entity that contains"},{"text":" a CharacterControllerComponent and are therefore inactivated."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CharacterControllerComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","addChild(_:preservingWorldTransform:)"],"names":{"title":"addChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the given entity to the collection of child entities."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/addChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV12trimDurationSdSgvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","trimDuration"],"names":{"title":"trimDuration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An optional duration that overrides the calculated duration."},{"text":""},{"text":"The framework calculates ``OrbitAnimation/duration``, but you can set"},{"text":"this property to override it. This property is `nil` by default, which"},{"text":"indicates that the animation stops after one play that spans"},{"text":"``OrbitAnimation/duration``."},{"text":""},{"text":"If you set a value for this property and both"},{"text":"``OrbitAnimation/trimStart`` and ``OrbitAnimation/trimEnd`` are `nil`,"},{"text":"the animation observes this property as an edited duration."},{"text":""},{"text":"A value greater than ``OrbitAnimation/duration`` causes the animation to"},{"text":"repeat, applying the characteristics defined by"},{"text":"``OrbitAnimation/repeatMode``. Assign this property"},{"text":""},{"text":"to repeat indefinitely."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"],"names":{"title":"breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal when a provided closure needs to stop the process in the debugger."},{"text":""},{"text":"Use ``Publisher/breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)`` to examine one or more stages of the subscribe/publish/completion process and stop in the debugger, based on conditions you specify. When any of the provided closures returns `true`, this operator raises the `SIGTRAP` signal to stop the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In the example below, a ``PassthroughSubject`` publishes strings to a breakpoint republisher. When the breakpoint receives the string “`DEBUGGER`”, it returns `true`, which stops the app in the debugger."},{"text":""},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .breakpoint("},{"text":" receiveOutput: { value in return value == \"DEBUGGER\" }"},{"text":" )"},{"text":" .sink { print(\"\\(String(describing: $0))\" , terminator: \" \") }"},{"text":""},{"text":" publisher.send(\"DEBUGGER\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Parameters:"},{"text":" - receiveSubscription: A closure that executes when the publisher receives a subscription. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveOutput: A closure that executes when the publisher receives a value. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":" - receiveCompletion: A closure that executes when the publisher receives a completion. Return `true` from this closure to raise `SIGTRAP`, or false to continue."},{"text":"- Returns: A publisher that raises a debugger signal when one of the provided closures returns `true`."}]},"functionSignature":{"parameters":[{"name":"receiveSubscription","declarationFragments":[{"kind":"identifier","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveOutput","declarationFragments":[{"kind":"identifier","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]},{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveSubscription"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscription","preciseIdentifier":"s:7Combine12SubscriptionP"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveOutput"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil, "},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult","navigator":[{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The result of an ownership transfer request."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipTransferCompletionResult"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20BlendTreeInvalidNodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeInvalidNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27AnimationPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","AnimationRepeatMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13drawableQueueAC08DrawableF0CSgvp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","drawableQueue"],"names":{"title":"drawableQueue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The drawable queue that was used to replace the texture."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drawableQueue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DrawableQueue","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","ArrayLiteralElement"],"names":{"title":"PhysicsSimulationComponent.CollisionOptions.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"Swift","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV7isOwnerSbvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation18ShapeResourceErrorO","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError"],"names":{"title":"ShapeResourceError","navigator":[{"kind":"identifier","spelling":"ShapeResourceError"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShapeResourceError"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShapeResourceError"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","trimmingPrefix(_:)"],"names":{"title":"trimmingPrefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Returns a new collection of the same type by removing initial elements"},{"text":"that satisfy the given predicate from the start."},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":"as its argument and returns a Boolean value indicating whether the"},{"text":"element should be removed from the collection."},{"text":"- Returns: A collection containing the elements of the collection that are"},{"text":" not removed by `predicate`."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Prefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Prefix","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"Prefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the predicate closure."},{"text":""},{"text":"Use ``Publisher/contains(where:)`` to find the first element in an upstream that satisfies the closure you provide. This operator consumes elements produced from the upstream publisher until the upstream publisher produces a matching element."},{"text":""},{"text":"This operator is useful when the upstream publisher produces elements that don’t conform to `Equatable`."},{"text":""},{"text":"In the example below, the ``Publisher/contains(where:)`` operator tests elements against the supplied closure and emits `true` for the first elements that’s greater than `4`, and then finishes normally."},{"text":""},{"text":" let numbers = [-1, 0, 10, 5]"},{"text":" numbers.publisher"},{"text":" .contains {$0 > 4}"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"true\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ContainsWhere","preciseIdentifier":"s:7Combine10PublishersO13ContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV18sceneUnderstandingACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","sceneUnderstanding"],"names":{"title":"sceneUnderstanding","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision group for reconstructed meshes."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sceneUnderstanding"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":4}},{"domain":"iOS","introduced":{"major":13,"minor":4}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21ownershipTransferModeAC09OwnershipfG0Ovp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","ownershipTransferMode"],"names":{"title":"ownershipTransferMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ownershipTransferMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s transfer ownership mode."},{"text":""},{"text":"By default, the transfer mode is"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``."},{"text":"You can set it to"},{"text":"``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual`` to"},{"text":"require explicit confirmation of the request by your app."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ownershipTransferMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferMode","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV","interfaceLanguage":"swift"},"pathComponents":["ModelDebugOptionsComponent","componentName"],"names":{"title":"componentName","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"componentName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","setParent(_:preservingWorldTransform:)"],"names":{"title":"setParent(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Attaches the entity as a child to the specified entity."},{"text":""},{"text":"Attaching an entity to a new parent automatically detaches it from its"},{"text":"old parent."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of both the old and new parent"},{"text":"are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- parent: The new parent entity. Use `nil` to detach the entity from its"},{"text":"current parent."},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"parent","declarationFragments":[{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","mapError(_:)"],"names":{"title":"mapError(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Converts any failure from the upstream publisher into a new error."},{"text":""},{"text":"Use the ``Publisher/mapError(_:)`` operator when you need to replace one error type with another, or where a downstream operator needs the error types of its inputs to match."},{"text":""},{"text":"The following example uses a ``Publisher/tryMap(_:)`` operator to divide `1` by each element produced by a sequence publisher. When the publisher produces a `0`, the ``Publisher/tryMap(_:)`` fails with a"},{"text":"`DivisionByZeroError`. The ``Publisher/mapError(_:)`` operator converts this into a `MyGenericError`."},{"text":""},{"text":" struct DivisionByZeroError: Error {}"},{"text":" struct MyGenericError: Error { var wrappedError: Error }"},{"text":""},{"text":" func myDivide(_ dividend: Double, _ divisor: Double) throws -> Double {"},{"text":" guard divisor != 0 else { throw DivisionByZeroError() }"},{"text":" return dividend / divisor"},{"text":" }"},{"text":""},{"text":" let divisors: [Double] = [5, 4, 3, 2, 1, 0]"},{"text":" divisors.publisher"},{"text":" .tryMap { try myDivide(1, $0) }"},{"text":" .mapError { MyGenericError(wrappedError: $0) }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") ,"},{"text":" receiveValue: { print (\"value: \\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0.2 0.25 0.3333333333333333 0.5 1.0 completion: failure(MyGenericError(wrappedError: DivisionByZeroError()))\""},{"text":""},{"text":"- Parameter transform: A closure that takes the upstream failure as a parameter and returns a new error for the publisher to terminate with."},{"text":"- Returns: A publisher that replaces any upstream failure with a new error produced by the `transform` closure."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"E","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"E","rhs":"Error","rhsPrecise":"s:s5ErrorP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mapError"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MapError","preciseIdentifier":"s:7Combine10PublishersO8MapErrorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV07spawnedD0AC0cD0VSgvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","spawnedEmitter"],"names":{"title":"spawnedEmitter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnedEmitter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Attributes affecting secondary particles spawned from the main simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnedEmitter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV16TriangleFillModea","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","TriangleFillMode"],"names":{"title":"SimpleMaterial.TriangleFillMode","navigator":[{"kind":"identifier","spelling":"TriangleFillMode"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV5countSivp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of elements in the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryContains(where:)"],"names":{"title":"tryContains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a Boolean value upon receiving an element that satisfies the throwing predicate closure."},{"text":""},{"text":"Use ``Publisher/tryContains(where:)`` to find the first element in an upstream that satisfies the error-throwing closure you provide."},{"text":""},{"text":"This operator consumes elements produced from the upstream publisher until the upstream publisher either:"},{"text":""},{"text":"- Produces a matching element, after which it emits `true` and the publisher finishes normally."},{"text":"- Emits `false` if no matching element is found and the publisher finishes normally."},{"text":""},{"text":"If the predicate throws an error, the publisher fails, passing the error to its downstream."},{"text":""},{"text":"In the example below, the ``Publisher/tryContains(where:)`` operator tests values to find an element less than `10`; when the closure finds an odd number, like `3`, the publisher terminates with an `IllegalValueError`."},{"text":""},{"text":" struct IllegalValueError: Error {}"},{"text":""},{"text":" let numbers = [3, 2, 10, 5, 0, 9]"},{"text":" numbers.publisher"},{"text":" .tryContains {"},{"text":" if ($0 % 2 != 0) {"},{"text":" throw IllegalValueError()"},{"text":" }"},{"text":" return $0 < 10"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(IllegalValueError())\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether the element satisfies the closure’s comparison logic."},{"text":"- Returns: A publisher that emits the Boolean value `true` when the upstream publisher emits a matching value."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryContains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryContainsWhere","preciseIdentifier":"s:7Combine10PublishersO16TryContainsWhereV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."},{"text":""},{"text":"The calling process owns the entity if the value is `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5value0B023LocalizedStringResourceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that provides a value for the label."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","removeChild(_:preservingWorldTransform:)"],"names":{"title":"removeChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the given child from the entity."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV4rateAA0C7BuffersO4RateOvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","rate"],"names":{"title":"rate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Rate of the buffer."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision group for objects."},{"text":""},{"text":"If no ``CollisionFilter`` is assigned to an entity, that entity will be"},{"text":"part of this default collision group."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation16SampledAnimationV6frames4name9tweenMode13frameInterval10isAdditive10bindTarget10blendLayer06repeatH004fillH09trimStart0S3End0S8Duration6offset5delay5speedACyxGSayxG_SSAA05TweenH0OSfSbAA04BindN0OSgs5Int32VAA0d6RepeatH0OAA0d4FillH0VSdSgA4_A4_S2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["SampledAnimation","init(frames:name:tweenMode:frameInterval:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(frames:name:tweenMode:frameInterval:isAdditive:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation with a collection of frames that represent"},{"text":"incremental steps in the overall timeline."},{"text":""},{"text":"- Parameters:"},{"text":" - frames: An array of values in which each element represents a discrete"},{"text":"state of the animated property at a given point in the animation’s"},{"text":"timeline."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - tweenMode: An option that determines how animation frames transition."},{"text":""},{"text":" - frameInterval: The duration within the animation timeline for each"},{"text":"frame in the frames array."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."},{"text":""},{"text":" - bindTarget: A textual name that identifies the particular property"},{"text":"that animates."},{"text":""},{"text":" - blendLayer: The order in which the framework composites the animation"},{"text":"into the view."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats."},{"text":""},{"text":" - fillMode: The playback behavior outside of the normal duration."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the animation"},{"text":"plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the animation stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the calculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that changes the animation’s rate of playback."}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"Value","rhs":"AnimatableData","rhsPrecise":"s:17RealityFoundation14AnimatableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"frames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"tweenMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TweenMode","preciseIdentifier":"s:17RealityFoundation9TweenModeO"},{"kind":"text","spelling":" = .linear, "},{"kind":"externalParam","spelling":"frameInterval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0 / 30.0, "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false, "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from six other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers; it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":" let pubG = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubE, pubG)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":" pubG.send(54)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":" pubG.send(54)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 54 2 50 100 -2 33 33 54\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":" - g: A seventh publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]},{"name":"g","declarationFragments":[{"kind":"identifier","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1},{"name":"G","index":5,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"},{"kind":"sameType","lhs":"F.Failure","rhs":"G.Failure"},{"kind":"sameType","lhs":"F.Output","rhs":"G.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"G"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"g"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge7","preciseIdentifier":"s:7Combine10PublishersO6Merge7V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"G"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13stretchFactorSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","stretchFactor"],"names":{"title":"stretchFactor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stretchFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"How much a particle's shape is stretched along its velocity direction (Billboard particles only)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stretchFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","breakpointOnError()"],"names":{"title":"breakpointOnError()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Raises a debugger signal upon receiving a failure."},{"text":""},{"text":"When the upstream publisher fails with an error, this publisher raises the `SIGTRAP` signal, which stops the process in the debugger. Otherwise, this publisher passes through values and completions as-is."},{"text":""},{"text":"In this example a ``PassthroughSubject`` publishes strings, but its downstream ``Publisher/tryMap(_:)`` operator throws an error. This sends the error downstream as a ``Subscribers/Completion/failure(_:)``. The ``Publisher/breakpointOnError()`` operator receives this completion and stops the app in the debugger."},{"text":""},{"text":" struct CustomError : Error {}"},{"text":" let publisher = PassthroughSubject()"},{"text":" cancellable = publisher"},{"text":" .tryMap { stringValue in"},{"text":" throw CustomError()"},{"text":" }"},{"text":" .breakpointOnError()"},{"text":" .sink("},{"text":" receiveCompletion: { completion in print(\"Completion: \\(String(describing: completion))\") },"},{"text":" receiveValue: { aValue in print(\"Result: \\(String(describing: aValue))\") }"},{"text":" )"},{"text":""},{"text":" publisher.send(\"TEST DATA\")"},{"text":""},{"text":" // Prints: \"error: Execution was interrupted, reason: signal SIGTRAP.\""},{"text":" // Depending on your specific environment, the console messages may"},{"text":" // also include stack trace information, which is not shown here."},{"text":""},{"text":"- Returns: A publisher that raises a debugger signal upon receiving a failure."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"breakpointOnError"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Breakpoint","preciseIdentifier":"s:7Combine10PublishersO10BreakpointV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Alignment","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Iterator","rhs":"IndexingIterator","rhsPrecise":"s:s16IndexingIteratorV"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Iterator","rhs":"IndexingIterator","rhsPrecise":"s:s16IndexingIteratorV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV7Elementa","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","Element"],"names":{"title":"PhysicsSimulationComponent.CollisionOptions.Element","navigator":[{"kind":"identifier","spelling":"Element"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"}]},"docComment":{"module":"Swift","lines":[{"text":"The element type of the option set."},{"text":""},{"text":"To inherit all the default implementations from the `OptionSet` protocol,"},{"text":"the `Element` type must be `Self`, the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Element"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV10identifiers6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","identifier"],"names":{"title":"identifier","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A unique identifier of an entity within a network session."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"identifier"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE23generateCollisionShapes9recursive6staticySb_SbtF","interfaceLanguage":"swift"},"pathComponents":["Entity","generateCollisionShapes(recursive:static:)"],"names":{"title":"generateCollisionShapes(recursive:static:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCollisionShapes"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"static"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the shape used to detect collisions between two entities that"},{"text":"have collision components."},{"text":""},{"text":"Call this method on entities that adopt the ``HasModel`` and"},{"text":"``HasCollision`` protocols to prepare a shape used for collision"},{"text":"detection. The method stores the shape in the entity’s"},{"text":"``CollisionComponent`` instance."},{"text":""},{"text":"For non-model entities, the method has no effect. Nevertheless, the"},{"text":"method is defined for all entities so that you can call it on any"},{"text":"entity, and have the calculation propagate recursively to all that"},{"text":"entity’s descendants."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to also generate the"},{"text":" collision shapes for all descendants of the entity."},{"text":" - static: A Boolean value that indicates whether the colliders move. Set this to `true` to indicate the colliders don't move."},{"text":" Non-moving, static colliders are more efficient to use than non-static ones."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"static","internalName":"isStatic","declarationFragments":[{"kind":"identifier","spelling":"isStatic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCollisionShapes"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isStatic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder, when the type's `RawValue`"},{"text":"is `String`."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Encodable","rhsPrecise":"s:SE"},{"kind":"sameType","lhs":"Self.RawValue","rhs":"String","rhsPrecise":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Encodable","rhsPrecise":"s:SE"},{"kind":"sameType","lhs":"Self.RawValue","rhs":"String","rhsPrecise":"s:SS"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a simple material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","removeFromParent(preservingWorldTransform:)"],"names":{"title":"removeFromParent(preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from its current parent or from the scene if it is a"},{"text":"root entity."},{"text":""},{"text":"This method behaves like the"},{"text":"``HasHierarchy/setParent(_:preservingWorldTransform:)`` method with a"},{"text":"value of `nil` for the `parent` parameter, except that method has no"},{"text":"effect on root entities. A root entity is one that is stored in a"},{"text":"scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of any modified parent"},{"text":"entities are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV4noneAEvpZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","none"],"names":{"title":"none","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Opts out of reporting collisions."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO6scalaryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","scalar"],"names":{"title":"TextureResource.Semantic.scalar","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scalar"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store a single value in each pixel."},{"text":""},{"text":"Properties that specify a semantic of `scalar` use the texture to"},{"text":"store a single floating point value in each pixel. If the texture’s"},{"text":"source is an RGB image, the property uses only the red channel"},{"text":"value."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scalar"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance between two indices."},{"text":""},{"text":"Unless the collection conforms to the `BidirectionalCollection` protocol,"},{"text":"`start` must be less than or equal to `end`."},{"text":""},{"text":"- Parameters:"},{"text":" - start: A valid index of the collection."},{"text":" - end: Another valid index of the collection. If `end` is equal to"},{"text":" `start`, the result is zero."},{"text":"- Returns: The distance between `start` and `end`. The result can be"},{"text":" negative only if the collection conforms to the"},{"text":" `BidirectionalCollection` protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the"},{"text":" resulting distance."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerCAAE4stop16blendOutDurationySd_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","stop(blendOutDuration:)"],"names":{"title":"stop(blendOutDuration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blendOutDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops an animation with a fade-out time."},{"text":""},{"text":"- Parameters:"},{"text":"- blendOutDuration: Time (in seconds) to fade out the animation before it stops."},{"text":""},{"text":"This method has no effect if the animation is complete. After you stop"},{"text":"the animation, the playback controller becomes invalid. Create a new one"},{"text":"with the same resource to play the animation again."}]},"functionSignature":{"parameters":[{"name":"blendOutDuration","declarationFragments":[{"kind":"identifier","spelling":"blendOutDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"blendOutDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO3rawyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","raw"],"names":{"title":"TextureResource.Semantic.raw","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture unmodified."},{"text":""},{"text":"For texture properties that use the `raw` semantic, the number of"},{"text":"channels and values is the same as the source image. If the source"},{"text":"image contains color space information, RealityKit ignores it. For"},{"text":"`raw` textures, each individual pixel containes one floating-point"},{"text":"value between `0.0` and `1.0` for each channel in the source image."},{"text":"For example, a grayscale source image results in a texture that"},{"text":"contains one value per pixel, and an RGB source image results in"},{"text":"three values per pixel."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raw"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV6offsetSdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","offset"],"names":{"title":"offset","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The time, in seconds, at which the animation begins within the duration."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no offset. Setting a value for this property moves the animation data"},{"text":"along the timeline and doesn't change timing. If you set a"},{"text":"``OrbitAnimation/fillMode`` other than ``AnimationFillMode/none``, the"},{"text":"animation fills the vacant area created by the offset according to the"},{"text":"characteristics of the specified fill mode."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","requestOwnership(timeout:_:)"],"names":{"title":"requestOwnership(timeout:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests ownership of the entity."},{"text":""},{"text":"Requesting ownership isn’t guaranteed to succeed."},{"text":""},{"text":"- Parameters:"},{"text":" - timeout: A time in seconds to wait before giving up."},{"text":""},{"text":"- callback: A closure that the method calls when the request completes"},{"text":"or times out."}]},"functionSignature":{"parameters":[{"name":"timeout","declarationFragments":[{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"callback","declarationFragments":[{"kind":"identifier","spelling":"callback"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 15, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"callback"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxxtKXEKF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Iterate over four elements per step."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC23generateCollisionShapes9recursiveySb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","generateCollisionShapes(recursive:)"],"names":{"title":"generateCollisionShapes(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCollisionShapes"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates the shape used to detect collisions between two entities that"},{"text":"have collision components."},{"text":""},{"text":"Call this method on entities that adopt the ``HasModel`` and"},{"text":"``HasCollision`` protocols to prepare a shape used for collision"},{"text":"detection. The method stores the shape in the entity’s"},{"text":"``CollisionComponent`` instance."},{"text":""},{"text":"For non-model entities, the method has no effect. Nevertheless, the"},{"text":"method is defined for all entities so that you can call it on any"},{"text":"entity, and have the calculation propagate recursively to all that"},{"text":"entity’s descendants."},{"text":""},{"text":"- Parameters:"},{"text":" - recursive: A Boolean that you set to `true` to also generate the"},{"text":" collision shapes for all descendants of the entity."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCollisionShapes"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Semantic","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a synchronization component."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of this `AudioFileResource`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO6normalyA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","normal"],"names":{"title":"TextureResource.Semantic.normal","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store surface normals."},{"text":""},{"text":"Properties that specify a semantic of `normal` use the texture to"},{"text":"store tangent-space surface normal vectors for use in lighting"},{"text":"calculations. Each pixel’s `R` channel stores the `X` value from the"},{"text":"vector. The `G` channel stores the `Y` value from the vector, and"},{"text":"the `B` channel stores the `Z` value from the vector. All values are"},{"text":"between `-1.0` and `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","helpAnchor"],"names":{"title":"helpAnchor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message providing \"help\" text if the user requests help."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"helpAnchor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6radius6height9skinWidth10slopeLimit04stepK08upVector15collisionFilterACSf_S4fs5SIMD3VySfGAA09CollisionP0Vtcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","init(radius:height:skinWidth:slopeLimit:stepLimit:upVector:collisionFilter:)"],"names":{"title":"init(radius:height:skinWidth:slopeLimit:stepLimit:upVector:collisionFilter:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a character controller component using specified values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultSkinWidth, "},{"kind":"externalParam","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultSlopeLimit, "},{"kind":"externalParam","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = defaultStepLimit, "},{"kind":"externalParam","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = defaultUpVector, "},{"kind":"externalParam","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":" = .default)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO8hdrColoryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hdrColor"],"names":{"title":"TextureResource.Semantic.hdrColor","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hdrColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store a high-dynamic range image."},{"text":""},{"text":"Properties that specify a semantic of `hdrColor` use the texture to"},{"text":"store high-dynamic range RGB color data. If the source image"},{"text":"contains color space information, RealityKit modifies the individual"},{"text":"pixels to fit the color space. If the source image is grayscale,"},{"text":"RealityKit converts it to an RGB image first."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hdrColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default collision filter."},{"text":""},{"text":"Entities with a ``CollisionFilter/default`` collision filter have a"},{"text":"``CollisionFilter/group`` of ``CollisionGroup/default`` and a"},{"text":"``CollisionFilter/mask`` of ``CollisionGroup/all``."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO5coloryA2EmF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","color"],"names":{"title":"TextureResource.Semantic.color","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Use the texture to store colors data."},{"text":""},{"text":"Properties that specify a semantic of `color` use the RGB color data"},{"text":"from the texture. If the source image contains color space"},{"text":"information, RealityKit modifies the individual pixels to fit the"},{"text":"color space. If the source image is grayscale, RealityKit converts"},{"text":"it to an RGB image first."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","children"],"names":{"title":"children","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The child entities that the entity manages."},{"text":""},{"text":"An entity can have any number of child entities."},{"text":""},{"text":"Use the ``HasHierarchy/addChild(_:preservingWorldTransform:)`` method to"},{"text":"add a child to an entity. Use the"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` method to"},{"text":"remove one from an entity. These methods automatically update the"},{"text":"``HasHierarchy/parent`` properties of the child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV8RawValuea","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","RawValue"],"names":{"title":"PhysicsSimulationComponent.CollisionOptions.RawValue","navigator":[{"kind":"identifier","spelling":"RawValue"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"}]},"docComment":{"module":"Swift","lines":[{"text":"The raw type that can be used to represent all values of the conforming"},{"text":"type."},{"text":""},{"text":"Every distinct value of the conforming type has a corresponding unique"},{"text":"value of the `RawValue` type, but there may be values of the `RawValue`"},{"text":"type that don't have a corresponding value of the conforming type."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RawValue"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation14CollisionGroupV3allACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","all"],"names":{"title":"all","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group that represents all groups."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a character controller component using default values."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC4stopyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","stop()"],"names":{"title":"stop()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Stops an animation."},{"text":""},{"text":"This method has no effect if the animation is complete. After you stop"},{"text":"the animation, the playback controller becomes invalid. Create a new one"},{"text":"with the same resource to play the animation again."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stop"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9sortOrderAE04SortG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","sortOrder"],"names":{"title":"sortOrder","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sortOrder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SortOrder","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"How overlapping particles are sorted before rendering. Defaults to `increasingDepth`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sortOrder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SortOrder","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","withUnsynchronized(_:)"],"names":{"title":"withUnsynchronized(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"(() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calls the given closure in a way such that component changes that the"},{"text":"closure makes don’t trigger synchronization."},{"text":""},{"text":"Use this method to make local changes that don’t affect remote peers,"},{"text":"like aligning a billboard component to face the local camera."},{"text":""},{"text":"Using this method doesn’t permanently prevent changes from being"},{"text":"synchronized. If you modify the same components immediately before the"},{"text":"call to ``HasSynchronization/withUnsynchronized(_:)``, or anytime"},{"text":"afterward, the changes are synchronized."},{"text":""},{"text":"If the local peer doesn’t own the associated entity, changes that the"},{"text":"remote owner makes continue to synchronize, overwriting local,"},{"text":"unsynchronized changes."},{"text":""},{"text":"- Parameters:"},{"text":"- changes: A closure that the method calls while suppressing"},{"text":"synchronization triggers."}]},"functionSignature":{"parameters":[{"name":"changes","declarationFragments":[{"kind":"identifier","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceC13configurationAcAE13ConfigurationVvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","configuration"],"names":{"title":"configuration","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The configuration of this `AudioFileResource`."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV8rawValues5UInt8Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","rawValue"],"names":{"title":"rawValue","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}]},"docComment":{"module":"Swift","lines":[{"text":"The corresponding value of the raw type."},{"text":""},{"text":"A new instance initialized with `rawValue` will be equivalent to this"},{"text":"instance. For example:"},{"text":""},{"text":" enum PaperSize: String {"},{"text":" case A4, A5, Letter, Legal"},{"text":" }"},{"text":""},{"text":" let selectedSize = PaperSize.Letter"},{"text":" print(selectedSize.rawValue)"},{"text":" // Prints \"Letter\""},{"text":""},{"text":" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)"},{"text":" // Prints \"true\""}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV16triangleFillModeAA0D14ParameterTypesV08TrianglefG0Ovp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","triangleFillMode"],"names":{"title":"triangleFillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SimpleMaterial","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV16TriangleFillModea"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that controls how RealityKit draws triangles."},{"text":""},{"text":"A value of ``RealityKit/MaterialParameterTypes.trianglefillmode.fill`` causes RealityKit"},{"text":"to draw triangles normally, while a value of ``RealityKit/MaterialParameterTypes.trianglefillmode.lines``"},{"text":"turns on wireframe rendering."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SimpleMaterial","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation14SimpleMaterialV16TriangleFillModea"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","retry(_:)"],"names":{"title":"retry(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Attempts to recreate a failed subscription with the upstream publisher up to the number of times you specify."},{"text":""},{"text":"Use ``Publisher/retry(_:)`` to try a connecting to an upstream publisher after a failed connection attempt."},{"text":""},{"text":"In the example below, a attempts to connect to a remote URL. If the connection attempt succeeds, it publishes the remote service’s HTML to the downstream publisher and completes normally. Otherwise, the retry operator attempts to reestablish the connection. If after three attempts the publisher still can’t connect to the remote URL, the ``Publisher/catch(_:)`` operator replaces the error with a new publisher that publishes a “connection timed out” HTML page. After the downstream subscriber receives the timed out message, the stream completes normally."},{"text":""},{"text":" struct WebSiteData: Codable {"},{"text":" var rawHTML: String"},{"text":" }"},{"text":""},{"text":" let myURL = URL(string: \"https://www.example.com\")"},{"text":""},{"text":" cancellable = URLSession.shared.dataTaskPublisher(for: myURL!)"},{"text":" .retry(3)"},{"text":" .map({ (page) -> WebSiteData in"},{"text":" return WebSiteData(rawHTML: String(decoding: page.data, as: UTF8.self))"},{"text":" })"},{"text":" .catch { error in"},{"text":" return Just(WebSiteData(rawHTML: \"Unable to load page - timed out.\"))"},{"text":" }"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: The HTML content from the remote URL upon a successful connection,"},{"text":" // or returns \"Unable to load page - timed out.\" if the number of retries exceeds the specified value."},{"text":""},{"text":"After exceeding the specified number of retries, the publisher passes the failure to the downstream receiver."},{"text":"- Parameter retries: The number of times to attempt to recreate the subscription."},{"text":"- Returns: A publisher that attempts to recreate its subscription to a failed upstream publisher."}]},"functionSignature":{"parameters":[{"name":"retries","declarationFragments":[{"kind":"identifier","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"retry"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"retries"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Retry","preciseIdentifier":"s:7Combine10PublishersO5RetryV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation23BindableValuesReferenceVyAA0C5ValueVyxGSgAA10BindTargetO_xmtcAA0C4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["BindableValuesReference","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the bindable value at the subscripted index."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV8rawValueAEs5UInt8V_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","CollisionOptions","init(rawValue:)"],"names":{"title":"init(rawValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new option set from the given raw value."},{"text":""},{"text":"This initializer always succeeds, even if the value passed as `rawValue`"},{"text":"exceeds the static properties declared as part of the option set. This"},{"text":"example creates an instance of `ShippingOptions` with a raw value beyond"},{"text":"the highest element, with a bit mask that effectively contains all the"},{"text":"declared static members."},{"text":""},{"text":" let extraOptions = ShippingOptions(rawValue: 255)"},{"text":" print(extraOptions.isStrictSuperset(of: .all))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter rawValue: The raw value of the option set to create. Each bit"},{"text":" of `rawValue` potentially represents an element of the option set,"},{"text":" though raw values may include bits that are not defined as distinct"},{"text":" values of the `OptionSet` type."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"rawValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt8","preciseIdentifier":"s:s5UInt8V"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC8SemanticO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV25particlesInheritTransformSbvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","particlesInheritTransform"],"names":{"title":"particlesInheritTransform","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"particlesInheritTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Determines if the entity's transformation also affects the particles."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"particlesInheritTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5SceneC2IDa","interfaceLanguage":"swift"},"pathComponents":["Scene","ID"],"names":{"title":"Scene.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the sequence."},{"text":""},{"text":"The sequence must be finite. If the maximum length exceeds the number of"},{"text":"elements in the sequence, the result contains all the elements in the"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV7defaultACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","default"],"names":{"title":"default","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces the default curve for the transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`default`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","multicast(subject:)"],"names":{"title":"multicast(subject:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Provides a subject to deliver elements to multiple subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(_:)``, this method produces a publisher that shares the provided ``Subject`` among all the downstream subscribers."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(subject:)`` operator with a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast(subject: PassthroughSubject<(String, Int), Never>())"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 78))"},{"text":" // Stream 2 received: (\"First\", 78)"},{"text":" // Stream 1 received: (\"First\", 78)"},{"text":" // Random: receive value: ((\"Second\", 98))"},{"text":" // Stream 2 received: (\"Second\", 98)"},{"text":" // Stream 1 received: (\"Second\", 98)"},{"text":" // Random: receive value: ((\"Third\", 61))"},{"text":" // Stream 2 received: (\"Third\", 61)"},{"text":" // Stream 1 received: (\"Third\", 61)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter subject: A subject to deliver elements to downstream subscribers."}]},"functionSignature":{"parameters":[{"name":"subject","declarationFragments":[{"kind":"identifier","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"subject"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21AmbientAudioComponentV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:_:)"],"names":{"title":"merge(with:_:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from five other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":" let pubF = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE, pubF)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubF.send(44)"},{"text":""},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":" pubF.send(33)"},{"text":""},{"text":" //Prints: \"1 40 90 -1 33 44 2 50 100 -2 33 33\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":" - f: A sixth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]},{"name":"f","declarationFragments":[{"kind":"identifier","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1},{"name":"F","index":4,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"},{"kind":"sameType","lhs":"E.Failure","rhs":"F.Failure"},{"kind":"sameType","lhs":"E.Output","rhs":"F.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"F"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"f"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge6","preciseIdentifier":"s:7Combine10PublishersO6Merge6V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"F"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV","interfaceLanguage":"swift"},"pathComponents":["BindTarget","TextureCoordinateTransformPath"],"names":{"title":"BindTarget.TextureCoordinateTransformPath","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransformPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransformPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The texture coordinate parameters for a given texture layer that an animation can target."},{"text":""},{"text":"When `index` equals `0`, the structure refers to the primary texture coordinates. When `index` equals `1`, the structure refers to the secondary texture coordinates."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransformPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC6entityAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity to which the animation applies."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"weak"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21AmbientAudioComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AmbientAudioComponent","preciseIdentifier":"s:17RealityFoundation21AmbientAudioComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AmbientAudioComponent","preciseIdentifier":"s:17RealityFoundation21AmbientAudioComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AmbientAudioComponent","preciseIdentifier":"s:17RealityFoundation21AmbientAudioComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AmbientAudioComponent","preciseIdentifier":"s:17RealityFoundation21AmbientAudioComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AmbientAudioComponent","preciseIdentifier":"s:17RealityFoundation21AmbientAudioComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AmbientAudioComponent","preciseIdentifier":"s:17RealityFoundation21AmbientAudioComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","Source"],"names":{"title":"ImageBasedLightComponent.Source","navigator":[{"kind":"identifier","spelling":"Source"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Source"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Source"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8IteratorV4nextxSgyF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","Iterator","next()"],"names":{"title":"next()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Advances to the next element and returns it, or `nil` if no next element"},{"text":"exists."},{"text":""},{"text":"Repeatedly calling this method returns, in order, all the elements of the"},{"text":"underlying sequence. As soon as the sequence has run out of elements, all"},{"text":"subsequent calls return `nil`."},{"text":""},{"text":"You must not call this method if any other copy of this iterator has been"},{"text":"advanced with a call to its `next()` method."},{"text":""},{"text":"The following example shows how an iterator can be used explicitly to"},{"text":"emulate a `for`-`in` loop. First, retrieve a sequence's iterator, and"},{"text":"then call the iterator's `next()` method until it returns `nil`."},{"text":""},{"text":" let numbers = [2, 3, 5, 7]"},{"text":" var numbersIterator = numbers.makeIterator()"},{"text":""},{"text":" while let num = numbersIterator.next() {"},{"text":" print(num)"},{"text":" }"},{"text":" // Prints \"2\""},{"text":" // Prints \"3\""},{"text":" // Prints \"5\""},{"text":" // Prints \"7\""},{"text":""},{"text":"- Returns: The next element in the underlying sequence, if a next element"},{"text":" exists; otherwise, `nil`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"next"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect(_:)"],"names":{"title":"collect(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects up to the specified number of elements, and then emits a single array of the collection."},{"text":""},{"text":"Use ``Publisher/collect(_:)`` to emit arrays of at most `count` elements from an upstream publisher. If the upstream publisher finishes before collecting the specified number of elements, the publisher sends an array of only the items it received. This may be fewer than `count` elements."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"In the example below, the ``Publisher/collect(_:)`` operator emits one partial and two full arrays based on the requested collection size of `5`:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect(5)"},{"text":" .sink { print(\"\\($0), terminator: \" \"\") }"},{"text":""},{"text":" // Prints \"[0, 1, 2, 3, 4] [5, 6, 7, 8, 9] [10] \""},{"text":""},{"text":"> Note: When this publisher receives a request for `.max(n)` elements, it requests `.max(count * n)` from the upstream publisher."},{"text":""},{"text":"- Parameter count: The maximum number of received elements to buffer before publishing."},{"text":"- Returns: A publisher that collects up to the specified number of elements, and then publishes them as an array."}]},"functionSignature":{"parameters":[{"name":"count","declarationFragments":[{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollectByCount","preciseIdentifier":"s:7Combine10PublishersO14CollectByCountV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","interfaceLanguage":"swift"},"pathComponents":["Entity","ForwardDirection"],"names":{"title":"Entity.ForwardDirection","navigator":[{"kind":"identifier","spelling":"ForwardDirection"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ForwardDirection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines the forward direction for an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ForwardDirection"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV6sourceAC6SourceOvp","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","source"],"names":{"title":"source","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Source","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Image(s) of the lighting environment"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Source","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV4gain11directLevel06reverbH011directivityACSd_S2dAA0D0O11DirectivityOtcfc","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","init(gain:directLevel:reverbLevel:directivity:)"],"names":{"title":"init(gain:directLevel:reverbLevel:directivity:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"directLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"reverbLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"directivity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configure the behavior of a spatial audio source."},{"text":""},{"text":"- Parameters:"},{"text":" - gain: The overall level for all sounds emitted from an entity."},{"text":" - directLevel: The level of the direct, unreverberated, signal emitted from an entity."},{"text":" - reverbLevel: The level of reverberated signal emitted from an entity."},{"text":" - directivity: The radiation pattern for sound emitted from an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":" = .zero, "},{"kind":"externalParam","spelling":"directLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":" = .zero, "},{"kind":"externalParam","spelling":"reverbLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":" = .zero, "},{"kind":"externalParam","spelling":"directivity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"},{"kind":"text","spelling":" = .beam(focus: .zero))"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV2idAA0D7BuffersO10IdentifierVvp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Identifier","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity over which the network peer would like to gain ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","split(maxSplits:omittingEmptySubsequences:whereSeparator:)"],"names":{"title":"split(maxSplits:omittingEmptySubsequences:whereSeparator:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order, that"},{"text":"don't contain elements satisfying the given predicate. Elements that are"},{"text":"used to split the sequence are not returned as part of any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string using a"},{"text":"closure that matches spaces. The first use of `split` returns each word"},{"text":"that was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print("},{"text":" line.split(maxSplits: 1, whereSeparator: { $0 == \" \" })"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `true` for the `allowEmptySlices` parameter, so"},{"text":"the returned array contains empty strings where spaces were repeated."},{"text":""},{"text":" print("},{"text":" line.split("},{"text":" omittingEmptySubsequences: false,"},{"text":" whereSeparator: { $0 == \" \" }"},{"text":" ).map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each pair of consecutive elements"},{"text":" satisfying the `isSeparator` predicate and for each element at the"},{"text":" start or end of the sequence satisfying the `isSeparator` predicate."},{"text":" If `true`, only nonempty subsequences are returned. The default"},{"text":" value is `true`."},{"text":" - isSeparator: A closure that returns `true` if its argument should be"},{"text":" used to split the sequence; otherwise, `false`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},{"name":"whereSeparator","internalName":"isSeparator","declarationFragments":[{"kind":"identifier","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true, "},{"kind":"externalParam","spelling":"whereSeparator"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isSeparator"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC8isPausedSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isPaused"],"names":{"title":"isPaused","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the animation is paused."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isPaused"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0F4DataRzluip","interfaceLanguage":"swift"},"pathComponents":["Entity","ParameterSet","subscript(_:_:)"],"names":{"title":"subscript(_:_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Accessor for the parameters, returns a bindable value."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"type"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type = T.self) -> "},{"kind":"typeIdentifier","spelling":"BindableValue","preciseIdentifier":"s:17RealityFoundation13BindableValueV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":">? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6radiusSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","radius"],"names":{"title":"radius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The capsule radius."},{"text":""},{"text":"Specify this value in the entity's coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV9requesterAA0C6PeerID_pvp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest","requester"],"names":{"title":"requester","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requester"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The network peer requesting ownership."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requester"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationPeerID","preciseIdentifier":"s:17RealityFoundation21SynchronizationPeerIDP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V15vortexDirections5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","vortexDirection"],"names":{"title":"vortexDirection","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vortexDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Direction vector of the vortex axis. Defaults to (0, 1, 0)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vortexDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12MaterialPathV","interfaceLanguage":"swift"},"pathComponents":["BindTarget","MaterialPath"],"names":{"title":"BindTarget.MaterialPath","navigator":[{"kind":"identifier","spelling":"MaterialPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material parameters that an animation can target."},{"text":""},{"text":"Each property is a `BindTarget` which defines a parameter an animation can target."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["Scene","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV5countSivp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE6swapAtyy5IndexQz_ACtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","swapAt(_:_:)"],"names":{"title":"swapAt(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"swapAt"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Exchanges the values at the specified indices of the collection."},{"text":""},{"text":"Both parameters must be valid indices of the collection that are not"},{"text":"equal to `endIndex`. Calling `swapAt(_:_:)` with the same index as both"},{"text":"`i` and `j` has no effect."},{"text":""},{"text":"- Parameters:"},{"text":" - i: The index of the first value to swap."},{"text":" - j: The index of the second value to swap."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"j","declarationFragments":[{"kind":"identifier","spelling":"j"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"swapAt"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"j"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Scene","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO10EntityPathV","interfaceLanguage":"swift"},"pathComponents":["BindTarget","EntityPath"],"names":{"title":"BindTarget.EntityPath","navigator":[{"kind":"identifier","spelling":"EntityPath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityPath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind path context for a particular entity."},{"text":""},{"text":"This structure references all the animated properties of an entity."},{"text":""},{"text":"To access the animated properties of one of the entity's children, call"},{"text":"``BindTarget/EntityPath/entity(_:)`` and pass in the child's name."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityPath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO5sceneyAC9ScenePathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","scene(_:)"],"names":{"title":"scene(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a bind path from a particular scene."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ScenePath","preciseIdentifier":"s:17RealityFoundation10BindTargetO9ScenePathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12spatialAudioAA07SpatialE9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","spatialAudio"],"names":{"title":"spatialAudio","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spatialAudio"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpatialAudioComponent","preciseIdentifier":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The component that configures the spatial rendering of sounds from this entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spatialAudio"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpatialAudioComponent","preciseIdentifier":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation5SceneC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Scene","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two scenes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first scene to compare."},{"text":""},{"text":" - rhs: The second scene to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scenes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Scene","preciseIdentifier":"s:17RealityFoundation5SceneC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","RelativeViewport"],"names":{"title":"RealityRenderer.CameraOutput.RelativeViewport","navigator":[{"kind":"identifier","spelling":"RelativeViewport"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RelativeViewport"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Structure defining a viewport for rendering with a camera."},{"text":""},{"text":"The units are relative to output texture size."},{"text":"To map normalized-device coordinates to the whole texture:"},{"text":""},{"text":"```swift"},{"text":"viewport = RealityRenderer.CameraOutput.RelativeViewport(originX: 0.0, originY: 0.0, width: 1.0, height: 1.0)"},{"text":"```"},{"text":""},{"text":"Assigning values more than 1.0 to ``CameraOutput.width``"},{"text":"or ``CameraOutput.height`` allows extra stretching in horizontal"},{"text":"and vertical directions."},{"text":""},{"text":"Assigning values less than 0.0 to ``CameraOutput.originX``"},{"text":"or ``CameraOutput.originY`` allows shifting viewport into negative X"},{"text":"and negative Y direction."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RelativeViewport"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV7easeOutACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeOut"],"names":{"title":"easeOut","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual ending transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV20fieldSimulationSpaceAC0gH0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","fieldSimulationSpace"],"names":{"title":"fieldSimulationSpace","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fieldSimulationSpace"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationSpace","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Field Simulation Space, either local or global"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fieldSimulationSpace"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationSpace","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","sorted(by:)"],"names":{"title":"sorted(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"When you want to sort a sequence of elements that don't conform to the"},{"text":"`Comparable` protocol, pass a predicate to this method that returns"},{"text":"`true` when the first element should be ordered before the second. The"},{"text":"elements of the resulting array are ordered according to the given"},{"text":"predicate."},{"text":""},{"text":"In the following example, the predicate provides an ordering for an array"},{"text":"of a custom `HTTPResponse` type. The predicate orders errors before"},{"text":"successes and sorts the error responses by their error code."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let responses: [HTTPResponse] = [.error(500), .ok, .ok, .error(404), .error(403)]"},{"text":" let sortedResponses = responses.sorted {"},{"text":" switch ($0, $1) {"},{"text":" // Order errors by code"},{"text":" case let (.error(aCode), .error(bCode)):"},{"text":" return aCode < bCode"},{"text":""},{"text":" // All successes are equivalent, so none is before any other"},{"text":" case (.ok, .ok): return false"},{"text":""},{"text":" // Order errors before successes"},{"text":" case (.error, .ok): return true"},{"text":" case (.ok, .error): return false"},{"text":" }"},{"text":" }"},{"text":" print(sortedResponses)"},{"text":" // Prints \"[.error(403), .error(404), .error(500), .ok, .ok]\""},{"text":""},{"text":"You also use this method to sort elements that conform to the"},{"text":"`Comparable` protocol in descending order. To sort your sequence in"},{"text":"descending order, pass the greater-than operator (`>`) as the"},{"text":"`areInIncreasingOrder` parameter."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"Calling the related `sorted()` method is equivalent to calling this"},{"text":"method and passing the less-than operator (`<`) as the predicate."},{"text":""},{"text":" print(students.sorted())"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":" print(students.sorted(by: <))"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also `true`."},{"text":" (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements for which"},{"text":"`areInIncreasingOrder` does not establish an order."},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","parent"],"names":{"title":"parent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parent entity."},{"text":""},{"text":"An entity has at most one parent entity. If an entity isn’t part of a"},{"text":"hierarchy, or if it is a root entity, the ``HasHierarchy/parent``"},{"text":"property is `nil`."},{"text":""},{"text":"Use the ``HasHierarchy/setParent(_:preservingWorldTransform:)`` method"},{"text":"to change an entity’s parent. Use the"},{"text":"``HasHierarchy/removeFromParent(preservingWorldTransform:)`` method to"},{"text":"remove the parent. These methods automatically update the corresponding"},{"text":"``HasHierarchy/children`` collections of the new and old parent."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsBodyComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","Descriptor"],"names":{"title":"RealityRenderer.CameraOutput.Descriptor","navigator":[{"kind":"identifier","spelling":"Descriptor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Descriptor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Describes the output of rendering with a camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Descriptor"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO12anchorEntityyAC0F4PathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","anchorEntity(_:)"],"names":{"title":"anchorEntity(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a complex bind path from a particular anchor entity in the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"anchorEntity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV13colorTexturesSaySo10MTLTexture_pGvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","colorTextures"],"names":{"title":"colorTextures","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colorTextures"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Textures to store color output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colorTextures"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5EndedV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Ended","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21AmbientAudioComponentV4fromACs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE8durations8DurationVvp","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Duration","preciseIdentifier":"s:s8DurationV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The duration of this `AudioFileResource`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Duration","preciseIdentifier":"s:s8DurationV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Scene","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the scene by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"scene."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","ranges(of:)"],"names":{"title":"ranges(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Finds and returns the ranges of the all occurrences of a given sequence"},{"text":"within the collection."},{"text":"- Parameter other: The sequence to search for."},{"text":"- Returns: A collection of ranges of all occurrences of `other`. Returns"},{"text":" an empty collection if `other` is not found."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"parameters":[{"name":"C","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"C.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ranges"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":">] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Collection","preciseIdentifier":"s:Sl"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV6easeInACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeIn"],"names":{"title":"easeIn","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeIn"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual starting transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeIn"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV4ModeO","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","Mode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV11directivityAA0D0O11DirectivityOvp","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","directivity"],"names":{"title":"directivity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"directivity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The radiation pattern for sound emitted from an entity."},{"text":""},{"text":"- Note: The `directivity` property cannot be updated dynamically, so you must set it before preparing or playing an"},{"text":" audio resource on an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"directivity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO6entityyAC10EntityPathVSSFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","entity(_:)"],"names":{"title":"entity(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a complex bind path from a particular child entity of the"},{"text":"current entity."}]},"functionSignature":{"parameters":[{"name":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"EntityPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO10EntityPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC10isCompleteSbvp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","isComplete"],"names":{"title":"isComplete","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the animation has finished running."},{"text":""},{"text":"After an animation completes, the playback controller becomes invalid."},{"text":"To play the animation again, create a new controller with the same"},{"text":"resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isComplete"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","compare(_:_:)"],"names":{"title":"compare(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"docComment":{"module":"Foundation","lines":[{"text":"If `lhs` is ordered before `rhs` in the ordering described by the given"},{"text":"sequence of `SortComparator`s"},{"text":""},{"text":"The first element of the sequence of comparators specifies the primary"},{"text":"comparator to be used in sorting the sequence's elements. Any subsequent"},{"text":"comparators are used to further refine the order of elements with equal"},{"text":"values."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compare"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ComparisonResult","preciseIdentifier":"c:@E@NSComparisonResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V17isLightingEnabledSbvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","isLightingEnabled"],"names":{"title":"isLightingEnabled","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isLightingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Determines if particles are affected by scene lighting."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isLightingEnabled"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV8elementsSayxGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","elements"],"names":{"title":"elements","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Access the buffer as an array. This may create a copy if the data are not already an array."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","multicast(_:)"],"names":{"title":"multicast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">(() -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Applies a closure to create a subject that delivers elements to subscribers."},{"text":""},{"text":"Use a multicast publisher when you have multiple downstream subscribers, but you want upstream publishers to only process one ``Subscriber/receive(_:)`` call per event. This is useful when upstream publishers are doing expensive work you don’t want to duplicate, like performing network requests."},{"text":""},{"text":"In contrast with ``Publisher/multicast(subject:)``, this method produces a publisher that creates a separate ``Subject`` for each subscriber."},{"text":""},{"text":"The following example uses a sequence publisher as a counter to publish three random numbers, generated by a ``Publisher/map(_:)-99evh`` operator."},{"text":"It uses a ``Publisher/multicast(_:)`` operator whose closure creates a ``PassthroughSubject`` to share the same random number to each of two subscribers. Because the multicast publisher is a ``ConnectablePublisher``, publishing only begins after a call to ``ConnectablePublisher/connect()``."},{"text":""},{"text":" let pub = [\"First\", \"Second\", \"Third\"].publisher"},{"text":" .map( { return ($0, Int.random(in: 0...100)) } )"},{"text":" .print(\"Random\")"},{"text":" .multicast { PassthroughSubject<(String, Int), Never>() }"},{"text":""},{"text":" cancellable1 = pub"},{"text":" .sink { print (\"Stream 1 received: \\($0)\")}"},{"text":" cancellable2 = pub"},{"text":" .sink { print (\"Stream 2 received: \\($0)\")}"},{"text":" pub.connect()"},{"text":""},{"text":" // Prints:"},{"text":" // Random: receive value: ((\"First\", 9))"},{"text":" // Stream 2 received: (\"First\", 9)"},{"text":" // Stream 1 received: (\"First\", 9)"},{"text":" // Random: receive value: ((\"Second\", 46))"},{"text":" // Stream 2 received: (\"Second\", 46)"},{"text":" // Stream 1 received: (\"Second\", 46)"},{"text":" // Random: receive value: ((\"Third\", 26))"},{"text":" // Stream 2 received: (\"Third\", 26)"},{"text":" // Stream 1 received: (\"Third\", 26)"},{"text":""},{"text":"In this example, the output shows that the ``Publisher/print(_:to:)`` operator receives each random value only one time, and then sends the value to both subscribers."},{"text":""},{"text":"- Parameter createSubject: A closure to create a new ``Subject`` each time a subscriber attaches to the multicast publisher."}]},"functionSignature":{"parameters":[{"name":"createSubject","declarationFragments":[{"kind":"identifier","spelling":"createSubject"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Subject","rhsPrecise":"s:7Combine7SubjectP"},{"kind":"sameType","lhs":"Self.Failure","rhs":"S.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"S.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"multicast"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"createSubject"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" () -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Multicast","preciseIdentifier":"s:7Combine10PublishersO9MulticastC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Subject","preciseIdentifier":"s:7Combine7SubjectP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipRequest"],"names":{"title":"SynchronizationEvents.OwnershipRequest","navigator":[{"kind":"identifier","spelling":"OwnershipRequest"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipRequest"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when a network peer wants to gain ownership of an"},{"text":"entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipRequest"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV6heightSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","height"],"names":{"title":"height","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The capsule height."},{"text":""},{"text":"The capsule height includes radii and should be specified the entity's coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21AmbientAudioComponentV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the controller by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"controller."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","interfaceLanguage":"swift"},"pathComponents":["Component","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","collect()"],"names":{"title":"collect()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Collects all received elements, and emits a single array of the collection when the upstream publisher finishes."},{"text":""},{"text":"Use ``Publisher/collect()`` to gather elements into an array that the operator emits after the upstream publisher finishes."},{"text":""},{"text":"If the upstream publisher fails with an error, this publisher forwards the error to the downstream receiver instead of sending its output."},{"text":""},{"text":"This publisher requests an unlimited number of elements from the upstream publisher and uses an unbounded amount of memory to store the received values. The publisher may exert memory pressure on the system for very large sets of elements."},{"text":""},{"text":"The ``Publisher/collect()`` operator only sends the collected array to its downstream receiver after a request whose demand is greater than 0 items. Otherwise, ``Publisher/collect()`` waits until it receives a non-zero request."},{"text":""},{"text":"In the example below, an Integer range is a publisher that emits an array of integers:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" cancellable = numbers.publisher"},{"text":" .collect()"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\""},{"text":""},{"text":"- Returns: A publisher that collects all received items and returns them as an array upon completion."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collect"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Collect","preciseIdentifier":"s:7Combine10PublishersO7CollectV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21AmbientAudioComponentV6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two animation playback controllers are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first controller to compare."},{"text":""},{"text":" - rhs: The second controller to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two controllers are"},{"text":"equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationPlaybackController","preciseIdentifier":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","partition(by:)"],"names":{"title":"partition(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"docComment":{"module":"Swift","lines":[{"text":"Reorders the elements of the collection such that all the elements"},{"text":"that match the given predicate are after all the elements that don't"},{"text":"match."},{"text":""},{"text":"After partitioning a collection, there is a pivot index `p` where"},{"text":"no element before `p` satisfies the `belongsInSecondPartition`"},{"text":"predicate and every element at or after `p` satisfies"},{"text":"`belongsInSecondPartition`. This operation isn't guaranteed to be"},{"text":"stable, so the relative ordering of elements within the partitions might"},{"text":"change."},{"text":""},{"text":"In the following example, an array of numbers is partitioned by a"},{"text":"predicate that matches elements greater than 30."},{"text":""},{"text":" var numbers = [30, 40, 20, 30, 30, 60, 10]"},{"text":" let p = numbers.partition(by: { $0 > 30 })"},{"text":" // p == 5"},{"text":" // numbers == [30, 10, 20, 30, 30, 60, 40]"},{"text":""},{"text":"The `numbers` array is now arranged in two partitions. The first"},{"text":"partition, `numbers[.. "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"partition"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"belongsInSecondPartition"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","localizedDescription"],"names":{"title":"localizedDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Retrieve the localized description for this error."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"localizedDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationEvents","OwnershipChanged"],"names":{"title":"SynchronizationEvents.OwnershipChanged","navigator":[{"kind":"identifier","spelling":"OwnershipChanged"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipChanged"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The event raised when ownership of an entity changes."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"OwnershipChanged"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO8materialyAC12MaterialPathVSiFZ","interfaceLanguage":"swift"},"pathComponents":["BindTarget","material(_:)"],"names":{"title":"material(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaterialPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO12MaterialPathV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Generates a complex bind path from one of an entity's materials."}]},"functionSignature":{"parameters":[{"name":"index","declarationFragments":[{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaterialPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO12MaterialPathV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"material"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"index"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaterialPath","preciseIdentifier":"s:17RealityFoundation10BindTargetO12MaterialPathV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV6linearACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","linear"],"names":{"title":"linear","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a linear transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linear"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferV9usingRateyACyxGAA0C7BuffersO0F0OF","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","usingRate(_:)"],"names":{"title":"usingRate(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usingRate"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"New object with updated rate."}]},"functionSignature":{"parameters":[{"name":"rate","declarationFragments":[{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"usingRate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","elementsEqual(_:)"],"names":{"title":"elementsEqual(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain the same elements in the same order."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"This example tests whether one countable range shares the same elements"},{"text":"as another countable range and an array."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(a.elementsEqual(b))"},{"text":" // Prints \"false\""},{"text":" print(a.elementsEqual([1, 2, 3]))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence and `other` contain the same elements"},{"text":" in the same order."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE5named2in13configurationACSS_So8NSBundleCSgAcAE13ConfigurationVtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","init(named:in:configuration:)"],"names":{"title":"init(named:in:configuration:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes an AudioFileResource asynchronously."},{"text":""},{"text":"- Important: The name provided **must** be unique."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":" = .init()) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE12ParameterSetV","interfaceLanguage":"swift"},"pathComponents":["Entity","ParameterSet"],"names":{"title":"Entity.ParameterSet","navigator":[{"kind":"identifier","spelling":"ParameterSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Represents a reference to the parameters for a particular entity."},{"text":""},{"text":"Note this struct is a reference and does not have copy-on-write semantics."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV7restartyyF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","restart()"],"names":{"title":"restart()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"restart"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Restarts the emission of particles (non-looping emitter only)."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"restart"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","failureReason"],"names":{"title":"failureReason","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing the reason for the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"failureReason"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation21SystemUpdateConditionV","interfaceLanguage":"swift"},"pathComponents":["SystemUpdateCondition"],"names":{"title":"SystemUpdateCondition","navigator":[{"kind":"identifier","spelling":"SystemUpdateCondition"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SystemUpdateCondition"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A condition which causes a ``System`` to update."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SystemUpdateCondition"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputVyA2E10DescriptorVKcfc","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a new output instance for rendering with a camera."},{"text":""},{"text":"- Parameter descriptor: A descriptor object that describes the output to be created."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Descriptor","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE10parametersAcAE12ParameterSetVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","parameters"],"names":{"title":"parameters","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameters"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParameterSet","preciseIdentifier":"s:17RealityFoundation6EntityCAAE12ParameterSetV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Represents a reference to the parameters for a particular entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameters"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParameterSet","preciseIdentifier":"s:17RealityFoundation6EntityCAAE12ParameterSetV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO17materialParameteryAESScAEmF","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","materialParameter(_:)"],"names":{"title":"BindPath.Part.materialParameter(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialParameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A path component to name a material parameter to animate"},{"text":""},{"text":"This path component terminates an array of paths, and at the same"},{"text":"time specifies the material parameter to be animated"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialParameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","interfaceLanguage":"swift"},"pathComponents":["MeshBufferContainer","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC6resumeyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","resume()"],"names":{"title":"resume()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resume"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Resumes a paused animation."},{"text":""},{"text":"Call this method to resume an animation that you paused with the"},{"text":"``AnimationPlaybackController/pause()`` method. You can’t resume an"},{"text":"animation that has finished naturally, or that you stopped by calling"},{"text":"the ``AnimationPlaybackController/stop()`` method."},{"text":""},{"text":"This method has no effect on an animation that isn’t paused."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resume"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7impulseSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","impulse"],"names":{"title":"impulse","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total impulse in this collision pair obtained by adding up all the"},{"text":"individual impulses applied at each contact point"}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulse"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation8BindPathV4PartO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["BindPath","Part","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two components of a"},{"text":"bind path are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The component of the bind path on the left side of the operator."},{"text":""},{"text":" - rhs: The component of the bind path on the right side of the"},{"text":"operator."},{"text":""},{"text":"- Returns: Returns `true` if the components of the bind path are"},{"text":"equal. Otherwise, returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Part","preciseIdentifier":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","sink(receiveCompletion:receiveValue:)"],"names":{"title":"sink(receiveCompletion:receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior."},{"text":""},{"text":"Use ``Publisher/sink(receiveCompletion:receiveValue:)`` to observe values received by the publisher and process them using a closure you specify."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveValue` closure that prints them to the console. Upon completion the ``Publisher/sink(receiveCompletion:receiveValue:)`` operator’s `receiveCompletion` closure indicates the successful termination of the stream."},{"text":""},{"text":" let myRange = (0...3)"},{"text":" cancellable = myRange.publisher"},{"text":" .sink(receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") })"},{"text":""},{"text":" // Prints:"},{"text":" // value: 0"},{"text":" // value: 1"},{"text":" // value: 2"},{"text":" // value: 3"},{"text":" // completion: finished"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveComplete: The closure to execute on completion."},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveCompletion","declarationFragments":[{"kind":"identifier","spelling":"receiveCompletion"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveCompletion"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Subscribers","preciseIdentifier":"s:7Combine11SubscribersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Completion","preciseIdentifier":"s:7Combine11SubscribersO10CompletionO"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":"), "},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC5pauseyyF","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","pause()"],"names":{"title":"pause()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Pauses the animation."},{"text":""},{"text":"Resume a paused animation by calling the"},{"text":"``AnimationPlaybackController/resume()`` method."},{"text":""},{"text":"This method has no effect if the animation is already paused or"},{"text":"complete."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"pause"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13VideoMaterialV","interfaceLanguage":"swift"},"pathComponents":["VideoMaterial"],"names":{"title":"VideoMaterial","navigator":[{"kind":"identifier","spelling":"VideoMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoMaterial"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A material that supports animated textures."},{"text":""},{"text":"In RealityKit, a _material_ is an object that defines the surface properties"},{"text":"of a rendered 3D object. A `VideoMaterial` is a material that maps a movie"},{"text":"file on to the surface of an entity. Video materials are _unlit_, which"},{"text":"means that scene lighting doesn’t affect them. Video materials support"},{"text":"transparency if the source video’s file format also supports transparency."},{"text":""},{"text":"Video materials use an"},{"text":" instance"},{"text":"to control movie playback. You can use any movie file format that"},{"text":" supports"},{"text":"to create a video material. To control playback of the material’s video, use"},{"text":"the ``VideoMaterial/avPlayer`` property, which offers methods like"},{"text":""},{"text":"and"},{"text":"."},{"text":""},{"text":"The following code demonstrates how to create and start playing a video"},{"text":"material using a movie file from your application bundle."},{"text":""},{"text":"```swift"},{"text":"// Create a URL that points to the movie file."},{"text":"if let url = Bundle.main.url(forResource: \"MyMovie\", withExtension: \"mp4\") {"},{"text":""},{"text":" // Create an AVPlayer instance to control playback of that movie."},{"text":" let player = AVPlayer(url: url)"},{"text":""},{"text":" // Instantiate and configure the video material."},{"text":" let material = VideoMaterial(avPlayer: player)"},{"text":""},{"text":" // Configure audio playback mode."},{"text":" material.controller.audioInputMode = .spatial"},{"text":""},{"text":" // Create a new model entity using the video material."},{"text":" let modelEntity = ModelEntity(mesh: cube, materials: [material])"},{"text":""},{"text":" // Start playing the video."},{"text":" player.play()"},{"text":"}"},{"text":"```"},{"text":""},{"text":"To see an example of using a video texture in RealityKit, see"},{"text":"."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"VideoMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV11reverbLevelSdvp","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","reverbLevel"],"names":{"title":"reverbLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The level of reverberated signal emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero`, where"},{"text":"`.zero` is the default."},{"text":""},{"text":"Reducing this value will cause the sound to be more intimate. Reducing this value to `.-infinity` will cause the sounds to"},{"text":"collapse into the head of the listener."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reverbLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV10isEmittingSbvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","isEmitting"],"names":{"title":"isEmitting","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmitting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Disables/enables particle emission, independent of `simulationState`. Existing particles will not be affected."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmitting"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV17intensityExponentSfvp","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","intensityExponent"],"names":{"title":"intensityExponent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensityExponent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The intensity value of the probe"},{"text":"An intensityExponent of 0 means using the diffuse/specular intensities as-is"},{"text":"Otherwise the intensity is multiplied by 2^intensityExponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intensityExponent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV7originXSdvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","RelativeViewport","originX"],"names":{"title":"originX","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"originX"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"originX"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV16collisionOptionsAC09CollisionG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","collisionOptions"],"names":{"title":"collisionOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options for kinematic collision reporting."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsSimulationComponent","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CollisionOptions","preciseIdentifier":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9skinWidthSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","skinWidth"],"names":{"title":"skinWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An added tolerance around the character capsule."},{"text":""},{"text":"A small skin, known as the *contact offset*, is maintained around the controller's volume to avoid"},{"text":"rounding and precision issues with collision detection. Specify this value relative to the entity's"},{"text":"coordinate system."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE5named4from2inACSS_SSSo8NSBundleCSgtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","init(named:from:in:)"],"names":{"title":"init(named:from:in:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a preconfigured AudioFileResource asynchronously from a Reality Composer Pro project"},{"text":"with the given `name` as the the prim-path of the AudioFile, and the `scene` as"},{"text":"the name of the USD file name."},{"text":""},{"text":"- Important: The name provided **must** be unique."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21AmbientAudioComponentV4gainSdvp","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","gain"],"names":{"title":"gain","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The overall level for all sounds emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero` where"},{"text":"`.zero` is the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV10importanceSo08AXCustomF10ImportanceVvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","importance"],"names":{"title":"importance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Determines when to output custom accessibility content."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV9viewportsSayAE16RelativeViewportVGvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","viewports"],"names":{"title":"viewports","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"viewports"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RelativeViewport","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Viewports to use for rendering with a camera."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"viewports"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"RealityRenderer","preciseIdentifier":"s:17RealityFoundation0A8RendererC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CameraOutput","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RelativeViewport","preciseIdentifier":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V16attractionCenters5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","attractionCenter"],"names":{"title":"attractionCenter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attractionCenter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The spot that the particles are attracted to. In local space. Defaults to (1, 1, 0)."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attractionCenter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO8internalyAcA08InternalC4PathVcACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","internal(_:)"],"names":{"title":"BindTarget.internal(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`internal`"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"InternalBindPath","preciseIdentifier":"s:17RealityFoundation16InternalBindPathV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind target that refers to a framework-provided property."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`internal`"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"InternalBindPath","preciseIdentifier":"s:17RealityFoundation16InternalBindPathV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation23MaterialScalarParameterO","interfaceLanguage":"swift"},"pathComponents":["MaterialScalarParameter"],"names":{"title":"MaterialScalarParameter","navigator":[{"kind":"identifier","spelling":"MaterialScalarParameter"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialScalarParameter"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The scalar parameter applied to a material."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MaterialScalarParameter"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV9roughnessAA0D15ScalarParameterOvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The roughness of the material."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection"],"names":{"title":"RealityRenderer.EntityCollection","navigator":[{"kind":"identifier","spelling":"EntityCollection"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityCollection"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collection of entities in a ``RealityRenderer``."},{"text":""},{"text":"This collection is used by ``RealityRenderer/entities``."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EntityCollection"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","subscribe(on:options:)"],"names":{"title":"subscribe(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to perform subscribe, cancel, and request operations."},{"text":""},{"text":"In contrast with ``Publisher/receive(on:options:)``, which affects downstream messages, ``Publisher/subscribe(on:options:)`` changes the execution context of upstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `ioPerformingPublisher` to receive requests on `backgroundQueue`, while the ``Publisher/receive(on:options:)`` causes `uiUpdatingSubscriber` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let ioPerformingPublisher == // Some publisher."},{"text":" let uiUpdatingSubscriber == // Some subscriber that updates the UI."},{"text":""},{"text":" ioPerformingPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(uiUpdatingSubscriber)"},{"text":""},{"text":""},{"text":"Using ``Publisher/subscribe(on:options:)`` also causes the upstream publisher to perform ``Cancellable/cancel()`` using the specfied scheduler."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler used to send messages to upstream publishers."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher which performs upstream operations on the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subscribe"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubscribeOn","preciseIdentifier":"s:7Combine10PublishersO11SubscribeOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","positions"],"names":{"title":"positions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Positions of all the points."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"positions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Positions","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO9Positionsa"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9transformyA2CmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","transform"],"names":{"title":"BindTarget.transform","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A option that specifies that the target entity's transform animates."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation27AnimationPlaybackControllerC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationPlaybackController","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO15jointTransformsyA2CmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","jointTransforms"],"names":{"title":"BindTarget.jointTransforms","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that specifies that the entity's joint transforms animate."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","sink(receiveValue:)"],"names":{"title":"sink(receiveValue:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"docComment":{"module":"Combine","lines":[{"text":"Attaches a subscriber with closure-based behavior to a publisher that never fails."},{"text":""},{"text":"Use ``Publisher/sink(receiveValue:)`` to observe values received by the publisher and print them to the console. This operator can only be used when the stream doesn’t fail, that is, when the publisher’s ``Publisher/Failure`` type is ."},{"text":""},{"text":"In this example, a publisher publishes integers to a ``Publisher/sink(receiveValue:)`` operator’s"},{"text":"`receiveValue` closure that prints them to the console:"},{"text":""},{"text":" let integers = (0...3)"},{"text":" integers.publisher"},{"text":" .sink { print(\"Received \\($0)\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Received 0"},{"text":" // Received 1"},{"text":" // Received 2"},{"text":" // Received 3"},{"text":""},{"text":"This method creates the subscriber and immediately requests an unlimited number of values, prior to returning the subscriber."},{"text":"The return value should be held, otherwise the stream will be canceled."},{"text":""},{"text":"- parameter receiveValue: The closure to execute on receipt of a value."},{"text":"- Returns: A cancellable instance, which you use when you end assignment of the received value. Deallocation of the result will tear down the subscription stream."}]},"functionSignature":{"parameters":[{"name":"receiveValue","declarationFragments":[{"kind":"identifier","spelling":"receiveValue"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"Never","rhsPrecise":"s:s5NeverO"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sink"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"receiveValue"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")) -> "},{"kind":"typeIdentifier","spelling":"AnyCancellable","preciseIdentifier":"s:7Combine14AnyCancellableC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV4rateAA0D7BuffersO4RateOvp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","rate"],"names":{"title":"rate","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Rate","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9parameteryACSScACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","parameter(_:)"],"names":{"title":"BindTarget.parameter(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a property that animates from the given textual name."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parameter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE10contentsOf8withName13configurationAC0B03URLV_SSSgAcAE13ConfigurationVtYaKcfc","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","init(contentsOf:withName:configuration:)"],"names":{"title":"init(contentsOf:withName:configuration:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes an AudioFileResource asynchronously."},{"text":""},{"text":"- Important: The name provided **must** be unique."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":" = .init()) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryAllSatisfy(_:)"],"names":{"title":"tryAllSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes a single Boolean value that indicates whether all received elements pass a given error-throwing predicate."},{"text":""},{"text":"Use the ``Publisher/tryAllSatisfy(_:)`` operator to determine if all elements in a stream satisfy a criteria in an error-throwing predicate you provide. When this publisher receives an element, it runs the predicate against the element. If the predicate returns `false`, the publisher produces a `false` value and finishes. If the upstream publisher finishes normally, this publisher produces a `true` value and finishes. If the predicate throws an error, the publisher fails and passes the error to its downstream subscriber."},{"text":""},{"text":"In the example below, an error-throwing predicate tests if each of an integer array publisher’s elements fall into the `targetRange`; the predicate throws an error if an element is zero and terminates the stream."},{"text":""},{"text":" let targetRange = (-1...100)"},{"text":" let numbers = [-1, 10, 5, 0]"},{"text":""},{"text":" numbers.publisher"},{"text":" .tryAllSatisfy { anInt in"},{"text":" guard anInt != 0 else { throw RangeError() }"},{"text":" return targetRange.contains(anInt)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"completion: failure(RangeError())\""},{"text":""},{"text":"With operators similar to ``Publisher/reduce(_:_:)``, this publisher produces at most one value."},{"text":""},{"text":" > Note: Upon receiving any request greater than zero, this publisher requests unlimited elements from the upstream publisher."},{"text":""},{"text":"- Parameter predicate: A closure that evaluates each received element. Return `true` to continue, or `false` to cancel the upstream and complete. The closure may throw an error, in which case the publisher cancels the upstream publisher and fails with the thrown error."},{"text":"- Returns: A publisher that publishes a Boolean value that indicates whether all received elements pass a given predicate."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryAllSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryAllSatisfy","preciseIdentifier":"s:7Combine10PublishersO13TryAllSatisfyV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetVyxSgxmcAA0D0Rzluip","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets or sets the component of the specified type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO4pathyAcA0C4PathVcACmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","path(_:)"],"names":{"title":"BindTarget.path(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"path"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Provides a complex bind path capable of animating additional entities"},{"text":"other than the current entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"path"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BindPath","preciseIdentifier":"s:17RealityFoundation8BindPathV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO3anyyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","any"],"names":{"title":"CollisionCastQueryType.any","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report one hit."},{"text":""},{"text":"This query type typically executes fastest, but doesn’t guarantee"},{"text":"anything about which hit it returns. If you need the hit closest to the"},{"text":"origin of the cast, use ``CollisionCastQueryType/nearest`` instead."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"any"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV10burstCountSivp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","burstCount"],"names":{"title":"burstCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"burstCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Number of particles to emit in a single burst. Defaults to 100."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"burstCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO3allyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","all"],"names":{"title":"CollisionCastQueryType.all","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report all hits sorted in ascending order by distance from the cast"},{"text":"origin."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"all"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation22CollisionCastQueryTypeO7nearestyA2CmF","interfaceLanguage":"swift"},"pathComponents":["CollisionCastQueryType","nearest"],"names":{"title":"CollisionCastQueryType.nearest","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nearest"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Report the closest hit."},{"text":""},{"text":"If you only want to test if a hit occurs and don’t care about which hit"},{"text":"out of multiple possible hits is returned, use"},{"text":"``CollisionCastQueryType/any`` instead because it typically executes"},{"text":"faster."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nearest"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV5burstyyF","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","burst()"],"names":{"title":"burst()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"burst"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Emits burstCount particles on the next update call."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"burst"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV11directLevelSdvp","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","directLevel"],"names":{"title":"directLevel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"directLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The level of the direct, unreverberated, signal emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero`"},{"text":"where `.zero` is the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"directLevel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV7originYSdvp","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","CameraOutput","RelativeViewport","originY"],"names":{"title":"originY","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"originY"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"originY"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV16inheritsRotationSbvp","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","inheritsRotation"],"names":{"title":"inheritsRotation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inheritsRotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Whether the IBL inherit the rotation of the Entity"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"inheritsRotation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV11elementTypeAA0D7BuffersO07ElementG0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","elementType"],"names":{"title":"elementType","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ElementType","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV10slopeLimitSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","slopeLimit"],"names":{"title":"slopeLimit","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The slope limit expressed as a limit angle in radians."},{"text":""},{"text":"This value represents the maximum slope that the character can move over. RealityKit applies this value"},{"text":"to characters that are walking on static objects, but not when walking on kinematic or dynamic objects."},{"text":""},{"text":"Changing this value after the CharacterControllerComponent has been created and added to Entity"},{"text":"has no effect."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"slopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV","interfaceLanguage":"swift"},"pathComponents":["SceneUnderstandingComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO7grantedyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","granted"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult.granted","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"granted"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The request is accepted and ownership is transferred."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"granted"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO8timedOutyA2EmF","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","timedOut"],"names":{"title":"SynchronizationComponent.OwnershipTransferCompletionResult.timedOut","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timedOut"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The ownership transfer request timed out."},{"text":""},{"text":"A timeout doesn’t necessarily mean that the request is denied. It"},{"text":"might succeed after the timeout."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timedOut"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController"],"names":{"title":"AudioPlaybackController","navigator":[{"kind":"identifier","spelling":"AudioPlaybackController"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioPlaybackController"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A controller that manages audio playback of a resource."},{"text":""},{"text":"You receive an audio playback controller by calling an entity’s"},{"text":"``Entity/prepareAudio(_:)`` method. You typically pass an"},{"text":"``AudioFileResource`` instance to this call that tells the playback"},{"text":"controller how to stream the contents of an audio file from disk, or from a"},{"text":"URL."},{"text":""},{"text":"During playback, the audio appears to come from the entity that you used to"},{"text":"create the controller. As the user moves around the AR scene, RealityKit"},{"text":"modulates the characteristics of the audio to account for the user’s"},{"text":"location."},{"text":""},{"text":"After playback completes, or if you call the"},{"text":"``AudioPlaybackController/stop()`` method, the audio controller resets so"},{"text":"that you can play the resource from the beginning. Alternatively, you can"},{"text":"configure the audio to loop indefinitely by setting the `loops` property of"},{"text":"the audio resource to `true`."},{"text":""},{"text":"Look for one of the events in ``AudioEvents`` if you want to be alerted when"},{"text":"certain aspects of audio playback occur."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioPlaybackController"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","interfaceLanguage":"swift"},"pathComponents":["ShapeResourceError","recoverySuggestion"],"names":{"title":"recoverySuggestion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Foundation","lines":[{"text":"A localized message describing how one might recover from the failure."}]},"swiftExtension":{"extendedModule":"Foundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"recoverySuggestion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":10}},{"domain":"watchOS","introduced":{"major":2,"minor":0}},{"domain":"iOS","introduced":{"major":8,"minor":0}},{"domain":"tvOS","introduced":{"major":9,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO7opacityyA2CmF","interfaceLanguage":"swift"},"pathComponents":["BindTarget","opacity"],"names":{"title":"BindTarget.opacity","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that specifies that the entity's opacity to animate. Requires that"},{"text":"the entity has an OpacityComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lexicographicallyPrecedes(_:)"],"names":{"title":"lexicographicallyPrecedes(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the"},{"text":"less-than operator (`<`) to compare elements."},{"text":""},{"text":"This example uses the `lexicographicallyPrecedes` method to test which"},{"text":"array of integers comes first in a lexicographical ordering."},{"text":""},{"text":" let a = [1, 2, 2, 2]"},{"text":" let b = [1, 2, 3, 4]"},{"text":""},{"text":" print(a.lexicographicallyPrecedes(b))"},{"text":" // Prints \"true\""},{"text":" print(b.lexicographicallyPrecedes(b))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A sequence to compare to this sequence."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that"},{"text":" perform localized comparison."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"},{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation10BindTargetO9ScenePathV","interfaceLanguage":"swift"},"pathComponents":["BindTarget","ScenePath"],"names":{"title":"BindTarget.ScenePath","navigator":[{"kind":"identifier","spelling":"ScenePath"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ScenePath"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A bind path for a particular scene."},{"text":""},{"text":"This structure defines an absolute bind path for a scene. You determine"},{"text":"the scene that a particular instance references by specifying the"},{"text":"scene's name as the argument to ``BindPath/Part/scene(_:)``."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ScenePath"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","OwnershipTransferCompletionResult","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18BlendTreeAnimationV4rootAA0cD4Node_pvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeAnimation","root"],"names":{"title":"root","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first node in a tree of animations."},{"text":""},{"text":"This property defines the node that represents the root of a blend tree."},{"text":"If you assign this property a ``BlendTreeBlendNode`` instance, the root"},{"text":"branches for every member you add to the instance's"},{"text":"``BlendTreeBlendNode/sources`` property."},{"text":""},{"text":"If you define a ``BlendTreeSourceNode`` instance to this property, the"},{"text":"tree contains a single animation, which blends with no other animations."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"root"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14SimpleMaterialV8metallicAA0D15ScalarParameterOvp","interfaceLanguage":"swift"},"pathComponents":["SimpleMaterial","metallic"],"names":{"title":"metallic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that you set to control whether the material has a"},{"text":"metallic look."},{"text":""},{"text":"This property defines whether a material is dielectric (`0.0`) or a metallic (`1.0`). Although"},{"text":"this property can be set to any value between `0` and `1`, to create a realistic material, set it"},{"text":"to either `0` or `1`.)."},{"text":""},{"text":"- term Dielectric materials: These are materials that simulate real-world materials that are poor"},{"text":"conductors. In these materials, light travels into the surface of the material and the color is mostly"},{"text":"controlled by the color of the sub-surface. Typical examples of dielectric materaisl include organic"},{"text":"materials, plastics, and industrial minerals such as sand, limestone, marble, clay and salt."},{"text":""},{"text":"- term Metallic: A metallic (or *conductive*) material reflects light differently than dielectric ones."},{"text":"The overall color is caused by an immediate re-emission of the light from the entity's surface. Typical"},{"text":"examples of metallic materials include aluminum, chassis metal, chromium, copper, gold, silver, and"},{"text":"titanium"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MaterialScalarParameter","preciseIdentifier":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V14vortexStrengthSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","vortexStrength"],"names":{"title":"vortexStrength","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vortexStrength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Strength of the vortex forces affecting particle motion. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"vortexStrength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21AmbientAudioComponentV4gainACSd_tcfc","interfaceLanguage":"swift"},"pathComponents":["AmbientAudioComponent","init(gain:)"],"names":{"title":"init(gain:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configure the behavior of an ambient audio source."},{"text":""},{"text":"- Parameter gain: The overall level for all sounds emitted from an entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":" = .zero)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PhysicsSimulationComponentV5clockyXlvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","clock"],"names":{"title":"clock","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A custom clock which drives the physics simulation, defaults to the engine clock."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clock"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMClockOrTimebase","preciseIdentifier":"c:@T@CMClockOrTimebaseRef"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE4load10contentsOf8withName13configurationAC0B03URLV_SSSgAcAE13ConfigurationVtKFZ","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","load(contentsOf:withName:configuration:)"],"names":{"title":"load(contentsOf:withName:configuration:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an AudioFileResource synchronously."},{"text":""},{"text":"- Important: The name provided **must** be unique."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"configuration","declarationFragments":[{"kind":"identifier","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"configuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Configuration","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"text","spelling":" = .init()) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AudioFileResource","preciseIdentifier":"s:17RealityFoundation17AudioFileResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label5value10importanceAE0B023LocalizedStringResourceV_AKSo08AXCustomF10ImportanceVtcfc","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent","init(label:value:importance:)"],"names":{"title":"init(label:value:importance:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new CustomContent with the given label, value, and importance."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"importance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AXCustomContent","preciseIdentifier":"c:objc(cs)AXCustomContent"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Importance","preciseIdentifier":"c:@E@AXCustomContentImportance"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:_:)"],"names":{"title":"merge(with:_:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from four other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":" let pubE = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD, pubE)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" ) }"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubE.send(33)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":" pubE.send(33)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 33 2 50 100 -2 33\""},{"text":""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":" - e: A fifth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]},{"name":"e","declarationFragments":[{"kind":"identifier","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1},{"name":"E","index":3,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"},{"kind":"sameType","lhs":"D.Failure","rhs":"E.Failure"},{"kind":"sameType","lhs":"D.Output","rhs":"E.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"E"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"e"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge5","preciseIdentifier":"s:7Combine10PublishersO6Merge5V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"E"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AnyMeshBufferV3getyAA0dE0VyxGSgxmlF","interfaceLanguage":"swift"},"pathComponents":["AnyMeshBuffer","get(_:)"],"names":{"title":"get(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"get"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}]},"functionSignature":{"parameters":[{"name":"","declarationFragments":[{"kind":"identifier","spelling":"_"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"get"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Value"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":".Type = Value.self) -> "},{"kind":"typeIdentifier","spelling":"MeshBuffer","preciseIdentifier":"s:17RealityFoundation10MeshBufferV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Value"},{"kind":"text","spelling":">?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO7UpdatedV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Updated","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A position representing the estimated point of contact."},{"text":""},{"text":"The point is an average calculated from the intersecting shapes."},{"text":"It’s specified in the coordinate space of the physics simulation,"},{"text":"which means it’s relative to ``ARView/physicsSimulationComponent.nearestSimulationEntity``. If the"},{"text":"physics origin is `nil`, the point is given in scene space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityCAAE14bindableValuesAA08BindableE9ReferenceVvp","interfaceLanguage":"swift"},"pathComponents":["Entity","bindableValues"],"names":{"title":"bindableValues","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindableValues"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindableValuesReference","preciseIdentifier":"s:17RealityFoundation23BindableValuesReferenceV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bindableValues"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindableValuesReference","preciseIdentifier":"s:17RealityFoundation23BindableValuesReferenceV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV6normals5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","normal"],"names":{"title":"normal","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The normal of the hit."},{"text":""},{"text":"The frame of reference for this point depends on the reference entity"},{"text":"used in the call to either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method"},{"text":"or the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method that generated the hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","min(by:)"],"names":{"title":"min(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence, using the given predicate as"},{"text":"the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `min(by:)` method on a"},{"text":"dictionary to find the key-value pair with the lowest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let leastHue = hues.min { a, b in a.value < b.value }"},{"text":" print(leastHue)"},{"text":" // Prints \"Optional((key: \"Coral\", value: 16))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true`"},{"text":" if its first argument should be ordered before its second"},{"text":" argument; otherwise, `false`."},{"text":"- Returns: The sequence's minimum element, according to"},{"text":" `areInIncreasingOrder`. If the sequence has no elements, returns"},{"text":" `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","BaseColor"],"names":{"title":"UnlitMaterial.BaseColor","navigator":[{"kind":"identifier","spelling":"BaseColor"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent base color."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BaseColor"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The model component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV4gainSdvp","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","gain"],"names":{"title":"gain","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The overall level for all sounds emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero` where"},{"text":"`.zero` is the default."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation20VideoPlayerComponentV013currentScreenC9Dimensions5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","currentScreenVideoDimension"],"names":{"title":"currentScreenVideoDimension","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"currentScreenVideoDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"the current screen video dimension"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"currentScreenVideoDimension"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"*","message":"Please use .screenVideoDimension","renamed":"screenVideoDimension","isUnconditionallyDeprecated":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO5blendyAeA19EnvironmentResourceC_AHSftcAEmF","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","Source","blend(_:_:_:)"],"names":{"title":"ImageBasedLightComponent.Source.blend(_:_:_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blending between 2 IBLs. The Float is in [0; 1]:"},{"text":"0 will use the first IBL and 1 will use the second."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blend"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation5SceneC","interfaceLanguage":"swift"},"pathComponents":["Scene","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean value that indicates whether two collections of joints"},{"text":"are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The collection of joints on the left side of the operator."},{"text":""},{"text":" - rhs: The collection of joints on the right side of the operator."},{"text":""},{"text":"- Returns: Returns `true` if the two collections of joints are equal."},{"text":"Otherwise, returns `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC8resourceAA0C8ResourceCvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","resource"],"names":{"title":"resource","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The resource that provides the audio stream."},{"text":""},{"text":"You create a playback controller configured with a particular resource"},{"text":"by calling an entity’s ``Entity/prepareAudio(_:)`` method."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"resource"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","randomElement()"],"names":{"title":"randomElement()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection."},{"text":""},{"text":"Call `randomElement()` to select a random element from an array or"},{"text":"another collection. This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement()!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"This method is equivalent to calling `randomElement(using:)`, passing in"},{"text":"the system's default random generator."},{"text":""},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","LoadError","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO6singleyAeA19EnvironmentResourceCcAEmF","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","Source","single(_:)"],"names":{"title":"ImageBasedLightComponent.Source.single(_:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"single"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"single"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"EnvironmentResource","preciseIdentifier":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC22isAccessibilityElementSbvp","interfaceLanguage":"swift"},"pathComponents":["Entity","isAccessibilityElement"],"names":{"title":"isAccessibilityElement","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value indicating whether the receiver is an accessibility"},{"text":"element that an assistive application can access."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE12performQueryyAA0E6ResultVyAA6EntityCGAA0gE0VF","interfaceLanguage":"swift"},"pathComponents":["Scene","performQuery(_:)"],"names":{"title":"performQuery(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"performQuery"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns all entities of the scene which pass the `QueryPredicate` of the `query`."}]},"functionSignature":{"parameters":[{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"performQuery"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"EntityQuery","preciseIdentifier":"s:17RealityFoundation11EntityQueryV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"QueryResult","preciseIdentifier":"s:17RealityFoundation11QueryResultV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether the collection is empty."},{"text":""},{"text":"When you need to check whether your collection is empty, use the"},{"text":"`isEmpty` property instead of checking that the `count` property is"},{"text":"equal to zero. For collections that don't conform to"},{"text":"`RandomAccessCollection`, accessing the `count` property iterates"},{"text":"through the elements of the collection."},{"text":""},{"text":" let horseName = \"Silver\""},{"text":" if horseName.isEmpty {"},{"text":" print(\"My horse has no name.\")"},{"text":" } else {"},{"text":" print(\"Hi ho, \\(horseName)!\")"},{"text":" }"},{"text":" // Prints \"Hi ho, Silver!\")"},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","receive(on:options:)"],"names":{"title":"receive(on:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Specifies the scheduler on which to receive elements from the publisher."},{"text":""},{"text":"You use the ``Publisher/receive(on:options:)`` operator to receive results and completion on a specific scheduler, such as performing UI work on the main run loop. In contrast with ``Publisher/subscribe(on:options:)``, which affects upstream messages, ``Publisher/receive(on:options:)`` changes the execution context of downstream messages."},{"text":""},{"text":"In the following example, the ``Publisher/subscribe(on:options:)`` operator causes `jsonPublisher` to receive requests on `backgroundQueue`, while the"},{"text":"``Publisher/receive(on:options:)`` causes `labelUpdater` to receive elements and completion on `RunLoop.main`."},{"text":""},{"text":" let jsonPublisher = MyJSONLoaderPublisher() // Some publisher."},{"text":" let labelUpdater = MyLabelUpdateSubscriber() // Some subscriber that updates the UI."},{"text":""},{"text":" jsonPublisher"},{"text":" .subscribe(on: backgroundQueue)"},{"text":" .receive(on: RunLoop.main)"},{"text":" .subscribe(labelUpdater)"},{"text":""},{"text":""},{"text":"Prefer ``Publisher/receive(on:options:)`` over explicit use of dispatch queues when performing work in subscribers. For example, instead of the following pattern:"},{"text":""},{"text":" pub.sink {"},{"text":" DispatchQueue.main.async {"},{"text":" // Do something."},{"text":" }"},{"text":" }"},{"text":""},{"text":"Use this pattern instead:"},{"text":""},{"text":" pub.receive(on: DispatchQueue.main).sink {"},{"text":" // Do something."},{"text":" }"},{"text":""},{"text":" > Note: ``Publisher/receive(on:options:)`` doesn’t affect the scheduler used to call the subscriber’s ``Subscriber/receive(subscription:)`` method."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: The scheduler the publisher uses for element delivery."},{"text":" - options: Scheduler options used to customize element delivery."},{"text":"- Returns: A publisher that delivers elements using the specified scheduler."}]},"functionSignature":{"parameters":[{"name":"on","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"receive"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"on"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ReceiveOn","preciseIdentifier":"s:7Combine10PublishersO9ReceiveOnV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV8distanceSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","distance"],"names":{"title":"distance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The distance from the ray origin to the hit, or the convex shape travel"},{"text":"distance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24ImageBasedLightComponentV","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","loadAsync(contentsOf:withName:)"],"names":{"title":"loadAsync(contentsOf:withName:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL asynchronously."},{"text":""},{"text":"RealityKit uses the resource name to distinguish resources locally, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":"- Returns: A load operation that publishes the resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","message":"Use try await TextureResource(contentsOf:… withName:…) instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV15angularVelocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","angularVelocity"],"names":{"title":"angularVelocity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The angular velocity of the body around the center of mass."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV17spawnSpreadFactorSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","spawnSpreadFactor"],"names":{"title":"spawnSpreadFactor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnSpreadFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Amount a spawned particle spreads away from its parent particle, works in conjunction with the spawn particle's `spreadingAngle`. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnSpreadFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","formIndex(after:)"],"names":{"title":"formIndex(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its successor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be less than"},{"text":" `endIndex`."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","randomElement(using:)"],"names":{"title":"randomElement(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random element of the collection, using the given generator as"},{"text":"a source for randomness."},{"text":""},{"text":"Call `randomElement(using:)` to select a random element from an array or"},{"text":"another collection when you are using a custom random number generator."},{"text":"This example picks a name at random from an array:"},{"text":""},{"text":" let names = [\"Zoey\", \"Chloe\", \"Amani\", \"Amaia\"]"},{"text":" let randomName = names.randomElement(using: &myGenerator)!"},{"text":" // randomName == \"Amani\""},{"text":""},{"text":"- Parameter generator: The random number generator to use when choosing a"},{"text":" random element."},{"text":"- Returns: A random element from the collection. If the collection is"},{"text":" empty, the method returns `nil`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."},{"text":"- Note: The algorithm used to select a random element may change in a"},{"text":" future version of Swift. If you're passing a generator that results in"},{"text":" the same sequence of elements each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"randomElement"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneCAAE8timebaseSo13CMTimebaseRefavp","interfaceLanguage":"swift"},"pathComponents":["Scene","timebase"],"names":{"title":"timebase","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timebase"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTimebase","preciseIdentifier":"c:@T@CMTimebaseRef"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The default timebase for the scene, useful for driving custom"},{"text":"times managed by the user which are derived from the scene time."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"timebase"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CMTimebase","preciseIdentifier":"c:@T@CMTimebaseRef"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","interfaceLanguage":"swift"},"pathComponents":["VideoPlaybackController","ViewingMode"],"names":{"title":"VideoPlaybackController.ViewingMode","navigator":[{"kind":"identifier","spelling":"ViewingMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ViewingMode"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ViewingMode"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","elementsEqual(_:by:)"],"names":{"title":"elementsEqual(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether this sequence and another"},{"text":"sequence contain equivalent elements in the same order, using the given"},{"text":"predicate as the equivalence test."},{"text":""},{"text":"At least one of the sequences must be finite."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if this sequence and `other` contain equivalent items,"},{"text":" using `areEquivalent` as the equivalence test; otherwise, `false.`"},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"elementsEqual"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE7Texturea","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Texture"],"names":{"title":"UnlitMaterial.Texture","navigator":[{"kind":"identifier","spelling":"Texture"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent textures."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Texture"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE23applyPostProcessToneMapACSb_tcfc","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","init(applyPostProcessToneMap:)"],"names":{"title":"init(applyPostProcessToneMap:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"applyPostProcessToneMap"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"applyPostProcessToneMap"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC6entityAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity from which the audio stream emanates."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"weak"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV15jointInfluencesAcAE05JointG0VSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","jointInfluences"],"names":{"title":"jointInfluences","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointInfluences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"JointInfluences","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A buffer of vertex-joint influences which defines how the mesh deforms in response to the"},{"text":"skeleton that it is bound to. Each vertex may be influenced by one or more joints defined"},{"text":"by the skeleton."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointInfluences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"JointInfluences","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACs5SIMD3VySfG_SftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(size:cornerRadius:)"],"names":{"title":"generateBox(size:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with the given dimensions."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - size: Dimensions, in meters, for the faces of the box."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withName7optionsAC0B03URLV_SSSgAC13CreateOptionsVtKFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","load(contentsOf:withName:options:)"],"names":{"title":"load(contentsOf:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL with options."},{"text":""},{"text":"This method loads the image specified by the `URL` and creates a texture"},{"text":"resource from it. This method blocks until it has loaded the image and"},{"text":"created the texture resource."},{"text":""},{"text":"RealityKit uses the resource name to identify resources, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The URL of the resource."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: The loaded resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","SortOrder","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor"],"names":{"title":"MeshDescriptor","navigator":[{"kind":"identifier","spelling":"MeshDescriptor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshDescriptor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines a mesh."},{"text":""},{"text":"This struct contains all the mesh data for a model entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"MeshDescriptor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV8positions5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","position"],"names":{"title":"position","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The position of the hit."},{"text":""},{"text":"The frame of reference for this point depends on the reference entity"},{"text":"used in the call to either the"},{"text":"``Scene/raycast(origin:direction:length:query:mask:relativeTo:)`` method"},{"text":"or the"},{"text":"``Scene/convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)``"},{"text":"method that generated the hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"position"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","enumerated()"],"names":{"title":"enumerated()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence of pairs (*n*, *x*), where *n* represents a"},{"text":"consecutive integer starting at zero and *x* represents an element of"},{"text":"the sequence."},{"text":""},{"text":"This example enumerates the characters of the string \"Swift\" and prints"},{"text":"each character along with its place in the string."},{"text":""},{"text":" for (n, c) in \"Swift\".enumerated() {"},{"text":" print(\"\\(n): '\\(c)'\")"},{"text":" }"},{"text":" // Prints \"0: 'S'\""},{"text":" // Prints \"1: 'w'\""},{"text":" // Prints \"2: 'i'\""},{"text":" // Prints \"3: 'f'\""},{"text":" // Prints \"4: 't'\""},{"text":""},{"text":"When you enumerate a collection, the integer part of each pair is a counter"},{"text":"for the enumeration, but is not necessarily the index of the paired value."},{"text":"These counters can be used as indices only in instances of zero-based,"},{"text":"integer-indexed collections, such as `Array` and `ContiguousArray`. For"},{"text":"other collections the counters may be out of range or of the wrong type"},{"text":"to use as an index. To iterate over the elements of a collection with its"},{"text":"indices, use the `zip(_:_:)` function."},{"text":""},{"text":"This example iterates over the indices and elements of a set, building a"},{"text":"list consisting of indices of names with five or fewer letters."},{"text":""},{"text":" let names: Set = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" var shorterIndices: [Set.Index] = []"},{"text":" for (i, name) in zip(names.indices, names) {"},{"text":" if name.count <= 5 {"},{"text":" shorterIndices.append(i)"},{"text":" }"},{"text":" }"},{"text":""},{"text":"Now that the `shorterIndices` array holds the indices of the shorter"},{"text":"names in the `names` set, you can use those indices to access elements in"},{"text":"the set."},{"text":""},{"text":" for i in shorterIndices {"},{"text":" print(names[i])"},{"text":" }"},{"text":" // Prints \"Sofia\""},{"text":" // Prints \"Mateo\""},{"text":""},{"text":"- Returns: A sequence of pairs enumerating the sequence."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"enumerated"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"EnumeratedSequence","preciseIdentifier":"s:s18EnumeratedSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation20HoverEffectComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["HoverEffectComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","print(_:to:)"],"names":{"title":"print(_:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Prints log messages for all publishing events."},{"text":""},{"text":"Use ``Publisher/print(_:to:)`` to log messages the console."},{"text":""},{"text":"In the example below, log messages are printed on the console:"},{"text":""},{"text":" let integers = (1...2)"},{"text":" cancellable = integers.publisher"},{"text":" .print(\"Logged a message\", to: nil)"},{"text":" .sink { _ in }"},{"text":""},{"text":" // Prints:"},{"text":" // Logged a message: receive subscription: (1..<2)"},{"text":" // Logged a message: request unlimited"},{"text":" // Logged a message: receive value: (1)"},{"text":" // Logged a message: receive finished"},{"text":""},{"text":"- Parameters:"},{"text":" - prefix: A string —- which defaults to empty -— with which to prefix all log messages."},{"text":" - stream: A stream for text output that receives messages, and which directs output to the console by default. A custom stream can be used to log messages to other destinations."},{"text":"- Returns: A publisher that prints log messages for all publishing events."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"to","internalName":"stream","declarationFragments":[{"kind":"identifier","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"print"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"stream"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"TextOutputStream","preciseIdentifier":"s:s16TextOutputStreamP"},{"kind":"text","spelling":")? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Print","preciseIdentifier":"s:7Combine10PublishersO5PrintV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BillboardMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V19noiseAnimationSpeedSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","noiseAnimationSpeed"],"names":{"title":"noiseAnimationSpeed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"noiseAnimationSpeed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Determines how fast the noise field changes over time. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"noiseAnimationSpeed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO4noneyA2EmF","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","Source","none"],"names":{"title":"ImageBasedLightComponent.Source.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.subscript","displayName":"Instance Subscript"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetVyAA0D0_pSgAaF_pXpcip","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","subscript(_:)"],"names":{"title":"subscript(_:)","subHeading":[{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Gets or sets the component of the specified type."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"subscript"},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> ("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9stepLimitSfvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","stepLimit"],"names":{"title":"stepLimit","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The maximum obstacle height that the controller can move over."},{"text":""},{"text":"Specify this value relative to the entity's coordinate system."},{"text":""},{"text":"Changing this value after the CharacterControllerComponent has been created and added to Entity"},{"text":"has no effect."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"stepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox5width6height5depth12cornerRadius10splitFacesACSf_S3fSbtFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(width:height:depth:cornerRadius:splitFaces:)"],"names":{"title":"generateBox(width:height:depth:cornerRadius:splitFaces:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with the given dimensions and other"},{"text":"characteristics."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - width: The width, in meters, of the box along the x-axis."},{"text":""},{"text":" - height: The height, in meters, of the box along the y-axis."},{"text":""},{"text":" - depth: The depth, in meters, of the box along the z-axis."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- splitFaces: A Boolean you set to `true` to indicate that vertices"},{"text":"shouldn’t be merged."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"width","declarationFragments":[{"kind":"identifier","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"depth","declarationFragments":[{"kind":"identifier","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"splitFaces","declarationFragments":[{"kind":"identifier","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"width"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"depth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"splitFaces"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of elements in the collection."},{"text":""},{"text":"To check whether a collection is empty, use its `isEmpty` property"},{"text":"instead of comparing `count` to zero. Unless the collection guarantees"},{"text":"random-access performance, calculating `count` can be an O(*n*)"},{"text":"operation."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","OpacityCurve","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","Chirality","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent","Target","HandLocation","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV6source17intensityExponentA2C6SourceO_Sftcfc","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","init(source:intensityExponent:)"],"names":{"title":"init(source:intensityExponent:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Source","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"intensityExponent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Source","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"intensityExponent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0)"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocity07angularG0ACs5SIMD3VySfG_AHtcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","init(linearVelocity:angularVelocity:)"],"names":{"title":"init(linearVelocity:angularVelocity:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics motion component with the given velocities."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .zero, "},{"kind":"externalParam","spelling":"angularVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> = .zero)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation27AdaptiveResolutionComponentV","interfaceLanguage":"swift"},"pathComponents":["AdaptiveResolutionComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","FaceCulling"],"names":{"title":"PhysicallyBasedMaterial.FaceCulling","navigator":[{"kind":"identifier","spelling":"FaceCulling"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An alias for the face culling object that’s appropriate for this"},{"text":"material class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"FaceCulling"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FaceCulling","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Blending"],"names":{"title":"PhysicallyBasedMaterial.Blending","navigator":[{"kind":"identifier","spelling":"Blending"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that defines the transparency of an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","ImageSequence","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","modelDebugOptions"],"names":{"title":"modelDebugOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configures the debug visualization of this model."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of the collection."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.Iterator","rhs":"IndexingIterator","rhsPrecise":"s:s16IndexingIteratorV"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Iterator","rhs":"IndexingIterator","rhsPrecise":"s:s16IndexingIteratorV"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"IndexingIterator","preciseIdentifier":"s:s16IndexingIteratorV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physics motion component at rest."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC18accessibilityLabelSSSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","accessibilityLabel"],"names":{"title":"accessibilityLabel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityLabel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A succinct label that identifies the purpose of the image."},{"text":""},{"text":"The default value for this property is `false`."},{"text":""},{"text":"For entities with ``Entity/isAccessibilityElement`` set to"},{"text":", iOS uses this"},{"text":"string to provide information to users of assistive technologies like"},{"text":"VoiceOver. Set this property to a name or short description that"},{"text":"accurately describes the entity. If you wish to provide additional"},{"text":"information or a longer description of the entity, you can use"},{"text":"``Entity/accessibilityDescription``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityLabel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"*","message":"Use accessibilityLabelKey instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V9faceIndexSivp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","TriangleHit","faceIndex"],"names":{"title":"faceIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The face index for the mesh face that that the ray hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"faceIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation24ImageBasedLightComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightComponent","preciseIdentifier":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","Blending"],"names":{"title":"UnlitMaterial.Blending","navigator":[{"kind":"identifier","spelling":"Blending"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type used to represent opacity information."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Blending"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Blending","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV","interfaceLanguage":"swift"},"pathComponents":["MeshResource","JointInfluences"],"names":{"title":"MeshResource.JointInfluences","navigator":[{"kind":"identifier","spelling":"JointInfluences"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointInfluences"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A buffer of vertex-joint influences which bind the mesh part's vertices to a skeleton via a"},{"text":"skinning deformation."},{"text":""},{"text":"Each vertex is associated with a fixed number of influences. If `influencesPerVertex` is 4,"},{"text":"then there should be four elements in the buffer of joint influences for each vertex in the"},{"text":"mesh part."},{"text":""},{"text":"- Note: If a particular vertex needs fewer influences than the `influencesPerVertex` value,"},{"text":"the influences for that vertex can be padded with zero-weight influences."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointInfluences"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","SupportedActions"],"names":{"title":"AccessibilityComponent.SupportedActions","navigator":[{"kind":"identifier","spelling":"SupportedActions"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SupportedActions"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A custom action that can be invoked on an entity in response to specific user cues."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SupportedActions"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","BlendMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["AnimationDefinition","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV26spawnSpreadFactorVariationSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","spawnSpreadFactorVariation"],"names":{"title":"spawnSpreadFactorVariation","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnSpreadFactorVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines a plus/minus range from which a value is randomly selected to offset Spawn Spread Factor."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnSpreadFactorVariation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided closure."},{"text":""},{"text":"Combine’s ``Publisher/filter(_:)`` operator performs an operation similar to that of in the Swift Standard Library: it uses a closure to test each element to determine whether to republish the element to the downstream subscriber."},{"text":""},{"text":"The following example, uses a filter operation that receives an `Int` and only republishes a value if it’s even."},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .filter { $0 % 2 == 0 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"2 4\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value indicating whether to republish the element."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Filter","preciseIdentifier":"s:7Combine10PublishersO6FilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC19availableAnimationsSayAA17AnimationResourceCGvp","interfaceLanguage":"swift"},"pathComponents":["Entity","availableAnimations"],"names":{"title":"availableAnimations","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"availableAnimations"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The list of animations associated with the entity."},{"text":""},{"text":"When you import an entity from a file, for example by using the"},{"text":"``Entity/load(named:in:)`` method, the entity might contain associated"},{"text":"animations. Any that RealityKit supports appear in the"},{"text":"``Entity/availableAnimations`` array."},{"text":""},{"text":"To play a particular animation resource from the list, call the"},{"text":"``Entity/playAnimation(_:transitionDuration:startsPaused:)`` method."},{"text":"Alternatively, to play all animations with a given name, call the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method instead."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"availableAnimations"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC21expectedMaterialCountSivp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","expectedMaterialCount"],"names":{"title":"expectedMaterialCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"expectedMaterialCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of material entries required to render the mesh resource."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"expectedMaterialCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerC17completionHandleryycSgvp","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","completionHandler"],"names":{"title":"completionHandler","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A closure that the playback controller executes when it comes to the end"},{"text":"of the audio stream."},{"text":""},{"text":"The controller doesn’t call the closure if you manually stop the audio"},{"text":"by calling the ``AudioPlaybackController/stop()`` or the"},{"text":"``AudioPlaybackController/pause()`` method."},{"text":""},{"text":"You can only register one handler at a time. If you set a new handler,"},{"text":"the controller discards the old one."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": (() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation21SpatialAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","CustomContent"],"names":{"title":"AccessibilityComponent.CustomContent","navigator":[{"kind":"identifier","spelling":"CustomContent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomContent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A CustomContent struct contains the accessibility strings for the labels you apply to your accessibility content."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CustomContent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:_:)"],"names":{"title":"merge(with:_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from three other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:_:)-48buc``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:_:)-16rcy``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":" let pubD = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC, pubD)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubD.send(-1)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":" pubD.send(-2)"},{"text":""},{"text":" // Prints: \"1 40 90 -1 2 50 100 -2 \""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":" - d: A fourth publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]},{"name":"d","declarationFragments":[{"kind":"identifier","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1},{"name":"D","index":2,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"},{"kind":"sameType","lhs":"C.Failure","rhs":"D.Failure"},{"kind":"sameType","lhs":"C.Output","rhs":"D.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"D"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"d"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge4","preciseIdentifier":"s:7Combine10PublishersO6Merge4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"D"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withName7optionsAA11LoadRequestCyACG0B03URLV_SSSgAC13CreateOptionsVtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","loadAsync(contentsOf:withName:options:)"],"names":{"title":"loadAsync(contentsOf:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads a texture resource from a URL asynchronously with options."},{"text":""},{"text":"RealityKit uses the resource name to distinguish resources locally, and to match"},{"text":"texture resources between networked peers. Specify a unique name for"},{"text":"each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - url: The path or address of the file to load."},{"text":""},{"text":" - resourceName: A unique name to assign to the loaded resource, for use in network synchronization."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A load operation that publishes the resource."}]},"functionSignature":{"parameters":[{"name":"contentsOf","internalName":"url","declarationFragments":[{"kind":"identifier","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"contentsOf"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"url"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"URL","preciseIdentifier":"s:10Foundation3URLV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"*","message":"Use try await TextureResource(contentsOf:… withName:… options:…) instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3setyyxAA0D0RzlF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","set(_:)"],"names":{"title":"set(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"component","declarationFragments":[{"kind":"identifier","spelling":"component"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"component"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V18attractionStrengthSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","attractionStrength"],"names":{"title":"attractionStrength","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attractionStrength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The particles are attracted to the `attractionCenter` by this amount. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"attractionStrength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","trimmingPrefix(_:)"],"names":{"title":"trimmingPrefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"_StringProcessing","lines":[{"text":"Returns a new collection of the same type by removing initial elements"},{"text":"that satisfy the given predicate from the start."},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":"as its argument and returns a Boolean value indicating whether the"},{"text":"element should be removed from the collection."},{"text":"- Returns: A collection containing the elements of the collection that are"},{"text":" not removed by `predicate`."}]},"functionSignature":{"parameters":[{"name":"prefix","declarationFragments":[{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftGenerics":{"parameters":[{"name":"Prefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Prefix","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"Prefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Prefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"prefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Prefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC6boundsAA11BoundingBoxVvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","bounds"],"names":{"title":"bounds","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A box that bounds the mesh."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV4fromACs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV8upVectors5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","upVector"],"names":{"title":"upVector","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Y axis direction relative to the physics origin."},{"text":""},{"text":"Rotates the object so that the vertical height is along the up vector."},{"text":"Vector must be normalized and specified in *physics space*, the coordinate system of the"},{"text":"physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"upVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxVACycfc","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an empty bounding box."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","removeDuplicates()"],"names":{"title":"removeDuplicates()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element."},{"text":""},{"text":"Use ``Publisher/removeDuplicates()`` to remove repeating elements from an upstream publisher. This operator has a two-element memory: the operator uses the current and previously published elements as the basis for its comparison."},{"text":""},{"text":"In the example below, ``Publisher/removeDuplicates()`` triggers on the doubled, tripled, and quadrupled occurrences of `1`, `3`, and `4` respectively. Because the two-element memory considers only the current element and the previous element, the operator prints the final `0` in the example data since its immediate predecessor is `4`."},{"text":""},{"text":" let numbers = [0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 0]"},{"text":" cancellable = numbers.publisher"},{"text":" .removeDuplicates()"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 0\""},{"text":""},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Output","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7entityAAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","entityA"],"names":{"title":"entityA","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The first entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityA"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3setyySayAA0D0_pGF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","set(_:)"],"names":{"title":"set(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds all the component in the input array to the set."},{"text":""},{"text":"If the input array contains more than one component of a given type,"},{"text":"only the element with the highest index goes into the set, because"},{"text":"the set can hold only one component of a given type."},{"text":""},{"text":"- Parameters:"},{"text":" - components: An array of components to add."}]},"functionSignature":{"parameters":[{"name":"components","declarationFragments":[{"kind":"identifier","spelling":"components"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"set"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"components"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","trimmingPrefix(while:)"],"names":{"title":"trimmingPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trimmingPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":13,"minor":0}},{"domain":"watchOS","introduced":{"major":9,"minor":0}},{"domain":"iOS","introduced":{"major":16,"minor":0}},{"domain":"tvOS","introduced":{"major":16,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"functionSignature":{"parameters":[{"name":"style","declarationFragments":[{"kind":"identifier","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"style"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","TriangleHit","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE12generateCone6height6radiusACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateCone(height:radius:)"],"names":{"title":"generateCone(height:radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new cone mesh with the specified dimensions."},{"text":""},{"text":"- Parameters:"},{"text":" - height: The height of the cone in meters [m]."},{"text":" - radius: The radius of the cone in meters [m]."},{"text":""},{"text":"The cone is centered at the local origin."}]},"functionSignature":{"parameters":[{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","merge(with:_:)"],"names":{"title":"merge(with:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Combines elements from this publisher with those from two other publishers, delivering an interleaved sequence of elements."},{"text":""},{"text":"Use ``Publisher/merge(with:_:)`` when you want to receive a new element whenever any of the upstream publishers emits an element. To receive tuples of the most-recent value from all the upstream publishers whenever any of them emit a value, use ``Publisher/combineLatest(_:_:)-5crqg``."},{"text":"To combine elements from multiple upstream publishers, use ``Publisher/zip(_:_:)-8d7k7``."},{"text":""},{"text":"In this example, as ``Publisher/merge(with:_:)`` receives input from the upstream publishers, it republishes the interleaved elements to the downstream:"},{"text":""},{"text":" let pubA = PassthroughSubject()"},{"text":" let pubB = PassthroughSubject()"},{"text":" let pubC = PassthroughSubject()"},{"text":""},{"text":" cancellable = pubA"},{"text":" .merge(with: pubB, pubC)"},{"text":" .sink { print(\"\\($0)\", terminator: \" \" )}"},{"text":""},{"text":" pubA.send(1)"},{"text":" pubB.send(40)"},{"text":" pubC.send(90)"},{"text":" pubA.send(2)"},{"text":" pubB.send(50)"},{"text":" pubC.send(100)"},{"text":""},{"text":" // Prints: \"1 40 90 2 50 100\""},{"text":""},{"text":"The merged publisher continues to emit elements until all upstream publishers finish."},{"text":"If an upstream publisher produces an error, the merged publisher fails with that error."},{"text":""},{"text":"- Parameters:"},{"text":" - b: A second publisher."},{"text":" - c: A third publisher."},{"text":"- Returns: A publisher that emits an event when any upstream publisher emits an event."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"}]},{"name":"c","declarationFragments":[{"kind":"identifier","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"B","index":0,"depth":1},{"name":"C","index":1,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Failure","rhs":"B.Failure"},{"kind":"sameType","lhs":"Self.Output","rhs":"B.Output"},{"kind":"sameType","lhs":"B.Failure","rhs":"C.Failure"},{"kind":"sameType","lhs":"B.Output","rhs":"C.Output"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"merge"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"C"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"c"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Merge3","preciseIdentifier":"s:7Combine10PublishersO6Merge3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Publisher","preciseIdentifier":"s:7Combine9PublisherP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Failure"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"B"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"C"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV11cubicBezier13controlPoint10H6Point2ACs5SIMD2VySfG_AItFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","cubicBezier(controlPoint1:controlPoint2:)"],"names":{"title":"cubicBezier(controlPoint1:controlPoint2:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cubicBezier"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a timing function that accelerates and then decelerates towards"},{"text":"the target value with the cubic bezier shape specified by two control"},{"text":"points."},{"text":""},{"text":"- Parameters:"},{"text":" - controlPoint1: The first control point for the cubic bezier function."},{"text":""},{"text":"- controlPoint2: The second control point for the cubic bezier function."},{"text":""},{"text":"- Returns: The cubic bezier timing function."}]},"functionSignature":{"parameters":[{"name":"controlPoint1","declarationFragments":[{"kind":"identifier","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"controlPoint2","declarationFragments":[{"kind":"identifier","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cubicBezier"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"controlPoint1"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"controlPoint2"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `prefix(while:)` method to find the"},{"text":"positive numbers at the beginning of the `numbers` array. Every element"},{"text":"of `numbers` up to, but not including, the first negative value is"},{"text":"included in the result."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let positivePrefix = numbers.prefix(while: { $0 > 0 })"},{"text":" // positivePrefix == [3, 7, 4]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the resulting"},{"text":"sequence contains every element of the sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence of the initial, consecutive elements that"},{"text":" satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicsMotionComponent","preciseIdentifier":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation23AudioMixGroupsComponentV","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroupsComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV3hasySbAA0D0_pXpF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","has(_:)"],"names":{"title":"has(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns a Boolean that indicates whether the set contains a"},{"text":"component of the given type."},{"text":""},{"text":"- Parameters:"},{"text":" - componentType: A component type, like `ModelComponent.Self`"},{"text":""},{"text":"- Returns: A Boolean that’s `true` if the set contains a component"},{"text":"of the given type."}]},"functionSignature":{"parameters":[{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode"],"names":{"title":"AnimationRepeatMode","navigator":[{"kind":"identifier","spelling":"AnimationRepeatMode"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationRepeatMode"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Options that determine whether an animation replays after completion."},{"text":""},{"text":"Adopters of ``AnimationDefinition``, such as ``SampledAnimation``, offer"},{"text":"repeat options of this type through the ``SampledAnimation/repeatMode``"},{"text":"property."},{"text":""},{"text":"To select a behavior, set the repeat mode as you configure your animation,"},{"text":"as in the following example:"},{"text":""},{"text":"```swift"},{"text":"let clip = FromToByAnimation()"},{"text":"clip.repeatMode = .repeat"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationRepeatMode"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","isEmpty"],"names":{"title":"isEmpty","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value that indicates whether the set has no elements."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isEmpty"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation32ImageBasedLightReceiverComponentV05imagedE0AcA6EntityC_tcfc","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightReceiverComponent","init(imageBasedLight:)"],"names":{"title":"init(imageBasedLight:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"imageBasedLight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"imageBasedLight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC10convexCast0D5Shape12fromPosition0G11Orientation02toH00jI05query4mask10relativeToSayAA09CollisionE3HitVGAA0F8ResourceC_s5SIMD3VySfGSo10simd_quatfaAtvA0oE9QueryTypeOAA0O5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)"],"names":{"title":"convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convexCast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex shape cast against all the geometry in the scene."},{"text":""},{"text":"- Parameters:"},{"text":" - convexShape: The convex shape to cast."},{"text":""},{"text":"- fromPosition: The starting position of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- fromOrientation: The starting orientation of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- toPosition: The ending position of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- toOrientation: The ending orientation of `convexShape` relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":" - query: The query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the convex shape, starting at a given point and traveling in a"},{"text":"given direction, collides with entities in the scene. To retrieve the"},{"text":"hit entity from a returned ``CollisionCastHit``, use the"},{"text":"``CollisionCastHit/entity`` property."},{"text":""},{"text":"For objects that intersect the convex shape at its starting position and"},{"text":"orientation, the returned collision cast hit result’s"},{"text":"``CollisionCastHit/position`` is `(0, 0, 0)` and the"},{"text":"``CollisionCastHit/normal`` points in the opposite direction of the"},{"text":"sweep."}]},"functionSignature":{"parameters":[{"name":"convexShape","declarationFragments":[{"kind":"identifier","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"}]},{"name":"fromPosition","declarationFragments":[{"kind":"identifier","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"fromOrientation","declarationFragments":[{"kind":"identifier","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"toPosition","declarationFragments":[{"kind":"identifier","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"toOrientation","declarationFragments":[{"kind":"identifier","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"convexCast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"convexShape"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ShapeResource","preciseIdentifier":"s:17RealityFoundation13ShapeResourceC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fromPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"fromOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"toPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"toOrientation"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"simd_quatf","preciseIdentifier":"c:@SA@simd_quatf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganVAAE8contactsSayAA7ContactVGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","contacts"],"names":{"title":"contacts","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contacts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Contact","preciseIdentifier":"s:17RealityFoundation7ContactV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"All contacts between the collision pair. Empty if all contact information is not requested."},{"text":"@see `CollisionComponent.CollisionOptions.fullContactInformation`"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contacts"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Contact","preciseIdentifier":"s:17RealityFoundation7ContactV"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV24spawnInheritsParentColorSbvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","spawnInheritsParentColor"],"names":{"title":"spawnInheritsParentColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnInheritsParentColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Whether or not the spawnedEmitter's color should be overriden by the mainEmitter's color at the time of the spawning."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnInheritsParentColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","prefix(_:)"],"names":{"title":"prefix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence, up to the specified maximum length, containing the"},{"text":"initial elements of the sequence."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the sequence,"},{"text":"the result contains all the elements in the sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.prefix(2))"},{"text":" // Prints \"[1, 2]\""},{"text":" print(numbers.prefix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return. The"},{"text":" value of `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting at the beginning of this sequence"},{"text":" with at most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1)"}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PrefixSequence","preciseIdentifier":"s:s14PrefixSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6source4name6weightAcA19AnimationDefinition_p_SSAA0C6WeightOtcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","init(source:name:weight:)"],"names":{"title":"init(source:name:weight:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a node that defines an animation within a tree of other blend"},{"text":"nodes."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The blend node’s animation."},{"text":""},{"text":" - name: A textual name for the blend node."},{"text":""},{"text":"- weight: A normalized percentage that designates how much effect this"},{"text":"node has compared to peer nodes."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" = .value(1.0))"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE16generateCylinder6height6radiusACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateCylinder(height:radius:)"],"names":{"title":"generateCylinder(height:radius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCylinder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new cylinder mesh with the specified dimensions."},{"text":""},{"text":"- Parameters:"},{"text":" - height: The height of the cylinder in meters [m]."},{"text":" - radius: The radius of the cylinder in meters [m]."},{"text":""},{"text":"The cylinder is centered at the local origin."}]},"functionSignature":{"parameters":[{"name":"height","declarationFragments":[{"kind":"identifier","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"radius","declarationFragments":[{"kind":"identifier","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateCylinder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"height"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV02isC7ElementSbvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","isAccessibilityElement"],"names":{"title":"isAccessibilityElement","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAccessibilityElement"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2IDa","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","ID"],"names":{"title":"MeshResource.Part.ID","navigator":[{"kind":"identifier","spelling":"ID"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"}]},"docComment":{"module":"Swift","lines":[{"text":"A type representing the stable identity of the entity associated with"},{"text":"an instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ID"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE11generateBox4size17majorCornerRadius05minoriJ0ACs5SIMD3VySfG_S2ftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(size:majorCornerRadius:minorCornerRadius:)"],"names":{"title":"generateBox(size:majorCornerRadius:minorCornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"majorCornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"minorCornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box with rounded corners mesh with the specified extent."},{"text":""},{"text":"- Parameters:"},{"text":" - size: Dimensions, in meters, for the faces of the box."},{"text":" - majorCornerRadius: Major radius of corner (when viewed from the Z direction)."},{"text":" - minorCornerRadius: Minor radius of corner (when viewed from the X direction)."},{"text":""},{"text":"The box is centered at the local origin and aligned with the local axes."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"majorCornerRadius","declarationFragments":[{"kind":"identifier","spelling":"majorCornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"minorCornerRadius","declarationFragments":[{"kind":"identifier","spelling":"minorCornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"majorCornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.2, "},{"kind":"externalParam","spelling":"minorCornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0.05) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","interfaceLanguage":"swift"},"pathComponents":["SynchronizationComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent"],"names":{"title":"AccessibilityComponent","navigator":[{"kind":"identifier","spelling":"AccessibilityComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AccessibilityComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AccessibilityComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV9easeInOutACvpZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","easeInOut"],"names":{"title":"easeInOut","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeInOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A timing function that produces a gradual starting and ending"},{"text":"transition."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"easeInOut"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation13TriggerVolumeC","interfaceLanguage":"swift"},"pathComponents":["TriggerVolume","collision"],"names":{"title":"collision","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision component that gives the entity the ability to participate"},{"text":"in collision simulations."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collision"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionComponent","preciseIdentifier":"s:17RealityFoundation18CollisionComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","isStrictSubset(of:)"],"names":{"title":"isStrictSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"subset of the given set."},{"text":""},{"text":"Set *A* is a strict subset of another set *B* if every member of *A* is"},{"text":"also a member of *B* and *B* contains at least one element that is not a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isStrictSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict subset of itself:"},{"text":" print(attendees.isStrictSubset(of: attendees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict subset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V2uvs5SIMD2VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","TriangleHit","uv"],"names":{"title":"uv","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uv"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The barycentric uv coordinate for where in the triangle the ray hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"uv"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation21ChannelAudioComponentV","interfaceLanguage":"swift"},"pathComponents":["ChannelAudioComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC13generateAsync4from8withName7optionsAA11LoadRequestCyACGSo10CGImageRefa_SSSgAC13CreateOptionsVtFZ","interfaceLanguage":"swift"},"pathComponents":["TextureResource","generateAsync(from:withName:options:)"],"names":{"title":"generateAsync(from:withName:options:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously creates a texture resource from an in-memory Core"},{"text":"Graphics image."},{"text":""},{"text":"This method creates a texture resource from an existing"},{"text":" with"},{"text":"specific options. RealityKit uses the resource name to identify"},{"text":"resources, and to match texture resources between networked peers."},{"text":"Specify a unique name for each texture resource you load or generate."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":""},{"text":" - resourceName: A unique name for syncing the texture resource across the network. Name will be empty if omitted."},{"text":""},{"text":" - options: Configuration options for texture creation."},{"text":""},{"text":"- Returns: A texture resource."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"withName","internalName":"resourceName","declarationFragments":[{"kind":"identifier","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"withName"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resourceName"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"*","renamed":"generate(from:named:options:)","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC7raycast4from2to5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_AoA0kL9QueryTypeOAA0K5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","raycast(from:to:query:mask:relativeTo:)"],"names":{"title":"raycast(from:to:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex ray cast against all the geometry in the scene for a"},{"text":"ray between two end points."},{"text":""},{"text":"The method ignores entities that lack a ``CollisionComponent``."},{"text":""},{"text":"- Parameters:"},{"text":"- startPosition: The start position of the ray relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- endPosition: The end position of the ray relative to"},{"text":"`referenceEntity`."},{"text":""},{"text":"- query: A query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the ray, starting at `startPosition` and ending at `endPosition`,"},{"text":"hit a particular entity in the scene."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"startPosition","declarationFragments":[{"kind":"identifier","spelling":"startPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"to","internalName":"endPosition","declarationFragments":[{"kind":"identifier","spelling":"endPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"startPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"endPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","removeDuplicates(by:)"],"names":{"title":"removeDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided closure."},{"text":""},{"text":"Use ``Publisher/removeDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of the current and previously published elements using a closure you provide."},{"text":""},{"text":"Use the ``Publisher/removeDuplicates(by:)`` operator when comparing types that don’t themselves implement `Equatable`, or if you need to compare values differently than the type’s `Equatable` implementation."},{"text":""},{"text":"In the example below, the ``Publisher/removeDuplicates(by:)`` functionality triggers when the `x` property of the current and previous elements are equal, otherwise the operator publishes the current `Point` to the downstream subscriber:"},{"text":""},{"text":" struct Point {"},{"text":" let x: Int"},{"text":" let y: Int"},{"text":" }"},{"text":""},{"text":" let points = [Point(x: 0, y: 0), Point(x: 0, y: 1),"},{"text":" Point(x: 1, y: 1), Point(x: 2, y: 1)]"},{"text":" cancellable = points.publisher"},{"text":" .removeDuplicates { prev, current in"},{"text":" // Considers points to be duplicate if the x coordinate"},{"text":" // is equal, and ignores the y coordinate"},{"text":" prev.x == current.x"},{"text":" }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: Point(x: 0, y: 0) Point(x: 1, y: 1) Point(x: 2, y: 1)"},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"RemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO16RemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV13materialIndexSivp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","materialIndex"],"names":{"title":"materialIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Material index for the part."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"materialIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","debugModel"],"names":{"title":"debugModel","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"debugModel"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"modelDebugOptions","isUnconditionallyUnavailable":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.class","displayName":"Class"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC","interfaceLanguage":"swift"},"pathComponents":["AnimationResource"],"names":{"title":"AnimationResource","navigator":[{"kind":"identifier","spelling":"AnimationResource"}],"subHeading":[{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationResource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An animation for the properties of scenes or entities."},{"text":""},{"text":"You find animation resources in an entity’s ``Entity/availableAnimations`` array."},{"text":"Animation resources come bundled with an entity when you load the"},{"text":"entity from a file. They describe an animation that’s specific to the entity"},{"text":"to which they are attached."},{"text":""},{"text":"Use the entity’s ``Entity/playAnimation(_:transitionDuration:startsPaused:)``"},{"text":"method to play a particular item in its animation resource array, or the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method to play all"},{"text":"of the animations with a given name. From both methods, you receive an"},{"text":"``AnimationPlaybackController`` instance that lets you manage playback of"},{"text":"the resource."},{"text":""},{"text":"If you want to loop an animation, call the resource’s"},{"text":"``AnimationResource/repeat(count:)`` method to create a new resource that"},{"text":"plays a given number of times in a row, or call the"},{"text":"``AnimationResource/repeat(duration:)`` method to create a new resource that"},{"text":"loops for the given duration. The latter loops indefinitely if you omit the"},{"text":"duration parameter. You use the new animation resource that these methods"},{"text":"return just as you would any other."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"class"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationResource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganV7entityBAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","entityB"],"names":{"title":"entityB","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The second entity involved in the collision."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entityB"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13noiseStrengthSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","noiseStrength"],"names":{"title":"noiseStrength","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"noiseStrength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Strength of the noise (turbulence) fields affecting particle motion. Defaults to 0."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"noiseStrength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","isStrictSuperset(of:)"],"names":{"title":"isStrictSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether this set is a strict"},{"text":"superset of the given set."},{"text":""},{"text":"Set *A* is a strict superset of another set *B* if every member of *B* is"},{"text":"also a member of *A* and *A* contains at least one element that is *not*"},{"text":"a member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isStrictSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":" // A set is never a strict superset of itself:"},{"text":" print(employees.isStrictSuperset(of: employees))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a strict superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isStrictSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19BlendTreeSourceNodeV6sourceAA19AnimationDefinition_pSgvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeSourceNode","source"],"names":{"title":"source","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The blend node's animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence by skipping the initial, consecutive elements that"},{"text":"satisfy the given predicate."},{"text":""},{"text":"The following example uses the `drop(while:)` method to skip over the"},{"text":"positive numbers at the beginning of the `numbers` array. The result"},{"text":"begins with the first element of `numbers` that does not satisfy"},{"text":"`predicate`."},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" let startingWithNegative = numbers.drop(while: { $0 > 0 })"},{"text":" // startingWithNegative == [-2, 9, -6, 10, 1]"},{"text":""},{"text":"If `predicate` matches every element in the sequence, the result is an"},{"text":"empty sequence."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element should be included in the result."},{"text":"- Returns: A sequence starting after the initial, consecutive elements"},{"text":" that satisfy `predicate`."},{"text":""},{"text":"- Complexity: O(*k*), where *k* is the number of elements to drop from"},{"text":" the beginning of the sequence."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"DropWhileSequence","preciseIdentifier":"s:s17DropWhileSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation21SpatialAudioComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["SpatialAudioComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"SpatialAudioComponent","preciseIdentifier":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"SpatialAudioComponent","preciseIdentifier":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpatialAudioComponent","preciseIdentifier":"s:17RealityFoundation21SpatialAudioComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpatialAudioComponent","preciseIdentifier":"s:17RealityFoundation21SpatialAudioComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpatialAudioComponent","preciseIdentifier":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SpatialAudioComponent","preciseIdentifier":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV6removeyyAA0D0_pXpF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the component of the specified type from the collection."}]},"functionSignature":{"parameters":[{"name":"componentType","declarationFragments":[{"kind":"identifier","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"componentType"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"},{"kind":"text","spelling":".Type)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV15collisionFilterAA09CollisionG0Vvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","collisionFilter"],"names":{"title":"collisionFilter","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The character's collision filter."},{"text":""},{"text":"For more information on using collision filters, see ."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"collisionFilter"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","color"],"names":{"title":"color","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The material's base color."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"color"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganVAAE19penetrationDistanceSfvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","penetrationDistance"],"names":{"title":"penetrationDistance","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"penetrationDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The estimated distance of overlap between the two colliding entities in scene coordinate space."},{"text":""},{"text":"@note This is the maximum penetration distance for all contacts, for more detailed"},{"text":" penetration distance see the `contacts` and"},{"text":" `CollisionComponent.CollisionOptions.fullContactInformation`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"penetrationDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Normalization","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AudioResource","preciseIdentifier":"s:17RealityFoundation13AudioResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normalization","preciseIdentifier":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV5countSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","count"],"names":{"title":"count","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The number of components in this collection."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"count"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACSf_SftFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateBox(size:cornerRadius:)"],"names":{"title":"generateBox(size:cornerRadius:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new box mesh with sides of equal length."},{"text":""},{"text":"The box is centered at the entity’s origin and aligned with its axes."},{"text":""},{"text":"- Parameters:"},{"text":" - size: The length, in meters, of each face of the box."},{"text":""},{"text":"- cornerRadius: A corner radius in the form of a circular arc, with"},{"text":"curvature that transitions abruptly from `0` to `1/r` at the boundary"},{"text":"between the edge and the corner."},{"text":""},{"text":"- Returns: The box mesh."}]},"functionSignature":{"parameters":[{"name":"size","declarationFragments":[{"kind":"identifier","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"cornerRadius","declarationFragments":[{"kind":"identifier","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateBox"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"size"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"cornerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 0) -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a set containing the elements of the given array literal."},{"text":""},{"text":"Do not call this initializer directly. It is used by the compiler when"},{"text":"you use an array literal. Instead, create a new set using an array"},{"text":"literal as its value by enclosing a comma-separated list of values in"},{"text":"square brackets. You can use an array literal anywhere a set is expected"},{"text":"by the type context."},{"text":""},{"text":"Here, a set of strings is created from an array literal holding only"},{"text":"strings:"},{"text":""},{"text":" let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]"},{"text":" if ingredients.isSuperset(of: [\"sugar\", \"salt\"]) {"},{"text":" print(\"Whatever it is, it's bound to be delicious!\")"},{"text":" }"},{"text":" // Prints \"Whatever it is, it's bound to be delicious!\""},{"text":""},{"text":"- Parameter arrayLiteral: A list of elements of the new set."}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.ArrayLiteralElement","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV4fade2to8durationySd_SdtF","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","fade(to:duration:)"],"names":{"title":"fade(to:duration:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fade"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Begins a fade to the given `gain` in relative Decibels over the given `duration` in Seconds."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"gain","declarationFragments":[{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]},{"name":"duration","declarationFragments":[{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"fade"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV19ArrayLiteralElementa","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","ArrayLiteralElement"],"names":{"title":"JointTransforms.ArrayLiteralElement","navigator":[{"kind":"identifier","spelling":"ArrayLiteralElement"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The type of the elements of an array literal."}]},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ArrayLiteralElement"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV13defaultHeightSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultHeight"],"names":{"title":"defaultHeight","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultHeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultHeight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation26PerspectiveCameraComponentV4nearSfvp","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","near"],"names":{"title":"near","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The minimum distance in meters from the camera that the camera can see."},{"text":""},{"text":"The value defaults to 1 centimeter. Always use a value greater than `0`"},{"text":"and less than the value of ``PerspectiveCameraComponent/far``. The"},{"text":"renderer clips any surface closer than the"},{"text":"``PerspectiveCameraComponent/near`` point."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"near"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVACycfc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of animatable transforms for a single skeletal"},{"text":"pose."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","split(separator:maxSplits:omittingEmptySubsequences:)"],"names":{"title":"split(separator:maxSplits:omittingEmptySubsequences:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the longest possible subsequences of the sequence, in order,"},{"text":"around elements equal to the given element."},{"text":""},{"text":"The resulting array consists of at most `maxSplits + 1` subsequences."},{"text":"Elements that are used to split the sequence are not returned as part of"},{"text":"any subsequence."},{"text":""},{"text":"The following examples show the effects of the `maxSplits` and"},{"text":"`omittingEmptySubsequences` parameters when splitting a string at each"},{"text":"space character (\" \"). The first use of `split` returns each word that"},{"text":"was originally separated by one or more spaces."},{"text":""},{"text":" let line = \"BLANCHE: I don't want realism. I want magic!\""},{"text":" print(line.split(separator: \" \")"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"The second example passes `1` for the `maxSplits` parameter, so the"},{"text":"original string is split just once, into two new strings."},{"text":""},{"text":" print(line.split(separator: \" \", maxSplits: 1)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \" I don\\'t want realism. I want magic!\"]\""},{"text":""},{"text":"The final example passes `false` for the `omittingEmptySubsequences`"},{"text":"parameter, so the returned array contains empty strings where spaces"},{"text":"were repeated."},{"text":""},{"text":" print(line.split(separator: \" \", omittingEmptySubsequences: false)"},{"text":" .map(String.init))"},{"text":" // Prints \"[\"BLANCHE:\", \"\", \"\", \"I\", \"don\\'t\", \"want\", \"realism.\", \"I\", \"want\", \"magic!\"]\""},{"text":""},{"text":"- Parameters:"},{"text":" - separator: The element that should be split upon."},{"text":" - maxSplits: The maximum number of times to split the sequence, or one"},{"text":" less than the number of subsequences to return. If `maxSplits + 1`"},{"text":" subsequences are returned, the last one is a suffix of the original"},{"text":" sequence containing the remaining elements. `maxSplits` must be"},{"text":" greater than or equal to zero. The default value is `Int.max`."},{"text":" - omittingEmptySubsequences: If `false`, an empty subsequence is"},{"text":" returned in the result for each consecutive pair of `separator`"},{"text":" elements in the sequence and for each instance of `separator` at the"},{"text":" start or end of the sequence. If `true`, only nonempty subsequences"},{"text":" are returned. The default value is `true`."},{"text":"- Returns: An array of subsequences, split from this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"separator","declarationFragments":[{"kind":"identifier","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]},{"name":"maxSplits","declarationFragments":[{"kind":"identifier","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"omittingEmptySubsequences","declarationFragments":[{"kind":"identifier","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"split"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"separator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"maxSplits"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = Int.max, "},{"kind":"externalParam","spelling":"omittingEmptySubsequences"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) -> ["},{"kind":"typeIdentifier","spelling":"ArraySlice","preciseIdentifier":"s:s10ArraySliceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","interfaceLanguage":"swift"},"pathComponents":["Scene","AnchorCollection","lexicographicallyPrecedes(_:by:)"],"names":{"title":"lexicographicallyPrecedes(_:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence precedes another"},{"text":"sequence in a lexicographical (dictionary) ordering, using the given"},{"text":"predicate to compare elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"- Parameters:"},{"text":" - other: A sequence to compare to this sequence."},{"text":" - areInIncreasingOrder: A predicate that returns `true` if its first"},{"text":" argument should be ordered before its second argument; otherwise,"},{"text":" `false`."},{"text":"- Returns: `true` if this sequence precedes `other` in a dictionary"},{"text":" ordering as ordered by `areInIncreasingOrder`; otherwise, `false`."},{"text":""},{"text":"- Note: This method implements the mathematical notion of lexicographical"},{"text":" ordering, which has no connection to Unicode. If you are sorting"},{"text":" strings to present to the end user, use `String` APIs that perform"},{"text":" localized comparison instead."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"}]},{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"OtherSequence","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self.Element","rhs":"OtherSequence.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lexicographicallyPrecedes"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"OtherSequence"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"OtherSequence"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC12ComponentSetV9removeAllyyF","interfaceLanguage":"swift"},"pathComponents":["Entity","ComponentSet","removeAll()"],"names":{"title":"removeAll()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes all components from the collection."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeAll"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV16defaultSkinWidthSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultSkinWidth"],"names":{"title":"defaultSkinWidth","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSkinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSkinWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the bounding box by feeding them into"},{"text":"the given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"box."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV12arrayLiteralAcA9TransformVd_tcfc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of animatable transforms using the argument"},{"text":"elements for a single skeletal pose."},{"text":""},{"text":"- Parameters:"},{"text":"- elements: A comma-delimited list of transforms, which define position,"},{"text":"rotation, and scale data for the joints."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"elements"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":"...)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of final"},{"text":"elements."},{"text":""},{"text":"The sequence must be finite. If the number of elements to drop exceeds"},{"text":"the number of elements in the sequence, the result is an empty"},{"text":"sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter n: The number of elements to drop off the end of the"},{"text":" sequence. `n` must be greater than or equal to zero."},{"text":"- Returns: A sequence leaving off the specified number of elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation32ImageBasedLightReceiverComponentV","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightReceiverComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11MeshBuffersO4RateO","interfaceLanguage":"swift"},"pathComponents":["MeshBuffers","Rate"],"names":{"title":"MeshBuffers.Rate","navigator":[{"kind":"identifier","spelling":"Rate"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Rate"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Defines how elements in the buffer map to features of the mesh."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Rate"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(_:offsetBy:limitedBy:)"],"names":{"title":"formIndex(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance, or so that it equals"},{"text":"the given limiting index."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection, unless the index passed as `limit` prevents offsetting"},{"text":"beyond those bounds."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":" - limit: A valid index of the collection to use as a limit. If"},{"text":" `distance > 0`, a limit that is less than `i` has no effect."},{"text":" Likewise, if `distance < 0`, a limit that is greater than `i` has no"},{"text":" effect."},{"text":"- Returns: `true` if `i` has been offset by exactly `distance` steps"},{"text":" without going beyond `limit`; otherwise, `false`. When the return"},{"text":" value is `false`, the value of `i` is equal to `limit`."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation32ImageBasedLightReceiverComponentV05imagedE0AA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightReceiverComponent","imageBasedLight"],"names":{"title":"imageBasedLight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"imageBasedLight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"imageBasedLight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","drop(while:)"],"names":{"title":"drop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until a given closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/drop(while:)`` to omit elements from an upstream publisher until the element received meets a condition you specify."},{"text":""},{"text":"In the example below, the operator omits all elements in the stream until the first element arrives that’s a positive integer, after which the operator publishes all remaining elements:"},{"text":""},{"text":" let numbers = [-62, -1, 0, 10, 0, 22, 41, -1, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .drop { $0 <= 0 }"},{"text":" .sink { print(\"\\($0)\") }"},{"text":""},{"text":" // Prints: \"10 0, 22 41 -1 5\""},{"text":""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"drop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"DropWhile","preciseIdentifier":"s:7Combine10PublishersO9DropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV4nameACSS_tcfc","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","init(name:)"],"names":{"title":"init(name:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an `AudioMixGroup` with the given name."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV5label0B023LocalizedStringResourceVSgvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","label"],"names":{"title":"label","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A succinct label that identifies the entity, in a localized string key."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"label"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV15simulationStateAC010SimulationG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","simulationState"],"names":{"title":"simulationState","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simulationState"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationState","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Controls particle simulation state: playing, paused or stopped. Defaults to `play`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"simulationState"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SimulationState","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation23AudioPlaybackControllerCAAE4seek2toys8DurationV_tF","interfaceLanguage":"swift"},"pathComponents":["AudioPlaybackController","seek(to:)"],"names":{"title":"seek(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"seek"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Duration","preciseIdentifier":"s:s8DurationV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Seek to a specified time"},{"text":"- Parameter time: playback position"}]},"functionSignature":{"parameters":[{"name":"to","internalName":"time","declarationFragments":[{"kind":"identifier","spelling":"time"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Duration","preciseIdentifier":"s:s8DurationV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"seek"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"time"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Duration","preciseIdentifier":"s:s8DurationV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation14QueryPredicateV3hasyACyAA6EntityCGqd__mAA9ComponentRd__lFZ","interfaceLanguage":"swift"},"pathComponents":["QueryPredicate","has(_:)"],"names":{"title":"has(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a new predicate that describes entities that have a specific"},{"text":"component."},{"text":""},{"text":"To create a `has` predicate, pass the component class’s `self` property."},{"text":""},{"text":"```swift"},{"text":"let myPredicate = QueryPredicate.has(ModelComponent.self)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - t: The type of component."},{"text":""},{"text":"- Returns: A predicate that describes entities with a specified"},{"text":"component."}]},"functionSignature":{"parameters":[{"name":"t","declarationFragments":[{"kind":"identifier","spelling":"t"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type"}]}],"returns":[{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"Value","index":0,"depth":0},{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"Component","rhsPrecise":"s:17RealityFoundation9ComponentP"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"has"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"t"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":".Type) -> "},{"kind":"typeIdentifier","spelling":"QueryPredicate","preciseIdentifier":"s:17RealityFoundation14QueryPredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Component","preciseIdentifier":"s:17RealityFoundation9ComponentP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeNode","weight"],"names":{"title":"weight","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A normalized percentage that designates how much effect this node has"},{"text":"relative to peer nodes."},{"text":""},{"text":"The value of this property relates to the node's peers in a"},{"text":"``BlendTreeBlendNode/sources`` array. The sum of all node weights in a"},{"text":"given ``BlendTreeBlendNode/sources`` array needs to equal `1.0`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","ContentTypeDidChange","ContentType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC24accessibilityDescriptionSSSgvp","interfaceLanguage":"swift"},"pathComponents":["Entity","accessibilityDescription"],"names":{"title":"accessibilityDescription","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A longer description of the entity for use by assistive technologies."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"accessibilityDescription"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"*","message":"Use accessibilityCustomContent instead","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryDrop(while:)"],"names":{"title":"tryDrop(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Omits elements from the upstream publisher until an error-throwing closure returns false, before republishing all remaining elements."},{"text":""},{"text":"Use ``Publisher/tryDrop(while:)`` to omit elements from an upstream until an error-throwing closure you provide returns false, after which the remaining items in the stream are published. If the closure throws, no elements are emitted and the publisher fails with an error."},{"text":""},{"text":"In the example below, elements are ignored until `-1` is encountered in the stream and the closure returns `false`. The publisher then republishes the remaining elements and finishes normally. Conversely, if the `guard` value in the closure had been encountered, the closure would throw and the publisher would fail with an error."},{"text":""},{"text":" struct RangeError: Error {}"},{"text":" var numbers = [1, 2, 3, 4, 5, 6, -1, 7, 8, 9, 10]"},{"text":" let range: CountableClosedRange = (1...100)"},{"text":" cancellable = numbers.publisher"},{"text":" .tryDrop {"},{"text":" guard $0 != 0 else { throw RangeError() }"},{"text":" return range.contains($0)"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\") },"},{"text":" receiveValue: { print (\"value: \\($0)\") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"-1 7 8 9 10 completion: finished\""},{"text":" // If instead numbers was [1, 2, 3, 4, 5, 6, 0, -1, 7, 8, 9, 10], tryDrop(while:) would fail with a RangeError."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as a parameter and returns a Boolean value indicating whether to drop the element from the publisher’s output."},{"text":"- Returns: A publisher that skips over elements until the provided closure returns `false`, and then republishes all remaining elements. If the predicate closure throws, the publisher fails with an error."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryDrop"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryDropWhile","preciseIdentifier":"s:7Combine10PublishersO12TryDropWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","dropFirst(_:)"],"names":{"title":"dropFirst(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a sequence containing all but the given number of initial"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in"},{"text":"the sequence, the result is an empty sequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropFirst(2))"},{"text":" // Prints \"[3, 4, 5]\""},{"text":" print(numbers.dropFirst(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop from the beginning of"},{"text":" the sequence. `k` must be greater than or equal to zero."},{"text":"- Returns: A sequence starting after the specified number of"},{"text":" elements."},{"text":""},{"text":"- Complexity: O(1), with O(*k*) deferred to each iteration of the result,"},{"text":" where *k* is the number of elements to drop from the beginning of"},{"text":" the sequence."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropFirst"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 1) -> "},{"kind":"typeIdentifier","spelling":"DropFirstSequence","preciseIdentifier":"s:s17DropFirstSequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Normalization","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Calibration"],"names":{"title":"AudioResource.Calibration","navigator":[{"kind":"identifier","spelling":"Calibration"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Calibration"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container for different calibration modes that can be applied for playback."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Calibration"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsVyACxcSTRzAA9TransformV7ElementRtzlufc","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initializes a collection of transforms of a specific type for a single"},{"text":"skeletal pose."},{"text":""},{"text":"- Parameters:"},{"text":"- transforms: An array of position, rotation, and scale data for the"},{"text":"joints."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"Transform","rhsPrecise":"s:17RealityFoundation9TransformV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transforms"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationTimingFunction","preciseIdentifier":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV2idSSvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","parent"],"names":{"title":"parent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parent entity."},{"text":""},{"text":"An entity has at most one parent entity. If an entity isn’t part of a"},{"text":"hierarchy, or if it is a root entity, the ``HasHierarchy/parent``"},{"text":"property is `nil`."},{"text":""},{"text":"Use the ``HasHierarchy/setParent(_:preservingWorldTransform:)`` method"},{"text":"to change an entity’s parent. Use the"},{"text":"``HasHierarchy/removeFromParent(preservingWorldTransform:)`` method to"},{"text":"remove the parent. These methods automatically update the corresponding"},{"text":"``HasHierarchy/children`` collections of the new and old parent."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(_:offsetBy:)"],"names":{"title":"formIndex(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Offsets the given index by the specified distance."},{"text":""},{"text":"The value passed as `distance` must not offset `i` beyond the bounds of"},{"text":"the collection."},{"text":""},{"text":"- Parameters:"},{"text":" - i: A valid index of the collection."},{"text":" - distance: The distance to offset `i`. `distance` must not be negative"},{"text":" unless the collection conforms to the `BidirectionalCollection`"},{"text":" protocol."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the absolute"},{"text":" value of `distance`."}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two bounding boxes are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first box to compare."},{"text":""},{"text":" - rhs: The second box to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two boxes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionEventsO5BeganVAAE16impulseDirections5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CollisionEvents","Began","impulseDirection"],"names":{"title":"impulseDirection","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulseDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The direction of the total impulse in scene coordinate space."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"impulseDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V10noiseScaleSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","noiseScale"],"names":{"title":"noiseScale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"noiseScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Scale of the noise (turbulence) patterns. Defaults to 1."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"noiseScale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AudioResource","Normalization","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","interfaceLanguage":"swift"},"pathComponents":["ModelEntity","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of all the joints in the model entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation11BoundingBoxV3min3maxACs5SIMD3VySfG_AHtcfc","interfaceLanguage":"swift"},"pathComponents":["BoundingBox","init(min:max:)"],"names":{"title":"init(min:max:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bounding box with the given settings."},{"text":""},{"text":"- Parameters:"},{"text":" - min: The position of the minimum corner of the box."},{"text":""},{"text":" - max: The position of the maximum corner of the box."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV13defaultRadiusSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultRadius"],"names":{"title":"defaultRadius","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5SceneC7raycast6origin9direction6length5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_APSfAA0lM9QueryTypeOAA0L5GroupVAA6EntityCSgtF","interfaceLanguage":"swift"},"pathComponents":["Scene","raycast(origin:direction:length:query:mask:relativeTo:)"],"names":{"title":"raycast(origin:direction:length:query:mask:relativeTo:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Performs a convex ray cast against all the geometry in the scene for a"},{"text":"ray of a given origin, direction, and length."},{"text":""},{"text":"The method ignores entities that lack a ``CollisionComponent``."},{"text":""},{"text":"- Parameters:"},{"text":" - origin: The origin of the ray relative to `referenceEntity`."},{"text":""},{"text":" - direction: The direction of the ray relative to `referenceEntity`."},{"text":""},{"text":" - length: The length of the ray relative to `referenceEntity`."},{"text":""},{"text":" - query: A query type."},{"text":""},{"text":"- mask: A collision mask that you can use to prevent collisions with"},{"text":"certain objects."},{"text":""},{"text":"- referenceEntity: An entity that defines the frame of reference. The"},{"text":"method returns results relative to this entity. Set to `nil` to use the"},{"text":"world space origin `(0, 0, 0)`."},{"text":""},{"text":"- Returns: An array of collision cast hit results. Each hit indicates"},{"text":"where the ray, starting at a given point and traveling in a given"},{"text":"direction, hit a particular entity in the scene."},{"text":""},{"text":"The ``CollisionCastHit/normal`` property on returned result objects"},{"text":"contains the surface normal at the point of intersection with the"},{"text":"entity’s collision shape."}]},"functionSignature":{"parameters":[{"name":"origin","declarationFragments":[{"kind":"identifier","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"direction","declarationFragments":[{"kind":"identifier","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},{"name":"length","declarationFragments":[{"kind":"identifier","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},{"name":"query","declarationFragments":[{"kind":"identifier","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"}]},{"name":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},{"name":"relativeTo","internalName":"referenceEntity","declarationFragments":[{"kind":"identifier","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"raycast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"origin"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"direction"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"length"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 100, "},{"kind":"externalParam","spelling":"query"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastQueryType","preciseIdentifier":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":" = .all, "},{"kind":"externalParam","spelling":"relativeTo"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"referenceEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"? = nil) -> ["},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC7replace9withImage7optionsySo10CGImageRefa_AC13CreateOptionsVtKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replace(withImage:options:)"],"names":{"title":"replace(withImage:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Dynamically replaces the texture with a CoreGraphics image."},{"text":""},{"text":"This method blocks until the resource updates. Do not use this method for updates at frame rate frequency. For frequent"},{"text":"texture changes, see ``replace(withDrawables:)``. If a ``TextureResource/DrawableQueue`` has been attached"},{"text":"to this resource, this function detaches it."},{"text":""},{"text":"To ensure consistent usage of this texture resource, pass the same semantic in `options` that you used"},{"text":"to create the resource."},{"text":""},{"text":"- Note: The contents of a modified texture resource are not synced between network clients."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: The source image."},{"text":" - options: Options that specify the type of texture to create."}]},"functionSignature":{"parameters":[{"name":"withImage","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23AnimationTimingFunctionV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV10isOnGroundSbvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","isOnGround"],"names":{"title":"isOnGround","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOnGround"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"True if character controller is grounded, otherwise false."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOnGround"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC12replaceAsync9withImage7optionsAA11LoadRequestCyACGSo10CGImageRefa_AC13CreateOptionsVtF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","replaceAsync(withImage:options:)"],"names":{"title":"replaceAsync(withImage:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously replaces the texture with a CoreGraphics image."},{"text":""},{"text":"Do not use this method for updates at frame rate frequency. For frequent texture changes, see ``replace(withDrawables:)``. To ensure"},{"text":"consistent usage of this texture resource, pass the same semantic in `options` that you used to create the resource."},{"text":""},{"text":"- Note: The contents of a modified texture resource are not synced between network clients."},{"text":""},{"text":"- Parameters:"},{"text":" - cgImage: Source image."},{"text":" - options: Options precising the type of texture to create. To preserve TextureResource's usage, the same semantic should be specified."}]},"functionSignature":{"parameters":[{"name":"withImage","internalName":"cgImage","declarationFragments":[{"kind":"identifier","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replaceAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"withImage"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"cgImage"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CGImage","preciseIdentifier":"c:@T@CGImageRef"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CreateOptions","preciseIdentifier":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"*","renamed":"replace(using:options:)","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5index5afterS2i_tF","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(after:)"],"names":{"title":"index(after:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position in the sequence of the joint that follows the given"},{"text":"position."},{"text":""},{"text":"For more on calculating indices, see"},{"text":"."}]},"functionSignature":{"parameters":[{"name":"after","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"after"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","removeChild(_:preservingWorldTransform:)"],"names":{"title":"removeChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the given child from the entity."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC","interfaceLanguage":"swift"},"pathComponents":["TextureResource","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5SceneC4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["Scene","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A name for the scene."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation9TransformV","interfaceLanguage":"swift"},"pathComponents":["Transform"],"names":{"title":"Transform","navigator":[{"kind":"identifier","spelling":"Transform"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Transform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that defines the scale, rotation, and translation of an entity."},{"text":""},{"text":"An entity acquires a ``Transform`` component, as well as a set of methods"},{"text":"for manipulating the transform, by adopting the ``HasTransform`` protocol."},{"text":"This is true for all entities, because the ``Entity`` base class adopts the"},{"text":"protocol."}]},"declarationFragments":[{"kind":"attribute","spelling":"@frozen"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Transform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV16defaultStepLimitSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultStepLimit"],"names":{"title":"defaultStepLimit","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultStepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultStepLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lastIndex(of:)"],"names":{"title":"lastIndex(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the last index where the specified value appears in the"},{"text":"collection."},{"text":""},{"text":"After using `lastIndex(of:)` to find the position of the last instance of"},{"text":"a particular element in a collection, you can use it to access the"},{"text":"element by subscripting. This example shows how you can modify one of"},{"text":"the names in an array of students."},{"text":""},{"text":" var students = [\"Ben\", \"Ivy\", \"Jordell\", \"Ben\", \"Maxime\"]"},{"text":" if let i = students.lastIndex(of: \"Ben\") {"},{"text":" students[i] = \"Benjamin\""},{"text":" }"},{"text":" print(students)"},{"text":" // Prints \"[\"Ben\", \"Ivy\", \"Jordell\", \"Benjamin\", \"Max\"]\""},{"text":""},{"text":"- Parameter element: An element to search for in the collection."},{"text":"- Returns: The last index where `element` is found. If `element` is not"},{"text":" found in the collection, this method returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV5index6beforeS2i_tF","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(before:)"],"names":{"title":"index(before:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Returns the position in the sequence of the joint that preceeds the"},{"text":"given position."},{"text":""},{"text":"For more on calculating indices, see"},{"text":"."}]},"functionSignature":{"parameters":[{"name":"before","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]}],"returns":[{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"JointTransforms","preciseIdentifier":"s:17RealityFoundation15JointTransformsV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index","preciseIdentifier":"s:17RealityFoundation15JointTransformsV5Indexa"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","isOwner"],"names":{"title":"isOwner","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean that indicates whether the calling process owns the entity."},{"text":""},{"text":"The calling process owns the entity if the value is `true`."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isOwner"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation23PhysicsSimulationEventsO","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationEvents"],"names":{"title":"PhysicsSimulationEvents","navigator":[{"kind":"identifier","spelling":"PhysicsSimulationEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsSimulationEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Types of events that fire during physics simulations"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PhysicsSimulationEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE9formIndex6beforey0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","formIndex(before:)"],"names":{"title":"formIndex(before:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces the given index with its predecessor."},{"text":""},{"text":"- Parameter i: A valid index of the collection. `i` must be greater than"},{"text":" `startIndex`."}]},"functionSignature":{"parameters":[{"name":"before","internalName":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"before"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO11autoReverseyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","autoReverse"],"names":{"title":"AnimationRepeatMode.autoReverse","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoReverse"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that reverses the animation after reaching the end or the"},{"text":"beginning."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"autoReverse"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","removeFromParent(preservingWorldTransform:)"],"names":{"title":"removeFromParent(preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Removes the entity from its current parent or from the scene if it is a"},{"text":"root entity."},{"text":""},{"text":"This method behaves like the"},{"text":"``HasHierarchy/setParent(_:preservingWorldTransform:)`` method with a"},{"text":"value of `nil` for the `parent` parameter, except that method has no"},{"text":"effect on root entities. A root entity is one that is stored in a"},{"text":"scene’s ``Scene/anchors`` collection."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of any modified parent"},{"text":"entities are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"removeFromParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A textual name for the blend node."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Predicate","preciseIdentifier":"s:10Foundation9PredicateV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14}},{"domain":"watchOS","introduced":{"major":10}},{"domain":"iOS","introduced":{"major":17}},{"domain":"tvOS","introduced":{"major":17}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV5value0B023LocalizedStringResourceVSgvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A localized string key that represents the current value of the entity."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO10cumulativeyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","cumulative"],"names":{"title":"AnimationRepeatMode.cumulative","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cumulative"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that repeats indefinitely and begins each repetition by setting"},{"text":"the animated property to the ending value of the previous repetition."},{"text":""},{"text":"A ``FromToByAnimation`` with a ``FromToByAnimation/fromValue-umpp`` of"},{"text":"`1.0` and an ``FromToByAnimation/toValue-4m4pm`` of `2.0` and"},{"text":"``FromToByAnimation/repeatMode`` set to this property repeats as, `1.0`,"},{"text":"`2.0`, 3`.0`, 4`.0`, `5.0`, and so on."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"cumulative"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6sourceAA0C10Definition_pSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","source"],"names":{"title":"source","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The original animation that this structure modifies."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"source"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":")? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO6repeatyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","repeat"],"names":{"title":"AnimationRepeatMode.repeat","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A mode that restarts the animation after it completes."},{"text":""},{"text":"This mode restores the animated property to its initial value each time"},{"text":"it restarts. For example, a ``FromToByAnimation`` with"},{"text":"``FromToByAnimation/fromValue-umpp`` `=` `1.0`,"},{"text":"``FromToByAnimation/toValue-4m4pm`` `=` `2.0` and"},{"text":"``FromToByAnimation/repeatMode`` set to this property repeats as, `1.0`,"},{"text":"`2.0`, `1.0`, `2.0`, `1.0`, `2.0` and so on."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"`repeat`"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV7isMutedSbvp","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","isMuted"],"names":{"title":"isMuted","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMuted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Whether or not this `AudioMixGroup` is muted."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMuted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation14WorldComponentV","interfaceLanguage":"swift"},"pathComponents":["WorldComponent"],"names":{"title":"WorldComponent","navigator":[{"kind":"identifier","spelling":"WorldComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WorldComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"When set on an entity, a WorldComponent separates the entity and its subtree"},{"text":"to be rendered as part of a diferent world, that is only visible through a"},{"text":"portal."},{"text":""},{"text":"Entities in a WorldComponent are rendered in a isolated lighting"},{"text":"environment. To light entities in this environment, use an"},{"text":"ImageBasedLightComponent placed within the entity subtree."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"WorldComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation33CharacterControllerStateComponentV8velocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerStateComponent","velocity"],"names":{"title":"velocity","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"velocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The linear speed relative to the phyics origin. In physics space."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"velocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Opacity"],"names":{"title":"PhysicallyBasedMaterial.Opacity","navigator":[{"kind":"identifier","spelling":"Opacity"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the opacity of an entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Opacity"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV12radialAmountSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","radialAmount"],"names":{"title":"radialAmount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"radialAmount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Radial sweep angle for sphere, cylinder, cone, and torus emitter shapes. Defaults to 2 * pi."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"radialAmount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD2","rhsPrecise":"s:s5SIMD2V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD2","preciseIdentifier":"s:s5SIMD2V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STs8IteratorSTQzRszrlE04makeA0xyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","makeIterator()"],"names":{"title":"makeIterator()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an iterator over the elements of this sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Iterator"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Iterator"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"makeIterator"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshSkeletonCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","tangents"],"names":{"title":"tangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of tangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","symmetricDifference(_:)"],"names":{"title":"symmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with the elements contained in this set or in"},{"text":"the given set, but not in both."},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in either"},{"text":" this set or `other`, but not in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"symmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO4noneyA2CmF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","none"],"names":{"title":"AnimationRepeatMode.none","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines the animation doesn't repeat."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"none"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation19ShaderGraphMaterialV","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial"],"names":{"title":"ShaderGraphMaterial","navigator":[{"kind":"identifier","spelling":"ShaderGraphMaterial"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShaderGraphMaterial"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ShaderGraphMaterial"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceC4nameSSSgvp","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of the animation resource."},{"text":""},{"text":"You can get an ``AnimationPlaybackController`` instance ready to play a"},{"text":"particular resource that you reference by its name using the"},{"text":"`playAnimation(named:transitionDuration:startsPaused:)` method."}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"final"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given comparator"},{"text":"to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparator: the comparator to use in ordering elements"},{"text":"- Returns: an array of the elements sorted using `comparator`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparator","declarationFragments":[{"kind":"identifier","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"Comparator","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","setParent(_:preservingWorldTransform:)"],"names":{"title":"setParent(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Attaches the entity as a child to the specified entity."},{"text":""},{"text":"Attaching an entity to a new parent automatically detaches it from its"},{"text":"old parent."},{"text":""},{"text":"The ``HasHierarchy/children`` collections of both the old and new parent"},{"text":"are automatically updated as well."},{"text":""},{"text":"- Parameters:"},{"text":"- parent: The new parent entity. Use `nil` to detach the entity from its"},{"text":"current parent."},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"parent","declarationFragments":[{"kind":"identifier","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"setParent"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"parent"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV6sensorACvpZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","sensor"],"names":{"title":"sensor","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sensor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A collision filter for an entity that collides with everything."},{"text":""},{"text":"The sensor collision filter is typically used by rays in ray casts,"},{"text":"shapes in convex shape casts, and trigger volumes. It corresponds to a"},{"text":"``CollisionFilter/group`` and ``CollisionFilter/mask`` both set to"},{"text":"``CollisionGroup/all``."}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sensor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC4copy2toySo10MTLTexture_p_tKF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","copy(to:)"],"names":{"title":"copy(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Copies texture data to another texture."},{"text":""},{"text":"This method blocks until the data is copied. If a ``TextureResource/DrawableQueue`` has been attached"},{"text":"to this resource, this function detaches it. This method copies all available mipmap sizes"},{"text":"to `texture`."},{"text":""},{"text":"It is recommended that you provide a value for `CreateOptions.semantic` when creating this resource. Specifying a"},{"text":"semantic for this texture resource enables RealityKit to select an appropriate pixel format for the target texture."},{"text":""},{"text":"Here is an example of using ``copy(to:)`` to get a texture resource's raw pixel data:"},{"text":"```Swift"},{"text":"let device: MTLDevice = ..."},{"text":"let resource: TextureResource = ..."},{"text":"let descriptor = MTLTextureDescriptor.texture2DDescriptor("},{"text":" pixelFormat: .rgba8Unorm,"},{"text":" width: resource.width, // Must match"},{"text":" height: resource.height, // Must match"},{"text":" mipmapped: false)"},{"text":"descriptor.usage = .shaderWrite // Required for copy"},{"text":""},{"text":"guard let texture = device.makeTexture(descriptor: descriptor)"},{"text":"else { throw ... }"},{"text":"try resource.copy(to: texture)"},{"text":""},{"text":"#if os(OSX) // Managed mode exists only in OSX"},{"text":"if texture.storageMode == .managed {"},{"text":" // Managed textures need to be synchronized before accessing their data"},{"text":" guard let commandBuffer = device.makeCommandQueue()?.makeCommandBuffer(),"},{"text":" let blitEncoder = commandBuffer.makeBlitCommandEncoder()"},{"text":" else { throw ... }"},{"text":""},{"text":" blitEncoder.synchronize(resource: texture)"},{"text":" blitEncoder.endEncoding()"},{"text":" commandBuffer.commit()"},{"text":" commandBuffer.waitUntilCompleted()"},{"text":"}"},{"text":"#endif"},{"text":""},{"text":"// Getting raw pixel bytes"},{"text":"let bytesPerRow = 4 * texture.width"},{"text":"var bytes = [UInt8](repeating: 0, count: texture.height * bytesPerRow)"},{"text":"bytes.withUnsafeMutableBytes { bytesPtr in"},{"text":" texture.getBytes("},{"text":" bytesPtr.baseAddress!,"},{"text":" bytesPerRow: bytesPerRow,"},{"text":" from: .init(origin: .init(), size: .init(width: texture.width, height: texture.height, depth: 1)),"},{"text":" mipmapLevel: 0"},{"text":" )"},{"text":"}"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - texture: Target texture for copying the data. It must have the same width and height as the TextureResource, and .shaderWrite usage."},{"text":""}]},"functionSignature":{"parameters":[{"name":"to","internalName":"texture","declarationFragments":[{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","lastIndex(where:)"],"names":{"title":"lastIndex(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the index of the last element in the collection that matches the"},{"text":"given predicate."},{"text":""},{"text":"You can use the predicate to find an element of a type that doesn't"},{"text":"conform to the `Equatable` protocol or to find an element that matches"},{"text":"particular criteria. This example finds the index of the last name that"},{"text":"begins with the letter *A:*"},{"text":""},{"text":" let students = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" if let i = students.lastIndex(where: { $0.hasPrefix(\"A\") }) {"},{"text":" print(\"\\(students[i]) starts with 'A'!\")"},{"text":" }"},{"text":" // Prints \"Akosua starts with 'A'!\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its argument"},{"text":" and returns a Boolean value that indicates whether the passed element"},{"text":" represents a match."},{"text":"- Returns: The index of the last element in the collection that matches"},{"text":" `predicate`, or `nil` if no elements match."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lastIndex"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","subtract(_:)"],"names":{"title":"subtract(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the elements of the given set from this set."},{"text":""},{"text":"In the following example, the elements of the `employees` set that are"},{"text":"also members of the `neighbors` set are removed. In particular, the"},{"text":"names `\"Bethany\"` and `\"Eric\"` are removed from `employees`."},{"text":""},{"text":" var employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" employees.subtract(neighbors)"},{"text":" print(employees)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtract"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","interfaceLanguage":"swift"},"pathComponents":["HasHierarchy","addChild(_:preservingWorldTransform:)"],"names":{"title":"addChild(_:preservingWorldTransform:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the given entity to the collection of child entities."},{"text":""},{"text":"See the ``HasHierarchy`` protocol’s definition of"},{"text":"``HasHierarchy/addChild(_:preservingWorldTransform:)`` for more"},{"text":"information."},{"text":""},{"text":"- Parameters:"},{"text":" - entity:"},{"text":""},{"text":"- preservingWorldTransform: A Boolean that you set to `true` to preserve"},{"text":"the entity’s world transform, or `false` to preserve its relative"},{"text":"transform. Use `true` when you want a model to keep its effective"},{"text":"location and size within a scene."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"preservingWorldTransform","declarationFragments":[{"kind":"identifier","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addChild"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"preservingWorldTransform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation0A15CoordinateSpaceP","interfaceLanguage":"swift"},"pathComponents":["RealityCoordinateSpace"],"names":{"title":"RealityCoordinateSpace","navigator":[{"kind":"identifier","spelling":"RealityCoordinateSpace"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RealityCoordinateSpace"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A 3D coordinate space that exists within a RealityKit hierarchy."},{"text":"Any `RealityCoordinateSpaceConverting` can convert spatial data between"},{"text":"SwiftUI `CoordinateSpace`s and `RealityCoordinateSpace`s."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"RealityCoordinateSpace"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation11SceneEventsO","interfaceLanguage":"swift"},"pathComponents":["SceneEvents"],"names":{"title":"SceneEvents","navigator":[{"kind":"identifier","spelling":"SceneEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Events the scene invokes."},{"text":""},{"text":"For more information on subscribing to scene events, see ``RealityKit/Scene/Event``."}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","interfaceLanguage":"swift"},"pathComponents":["PerspectiveCameraComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scaleSfvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","scale"],"names":{"title":"scale","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anistropy level specified as a single value."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scale"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17FromToByAnimationV10blendLayers5Int32Vvp","interfaceLanguage":"swift"},"pathComponents":["FromToByAnimation","blendLayer"],"names":{"title":"blendLayer","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The order in which the framework composites the animation."},{"text":""},{"text":"The framework applies multiple animations on the same target in"},{"text":"ascending order of this property’s value. Animations in a lower layer"},{"text":"run before animations in a higher layer. Animations that share the same"},{"text":"value apply in the order that they execute."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV08animatedD0xSgvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","animatedValue"],"names":{"title":"animatedValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A value that represents the state of the animated property as an"},{"text":"animation progresses."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation17OcclusionMaterialVAAEACycfc","interfaceLanguage":"swift"},"pathComponents":["OcclusionMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the concatenated results of calling the"},{"text":"given transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive a single-level collection when your"},{"text":"transformation produces a sequence or collection for each element."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`flatMap` with a transformation that returns an array."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":""},{"text":" let mapped = numbers.map { Array(repeating: $0, count: $0) }"},{"text":" // [[1], [2, 2], [3, 3, 3], [4, 4, 4, 4]]"},{"text":""},{"text":" let flatMapped = numbers.flatMap { Array(repeating: $0, count: $0) }"},{"text":" // [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":""},{"text":"In fact, `s.flatMap(transform)` is equivalent to"},{"text":"`Array(s.map(transform).joined())`."},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns a sequence or collection."},{"text":"- Returns: The resulting flattened array."},{"text":""},{"text":"- Complexity: O(*m* + *n*), where *n* is the length of this sequence"},{"text":" and *m* is the length of the result."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"SegmentOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"SegmentOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"SegmentOfResult"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","LoadingStrategy","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new set from a finite sequence of items."},{"text":""},{"text":"Use this initializer to create a new set from an existing sequence, like"},{"text":"an array or a range:"},{"text":""},{"text":" let validIndices = Set(0..<7).subtracting([2, 4, 5])"},{"text":" print(validIndices)"},{"text":" // Prints \"[6, 0, 1, 3]\""},{"text":""},{"text":"- Parameter sequence: The elements to use as members of the new set."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Element","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV17defaultSlopeLimitSfvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultSlopeLimit"],"names":{"title":"defaultSlopeLimit","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSlopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultSlopeLimit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V34sizeMultiplierAtEndOfLifespanPowerSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","sizeMultiplierAtEndOfLifespanPower"],"names":{"title":"sizeMultiplierAtEndOfLifespanPower","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sizeMultiplierAtEndOfLifespanPower"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"How quickly or slowly particle size changes over its lifetime — a value of 1 is linear, values below 1 transition quicker, values above 1 transition slower."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sizeMultiplierAtEndOfLifespanPower"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","throttle(for:scheduler:latest:)"],"names":{"title":"throttle(for:scheduler:latest:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes either the most-recent or first element published by the upstream publisher in the specified time interval."},{"text":""},{"text":"Use ``Publisher/throttle(for:scheduler:latest:)`` to selectively republish elements from an upstream publisher during an interval you specify. Other elements received from the upstream in the throttling interval aren’t republished."},{"text":""},{"text":"In the example below, a produces elements on one-second intervals; the ``Publisher/throttle(for:scheduler:latest:)`` operator delivers the first event, then republishes only the latest event in the following ten second intervals:"},{"text":""},{"text":" cancellable = Timer.publish(every: 3.0, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .print(\"\\(Date().description)\")"},{"text":" .throttle(for: 10.0, scheduler: RunLoop.main, latest: true)"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"Completion: \\($0).\") },"},{"text":" receiveValue: { print(\"Received Timestamp \\($0).\") }"},{"text":" )"},{"text":""},{"text":" // Prints:"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:26:57 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:26:57 +0000."},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:00 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:03 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:06 +0000)"},{"text":" // Publish at: 2020-03-19 18:26:54 +0000: receive value: (2020-03-19 18:27:09 +0000)"},{"text":" // Received Timestamp 2020-03-19 18:27:09 +0000."},{"text":""},{"text":"- Parameters:"},{"text":" - interval: The interval at which to find and emit either the most recent or the first element, expressed in the time system of the scheduler."},{"text":" - scheduler: The scheduler on which to publish elements."},{"text":" - latest: A Boolean value that indicates whether to publish the most recent element. If `false`, the publisher emits the first element received during the interval."},{"text":"- Returns: A publisher that emits either the most-recent or first element received during the specified interval."}]},"functionSignature":{"parameters":[{"name":"for","internalName":"interval","declarationFragments":[{"kind":"identifier","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"}]},{"name":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"latest","declarationFragments":[{"kind":"identifier","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"throttle"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"for"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"interval"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerTimeType"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Stride"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"latest"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Throttle","preciseIdentifier":"s:7Combine10PublishersO8ThrottleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","modelDebugOptions"],"names":{"title":"modelDebugOptions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Configures the debug visualization of this model."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"modelDebugOptions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelDebugOptionsComponent","preciseIdentifier":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":11,"minor":0}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":14,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV5groupAA0C5GroupVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","group"],"names":{"title":"group","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group or groups, stored as a bit mask, to which the entity"},{"text":"belongs."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","intersection(_:)"],"names":{"title":"intersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set with only the elements contained in both this"},{"text":"set and the given set."},{"text":""},{"text":"This example uses the `intersection(_:)` method to limit the available"},{"text":"shipping options to what can be used with a PO Box destination."},{"text":""},{"text":" // Can only ship standard or priority to PO Boxes"},{"text":" let poboxShipping: ShippingOptions = [.standard, .priority]"},{"text":" let memberShipping: ShippingOptions ="},{"text":" [.standard, .priority, .secondDay]"},{"text":""},{"text":" let availableOptions = memberShipping.intersection(poboxShipping)"},{"text":" print(availableOptions.contains(.priority))"},{"text":" // Prints \"true\""},{"text":" print(availableOptions.contains(.secondDay))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set with only the elements contained in both this"},{"text":" set and `other`."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"intersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Specular"],"names":{"title":"PhysicallyBasedMaterial.Specular","navigator":[{"kind":"identifier","spelling":"Specular"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the specular highlights of an entity."},{"text":""},{"text":"RealityKit automatically draws _specular highlights_ for physically"},{"text":"based materials,"},{"text":"using the values of various properties, primarily"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property`` and"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``. Specular highlights"},{"text":"are bright spots of reflected light that appear on shiny objects."},{"text":""},{"text":"![An illustration showing a sphere and a cube with rounded corners. Both"},{"text":"have a shiny surface and a small white spot labeled “specular"},{"text":"highlights” where they reflect the scene’s light"},{"text":"source.](PhysicallyBasedMaterial-Specular-swift-struct-1)"},{"text":""},{"text":"Although many real-world objects can be accurately and realistically"},{"text":"simulated with just the core physically based rendering (PBR)"},{"text":"properties, you can create additional realistic effects by augmenting"},{"text":"the specular highlights."},{"text":""},{"text":"Use this object to specify the amount of"},{"text":"``PhysicallyBasedMaterial/specular-swift.property`` for a"},{"text":"``PhysicallyBasedMaterial``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Specular"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation5AudioO11DirectivityO2eeoiySbAE_AEtFZ","interfaceLanguage":"swift"},"pathComponents":["Audio","Directivity","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Directivity","preciseIdentifier":"s:17RealityFoundation5AudioO11DirectivityO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms"],"names":{"title":"JointTransforms","navigator":[{"kind":"identifier","spelling":"JointTransforms"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointTransforms"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A set of animatable transform values for joints that collectively represent"},{"text":"a single skeletal pose."},{"text":""},{"text":"This structure provides a template that informs an animation on how to animate a"},{"text":"character. The resulting movement bases on"},{"text":"the _from_ (``FromToByAnimation/fromValue-6msd``)"},{"text":", _to_ (``FromToByAnimation/toValue-813jk``)"},{"text":", or _by_ values (``FromToByAnimation/byValue-3bp3q``) you"},{"text":"supply for a ``FromToByAnimation``. The animation determines which joints take"},{"text":"on the movement through its ``FromToByAnimation/jointNames`` property."},{"text":""},{"text":"## Animate an Entity's Skeleton"},{"text":""},{"text":"The following code moves the joints of a 3D asset by specifying the joint,"},{"text":"`joint1`, beginning, and ending values."},{"text":""},{"text":"```swift"},{"text":"// Define the joint's pose at the start of the animation."},{"text":"let fromTransforms: [Transform] = [Transform(scale: SIMD3(1, 2, 3), rotation: simd_quatf(ix: 5.0, iy: 6.0, iz: 7.0, r: 8.0), translation: SIMD3(10, 20, 30))]"},{"text":"let fromPose = JointTransforms(fromTransforms)"},{"text":""},{"text":"// Define the joint's pose at the end of the animation."},{"text":"let toTransforms: [Transform] = [Transform(scale: SIMD3(10, 20, 30), rotation:"},{"text":"simd_quatf(ix: 50.0, iy: 60.0, iz: 70.0, r: 80.0), translation:"},{"text":"SIMD3(100, 200, 300)) ]"},{"text":"let toPose = JointTransforms(toTransforms)"},{"text":""},{"text":"// Indicate that the animation applies to the joint named 'joint1'."},{"text":"let jointNames = [\"joint1\"]"},{"text":""},{"text":"// Configure the animation specifics."},{"text":"var fromToBy = FromToByAnimation()"},{"text":"fromToBy.name = \"anim\""},{"text":"fromToBy.blendLayer = 100"},{"text":"fromToBy.duration = 10.0"},{"text":"fromToBy.fillMode = .forwards"},{"text":"fromToBy.jointNames = jointNames"},{"text":"fromToBy.fromValue = fromPose"},{"text":"fromToBy.toValue = toPose"},{"text":"fromToBy.bindTarget = .transform"},{"text":""},{"text":"// Generate a resource from the animation."},{"text":"let animationResource = fromToBy.create()"},{"text":"```"},{"text":""},{"text":"To run the animation on an entity and animate the joints, call"},{"text":"`playAnimation(_:transitionDuration:startsPaused:)`. Optionally, you can"},{"text":"control the animation's playback by storing the returned controller object."},{"text":""},{"text":"```swift"},{"text":"// Play the animation on an entity."},{"text":"let entity = AnchorEntity(...)"},{"text":"let controller = entity.playAnimation(animationResource)"},{"text":""},{"text":"// Optionally control playback using the returned controller."},{"text":"controller.pause()"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"JointTransforms"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","withUnsynchronized(_:)"],"names":{"title":"withUnsynchronized(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"(() -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Calls the given closure in a way such that component changes that the"},{"text":"closure makes don’t trigger synchronization."},{"text":""},{"text":"Use this method to make local changes that don’t affect remote peers,"},{"text":"like aligning a billboard component to face the local camera."},{"text":""},{"text":"Using this method doesn’t permanently prevent changes from being"},{"text":"synchronized. If you modify the same components immediately before the"},{"text":"call to ``HasSynchronization/withUnsynchronized(_:)``, or anytime"},{"text":"afterward, the changes are synchronized."},{"text":""},{"text":"If the local peer doesn’t own the associated entity, changes that the"},{"text":"remote owner makes continue to synchronize, overwriting local,"},{"text":"unsynchronized changes."},{"text":""},{"text":"- Parameters:"},{"text":"- changes: A closure that the method calls while suppressing"},{"text":"synchronization triggers."}]},"functionSignature":{"parameters":[{"name":"changes","declarationFragments":[{"kind":"identifier","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withUnsynchronized"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"changes"},{"kind":"text","spelling":": () -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(_:offsetBy:)"],"names":{"title":"index(_:offsetBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryRemoveDuplicates(by:)"],"names":{"title":"tryRemoveDuplicates(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Publishes only elements that don’t match the previous element, as evaluated by a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryRemoveDuplicates(by:)`` to remove repeating elements from an upstream publisher based upon the evaluation of elements using an error-throwing closure you provide. If your closure throws an error, the publisher terminates with the error."},{"text":""},{"text":"In the example below, the closure provided to ``Publisher/tryRemoveDuplicates(by:)`` returns `true` when two consecutive elements are equal, thereby filtering out `0`,"},{"text":"`1`, `2`, and `3`. However, the closure throws an error when it encounters `4`. The publisher then terminates with this error."},{"text":""},{"text":" struct BadValuesError: Error {}"},{"text":" let numbers = [0, 0, 0, 0, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryRemoveDuplicates { first, second -> Bool in"},{"text":" if (first == 4 && second == 4) {"},{"text":" throw BadValuesError()"},{"text":" }"},{"text":" return first == second"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"0 1 2 3 4 failure(BadValuesError()\""},{"text":""},{"text":"- Parameter predicate: A closure to evaluate whether two elements are equivalent, for purposes of filtering. Return `true` from this closure to indicate that the second element is a duplicate of the first. If this closure throws an error, the publisher terminates with the thrown error."},{"text":"- Returns: A publisher that consumes — rather than publishes — duplicate elements."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryRemoveDuplicates"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryRemoveDuplicates","preciseIdentifier":"s:7Combine10PublishersO19TryRemoveDuplicatesV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC8SemanticO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","Semantic","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp::SYNTHESIZED::s:17RealityFoundation6EntityC","interfaceLanguage":"swift"},"pathComponents":["Entity","children"],"names":{"title":"children","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The child entities that the entity manages."},{"text":""},{"text":"An entity can have any number of child entities."},{"text":""},{"text":"Use the ``HasHierarchy/addChild(_:preservingWorldTransform:)`` method to"},{"text":"add a child to an entity. Use the"},{"text":"``HasHierarchy/removeChild(_:preservingWorldTransform:)`` method to"},{"text":"remove one from an entity. These methods automatically update the"},{"text":"``HasHierarchy/parent`` properties of the child entities."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"children"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ChildCollection","preciseIdentifier":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV","interfaceLanguage":"swift"},"pathComponents":["BindableValue"],"names":{"title":"BindableValue","navigator":[{"kind":"identifier","spelling":"BindableValue"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValue"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The value of a bindable target."},{"text":""},{"text":"This structure holds the value of an animatable property"},{"text":"(``BindableValue/animatedValue``), that is, the target property that"},{"text":"animates. In addition, the structure stores the property's original value"},{"text":"(``BindableValue/baseValue``), which represents the property's value before"},{"text":"a running animation starts. The ``BindableValue/value`` property returns the"},{"text":"animated value when an animation runs; when the animation isn't running, it"},{"text":"returns the base value."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValue"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BindableData","preciseIdentifier":"s:17RealityFoundation12BindableDataP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntity03hitH00I8Position0I6Normal13moveDirection0L8DistanceAeA0H0C_AMs5SIMD3VySfGA2PSftcfc","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","init(characterEntity:hitEntity:hitPosition:hitNormal:moveDirection:moveDistance:)"],"names":{"title":"init(characterEntity:hitEntity:hitPosition:hitNormal:moveDirection:moveDistance:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create Collision and initialize all fields."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"hitPosition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"hitNormal"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDirection"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"moveDistance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the collection."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*n*), where *n* is the length"},{"text":" of the collection."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","tryPrefix(while:)"],"names":{"title":"tryPrefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while an error-throwing predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/tryPrefix(while:)`` to emit values from the upstream publisher that meet a condition you specify in an error-throwing closure."},{"text":"The publisher finishes when the closure returns `false`. If the closure throws an error, the publisher fails with that error."},{"text":""},{"text":" struct OutOfRangeError: Error {}"},{"text":""},{"text":" let numbers = (0...10).reversed()"},{"text":" cancellable = numbers.publisher"},{"text":" .tryPrefix {"},{"text":" guard $0 != 0 else {throw OutOfRangeError()}"},{"text":" return $0 <= numbers.max()!"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"completion: \\($0)\", terminator: \" \") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"10 9 8 7 6 5 4 3 2 1 completion: failure(OutOfRangeError()) \""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value indicating whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate throws or indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryPrefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryPrefixWhile","preciseIdentifier":"s:7Combine10PublishersO14TryPrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV10isAdditiveSbvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","isAdditive"],"names":{"title":"isAdditive","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A Boolean value that indicates whether the animation builds on the"},{"text":"current state of the target entity or resets the state before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","ClearcoatRoughness"],"names":{"title":"PhysicallyBasedMaterial.ClearcoatRoughness","navigator":[{"kind":"identifier","spelling":"ClearcoatRoughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the degree to which an entity’s clear, shiny"},{"text":"coating scatters light to create soft highlights."},{"text":""},{"text":"This object specifies clearcoat roughness for entities that have"},{"text":"clearcoat enabled. A clearcoat is a separate layer of transparent"},{"text":"specular highlights used to simulate a clear coating, like on a car or"},{"text":"the surface of lacquered objects. When you enable clearcoat rendering"},{"text":"for a material, RealityKit renders the clearcoat as a separate layer"},{"text":"just above the surface of the entity. You can specify a clearcoat"},{"text":"roughness value to indicate how much the clearcoat scatters light that"},{"text":"bounces off of it, which softens and spreads out the highlights."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ClearcoatRoughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","shuffled(using:)"],"names":{"title":"shuffled(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled using the given generator"},{"text":"as a source for randomness."},{"text":""},{"text":"You use this method to randomize the elements of a sequence when you are"},{"text":"using a custom random number generator. For example, you can shuffle the"},{"text":"numbers between `0` and `9` by calling the `shuffled(using:)` method on"},{"text":"that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled(using: &myGenerator)"},{"text":" // shuffledNumbers == [8, 9, 4, 3, 2, 6, 7, 0, 5, 1]"},{"text":""},{"text":"- Parameter generator: The random number generator to use when shuffling"},{"text":" the sequence."},{"text":"- Returns: An array of this sequence's elements in a shuffled order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."},{"text":"- Note: The algorithm used to shuffle a sequence may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same shuffled order each time you run your program, that sequence may"},{"text":" change when your program is compiled using a different version of"},{"text":" Swift."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13customContentSayAC06CustomF0VGvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","customContent"],"names":{"title":"customContent","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customContent"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of custom content objects that deliver accessibility information."},{"text":""},{"text":"Use the Custom Content API to leverage assistive technologies to deliver complex data sets to users in measured portions when they need it."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customContent"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"CustomContent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","isSuperset(of:)"],"names":{"title":"isSuperset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a superset of"},{"text":"the given set."},{"text":""},{"text":"Set *A* is a superset of another set *B* if every member of *B* is also a"},{"text":"member of *A*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(employees.isSuperset(of: attendees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a superset of `other`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSuperset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshInstanceCollection","withContiguousStorageIfAvailable(_:)"],"names":{"title":"withContiguousStorageIfAvailable(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Executes a closure on the sequence’s contiguous storage."},{"text":""},{"text":"This method calls `body(buffer)`, where `buffer` is a pointer to the"},{"text":"collection’s contiguous storage. If the contiguous storage doesn't exist,"},{"text":"the collection creates it. If the collection doesn’t support an internal"},{"text":"representation in a form of contiguous storage, the method doesn’t call"},{"text":"`body` --- it immediately returns `nil`."},{"text":""},{"text":"The optimizer can often eliminate bounds- and uniqueness-checking"},{"text":"within an algorithm. When that fails, however, invoking the same"},{"text":"algorithm on the `buffer` argument may let you trade safety for speed."},{"text":""},{"text":"Successive calls to this method may provide a different pointer on each"},{"text":"call. Don't store `buffer` outside of this method."},{"text":""},{"text":"A `Collection` that provides its own implementation of this method"},{"text":"must provide contiguous storage to its elements in the same order"},{"text":"as they appear in the collection. This guarantees that it's possible to"},{"text":"generate contiguous mutable storage to any of its subsequences by slicing"},{"text":"`buffer` with a range formed from the distances to the subsequence's"},{"text":"`startIndex` and `endIndex`, respectively."},{"text":""},{"text":"- Parameters:"},{"text":" - body: A closure that receives an `UnsafeBufferPointer` to the"},{"text":" sequence's contiguous storage."},{"text":"- Returns: The value returned from `body`, unless the sequence doesn't"},{"text":" support contiguous storage, in which case the method ignores `body` and"},{"text":" returns `nil`."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"}]}],"returns":[{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"parameters":[{"name":"R","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"withContiguousStorageIfAvailable"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"R"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"UnsafeBufferPointer","preciseIdentifier":"s:SR"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":">) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"R"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV8durationSdvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","duration"],"names":{"title":"duration","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The total playback time of the animation."},{"text":""},{"text":"The framework sets a value for this property depending on the underlying"},{"text":"animation data and the specified ``AnimationView/speed``."},{"text":""},{"text":"You can override the default duration by defining"},{"text":"``AnimationView/trimStart``, ``AnimationView/trimEnd``, or"},{"text":"``AnimationView/trimDuration``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"duration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV5speedSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The speed of this `AudioMixGroup` in `[0.25, 4]`, where `0.25` is one-quarter speed, and `4` is sped up by four times."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reversed()"],"names":{"title":"reversed()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the elements of this sequence in reverse"},{"text":"order."},{"text":""},{"text":"The sequence must be finite."},{"text":""},{"text":"- Returns: An array containing the elements of this sequence in"},{"text":" reverse order."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reversed"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAeA0E10ParametersV7TextureVSg_tcfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AmbientOcclusion","init(texture:)"],"names":{"title":"init(texture:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an object from an image texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: The ambient occlusion texture map."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerEvents","MediaTypeDidChange","MediaType","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"Hashable","rhsPrecise":"s:SH"},{"kind":"conformance","lhs":"Self.RawValue","rhs":"Hashable","rhsPrecise":"s:SH"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation16OpacityComponentV","interfaceLanguage":"swift"},"pathComponents":["OpacityComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation5AudioO11DirectivityO","interfaceLanguage":"swift"},"pathComponents":["Audio","Directivity","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV16torusInnerRadiusSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","torusInnerRadius"],"names":{"title":"torusInnerRadius","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"torusInnerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Radius of the torus' emitter shape tube. Defaults to 0.25."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"torusInnerRadius"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","requestOwnership(timeout:_:)"],"names":{"title":"requestOwnership(timeout:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Requests ownership of the entity."},{"text":""},{"text":"Requesting ownership isn’t guaranteed to succeed."},{"text":""},{"text":"- Parameters:"},{"text":" - timeout: A time in seconds to wait before giving up."},{"text":""},{"text":"- callback: A closure that the method calls when the request completes"},{"text":"or times out."}]},"functionSignature":{"parameters":[{"name":"timeout","declarationFragments":[{"kind":"identifier","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},{"name":"callback","declarationFragments":[{"kind":"identifier","spelling":"callback"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"requestOwnership"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"timeout"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 15, "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"callback"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OwnershipTransferCompletionResult","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5AudioO11DirectivityO6encode2toys7Encoder_p_tKF","interfaceLanguage":"swift"},"pathComponents":["Audio","Directivity","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes this value into the given encoder."},{"text":""},{"text":"If the value fails to encode anything, `encoder` will encode an empty"},{"text":"keyed container in its place."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","isSubset(of:)"],"names":{"title":"isSubset(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set is a subset of"},{"text":"another set."},{"text":""},{"text":"Set *A* is a subset of another set *B* if every member of *A* is also a"},{"text":"member of *B*."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let attendees: Set = [\"Alicia\", \"Bethany\", \"Diana\"]"},{"text":" print(attendees.isSubset(of: employees))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set is a subset of `other`; otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSubset"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV15defaultUpVectors5SIMD3VySfGvpZ","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","defaultUpVector"],"names":{"title":"defaultUpVector","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultUpVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"defaultUpVector"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation32ImageBasedLightReceiverComponentV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["ImageBasedLightReceiverComponent","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"ImageBasedLightReceiverComponent","preciseIdentifier":"s:17RealityFoundation32ImageBasedLightReceiverComponentV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"ImageBasedLightReceiverComponent","preciseIdentifier":"s:17RealityFoundation32ImageBasedLightReceiverComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightReceiverComponent","preciseIdentifier":"s:17RealityFoundation32ImageBasedLightReceiverComponentV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightReceiverComponent","preciseIdentifier":"s:17RealityFoundation32ImageBasedLightReceiverComponentV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightReceiverComponent","preciseIdentifier":"s:17RealityFoundation32ImageBasedLightReceiverComponentV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ImageBasedLightReceiverComponent","preciseIdentifier":"s:17RealityFoundation32ImageBasedLightReceiverComponentV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","first(where:)"],"names":{"title":"first(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the first element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"The following example uses the `first(where:)` method to find the first"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let firstNegative = numbers.first(where: { $0 < 0 }) {"},{"text":" print(\"The first negative number is \\(firstNegative).\")"},{"text":" }"},{"text":" // Prints \"The first negative number is -2.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The first element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"first"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Name exported with USDz or Reality File asset"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","normals"],"names":{"title":"normals","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of normals, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"normals"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Normals","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO7Normalsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","subtracting(_:)"],"names":{"title":"subtracting(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new set containing the elements of this set that do not occur"},{"text":"in the given set."},{"text":""},{"text":"In the following example, the `nonNeighbors` set is made up of the"},{"text":"elements of the `employees` set that are not elements of `neighbors`:"},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let neighbors: Set = [\"Bethany\", \"Eric\", \"Forlani\", \"Greta\"]"},{"text":" let nonNeighbors = employees.subtracting(neighbors)"},{"text":" print(nonNeighbors)"},{"text":" // Prints \"[\"Diana\", \"Chris\", \"Alicia\"]\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: A new set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"subtracting"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reduce(into:_:)"],"names":{"title":"reduce(into:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(into:_:)` method to produce a single value from the"},{"text":"elements of an entire sequence. For example, you can use this method on an"},{"text":"array of integers to filter adjacent equal entries or count frequencies."},{"text":""},{"text":"This method is preferred over `reduce(_:_:)` for efficiency when the"},{"text":"result is a copy-on-write type, for example an Array or a Dictionary."},{"text":""},{"text":"The `updateAccumulatingResult` closure is called sequentially with a"},{"text":"mutable accumulating value initialized to `initialResult` and each element"},{"text":"of the sequence. This example shows how to build a dictionary of letter"},{"text":"frequencies of a string."},{"text":""},{"text":" let letters = \"abracadabra\""},{"text":" let letterCount = letters.reduce(into: [:]) { counts, letter in"},{"text":" counts[letter, default: 0] += 1"},{"text":" }"},{"text":" // letterCount == [\"a\": 5, \"b\": 2, \"r\": 2, \"c\": 1, \"d\": 1]"},{"text":""},{"text":"When `letters.reduce(into:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `updateAccumulatingResult` closure is called with the initial"},{"text":" accumulating value---`[:]` in this case---and the first character of"},{"text":" `letters`, modifying the accumulating value by setting `1` for the key"},{"text":" `\"a\"`."},{"text":"2. The closure is called again repeatedly with the updated accumulating"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the accumulating value is returned to"},{"text":" the caller."},{"text":""},{"text":"If the sequence has no elements, `updateAccumulatingResult` is never"},{"text":"executed and `initialResult` is the result of the call to"},{"text":"`reduce(into:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" - updateAccumulatingResult: A closure that updates the accumulating"},{"text":" value with an element of the sequence."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"updateAccumulatingResult","declarationFragments":[{"kind":"identifier","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"updateAccumulatingResult"},{"kind":"text","spelling":": ("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> ()) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","starts(with:)"],"names":{"title":"starts(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are the same as the elements in another sequence."},{"text":""},{"text":"This example tests whether one countable range begins with the elements"},{"text":"of another countable range."},{"text":""},{"text":" let a = 1...3"},{"text":" let b = 1...10"},{"text":""},{"text":" print(b.starts(with: a))"},{"text":" // Prints \"true\""},{"text":""},{"text":"Passing a sequence with no elements or an empty collection as"},{"text":"`possiblePrefix` always results in `true`."},{"text":""},{"text":" print(b.starts(with: []))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter possiblePrefix: A sequence to compare to this sequence."},{"text":"- Returns: `true` if the initial elements of the sequence are the same as"},{"text":" the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"},{"kind":"sameType","lhs":"Self.Element","rhs":"PossiblePrefix.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Clearcoat"],"names":{"title":"PhysicallyBasedMaterial.Clearcoat","navigator":[{"kind":"identifier","spelling":"Clearcoat"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the intensity of an entity’s clear, shiny"},{"text":"coating."},{"text":""},{"text":"A clearcoat is a separate layer of transparent specular highlights used"},{"text":"to simulate a clear coating, like on a car or the surface of lacquered"},{"text":"objects."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Clearcoat"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum","displayName":"Enumeration"},"identifier":{"precise":"s:17RealityFoundation15AnimationEventsO","interfaceLanguage":"swift"},"pathComponents":["AnimationEvents"],"names":{"title":"AnimationEvents","navigator":[{"kind":"identifier","spelling":"AnimationEvents"}],"subHeading":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationEvents"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Notable milestones that the framework signals during animation playback."},{"text":""},{"text":"This enumeration defines the playback states that an animated entity can"},{"text":"indicate to an app. To receive notification of a particular event, create a"},{"text":"completion handler:"},{"text":""},{"text":"```swift"},{"text":"private func onAnimationCompleted(_ event:"},{"text":" AnimationEvents.PlaybackCompleted) {"},{"text":" // Define code that runs when the animation completes."},{"text":"}"},{"text":"```"},{"text":""},{"text":"Then, subscribe the handler on the entity for the state of interest:"},{"text":""},{"text":"```swift"},{"text":"// Get an animation."},{"text":"let animationName ="},{"text":"entity.availableAnimations.first!.name!"},{"text":""},{"text":"// Pass the animation to an entity and get a controller."},{"text":"entity.playAnimation(named: animationName, transitionDuration: 0.0)"},{"text":""},{"text":"entitySubscription = view.scene.publisher(for:"},{"text":" AnimationEvents.PlaybackCompleted.self, on: entity)"},{"text":" .sink(receiveValue: onAnimationCompleted)"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"enum"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnimationEvents"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","model"],"names":{"title":"model","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The model component for the entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"model"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ModelComponent","preciseIdentifier":"s:17RealityFoundation14ModelComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation05SceneA15CoordinateSpaceV","interfaceLanguage":"swift"},"pathComponents":["SceneRealityCoordinateSpace"],"names":{"title":"SceneRealityCoordinateSpace","navigator":[{"kind":"identifier","spelling":"SceneRealityCoordinateSpace"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneRealityCoordinateSpace"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The `RealityCoordinateSpace` representing ARKit world space."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"SceneRealityCoordinateSpace"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV04baseD0xvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","baseValue"],"names":{"title":"baseValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A value that reflects the state of the animated property before or after"},{"text":"an animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","insert(_:)"],"names":{"title":"insert(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds the given element to the option set if it is not already a member."},{"text":""},{"text":"In the following example, the `.secondDay` shipping option is added to"},{"text":"the `freeOptions` option set if `purchasePrice` is greater than 50.0. For"},{"text":"the `ShippingOptions` declaration, see the `OptionSet` protocol"},{"text":"discussion."},{"text":""},{"text":" let purchasePrice = 87.55"},{"text":""},{"text":" var freeOptions: ShippingOptions = [.standard, .priority]"},{"text":" if purchasePrice > 50 {"},{"text":" freeOptions.insert(.secondDay)"},{"text":" }"},{"text":" print(freeOptions.contains(.secondDay))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter newMember: The element to insert."},{"text":"- Returns: `(true, newMember)` if `newMember` was not contained in"},{"text":" `self`. Otherwise, returns `(false, oldMember)`, where `oldMember` is"},{"text":" the member of the set equal to `newMember`."}]},"functionSignature":{"parameters":[{"name":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"text","spelling":"(inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"insert"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> (inserted"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":", memberAfterInsert"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation5AudioO11DirectivityO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Audio","Directivity","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V19colorEvolutionPowerSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","colorEvolutionPower"],"names":{"title":"colorEvolutionPower","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colorEvolutionPower"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"How quickly the color evolves from its start to its end color — a value of 1 is a linear transition, values below 1 transition quicker, values over 1 transition slower."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"colorEvolutionPower"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","measureInterval(using:options:)"],"names":{"title":"measureInterval(using:options:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Measures and emits the time interval between events received from an upstream publisher."},{"text":""},{"text":"Use ``Publisher/measureInterval(using:options:)`` to measure the time between events delivered from an upstream publisher."},{"text":""},{"text":"In the example below, a 1-second is used as the data source for an event publisher; the ``Publisher/measureInterval(using:options:)`` operator reports the elapsed time between the reception of events on the main run loop:"},{"text":""},{"text":" cancellable = Timer.publish(every: 1, on: .main, in: .default)"},{"text":" .autoconnect()"},{"text":" .measureInterval(using: RunLoop.main)"},{"text":" .sink { print(\"\\($0)\", terminator: \"\\n\") }"},{"text":""},{"text":" // Prints:"},{"text":" // Stride(magnitude: 1.0013610124588013)"},{"text":" // Stride(magnitude: 0.9992760419845581)"},{"text":""},{"text":"The output type of the returned publisher is the time interval of the provided scheduler."},{"text":""},{"text":"This operator uses the provided scheduler’s ``Scheduler/now`` property to measure intervals between events."},{"text":""},{"text":"- Parameters:"},{"text":" - scheduler: A scheduler to use for tracking the timing of events."},{"text":" - options: Options that customize the delivery of elements."},{"text":"- Returns: A publisher that emits elements representing the time interval between the elements it receives."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"scheduler","declarationFragments":[{"kind":"identifier","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]},{"name":"options","declarationFragments":[{"kind":"identifier","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Scheduler","rhsPrecise":"s:7Combine9SchedulerP"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"measureInterval"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scheduler"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"options"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SchedulerOptions"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MeasureInterval","preciseIdentifier":"s:7Combine10PublishersO15MeasureIntervalV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"> "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Scheduler","preciseIdentifier":"s:7Combine9SchedulerP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Parameters"],"names":{"title":"ShaderGraphMaterial.Parameters","navigator":[{"kind":"identifier","spelling":"Parameters"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The parameter type that custom materials uses for properties the"},{"text":"framework passes to shader functions."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Parameters"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameters","preciseIdentifier":"s:17RealityFoundation18MaterialParametersV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9roughnessAC9RoughnessVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","roughness"],"names":{"title":"roughness","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The amount the surface of the 3D object scatters reflected light."},{"text":""},{"text":"The `roughness` property represents how much the surface of the entity"},{"text":"scatters light it reflects. A material with a high roughness has a matte"},{"text":"appearance, while one with a low roughness has a shiny appearance."},{"text":""},{"text":"![An illustration showing three spheres with different amounts of"},{"text":"roughness. The sphere on the left has a low roughness and looks like"},{"text":"shiny, polished plastic. The sphere in the middle has a matte appearance"},{"text":"with very soft specular highlights. The sphere on the right has no"},{"text":"highlights"},{"text":"whatsoever.](PhysicallyBasedMaterial-roughness-swift-property-1)"},{"text":""},{"text":"Specify this property using a"},{"text":" to represent a"},{"text":"uniform `roughness` for the entire entity, or a UV-mapped grayscale"},{"text":"image that uses shades of gray to represent the roughness of different"},{"text":"parts of the entity. When using an image, black pixels represent areas"},{"text":"that have a low roughness and appear shiny, while white represents areas"},{"text":"that have a high roughness and display a matte finish."},{"text":""},{"text":"If you initialize this property with a color image rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"The following example uses a single value to specify roughness:"},{"text":""},{"text":"```swift"},{"text":"material.roughness = PhysicallyBasedMaterial.Roughness(floatLiteral: 0.0)"},{"text":"```"},{"text":""},{"text":"The following example uses an image to specify roughness:"},{"text":""},{"text":"```swift"},{"text":"if let roughnessResource = try? TextureResource.load(named:"},{"text":"\"entity_roughness\") {"},{"text":" let roughness = MaterialParameters.Texture(roughnessResource)"},{"text":" material.roughness = PhysicallyBasedMaterial.Roughness(texture:roughness)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"roughness"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Roughness","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation19AnimationRepeatModeO4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationRepeatMode","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the essential components of this value by feeding them into the"},{"text":"given hasher."},{"text":""},{"text":"Implement this method to conform to the `Hashable` protocol. The"},{"text":"components used for hashing must be the same as the components compared"},{"text":"in your type's `==` operator implementation. Call `hasher.combine(_:)`"},{"text":"with each of these components."},{"text":""},{"text":"- Important: In your implementation of `hash(into:)`,"},{"text":" don't call `finalize()` on the `hasher` instance provided,"},{"text":" or replace it with a different instance."},{"text":" Doing so may become a compile-time error in the future."},{"text":""},{"text":"- Parameter hasher: The hasher to use when combining the components"},{"text":" of this instance."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","forEach(_:)"],"names":{"title":"forEach(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}]},"docComment":{"module":"Swift","lines":[{"text":"Calls the given closure on each element in the sequence in the same order"},{"text":"as a `for`-`in` loop."},{"text":""},{"text":"The two loops in the following example produce the same output:"},{"text":""},{"text":" let numberWords = [\"one\", \"two\", \"three\"]"},{"text":" for word in numberWords {"},{"text":" print(word)"},{"text":" }"},{"text":" // Prints \"one\""},{"text":" // Prints \"two\""},{"text":" // Prints \"three\""},{"text":""},{"text":" numberWords.forEach { word in"},{"text":" print(word)"},{"text":" }"},{"text":" // Same as above"},{"text":""},{"text":"Using the `forEach` method is distinct from a `for`-`in` loop in two"},{"text":"important ways:"},{"text":""},{"text":"1. You cannot use a `break` or `continue` statement to exit the current"},{"text":" call of the `body` closure or skip subsequent calls."},{"text":"2. Using the `return` statement in the `body` closure will exit only from"},{"text":" the current call to `body`, not from any outer scope, and won't skip"},{"text":" subsequent calls."},{"text":""},{"text":"- Parameter body: A closure that takes an element of the sequence as a"},{"text":" parameter."}]},"functionSignature":{"parameters":[{"name":"body","declarationFragments":[{"kind":"identifier","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"forEach"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"body"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation15TextureResourceC9copyAsync2to17completionHandlerySo10MTLTexture_p_ys5Error_pSgctF","interfaceLanguage":"swift"},"pathComponents":["TextureResource","copyAsync(to:completionHandler:)"],"names":{"title":"copyAsync(to:completionHandler:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copyAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"completionHandler"},{"kind":"text","spelling":": (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Asynchronously copies texture data to another texture."},{"text":""},{"text":"This function is asynchronous. It returns immediately and runs in the background, calling `completionHandler` when it finishes or errors."},{"text":"This method copies all available mipmap sizes to `texture`."},{"text":""},{"text":"It is recommended that you provide a value for `CreateOptions.semantic` when creating this resource. Specifying a"},{"text":"semantic for this texture resource enables RealityKit to select an appropriate pixel format for the target texture."},{"text":""},{"text":"- Parameters:"},{"text":" - texture: Target texture for copying the data. It must have the same width and height as the TextureResource, and .shaderWrite usage."},{"text":" - completionHandler: A closure called after once copy has completed, with nil error if succeeded."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"texture","declarationFragments":[{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"}]},{"name":"completionHandler","declarationFragments":[{"kind":"identifier","spelling":"completionHandler"},{"kind":"text","spelling":": @"},{"kind":"typeIdentifier","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"}]}],"returns":[{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"copyAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MTLTexture","preciseIdentifier":"c:objc(pl)MTLTexture"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"completionHandler"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" @"},{"kind":"typeIdentifier","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" (("},{"kind":"typeIdentifier","spelling":"Error","preciseIdentifier":"s:s5ErrorP"},{"kind":"text","spelling":")?) -> "},{"kind":"typeIdentifier","spelling":"Void","preciseIdentifier":"s:s4Voida"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"*","message":"Use try await copy(to:…) instead.","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV6source4name10bindTarget10blendLayer10repeatMode04fillL09trimStart0N3End0N8Duration6offset5delay5speedAcA0C10Definition_p_SSAA04BindH0OSgs5Int32VAA0c6RepeatL0OAA0c4FillL0VSdSgA2ZS2dSftcfc","interfaceLanguage":"swift"},"pathComponents":["AnimationView","init(source:name:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)"],"names":{"title":"init(source:name:bindTarget:blendLayer:repeatMode:fillMode:trimStart:trimEnd:trimDuration:offset:delay:speed:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"?, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a variation of the given animation by overriding its properties."},{"text":""},{"text":"- Parameters:"},{"text":" - source: The original animation that this structure modifies."},{"text":""},{"text":" - name: A textual name for the animation."},{"text":""},{"text":" - bindTarget: A textual name that identifies the animated property."},{"text":""},{"text":" - blendLayer: The order in which the framework visually composites the"},{"text":"animation among other running animations."},{"text":""},{"text":" - repeatMode: An option that determines how the animation repeats"},{"text":"outside the length of the view."},{"text":""},{"text":" - fillMode: The behavior when the animated property reaches its end"},{"text":"value."},{"text":""},{"text":" - trimStart: The optional time, in seconds, at which the source"},{"text":"animation plays."},{"text":""},{"text":" - trimEnd: The optional time, in seconds, at which the source animation"},{"text":"stops."},{"text":""},{"text":" - trimDuration: An optional duration that overrides the caculated"},{"text":"duration."},{"text":""},{"text":" - offset: The time, in seconds, at which the animation begins within the"},{"text":"duration."},{"text":""},{"text":" - delay: An amount of time that lapses before the animation plays."},{"text":""},{"text":" - speed: A factor that increases or decreases the animation’s playback"},{"text":"rate."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"bindTarget"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BindTarget","preciseIdentifier":"s:17RealityFoundation10BindTargetO"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"blendLayer"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int32","preciseIdentifier":"s:s5Int32V"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" = .none, "},{"kind":"externalParam","spelling":"fillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationFillMode","preciseIdentifier":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"text","spelling":" = [], "},{"kind":"externalParam","spelling":"trimStart"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimEnd"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"trimDuration"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":"? = nil, "},{"kind":"externalParam","spelling":"offset"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" = 0, "},{"kind":"externalParam","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" = 1.0)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV4maskAA0C5GroupVvp","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","mask"],"names":{"title":"mask","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The collision group or groups, stored as a bitmask, with which the"},{"text":"entity can collide."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","reduce(_:_:)"],"names":{"title":"reduce(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of combining the elements of the sequence using the"},{"text":"given closure."},{"text":""},{"text":"Use the `reduce(_:_:)` method to produce a single value from the elements"},{"text":"of an entire sequence. For example, you can use this method on an array"},{"text":"of numbers to find their sum or product."},{"text":""},{"text":"The `nextPartialResult` closure is called sequentially with an"},{"text":"accumulating value initialized to `initialResult` and each element of"},{"text":"the sequence. This example shows how to find the sum of an array of"},{"text":"numbers."},{"text":""},{"text":" let numbers = [1, 2, 3, 4]"},{"text":" let numberSum = numbers.reduce(0, { x, y in"},{"text":" x + y"},{"text":" })"},{"text":" // numberSum == 10"},{"text":""},{"text":"When `numbers.reduce(_:_:)` is called, the following steps occur:"},{"text":""},{"text":"1. The `nextPartialResult` closure is called with `initialResult`---`0`"},{"text":" in this case---and the first element of `numbers`, returning the sum:"},{"text":" `1`."},{"text":"2. The closure is called again repeatedly with the previous call's return"},{"text":" value and each element of the sequence."},{"text":"3. When the sequence is exhausted, the last value returned from the"},{"text":" closure is returned to the caller."},{"text":""},{"text":"If the sequence has no elements, `nextPartialResult` is never executed"},{"text":"and `initialResult` is the result of the call to `reduce(_:_:)`."},{"text":""},{"text":"- Parameters:"},{"text":" - initialResult: The value to use as the initial accumulating value."},{"text":" `initialResult` is passed to `nextPartialResult` the first time the"},{"text":" closure is executed."},{"text":" - nextPartialResult: A closure that combines an accumulating value and"},{"text":" an element of the sequence into a new accumulating value, to be used"},{"text":" in the next call of the `nextPartialResult` closure or returned to"},{"text":" the caller."},{"text":"- Returns: The final accumulated value. If the sequence has no elements,"},{"text":" the result is `initialResult`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"initialResult","declarationFragments":[{"kind":"identifier","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"}]},{"name":"nextPartialResult","declarationFragments":[{"kind":"identifier","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Result"}]},"swiftGenerics":{"parameters":[{"name":"Result","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"reduce"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Result"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"initialResult"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"nextPartialResult"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Result"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent","CollisionOptions","isDisjoint(with:)"],"names":{"title":"isDisjoint(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether the set has no members in"},{"text":"common with the given set."},{"text":""},{"text":"In the following example, the `employees` set is disjoint with the"},{"text":"`visitors` set because no name appears in both sets."},{"text":""},{"text":" let employees: Set = [\"Alicia\", \"Bethany\", \"Chris\", \"Diana\", \"Eric\"]"},{"text":" let visitors: Set = [\"Marcia\", \"Nathaniel\", \"Olivia\"]"},{"text":" print(employees.isDisjoint(with: visitors))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: A set of the same type as the current set."},{"text":"- Returns: `true` if the set has no elements in common with `other`;"},{"text":" otherwise, `false`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isDisjoint"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV","interfaceLanguage":"swift"},"pathComponents":["PhysicsSimulationComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23AnimationTimingFunctionV","interfaceLanguage":"swift"},"pathComponents":["AnimationTimingFunction","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionFilter","preciseIdentifier":"s:17RealityFoundation15CollisionFilterV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation15PortalComponentV","interfaceLanguage":"swift"},"pathComponents":["PortalComponent"],"names":{"title":"PortalComponent","navigator":[{"kind":"identifier","spelling":"PortalComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PortalComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"PortalComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","interfaceLanguage":"swift"},"pathComponents":["AudioFileResource","Configuration"],"names":{"title":"AudioFileResource.Configuration","navigator":[{"kind":"identifier","spelling":"Configuration"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Configuration"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A container for various settings that can be used when loading an ``RealityFoundation/AudioFileResource``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Configuration"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV16TriangleFillModea","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","TriangleFillMode"],"names":{"title":"PhysicallyBasedMaterial.TriangleFillMode","navigator":[{"kind":"identifier","spelling":"TriangleFillMode"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"isUnconditionallyUnavailable":true},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0},"isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation5AudioO11DirectivityO4fromAEs7Decoder_p_tKcfc","interfaceLanguage":"swift"},"pathComponents":["Audio","Directivity","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance by decoding from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","interfaceLanguage":"swift"},"pathComponents":["RealityRenderer","EntityCollection","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The indices that are valid for subscripting the collection, in ascending"},{"text":"order."},{"text":""},{"text":"A collection's `indices` property can hold a strong reference to the"},{"text":"collection itself, causing the collection to be non-uniquely referenced."},{"text":"If you mutate the collection while iterating over its indices, a strong"},{"text":"reference can cause an unexpected copy of the collection. To avoid the"},{"text":"unexpected copy, use the `index(after:)` method starting with"},{"text":"`startIndex` to produce indices instead."},{"text":""},{"text":" var c = MyFancyCollection([10, 20, 30, 40, 50])"},{"text":" var i = c.startIndex"},{"text":" while i != c.endIndex {"},{"text":" c[i] /= 5"},{"text":" i = c.index(after: i)"},{"text":" }"},{"text":" // c == MyFancyCollection([2, 4, 6, 8, 10])"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self.Indices","rhs":"DefaultIndices","rhsPrecise":"s:SI"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"DefaultIndices","preciseIdentifier":"s:SI"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","dropLast(_:)"],"names":{"title":"dropLast(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence containing all but the specified number of final"},{"text":"elements."},{"text":""},{"text":"If the number of elements to drop exceeds the number of elements in the"},{"text":"collection, the result is an empty subsequence."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.dropLast(2))"},{"text":" // Prints \"[1, 2, 3]\""},{"text":" print(numbers.dropLast(10))"},{"text":" // Prints \"[]\""},{"text":""},{"text":"- Parameter k: The number of elements to drop off the end of the"},{"text":" collection. `k` must be greater than or equal to zero."},{"text":"- Returns: A subsequence that leaves off `k` elements from the end."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is the number of"},{"text":" elements to drop."}]},"functionSignature":{"parameters":[{"name":"k","declarationFragments":[{"kind":"identifier","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"dropLast"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"k"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","interfaceLanguage":"swift"},"pathComponents":["HasModel","jointNames"],"names":{"title":"jointNames","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The names of all the joints in the model entity."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"jointNames"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"] { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13TextComponentV","interfaceLanguage":"swift"},"pathComponents":["TextComponent"],"names":{"title":"TextComponent","navigator":[{"kind":"identifier","spelling":"TextComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextComponent"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation12ParameterSetV","interfaceLanguage":"swift"},"pathComponents":["ParameterSet"],"names":{"title":"ParameterSet","navigator":[{"kind":"identifier","spelling":"ParameterSet"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to general-purpose entity parameters for animations."},{"text":""},{"text":"Subscript this structure to access a particular property by name. The return"},{"text":"value is ``BindableValue`` ``, where `T` is one of the adopting"},{"text":"``BindableData`` types."},{"text":""},{"text":"As a reference, this structure doesn’t exhibit copy-on-write behavior."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"ParameterSet"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formSymmetricDifference(_:)"],"names":{"title":"formSymmetricDifference(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this set with a new set containing all elements "},{"text":"contained in either this set or the given set, but not in both."},{"text":""},{"text":"This method is implemented as a `^` (bitwise XOR) operation on the two"},{"text":"sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSymmetricDifference"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD4","preciseIdentifier":"s:s5SIMD4V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","interfaceLanguage":"swift"},"pathComponents":["LoadRequest","prefix(while:)"],"names":{"title":"prefix(while:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes elements while a predicate closure indicates publishing should continue."},{"text":""},{"text":"Use ``Publisher/prefix(while:)`` to emit values while elements from the upstream publisher meet a condition you specify. The publisher finishes when the closure returns `false`."},{"text":""},{"text":"In the example below, the ``Publisher/prefix(while:)`` operator emits values while the element it receives is less than five:"},{"text":""},{"text":" let numbers = (0...10)"},{"text":" numbers.publisher"},{"text":" .prefix { $0 < 5 }"},{"text":" .sink { print(\"\\($0)\", terminator: \" \") }"},{"text":""},{"text":" // Prints: \"0 1 2 3 4\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element as its parameter and returns a Boolean value that indicates whether publishing should continue."},{"text":"- Returns: A publisher that passes through elements until the predicate indicates publishing should finish."}]},"functionSignature":{"parameters":[{"name":"while","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"prefix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"while"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"PrefixWhile","preciseIdentifier":"s:7Combine10PublishersO11PrefixWhileV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE8generate4withAcA0C10Definition_p_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","generate(with:)"],"names":{"title":"generate(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource from a definition."},{"text":""},{"text":"- Parameters:"},{"text":"- definition: The configuration of a timeframe and visual semantics from"},{"text":"which to generate an animation resource."},{"text":""},{"text":"- Returns: An animation resource that shares the configuration of the"},{"text":"definition."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"definition","declarationFragments":[{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","compactMap(_:)"],"names":{"title":"compactMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the non-`nil` results of calling the given"},{"text":"transformation with each element of this sequence."},{"text":""},{"text":"Use this method to receive an array of non-optional values when your"},{"text":"transformation produces an optional value."},{"text":""},{"text":"In this example, note the difference in the result of using `map` and"},{"text":"`compactMap` with a transformation that returns an optional `Int` value."},{"text":""},{"text":" let possibleNumbers = [\"1\", \"2\", \"three\", \"///4///\", \"5\"]"},{"text":""},{"text":" let mapped: [Int?] = possibleNumbers.map { str in Int(str) }"},{"text":" // [1, 2, nil, nil, 5]"},{"text":""},{"text":" let compactMapped: [Int] = possibleNumbers.compactMap { str in Int(str) }"},{"text":" // [1, 2, 5]"},{"text":""},{"text":"- Parameter transform: A closure that accepts an element of this"},{"text":" sequence as its argument and returns an optional value."},{"text":"- Returns: An array of the non-`nil` results of calling `transform`"},{"text":" with each element of the sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of this sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"compactMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE5store2inyAA6EntityC_tF","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","store(in:)"],"names":{"title":"store(in:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"store"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Adds the animation to an entity without playing it."},{"text":""},{"text":"- Parameters:"},{"text":" - in: The entity to which to attach the animation."}]},"functionSignature":{"parameters":[{"name":"in","declarationFragments":[{"kind":"identifier","spelling":"`in`"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"store"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23BindableValuesReferenceV","interfaceLanguage":"swift"},"pathComponents":["BindableValuesReference"],"names":{"title":"BindableValuesReference","navigator":[{"kind":"identifier","spelling":"BindableValuesReference"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValuesReference"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A reference to a bindable value of an animation."},{"text":""},{"text":"As the name indicates, this structure doesn't exhibit copy-on-write behavior"},{"text":"because it's a reference. This is in contrast to the ``BindableValue``"},{"text":"structure."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"BindableValuesReference"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(elements:indices:)"],"names":{"title":"init(elements:indices:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of element values and an array of indices into that value array."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"elements"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"indices"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"UInt32","preciseIdentifier":"s:s6UInt32V"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE16triangleFillModeAA0D14ParameterTypesV08TrianglefG0Ovp","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","triangleFillMode"],"names":{"title":"triangleFillMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE16TriangleFillModea"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The object that controls how RealityKit draws triangles."},{"text":""},{"text":"A value of ``RealityKit/MaterialParameterTypes.trianglefillmode.fill`` causes RealityKit"},{"text":"to draw triangles normally, while a value of ``RealityKit/MaterialParameterTypes.trianglefillmode.lines``"},{"text":"turns on wireframe rendering."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleFillMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UnlitMaterial","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation13UnlitMaterialVAAE16TriangleFillModea"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV5speedSfvp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","speed"],"names":{"title":"speed","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A factor that increases or decreases the animation’s rate of playback."},{"text":""},{"text":"The default value is `1.0`, which doesn’t alter the animation’s"},{"text":"duration. A value of `2.0` indicates that the duration is half the"},{"text":"underlying setting. A value of `0.5` indicates that the duration is"},{"text":"twice the underlying setting. Negative values play the animation in"},{"text":"reverse."},{"text":""},{"text":"This property doesn’t affect the animation’s ``AnimationView/delay``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"speed"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV7sourcesSayAA0cdE0_pGvp","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","sources"],"names":{"title":"sources","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The nodes that branch from a node to form part of a blend tree."},{"text":""},{"text":"This node combines the animations of each member of this array to a"},{"text":"single animation that represents a _blend_ of the sources. If a source"},{"text":"is a ``BlendTreeSourceNode``, this structure blends its animation into"},{"text":"the output. If a source is a ``BlendTreeBlendNode``, this structure"},{"text":"blends the output of its sources into this structure's output."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","TriangleHit"],"names":{"title":"CollisionCastHit.TriangleHit","navigator":[{"kind":"identifier","spelling":"TriangleHit"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleHit"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Information returned when ray intersects a triangle mesh."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleHit"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation13UnlitMaterialVAAE16TriangleFillModea","interfaceLanguage":"swift"},"pathComponents":["UnlitMaterial","TriangleFillMode"],"names":{"title":"UnlitMaterial.TriangleFillMode","navigator":[{"kind":"identifier","spelling":"TriangleFillMode"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TriangleFillMode"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleFillMode","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","suffix(_:)"],"names":{"title":"suffix(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a subsequence, up to the given maximum length, containing the"},{"text":"final elements of the collection."},{"text":""},{"text":"If the maximum length exceeds the number of elements in the collection,"},{"text":"the result contains the entire collection."},{"text":""},{"text":" let numbers = [1, 2, 3, 4, 5]"},{"text":" print(numbers.suffix(2))"},{"text":" // Prints \"[4, 5]\""},{"text":" print(numbers.suffix(10))"},{"text":" // Prints \"[1, 2, 3, 4, 5]\""},{"text":""},{"text":"- Parameter maxLength: The maximum number of elements to return."},{"text":" `maxLength` must be greater than or equal to zero."},{"text":"- Returns: A subsequence terminating at the end of the collection with at"},{"text":" most `maxLength` elements."},{"text":""},{"text":"- Complexity: O(1) if the collection conforms to"},{"text":" `RandomAccessCollection`; otherwise, O(*k*), where *k* is equal to"},{"text":" `maxLength`."}]},"functionSignature":{"parameters":[{"name":"maxLength","declarationFragments":[{"kind":"identifier","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"suffix"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"maxLength"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SubSequence"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV13spawnOccasionAC05SpawnG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","spawnOccasion"],"names":{"title":"spawnOccasion","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnOccasion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SpawnOccasion","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Determines when main particles emit spawn particles. Defaults to `onDeath`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnOccasion"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SpawnOccasion","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV4gainSdvp","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","gain"],"names":{"title":"gain","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The gain of this `AudioMixGroup` in relative Decibels in `[-.infinity, .zero]`, where `-.infinity` is silent and `.zero` is nominal."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"gain"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Audio","preciseIdentifier":"s:17RealityFoundation5AudioO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Decibel","preciseIdentifier":"s:17RealityFoundation5AudioO7Decibela"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation5AudioO11DirectivityO9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Audio","Directivity","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","flatMap(_:)"],"names":{"title":"flatMap(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"ElementOfResult","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"flatMap"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"ElementOfResult"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"ElementOfResult"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":4,"minor":1},"message":"Please use compactMap(_:) for the case where closure returns an optional value","renamed":"compactMap(_:)"}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4PartV10skeletonIDSSSgvp","interfaceLanguage":"swift"},"pathComponents":["MeshResource","Part","skeletonID"],"names":{"title":"skeletonID","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skeletonID"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Identifier of the skeleton that this mesh part is bound to (if it is skinned)."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"skeletonID"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9baseColorAC04BaseG0Vvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","baseColor"],"names":{"title":"baseColor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The color of an entity unmodified by lighting."},{"text":""},{"text":"The base color of an entity is either a solid color or a UV-mapped image"},{"text":"texture. This property represents the color of the entity before"},{"text":"RealityKit applies any lighting or rendering calculations."},{"text":""},{"text":"To determine the appearance of the entity, RealityKit modifies the"},{"text":"entity’s base color using its material properties and the light sources"},{"text":"in the scene."},{"text":""},{"text":"You can define an entity’s base color using a `CGColor`, a UV-mapped"},{"text":"image texture, or both. If you only provide a color, RealityKit uses"},{"text":"that as the base color for the entire entity. If you specify only an"},{"text":"image texture, it applies that texture as the base color of the entity."},{"text":"If you provide both a color and a texture, RealityKit tints the image"},{"text":"texture using the color."},{"text":""},{"text":"Here’s an example of using a single color to specify base color:"},{"text":""},{"text":"```swift"},{"text":"var material = PhysicallyBasedMaterial()"},{"text":"material.baseColor = PhysicallyBasedMaterial.BaseColor(tint:.red)"},{"text":"```"},{"text":""},{"text":"The following example demonstrates how to use an image to specify base"},{"text":"color:"},{"text":""},{"text":"```swift"},{"text":"var material = PhysicallyBasedMaterial()"},{"text":""},{"text":" // Load entity_basecolor.png from the app's bundle."},{"text":" if let baseResource = try? TextureResource.load(named: \"entity_basecolor\") {"},{"text":" // Create a material parameter and assign it."},{"text":" let baseColor = MaterialParameters.Texture(baseResource)"},{"text":" material.baseColor = PhysicallyBasedMaterial.BaseColor(texture:baseColor)"},{"text":" }"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"baseColor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"BaseColor","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["Entity","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"open","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","distance(from:to:)"],"names":{"title":"distance(from:to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"functionSignature":{"parameters":[{"name":"from","internalName":"start","declarationFragments":[{"kind":"identifier","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"to","internalName":"end","declarationFragments":[{"kind":"identifier","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"start"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"end"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Metallic"],"names":{"title":"PhysicallyBasedMaterial.Metallic","navigator":[{"kind":"identifier","spelling":"Metallic"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the reflectiveness of an entity."},{"text":""},{"text":"Use this struct to specify an entity’s `metallic` property, which"},{"text":"specifies the reflectiveness of an entity. For more information, see"},{"text":"``PhysicallyBasedMaterial/metallic-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Metallic"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation5AudioO7Decibela","interfaceLanguage":"swift"},"pathComponents":["Audio","Decibel"],"names":{"title":"Audio.Decibel","navigator":[{"kind":"identifier","spelling":"Decibel"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Decibel"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The unit for measuring intensity of sound on a logarithmic scale."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.enum"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Decibel"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13systemActionsAC09SupportedF0Vvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","systemActions"],"names":{"title":"systemActions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"systemActions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The set of supported accessibility actions."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"systemActions"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AccessibilityComponent","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"SupportedActions","preciseIdentifier":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialVACycfc","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a physically based material."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV","interfaceLanguage":"swift"},"pathComponents":["MaterialParameterTypes","TextureCoordinateTransform"],"names":{"title":"MaterialParameterTypes.TextureCoordinateTransform","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines a transformation the framework applies to a"},{"text":"material’s UV-mapped textures."},{"text":""},{"text":"An entity’s UV texture coordinates define how RealityKit maps image"},{"text":"textures onto an entity. This object defines a transformation to texture"},{"text":"coordinates that changes the way this material maps textures onto an"},{"text":"entity. You might, for example, continuously rotate, translate, or scale"},{"text":"the texture coordinates and animate materials to create special effects,"},{"text":"such as fire or flowing liquids."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains the"},{"text":"given element."},{"text":""},{"text":"This example checks to see whether a favorite actor is in an array"},{"text":"storing a movie's cast."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" print(cast.contains(\"Marlon\"))"},{"text":" // Prints \"true\""},{"text":" print(cast.contains(\"James\"))"},{"text":" // Prints \"false\""},{"text":""},{"text":"- Parameter element: The element to find in the sequence."},{"text":"- Returns: `true` if the element was found in the sequence; otherwise,"},{"text":" `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"element","declarationFragments":[{"kind":"identifier","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Equatable","rhsPrecise":"s:SQ"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"element"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.enum.case","displayName":"Case"},"identifier":{"precise":"s:17RealityFoundation5AudioO11DirectivityO4beamyAESd_tcAEmF","interfaceLanguage":"swift"},"pathComponents":["Audio","Directivity","beam(focus:)"],"names":{"title":"Audio.Directivity.beam(focus:)","subHeading":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"beam"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"focus"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A parametric frequency-dependent radiation pattern, where the `focus` determines the width of a beam."},{"text":""},{"text":"The `focus` parameter is in the range `0...1` where `0` is the default. The default `.beam(focus: 0)`"},{"text":"projects sound of all frequencies evenly in all directions, where the rotation of the spatial audio source has no impact on the"},{"text":"tonality of the sound. A `focus` of `0` is commonly referred to as \"omnidirectional\"."},{"text":""},{"text":"Increasing the `focus` parameter up to `1` will constrain the projection to increasingly narrow beam patterns, with high"},{"text":"frequencies being more directional than low frequencies. A spatial audio source with a non-zero `focus` will sound"},{"text":"\"darker\" when auditioning the source from the rear."}]},"declarationFragments":[{"kind":"keyword","spelling":"case"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"beam"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"focus"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","textureCoordinates"],"names":{"title":"textureCoordinates","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of texture coordinates, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"textureCoordinates"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinates","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4hash4intoys6HasherVz_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Hashes the essential components of the entity by feeding them into the"},{"text":"given hash function."},{"text":""},{"text":"- Parameters:"},{"text":"- hasher: The hash function to use when combining the components of the"},{"text":"entity."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE5group4withACSayACG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","group(with:)"],"names":{"title":"group(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource that simultaneously plays back a"},{"text":"collection of animations."},{"text":""},{"text":"- Parameters:"},{"text":" - resources: The collection of animation resources to play back."},{"text":""},{"text":"- Returns: An animation resource that simultaneously plays back the"},{"text":"argument collection of animations."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"resources","declarationFragments":[{"kind":"identifier","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"group"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18CollisionComponentV","interfaceLanguage":"swift"},"pathComponents":["CollisionComponent"],"names":{"title":"CollisionComponent","navigator":[{"kind":"identifier","spelling":"CollisionComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A component that gives an entity the ability to collide with other entities"},{"text":"that also have collision components."},{"text":""},{"text":"This component holds the entity's data related to participating in the scene's"},{"text":"physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts."},{"text":"Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a"},{"text":"*trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of"},{"text":"entities it collides. If configured with a rigid body ``RealityKit/PhysicsBodyComponent/mode``"},{"text":"of ``RealityKit/PhysicsBodyMode/dynamic``, it's own velocity and direction can be affected"},{"text":"by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but"},{"text":"can trigger code or Reality Composer behaviors when a rigid body enity overlaps it."},{"text":""},{"text":"Note the following when considering applying a non-uniform scale to an entity:"},{"text":"- Non-uniform scaling is applicable only to box, convex mesh and triangle mesh collision shapes."},{"text":"- Non-uniform scaling is not supported for all other types of collision shapes. In this case the scale.x"},{"text":"value is duplicated to the scale's y and z components as well to force scale uniformity based on the x component."},{"text":"- If the entity has a non-uniform scale assigned to its transform then that entity should not"},{"text":"have any descendants assigned that contain rotations in their transforms. A good rule of thumb is to"},{"text":"assign the non-uniform scale to the entity that has the collision shape, and avoid adding children below"},{"text":"that entity."},{"text":""},{"text":"Turn an entity into a trigger by adding a ``RealityKit/CollisionComponent`` to it and setting its"},{"text":"``RealityKit/CollisionComponent/mode-swift.property`` to"},{"text":"``RealityKit/CollisionComponent/Mode-swift.enum/trigger``."},{"text":""},{"text":"Turn an entity into a _rigd body_ by adding a ``RealityKit/PhysicsBodyComponent`` to the"},{"text":"entity in addition to a ``RealityKit/CollisionComponent``. The ``PhysicsBodyComponent``"},{"text":"defines the physical properties of the entity, such as its mass and collision shape."},{"text":""},{"text":"The `filter` property defines the entity's collision filter, which determines which other objects the entity"},{"text":"collides with. For more information, see ."},{"text":""},{"text":"- Note: If an entity has a ``RealityKit/PhysicsBodyComponent``, the collision component's"},{"text":"mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"CollisionComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","contains(_:)"],"names":{"title":"contains(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value that indicates whether a given element is a"},{"text":"member of the option set."},{"text":""},{"text":"This example uses the `contains(_:)` method to check whether next-day"},{"text":"shipping is in the `availableOptions` instance."},{"text":""},{"text":" let availableOptions = ShippingOptions.express"},{"text":" if availableOptions.contains(.nextDay) {"},{"text":" print(\"Next day shipping available\")"},{"text":" }"},{"text":" // Prints \"Next day shipping available\""},{"text":""},{"text":"- Parameter member: The element to look for in the option set."},{"text":"- Returns: `true` if the option set contains `member`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVA2A0C14JointInfluenceVRszlEyACyAEGSayAEGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"MeshJointInfluence","rhsPrecise":"s:17RealityFoundation18MeshJointInfluenceV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"MeshJointInfluence","rhsPrecise":"s:17RealityFoundation18MeshJointInfluenceV"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshModelCollection","shuffled()"],"names":{"title":"shuffled()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, shuffled."},{"text":""},{"text":"For example, you can shuffle the numbers between `0` and `9` by calling"},{"text":"the `shuffled()` method on that range:"},{"text":""},{"text":" let numbers = 0...9"},{"text":" let shuffledNumbers = numbers.shuffled()"},{"text":" // shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]"},{"text":""},{"text":"This method is equivalent to calling `shuffled(using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Returns: A shuffled array of this sequence's elements."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shuffled"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","index(_:offsetBy:limitedBy:)"],"names":{"title":"index(_:offsetBy:limitedBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"functionSignature":{"parameters":[{"name":"i","declarationFragments":[{"kind":"identifier","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]},{"name":"offsetBy","internalName":"distance","declarationFragments":[{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},{"name":"limitedBy","internalName":"limit","declarationFragments":[{"kind":"identifier","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"index"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"i"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"offsetBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"distance"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"limitedBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"limit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Index"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:17RealityFoundation0A15CoordinateSpacePA2A05SceneacD0VRszrlE5sceneAEvpZ","interfaceLanguage":"swift"},"pathComponents":["RealityCoordinateSpace","scene"],"names":{"title":"scene","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneRealityCoordinateSpace","preciseIdentifier":"s:17RealityFoundation05SceneA15CoordinateSpaceV"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"SceneRealityCoordinateSpace","rhsPrecise":"s:17RealityFoundation05SceneA15CoordinateSpaceV"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"scene"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SceneRealityCoordinateSpace","preciseIdentifier":"s:17RealityFoundation05SceneA15CoordinateSpaceV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.typealias","displayName":"Type Alias"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","TextureCoordinateTransform"],"names":{"title":"PhysicallyBasedMaterial.TextureCoordinateTransform","navigator":[{"kind":"identifier","spelling":"TextureCoordinateTransform"}],"subHeading":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An alias for the texture coordinate transform that’s appropriate for"},{"text":"this material class."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"typealias"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"TextureCoordinateTransform"},{"kind":"text","spelling":" = "},{"kind":"typeIdentifier","spelling":"MaterialParameterTypes","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TextureCoordinateTransform","preciseIdentifier":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC4load5named2inACSS_So8NSBundleCSgtKFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","load(named:in:)"],"names":{"title":"load(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Blocks your app while loading an entity from a file in a bundle."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load. An extension is not required,"},{"text":" but can be provided to resolve collisions. In the presence of a collision,"},{"text":" the provided name will be resolved with the following order of precedence"},{"text":" [usdz, usd, usdc, usda]."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: The root entity in the loaded file."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"load"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","starts(with:by:)"],"names":{"title":"starts(with:by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the initial elements of the"},{"text":"sequence are equivalent to the elements in another sequence, using"},{"text":"the given predicate as the equivalence test."},{"text":""},{"text":"The predicate must be a *equivalence relation* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areEquivalent(a, a)` is always `true`. (Reflexivity)"},{"text":"- `areEquivalent(a, b)` implies `areEquivalent(b, a)`. (Symmetry)"},{"text":"- If `areEquivalent(a, b)` and `areEquivalent(b, c)` are both `true`, then"},{"text":" `areEquivalent(a, c)` is also `true`. (Transitivity)"},{"text":""},{"text":"- Parameters:"},{"text":" - possiblePrefix: A sequence to compare to this sequence."},{"text":" - areEquivalent: A predicate that returns `true` if its two arguments"},{"text":" are equivalent; otherwise, `false`."},{"text":"- Returns: `true` if the initial elements of the sequence are equivalent"},{"text":" to the elements of `possiblePrefix`; otherwise, `false`. If"},{"text":" `possiblePrefix` has no elements, the return value is `true`."},{"text":""},{"text":"- Complexity: O(*m*), where *m* is the lesser of the length of the"},{"text":" sequence and the length of `possiblePrefix`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"possiblePrefix","declarationFragments":[{"kind":"identifier","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"}]},{"name":"by","internalName":"areEquivalent","declarationFragments":[{"kind":"identifier","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"PossiblePrefix","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"starts"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"PossiblePrefix"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"possiblePrefix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areEquivalent"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"PossiblePrefix"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","interfaceLanguage":"swift"},"pathComponents":["ShaderGraphMaterial","Error","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an empty option set."},{"text":""},{"text":"This initializer creates an option set with a raw value of zero."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","IndexingIterator","lazy"],"names":{"title":"lazy","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A sequence containing the same elements as this sequence,"},{"text":"but on which some operations, such as `map` and `filter`, are"},{"text":"implemented lazily."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"lazy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"LazySequence","preciseIdentifier":"s:s12LazySequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGSayAA0C10DescriptorVG_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateAsync(from:)"],"names":{"title":"generateAsync(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from a list of mesh descriptors asynchronously."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"descriptors","declarationFragments":[{"kind":"identifier","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".init(from descriptors:) async throws\\\" instead"},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".init(from descriptors:) async throws\\\" instead"},{"domain":"visionOS","introduced":{"major":1,"minor":0},"deprecated":{"major":1,"minor":0},"message":"Use \\\".init(from descriptors:) async throws\\\" instead"},{"domain":"iOS","introduced":{"major":15,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".init(from descriptors:) async throws\\\" instead"}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation5EventP","interfaceLanguage":"swift"},"pathComponents":["Event"],"names":{"title":"Event","navigator":[{"kind":"identifier","spelling":"Event"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Event"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type that can be sent as an event."},{"text":""},{"text":"RealityKit provides a number of events you can subscribe to to get notified when"},{"text":"things happens in a scene. For example, you can subscribe to ``RealityKit/CollisionEvents/Began``"},{"text":"to get notified when two objects begin colliding, or ``RealityKit/SceneEvents/Update`` to get notified"},{"text":"when the scene redraws."},{"text":""},{"text":" ## Subscribe with a closure"},{"text":""},{"text":"To subscribe to a scene event, import Combine, create a property of type "},{"text":"to maintain a reference to the subscription, then call ``RealityKit/Scene/subscribe(to:on:_:)``"},{"text":"or ``RealityKit/Scene/subscribe(to:on:componentType:_:)`` and provide a closure."},{"text":""},{"text":"The closure is passed an ``RealityKit/Scene/Event`` object that contains information relevant to the type of event you subscribed to."},{"text":""},{"text":"Here's an example of subscribing to the collision begain event and retrieving the two entities involved in the collision:"},{"text":""},{"text":"```swift"},{"text":" import AppKit"},{"text":" import RealityKit"},{"text":" import Combine"},{"text":""},{"text":" class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.subscribe("},{"text":" to: CollisionEvents.Began.self,"},{"text":" on: boxAnchor"},{"text":" ) { event in"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":" }"},{"text":" }"},{"text":"```"},{"text":""},{"text":" ## Subscribe using a method"},{"text":""},{"text":"You can also subscribe to events using a function rather than a closure by using"},{"text":"."},{"text":"Here's an example of using a function to respond to that same event:"},{"text":""},{"text":"```swift"},{"text":"import AppKit"},{"text":"import RealityKit"},{"text":"import Combine"},{"text":""},{"text":"class GameViewController: NSViewController {"},{"text":""},{"text":" @IBOutlet var arView: ARView!"},{"text":" var collisionSubscription:Cancellable?"},{"text":""},{"text":" override func awakeFromNib() {"},{"text":" let boxAnchor = try! Experience.loadBox()"},{"text":" arView.scene.anchors.append(boxAnchor)"},{"text":""},{"text":" collisionSubscription = arView.scene.publisher(for: CollisionEvents.Began.self,"},{"text":" on:nil).sink(receiveValue: onCollisionBegan)"},{"text":" }"},{"text":""},{"text":" private func onCollisionBegan(_ event:"},{"text":" CollisionEvents.Began) {"},{"text":" print(\"collision started\")"},{"text":" let firstEntity = event.entityA"},{"text":" let secondEntity = event.entityB"},{"text":" // Take appropriate action..."},{"text":" }"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Event"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sendable","preciseIdentifier":"s:s8SendableP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:17RealityFoundation6EntityC2eeoiySbAC_ACtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Indicates whether two entities are equal."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first entity to compare."},{"text":""},{"text":" - rhs: The second entity to compare."},{"text":""},{"text":"- Returns: A Boolean value set to `true` if the two scenes are equal."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC11MipmapsModeO","interfaceLanguage":"swift"},"pathComponents":["TextureResource","MipmapsMode","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","remove(_:)"],"names":{"title":"remove(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes the given element and all elements subsumed by it."},{"text":""},{"text":"In the following example, the `.priority` shipping option is removed from"},{"text":"the `options` option set. Attempting to remove the same shipping option"},{"text":"a second time results in `nil`, because `options` no longer contains"},{"text":"`.priority` as a member."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let priorityOption = options.remove(.priority)"},{"text":" print(priorityOption == .priority)"},{"text":" // Prints \"true\""},{"text":""},{"text":" print(options.remove(.priority))"},{"text":" // Prints \"nil\""},{"text":""},{"text":"In the next example, the `.express` element is passed to `remove(_:)`."},{"text":"Although `.express` is not a member of `options`, `.express` subsumes"},{"text":"the remaining `.secondDay` element of the option set. Therefore,"},{"text":"`options` is emptied and the intersection between `.express` and"},{"text":"`options` is returned."},{"text":""},{"text":" let expressOption = options.remove(.express)"},{"text":" print(expressOption == .express)"},{"text":" // Prints \"false\""},{"text":" print(expressOption == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter member: The element of the set to remove."},{"text":"- Returns: The intersection of `[member]` and the set, if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"member","declarationFragments":[{"kind":"identifier","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"remove"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"member"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV5valuexvp","interfaceLanguage":"swift"},"pathComponents":["BindableValue","value"],"names":{"title":"value","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The main accessor for the bind value."},{"text":""},{"text":"This property returns the animated value"},{"text":"(``BindableValue/animatedValue``) if an animation is active. Otherwise,"},{"text":"this property returns the base value (``BindableValue/baseValue``)."},{"text":""},{"text":"When you assign a value to this property, the setter always assigns the"},{"text":"value you provide to ``BindableValue/baseValue``."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","interfaceLanguage":"swift"},"pathComponents":["Scene","Publisher","tryFilter(_:)"],"names":{"title":"tryFilter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Combine","lines":[{"text":"Republishes all elements that match a provided error-throwing closure."},{"text":""},{"text":"Use ``Publisher/tryFilter(_:)`` to filter elements evaluated in an error-throwing closure. If the `isIncluded` closure throws an error, the publisher fails with that error."},{"text":""},{"text":"In the example below, ``Publisher/tryFilter(_:)`` checks to see if the element provided by the publisher is zero, and throws a `ZeroError` before terminating the publisher with the thrown error. Otherwise, it republishes the element only if it's even:"},{"text":""},{"text":" struct ZeroError: Error {}"},{"text":""},{"text":" let numbers: [Int] = [1, 2, 3, 4, 0, 5]"},{"text":" cancellable = numbers.publisher"},{"text":" .tryFilter{"},{"text":" if $0 == 0 {"},{"text":" throw ZeroError()"},{"text":" } else {"},{"text":" return $0 % 2 == 0"},{"text":" }"},{"text":" }"},{"text":" .sink("},{"text":" receiveCompletion: { print (\"\\($0)\") },"},{"text":" receiveValue: { print (\"\\($0)\", terminator: \" \") }"},{"text":" )"},{"text":""},{"text":" // Prints: \"2 4 failure(DivisionByZeroError())\"."},{"text":""},{"text":"- Parameter isIncluded: A closure that takes one element and returns a Boolean value that indicated whether to republish the element or throws an error."},{"text":"- Returns: A publisher that republishes all elements that satisfy the closure."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"tryFilter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"@escaping"},{"kind":"text","spelling":" ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Output"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TryFilter","preciseIdentifier":"s:7Combine10PublishersO9TryFilterV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation15CollisionFilterV5group4maskAcA0C5GroupV_AGtcfc","interfaceLanguage":"swift"},"pathComponents":["CollisionFilter","init(group:mask:)"],"names":{"title":"init(group:mask:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a collision filter."},{"text":""},{"text":"Collision filters are created for the collision group specified in the"},{"text":"`group` parameter. The `mask` parameter defines which objects will"},{"text":"collide with the objects that use this filter. Because"},{"text":"``CollisionGroup`` conforms to"},{"text":", you can"},{"text":"specify any combination of collision groups in the `mask` parameter by"},{"text":"using the various"},{"text":" methods"},{"text":"like ``CollisionGroup/union(_:)``, ``CollisionGroup/subtracting(_:)``,"},{"text":"and ``CollisionGroup/intersection(_:)``. Entities from any group"},{"text":"contained in `mask` will collide with entities using this filter, while"},{"text":"those not contained by `mask` will not."},{"text":""},{"text":"To combine multiple groups into a filter, use the"},{"text":"``CollisionGroup/union(_:)`` method, like this:"},{"text":""},{"text":"```swift"},{"text":"let groupA = CollisionGroup(rawValue: 1 << 0)"},{"text":"let groupB = CollisionGroup(rawValue: 1 << 1)"},{"text":"let groupC = CollisionGroup(rawValue: 1 << 2)"},{"text":""},{"text":"// Create a filter that collides with A and C, but not B"},{"text":"let theFilter = CollisionFilter(group: groupA, mask: groupA.union(groupB))"},{"text":"```"},{"text":""},{"text":"A common use case is to want entities to collide with everything except"},{"text":"one group, or a few groups. In a game, for example, you might not want a"},{"text":"player’s pieces to collide with their own pieces, or you might not want"},{"text":"players on the same team to collide with each other. You can accomplish"},{"text":"that by starting with the ``CollisionGroup/all`` property, subtracting"},{"text":"the group or groups that you don’t want the entities using this filter"},{"text":"to collide with, like this:"},{"text":""},{"text":"```swift"},{"text":"// Create a filter that collides with everything except B"},{"text":"let notGroupB = CollisionGroup.all.subtracting(groupB)"},{"text":"```"},{"text":""},{"text":"- Parameters:"},{"text":" - group: The collision group identifier."},{"text":""},{"text":"- mask: The collision mask defines what objects will collide with"},{"text":"objects using this filter."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"group"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionGroup","preciseIdentifier":"s:17RealityFoundation14CollisionGroupV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntityAA0H0Cvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","characterEntity"],"names":{"title":"characterEntity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Entity owning the character controller component."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"characterEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","map(_:)"],"names":{"title":"map(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing the results of mapping the given closure"},{"text":"over the sequence's elements."},{"text":""},{"text":"In this example, `map` is used first to convert the names in the array"},{"text":"to lowercase strings and then to count their characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let lowercaseNames = cast.map { $0.lowercased() }"},{"text":" // 'lowercaseNames' == [\"vivien\", \"marlon\", \"kim\", \"karl\"]"},{"text":" let letterCounts = cast.map { $0.count }"},{"text":" // 'letterCounts' == [6, 6, 3, 4]"},{"text":""},{"text":"- Parameter transform: A mapping closure. `transform` accepts an"},{"text":" element of this sequence as its parameter and returns a transformed"},{"text":" value of the same or of a different type."},{"text":"- Returns: An array containing the transformed elements of this"},{"text":" sequence."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"transform","declarationFragments":[{"kind":"identifier","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"map"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE8sequence4withACSayACG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","sequence(with:)"],"names":{"title":"sequence(with:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates an animation resource that plays a collection of animations in a"},{"text":"specified sequence."},{"text":""},{"text":"- Parameters:"},{"text":" - resources: The collection of animation resources to play."},{"text":""},{"text":"- Returns: An animation resource that plays the given array of"},{"text":"animations."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"resources","declarationFragments":[{"kind":"identifier","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sequence"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"resources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"AnimationResource","preciseIdentifier":"s:17RealityFoundation17AnimationResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12opacityCurveAE07OpacityG0Ovp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","opacityCurve"],"names":{"title":"opacityCurve","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityCurve"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OpacityCurve","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The curve of opacity change over the lifetime of the particle. Defaults to `quickFadeInOut`."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"opacityCurve"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ParticleEmitterComponent","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParticleEmitter","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"OpacityCurve","preciseIdentifier":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation13BindableValueV_08animatedD0ACyxGx_xSgtcfc","interfaceLanguage":"swift"},"pathComponents":["BindableValue","init(_:animatedValue:)"],"names":{"title":"init(_:animatedValue:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"?)"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a bindable value."},{"text":""},{"text":"- Parameters:"},{"text":" - value: A value that reflects the state of the animated property before or after an animation."},{"text":""},{"text":" - animatedValue: A value that represents the state of the animated"},{"text":"property as an animation progresses."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":0}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BindableData","rhsPrecise":"s:17RealityFoundation12BindableDataP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"animatedValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":"? = nil)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a buffer from any sequence of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0},{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"},{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"S.Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD3","rhsPrecise":"s:s5SIMD3V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"sequence"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24GroundingShadowComponentV","interfaceLanguage":"swift"},"pathComponents":["GroundingShadowComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","sorted(using:)"],"names":{"title":"sorted(using:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Foundation","lines":[{"text":"Returns the elements of the sequence, sorted using the given array of"},{"text":"`SortComparator`s to compare elements."},{"text":""},{"text":"- Parameters:"},{"text":" - comparators: an array of comparators used to compare elements. The"},{"text":" first comparator specifies the primary comparator to be used in"},{"text":" sorting the sequence's elements. Any subsequent comparators are used"},{"text":" to further refine the order of elements with equal values."},{"text":"- Returns: an array of the elements sorted using `comparators`."}]},"functionSignature":{"parameters":[{"name":"using","internalName":"comparators","declarationFragments":[{"kind":"identifier","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1},{"name":"Comparator","index":1,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Comparator","rhs":"SortComparator","rhsPrecise":"s:10Foundation14SortComparatorP"},{"kind":"sameType","lhs":"Comparator","rhs":"S.Element"},{"kind":"sameType","lhs":"Self.Element","rhs":"Comparator.Compared"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"genericParameter","spelling":"Comparator"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"comparators"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"] "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"SortComparator","preciseIdentifier":"s:10Foundation14SortComparatorP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"Comparator"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Compared"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","interfaceLanguage":"swift"},"pathComponents":["HasSynchronization","synchronization"],"names":{"title":"synchronization","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity’s synchronization component."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"synchronization"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SynchronizationComponent","preciseIdentifier":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","interfaceLanguage":"swift"},"pathComponents":["CollisionGroup","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","interfaceLanguage":"swift"},"pathComponents":["MeshPartCollection","publisher"],"names":{"title":"publisher","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"publisher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Publishers","preciseIdentifier":"s:7Combine10PublishersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:7Combine10PublishersO8SequenceV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Never","preciseIdentifier":"s:s5NeverO"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"watchOS","introduced":{"major":6,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}},{"domain":"tvOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation18AnchoringComponentV","interfaceLanguage":"swift"},"pathComponents":["AnchoringComponent"],"names":{"title":"AnchoringComponent","navigator":[{"kind":"identifier","spelling":"AnchoringComponent"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoringComponent"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A description of how virtual content can be anchored to the real world."}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AnchoringComponent"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":14,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","interfaceLanguage":"swift"},"pathComponents":["Entity","loadAsync(named:in:)"],"names":{"title":"loadAsync(named:in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Loads an entity from a file in a bundle asynchronously."},{"text":""},{"text":"RealityKit supports loading entities from USD (`.usd`, `.usda`, `.usdc`,"},{"text":"`.usdz`) and Reality files (`.reality`)."},{"text":""},{"text":"When building your app, Xcode automatically converts any Reality"},{"text":"Composer projects (`.rcproject`) in the selected target into Reality"},{"text":"files, which it then copies into your app’s bundle."},{"text":""},{"text":"For more information on loading entities, see"},{"text":"."},{"text":""},{"text":"- Parameters:"},{"text":"- name: The base name of the file to load, omitting the file extension."},{"text":""},{"text":"- bundle: The bundle containing the file. Use `nil` to search the app’s"},{"text":"main bundle."},{"text":""},{"text":"- Returns: A resource loader that publishes the root entity in the"},{"text":"loaded file."}]},"functionSignature":{"parameters":[{"name":"named","internalName":"name","declarationFragments":[{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},{"name":"in","internalName":"bundle","declarationFragments":[{"kind":"identifier","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"?"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"loadAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"named"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bundle"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bundle","preciseIdentifier":"c:objc(cs)NSBundle"},{"kind":"text","spelling":"? = nil) -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"*","renamed":"Entity.init","isUnconditionallyDeprecated":true},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","interfaceLanguage":"swift"},"pathComponents":["AnimationFillMode","update(with:)"],"names":{"title":"update(with:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the given element into the set."},{"text":""},{"text":"If `newMember` is not contained in the set but subsumes current members"},{"text":"of the set, the subsumed members are returned."},{"text":""},{"text":" var options: ShippingOptions = [.secondDay, .priority]"},{"text":" let replaced = options.update(with: .express)"},{"text":" print(replaced == .secondDay)"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Returns: The intersection of `[newMember]` and the set if the"},{"text":" intersection was nonempty; otherwise, `nil`."}]},"functionSignature":{"parameters":[{"name":"with","internalName":"newMember","declarationFragments":[{"kind":"identifier","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"sameType","lhs":"Self","rhs":"Self.Element"}]},"declarationFragments":[{"kind":"attribute","spelling":"@discardableResult"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"update"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"newMember"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","allSatisfy(_:)"],"names":{"title":"allSatisfy(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether every element of a sequence"},{"text":"satisfies a given predicate."},{"text":""},{"text":"The following code uses this method to test whether all the names in an"},{"text":"array have at least five characters:"},{"text":""},{"text":" let names = [\"Sofia\", \"Camilla\", \"Martina\", \"Mateo\", \"Nicolás\"]"},{"text":" let allHaveAtLeastFive = names.allSatisfy({ $0.count >= 5 })"},{"text":" // allHaveAtLeastFive == true"},{"text":""},{"text":"If the sequence is empty, this method returns `true`."},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element satisfies a condition."},{"text":"- Returns: `true` if the sequence contains only elements that satisfy"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"allSatisfy"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence."},{"text":""},{"text":"This example finds the largest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let greatestHeight = heights.max()"},{"text":" print(greatestHeight)"},{"text":" // Prints \"Optional(67.5)\""},{"text":""},{"text":"- Returns: The sequence's maximum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE8generate4fromACSayAA0C10DescriptorVG_tKFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generate(from:)"],"names":{"title":"generate(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from a list of mesh descriptors."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"descriptors","declarationFragments":[{"kind":"identifier","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]"}]}],"returns":[{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generate"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV8metallicAC8MetallicVvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","metallic"],"names":{"title":"metallic","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The reflectiveness of an entity."},{"text":""},{"text":"The `metallic` property represents the reflectiveness of an entity. Use"},{"text":"this property to specify whether the entity displays metallic qualities"},{"text":"and reflects the surrounding environment, or displays dielectric"},{"text":"qualities and doesn’t reflect the environment."},{"text":""},{"text":"![An illustration showing two spheres rendered in RealityKit. The sphere"},{"text":"on the left is shiny but dielecric so doesn’t reflect the surrounding"},{"text":"environment other than specular highlights from the visible light. The"},{"text":"sphere on the right is metallic and reflects all of the surrounding"},{"text":"environment like a mirror"},{"text":"ball.](PhysicallyBasedMaterial-metallic-swift-property-1)"},{"text":""},{"text":"Specify this property using a"},{"text":" to represent a"},{"text":"uniform reflectiveness for the entire entity. You an also use a"},{"text":"UV-mapped grayscale image to represent the reflectiveness of different"},{"text":"parts of the entity. When using an image, black pixels represent areas"},{"text":"that are dielectric, while white pixels represents areas that are"},{"text":"completely metallic and reflective."},{"text":""},{"text":"If you initialize this property with a color image, rather than a"},{"text":"grayscale image, RealityKit only uses the intensity of the image’s red"},{"text":"channel."},{"text":""},{"text":"The following example specifies the metallic qualities of an entity"},{"text":"using a single value:"},{"text":""},{"text":"```swift"},{"text":"material.metallic = PhysicallyBasedMaterial.Metallic(floatLiteral: 1.0) ```"},{"text":""},{"text":"The following example specifies the metallic qualities of an entity"},{"text":"using a UV-mapped image:"},{"text":""},{"text":"```swift"},{"text":"if let metalResource = try? TextureResource.load(named:\"entity_metallic\") {"},{"text":" let metallic = MaterialParameters.Texture(metalResource)"},{"text":" material.metallic = PhysicallyBasedMaterial.Metallic(texture:metallic)"},{"text":"}"},{"text":"```"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"metallic"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Metallic","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation05SceneA15CoordinateSpaceVACycfc","interfaceLanguage":"swift"},"pathComponents":["SceneRealityCoordinateSpace","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","last(where:)"],"names":{"title":"last(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the last element of the sequence that satisfies the given"},{"text":"predicate."},{"text":""},{"text":"This example uses the `last(where:)` method to find the last"},{"text":"negative number in an array of integers:"},{"text":""},{"text":" let numbers = [3, 7, 4, -2, 9, -6, 10, 1]"},{"text":" if let lastNegative = numbers.last(where: { $0 < 0 }) {"},{"text":" print(\"The last negative number is \\(lastNegative).\")"},{"text":" }"},{"text":" // Prints \"The last negative number is -6.\""},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence as"},{"text":" its argument and returns a Boolean value indicating whether the"},{"text":" element is a match."},{"text":"- Returns: The last element of the sequence that satisfies `predicate`,"},{"text":" or `nil` if there is no element that satisfies `predicate`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the collection."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV9hashValueSivp","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","hashValue"],"names":{"title":"hashValue","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The hash value."},{"text":""},{"text":"Hash values are not guaranteed to be equal across different executions of"},{"text":"your program. Do not save hash values to use during a future execution."},{"text":""},{"text":"- Important: `hashValue` is deprecated as a `Hashable` requirement. To"},{"text":" conform to `Hashable`, implement the `hash(into:)` requirement instead."},{"text":" The compiler provides an implementation for `hashValue` for you."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hashValue"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:17RealityFoundation6EntityC5clone9recursiveACXDSb_tF","interfaceLanguage":"swift"},"pathComponents":["Entity","clone(recursive:)"],"names":{"title":"clone(recursive:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Duplicates an entity to create a new entity."},{"text":""},{"text":"All component data is cloned automatically. If you clone an entity that"},{"text":"stores custom data that’s not part of a component, override the"},{"text":"``Entity/didClone(from:)`` method to copy that data manually."},{"text":""},{"text":"- Parameters:"},{"text":"- recursive: A Boolean that you set to `true` to recursively copy all"},{"text":"the children of the entity. Otherwise, no descendants are copied."},{"text":""},{"text":"- Returns: The duplicate."}]},"functionSignature":{"parameters":[{"name":"recursive","declarationFragments":[{"kind":"identifier","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clone"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"recursive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","filter(_:)"],"names":{"title":"filter(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"(("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns an array containing, in order, the elements of the sequence"},{"text":"that satisfy the given predicate."},{"text":""},{"text":"In this example, `filter(_:)` is used to include only names shorter than"},{"text":"five characters."},{"text":""},{"text":" let cast = [\"Vivien\", \"Marlon\", \"Kim\", \"Karl\"]"},{"text":" let shortNames = cast.filter { $0.count < 5 }"},{"text":" print(shortNames)"},{"text":" // Prints \"[\"Kim\", \"Karl\"]\""},{"text":""},{"text":"- Parameter isIncluded: A closure that takes an element of the"},{"text":" sequence as its argument and returns a Boolean value indicating"},{"text":" whether the element should be included in the returned array."},{"text":"- Returns: An array of the elements that `isIncluded` allowed."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"isIncluded","declarationFragments":[{"kind":"identifier","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"filter"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"isIncluded"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the minimum element in the sequence."},{"text":""},{"text":"This example finds the smallest value in an array of height measurements."},{"text":""},{"text":" let heights = [67.5, 65.7, 64.3, 61.1, 58.5, 60.3, 64.9]"},{"text":" let lowestHeight = heights.min()"},{"text":" print(lowestHeight)"},{"text":" // Prints \"Optional(58.5)\""},{"text":""},{"text":"- Returns: The sequence's minimum element. If the sequence has no"},{"text":" elements, returns `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitV6entityAA6EntityCvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","entity"],"names":{"title":"entity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity that was hit."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AnimationViewV10repeatModeAA0c6RepeatF0Ovp","interfaceLanguage":"swift"},"pathComponents":["AnimationView","repeatMode"],"names":{"title":"repeatMode","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An option that determines how the animation repeats."},{"text":""},{"text":"If you call ``AnimationView/trimmed(start:end:duration:)`` with a"},{"text":"`start` or `end` that lies outside of the timeline defined by"},{"text":"``AnimationView/duration``, the animation fills the additional playback"},{"text":"by applying this property."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"repeatMode"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationRepeatMode","preciseIdentifier":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formUnion(_:)"],"names":{"title":"formUnion(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Inserts the elements of another set into this option set."},{"text":""},{"text":"This method is implemented as a `|` (bitwise OR) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formUnion"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","sorted()"],"names":{"title":"sorted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the elements of the sequence, sorted."},{"text":""},{"text":"You can sort any sequence of elements that conform to the `Comparable`"},{"text":"protocol by calling this method. Elements are sorted in ascending order."},{"text":""},{"text":"Here's an example of sorting a list of students' names. Strings in Swift"},{"text":"conform to the `Comparable` protocol, so the names are sorted in"},{"text":"ascending order according to the less-than operator (`<`)."},{"text":""},{"text":" let students: Set = [\"Kofi\", \"Abena\", \"Peter\", \"Kweku\", \"Akosua\"]"},{"text":" let sortedStudents = students.sorted()"},{"text":" print(sortedStudents)"},{"text":" // Prints \"[\"Abena\", \"Akosua\", \"Kofi\", \"Kweku\", \"Peter\"]\""},{"text":""},{"text":"To sort the elements of your sequence in descending order, pass the"},{"text":"greater-than operator (`>`) to the `sorted(by:)` method."},{"text":""},{"text":" let descendingStudents = students.sorted(by: >)"},{"text":" print(descendingStudents)"},{"text":" // Prints \"[\"Peter\", \"Kweku\", \"Kofi\", \"Akosua\", \"Abena\"]\""},{"text":""},{"text":"The sorting algorithm is guaranteed to be stable. A stable sort"},{"text":"preserves the relative order of elements that compare as equal."},{"text":""},{"text":"- Returns: A sorted array of the sequence's elements."},{"text":""},{"text":"- Complexity: O(*n* log *n*), where *n* is the length of the sequence."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Element","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sorted"},{"kind":"text","spelling":"() -> ["},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"]"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocitys5SIMD3VySfGvp","interfaceLanguage":"swift"},"pathComponents":["PhysicsMotionComponent","linearVelocity"],"names":{"title":"linearVelocity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The linear velocity of the body in the physics simulation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"linearVelocity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMD3","preciseIdentifier":"s:s5SIMD3V"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV19spawnVelocityFactorSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","spawnVelocityFactor"],"names":{"title":"spawnVelocityFactor","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnVelocityFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"How much of the parent particle's velocity to inherit. Defaults to 1."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"spawnVelocityFactor"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE4fromACSayAA0C10DescriptorVG_tYaKcfc","interfaceLanguage":"swift"},"pathComponents":["MeshResource","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Initialize a mesh resource from descriptors asynchronously."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"keyword","spelling":"nonisolated"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"convenience"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"descriptors"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"MeshDescriptor","preciseIdentifier":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"text","spelling":"]) "},{"kind":"keyword","spelling":"async"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation22AccessibilityComponentV13customActionsSay0B023LocalizedStringResourceVGvp","interfaceLanguage":"swift"},"pathComponents":["AccessibilityComponent","customActions"],"names":{"title":"customActions","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customActions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"]"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An array of custom actions supported by the entity, identified by their localized string key."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"customActions"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"LocalizedStringResource","preciseIdentifier":"s:10Foundation23LocalizedStringResourceV"},{"kind":"text","spelling":"]"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":14,"minor":0}},{"domain":"macCatalyst","introduced":{"major":17,"minor":0}},{"domain":"iOS","introduced":{"major":17,"minor":0}}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","EmissiveColor"],"names":{"title":"PhysicallyBasedMaterial.EmissiveColor","navigator":[{"kind":"identifier","spelling":"EmissiveColor"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the color of the light an entity emits."},{"text":""},{"text":"With physically based rendering (PBR), you can give entities in"},{"text":"RealityKit the appearance of emitting light. Define the color of the"},{"text":"light the entity emits by using this object."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EmissiveColor"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20VideoPlayerComponentV","interfaceLanguage":"swift"},"pathComponents":["VideoPlayerComponent","registerComponent()"],"names":{"title":"registerComponent()","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a new component type."},{"text":""},{"text":"Call the ``DirectionalLightComponent/Shadow/registerComponent()`` method"},{"text":"once for every custom component type that you use in your app before you"},{"text":"use it. You don’t need to call the method for built-in component types,"},{"text":"like ``ModelComponent`` or ``AnchoringComponent``."}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"registerComponent"},{"kind":"text","spelling":"()"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.protocol","displayName":"Protocol"},"identifier":{"precise":"s:17RealityFoundation11EventSourceP","interfaceLanguage":"swift"},"pathComponents":["EventSource"],"names":{"title":"EventSource","navigator":[{"kind":"identifier","spelling":"EventSource"}],"subHeading":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EventSource"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"A type on which events can be published and subscribed."}]},"declarationFragments":[{"kind":"keyword","spelling":"protocol"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"EventSource"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGSayAFGcfc","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"(["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create buffer from an array of elements."}]},"swiftGenerics":{"parameters":[{"name":"Element","index":0,"depth":0}],"constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct","constraints":[{"kind":"sameType","lhs":"Element","rhs":"SIMD4","rhsPrecise":"s:s5SIMD4V"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"array"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"])"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV7textureAA0E10ParametersV7TextureVSgvp","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","AnisotropyLevel","texture"],"names":{"title":"texture","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The anisotropy level values specified using a UV-mapped image."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"texture"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"PhysicallyBasedMaterial","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Texture","preciseIdentifier":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea"},{"kind":"text","spelling":"?"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation14OrbitAnimationV5delaySdvp","interfaceLanguage":"swift"},"pathComponents":["OrbitAnimation","delay"],"names":{"title":"delay","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An amount of time that lapses before the animation plays."},{"text":""},{"text":"The default value is `0`, which indicates that the animation plays with"},{"text":"no delay. If you set a value for this property, the animation plays from"},{"text":"its start time after the specified delay lapses."},{"text":""},{"text":"During the delayed time, the animation doesn't update. However, to fill"},{"text":"the delayed time with some portion of animation, set a negative"},{"text":"``OrbitAnimation/trimStart`` instead and choose a"},{"text":"``OrbitAnimation/fillMode`` that displays the desired portion of"},{"text":"animation."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"delay"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TimeInterval","preciseIdentifier":"c:@T@NSTimeInterval"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation17AnimationResourceCAAE10definitionAA0C10Definition_pvp","interfaceLanguage":"swift"},"pathComponents":["AnimationResource","definition"],"names":{"title":"definition","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The timeframe, target object, and visual semantics of the animation."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"definition"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"AnimationDefinition","preciseIdentifier":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation6EntityC2ids6UInt64Vvp","interfaceLanguage":"swift"},"pathComponents":["Entity","id"],"names":{"title":"id","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"}]},"docComment":{"module":"Swift","lines":[{"text":"The stable identity of the entity associated with this instance."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"id"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"UInt64","preciseIdentifier":"s:s6UInt64V"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":10,"minor":15}},{"domain":"macCatalyst","introduced":{"major":13,"minor":0}},{"domain":"iOS","introduced":{"major":13,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","interfaceLanguage":"swift"},"pathComponents":["MeshDescriptor","bitangents"],"names":{"title":"bitangents","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Buffer of bitangents, if any."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitangents"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshBuffers","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Tangents","preciseIdentifier":"s:17RealityFoundation11MeshBuffersO8Tangentsa"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"set"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","CollisionFlags","formIntersection(_:)"],"names":{"title":"formIntersection(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Removes all elements of this option set that are not "},{"text":"also present in the given set."},{"text":""},{"text":"This method is implemented as a `&` (bitwise AND) operation on the"},{"text":"two sets' raw values."},{"text":""},{"text":"- Parameter other: An option set."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.RawValue","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formIntersection"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitVAAE08triangleE0AcAE08TriangleE0VSgvp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","triangleHit"],"names":{"title":"triangleHit","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleHit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Information the system provides when a ray touches or intersects a triangle mesh."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"triangleHit"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"CollisionCastHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"TriangleHit","preciseIdentifier":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SKsE4last7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","interfaceLanguage":"swift"},"pathComponents":["JointTransforms","last"],"names":{"title":"last","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"The last element of the collection."},{"text":""},{"text":"If the collection is empty, the value of this property is `nil`."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50]"},{"text":" if let lastNumber = numbers.last {"},{"text":" print(lastNumber)"},{"text":" }"},{"text":" // Prints \"50\""},{"text":""},{"text":"- Complexity: O(1)"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"last"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"? { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","interfaceLanguage":"swift"},"pathComponents":["Entity","ChildCollection","contains(where:)"],"names":{"title":"contains(where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the sequence contains an"},{"text":"element that satisfies the given predicate."},{"text":""},{"text":"You can use the predicate to check for an element of a type that"},{"text":"doesn't conform to the `Equatable` protocol, such as the"},{"text":"`HTTPResponse` enumeration in this example."},{"text":""},{"text":" enum HTTPResponse {"},{"text":" case ok"},{"text":" case error(Int)"},{"text":" }"},{"text":""},{"text":" let lastThreeResponses: [HTTPResponse] = [.ok, .ok, .error(404)]"},{"text":" let hadError = lastThreeResponses.contains { element in"},{"text":" if case .error = element {"},{"text":" return true"},{"text":" } else {"},{"text":" return false"},{"text":" }"},{"text":" }"},{"text":" // 'hadError' == true"},{"text":""},{"text":"Alternatively, a predicate can be satisfied by a range of `Equatable`"},{"text":"elements or a general condition. This example shows how you can check an"},{"text":"array for an expense greater than $100."},{"text":""},{"text":" let expenses = [21.37, 55.21, 9.32, 10.18, 388.77, 11.41]"},{"text":" let hasBigPurchase = expenses.contains { $0 > 100 }"},{"text":" // 'hasBigPurchase' == true"},{"text":""},{"text":"- Parameter predicate: A closure that takes an element of the sequence"},{"text":" as its argument and returns a Boolean value that indicates whether"},{"text":" the passed element represents a match."},{"text":"- Returns: `true` if the sequence contains an element that satisfies"},{"text":" `predicate`; otherwise, `false`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"where","internalName":"predicate","declarationFragments":[{"kind":"identifier","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"contains"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"predicate"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","interfaceLanguage":"swift"},"pathComponents":["QueryResult","underestimatedCount"],"names":{"title":"underestimatedCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"A value less than or equal to the number of elements in the sequence,"},{"text":"calculated nondestructively."},{"text":""},{"text":"The default implementation returns 0. If you provide your own"},{"text":"implementation, make sure to compute the value nondestructively."},{"text":""},{"text":"- Complexity: O(1), except if the sequence also conforms to `Collection`."},{"text":" In this case, see the documentation of `Collection.underestimatedCount`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"underestimatedCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV4nameSSvp","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup","name"],"names":{"title":"name","subHeading":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The name of this `AudioMixGroup`."}]},"declarationFragments":[{"kind":"keyword","spelling":"let"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation16CollisionCastHitVAAE10shapeIndexSivp","interfaceLanguage":"swift"},"pathComponents":["CollisionCastHit","shapeIndex"],"names":{"title":"shapeIndex","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shapeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The index of the shape that was hit."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"shapeIndex"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","interfaceLanguage":"swift"},"pathComponents":["MeshBuffer","max(by:)"],"names":{"title":"max(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the maximum element in the sequence, using the given predicate"},{"text":"as the comparison between elements."},{"text":""},{"text":"The predicate must be a *strict weak ordering* over the elements. That"},{"text":"is, for any elements `a`, `b`, and `c`, the following conditions must"},{"text":"hold:"},{"text":""},{"text":"- `areInIncreasingOrder(a, a)` is always `false`. (Irreflexivity)"},{"text":"- If `areInIncreasingOrder(a, b)` and `areInIncreasingOrder(b, c)` are"},{"text":" both `true`, then `areInIncreasingOrder(a, c)` is also"},{"text":" `true`. (Transitive comparability)"},{"text":"- Two elements are *incomparable* if neither is ordered before the other"},{"text":" according to the predicate. If `a` and `b` are incomparable, and `b`"},{"text":" and `c` are incomparable, then `a` and `c` are also incomparable."},{"text":" (Transitive incomparability)"},{"text":""},{"text":"This example shows how to use the `max(by:)` method on a"},{"text":"dictionary to find the key-value pair with the highest value."},{"text":""},{"text":" let hues = [\"Heliotrope\": 296, \"Coral\": 16, \"Aquamarine\": 156]"},{"text":" let greatestHue = hues.max { a, b in a.value < b.value }"},{"text":" print(greatestHue)"},{"text":" // Prints \"Optional((key: \"Heliotrope\", value: 296))\""},{"text":""},{"text":"- Parameter areInIncreasingOrder: A predicate that returns `true` if its"},{"text":" first argument should be ordered before its second argument;"},{"text":" otherwise, `false`."},{"text":"- Returns: The sequence's maximum element if the sequence is not empty;"},{"text":" otherwise, `nil`."},{"text":""},{"text":"- Complexity: O(*n*), where *n* is the length of the sequence."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"areInIncreasingOrder","declarationFragments":[{"kind":"identifier","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@warn_unqualified_access"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"areInIncreasingOrder"},{"kind":"text","spelling":": ("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"rethrows"},{"kind":"text","spelling":" -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"},{"kind":"text","spelling":"?"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:17RealityFoundation09BlendTreeC4NodeV7sources4name6weight10isAdditiveACSayAA0cdE0_pG_SSAA0C6WeightOSbtcfc","interfaceLanguage":"swift"},"pathComponents":["BlendTreeBlendNode","init(sources:name:weight:isAdditive:)"],"names":{"title":"init(sources:name:weight:isAdditive:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Creates a tree node made up of multiple branches."},{"text":""},{"text":"- Parameters:"},{"text":" - sources: The nodes that branch from this node to form part of a blend tree."},{"text":""},{"text":" - name: A textual name for the node."},{"text":""},{"text":" - weight: A normalized percentage that designates how much this node's"},{"text":"animation influences the tree's blended animation."},{"text":""},{"text":" - isAdditive: A Boolean value that indicates whether the animation"},{"text":"builds on the current state of the target entity or resets the state"},{"text":"before running."}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"sources"},{"kind":"text","spelling":": ["},{"kind":"typeIdentifier","spelling":"BlendTreeNode","preciseIdentifier":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"text","spelling":"], "},{"kind":"externalParam","spelling":"name"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" = \"\", "},{"kind":"externalParam","spelling":"weight"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BlendWeight","preciseIdentifier":"s:17RealityFoundation11BlendWeightO"},{"kind":"text","spelling":" = .value(1.0), "},{"kind":"externalParam","spelling":"isAdditive"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = false)"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitEntityAA0H0Cvp","interfaceLanguage":"swift"},"pathComponents":["CharacterControllerComponent","Collision","hitEntity"],"names":{"title":"hitEntity","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"The entity that was hit by the character controller."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hitEntity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","interfaceLanguage":"swift"},"pathComponents":["InputTargetComponent","InputType","union(_:)"],"names":{"title":"union(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a new option set of the elements contained in this set, in the"},{"text":"given set, or in both."},{"text":""},{"text":"This example uses the `union(_:)` method to add two more shipping options"},{"text":"to the default set."},{"text":""},{"text":" let defaultShipping = ShippingOptions.standard"},{"text":" let memberShipping = defaultShipping.union([.secondDay, .priority])"},{"text":" print(memberShipping.contains(.priority))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameter other: An option set."},{"text":"- Returns: A new option set made up of the elements contained in this"},{"text":" set, in `other`, or in both."}]},"functionSignature":{"parameters":[{"name":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"union"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation13AudioMixGroupV","interfaceLanguage":"swift"},"pathComponents":["AudioMixGroup"],"names":{"title":"AudioMixGroup","navigator":[{"kind":"identifier","spelling":"AudioMixGroup"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioMixGroup"}]},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"AudioMixGroup"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGAcAE8ContentsV_tFZ","interfaceLanguage":"swift"},"pathComponents":["MeshResource","generateAsync(from:)"],"names":{"title":"generateAsync(from:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Create a mesh resource from contents asynchronously."}]},"functionSignature":{"parameters":[{"name":"from","internalName":"content","declarationFragments":[{"kind":"identifier","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"}]}],"returns":[{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.class"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"generateAsync"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"content"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Contents","preciseIdentifier":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"LoadRequest","preciseIdentifier":"s:17RealityFoundation11LoadRequestC"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"MeshResource","preciseIdentifier":"s:17RealityFoundation12MeshResourceC"},{"kind":"text","spelling":">"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".init(from content:) async throws\\\" instead"},{"domain":"macCatalyst","introduced":{"major":15,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".init(from content:) async throws\\\" instead"},{"domain":"visionOS","introduced":{"major":1,"minor":0},"deprecated":{"major":1,"minor":0},"message":"Use \\\".init(from content:) async throws\\\" instead"},{"domain":"iOS","introduced":{"major":15,"minor":0},"deprecated":{"major":100000},"message":"Use \\\".init(from content:) async throws\\\" instead"}]},{"kind":{"identifier":"swift.struct","displayName":"Structure"},"identifier":{"precise":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","interfaceLanguage":"swift"},"pathComponents":["PhysicallyBasedMaterial","Roughness"],"names":{"title":"PhysicallyBasedMaterial.Roughness","navigator":[{"kind":"identifier","spelling":"Roughness"}],"subHeading":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"An object that defines the roughness of an entity’s surface."},{"text":""},{"text":"Use this struct to specify the roughness of the entity. The `roughness`"},{"text":"property represents how much the surface of the entity scatters light"},{"text":"that it reflects. A material with a high roughness has a matte"},{"text":"appearance, whereas one with a low roughness has a shiny appearance."},{"text":""},{"text":"For more information, see"},{"text":"``PhysicallyBasedMaterial/roughness-swift.property``."}]},"swiftExtension":{"extendedModule":"RealityFoundation","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"struct"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"Roughness"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V29sizeMultiplierAtEndOfLifespanSfvp","interfaceLanguage":"swift"},"pathComponents":["ParticleEmitterComponent","ParticleEmitter","sizeMultiplierAtEndOfLifespan"],"names":{"title":"sizeMultiplierAtEndOfLifespan","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sizeMultiplierAtEndOfLifespan"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"At the end of the particle lifespan, the particle's size will be it's initial size times this multiplier. Defaults to 0.1."}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sizeMultiplierAtEndOfLifespan"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Float","preciseIdentifier":"s:Sf"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]}],"relationships":[{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(position:from:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV10influences0G9PerVertexAeA0C6BufferVyAA0cE9InfluenceVG_Sitcfc","target":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"conformsTo","source":"s:17RealityFoundation19EnvironmentResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC10isCompleteSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC6boundsAA11BoundingBoxVvp","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV10influencesAA0C6BufferVyAA0cE9InfluenceVGvp","target":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(direction:from:)"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"conformsTo","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"memberOf","source":"s:STsE8shuffledSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffledSay7ElementQzGyF","displayName":"Sequence.shuffled()"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartVyAA0C6BufferVy7ElementQzGSgxcAA0cF8SemanticRzluip","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","displayName":"MeshBufferContainer.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV5speedSfvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation0A15CoordinateSpaceP"},{"kind":"memberOf","source":"s:17RealityFoundation13TextComponentVACycfc","target":"s:17RealityFoundation13TextComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","displayName":"HasTransform.setTransformMatrix(_:relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceCAAE18generateStaticMesh9positions11faceIndicesACSays5SIMD3VySfGG_Says6UInt16VGtYaKFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACs5SIMD3VySfG_SftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC7replace9withImage7optionsySo10CGImageRefa_AC13CreateOptionsVtKF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox5width6height5depth12cornerRadius10splitFacesACSf_S3fSbtFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV5modelSSvp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV15loadingStrategyAC07LoadingH0Ovp","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV4nearSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsSQ7ElementRpzrlE10difference4froms20CollectionDifferenceVyABGqd___tSKRd__AAQyd__ABRSlF","displayName":"BidirectionalCollection.difference(from:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC6entityAA6EntityCSgvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV15jointInfluencesAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation10HasPhysicsP"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSy7ElementRpzrlE6joined9separatorS2S_tF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","displayName":"HasTransform.convert(transform:from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15PortalComponentV6target13clippingPlaneAcA6EntityC_AC08ClippingG0VSgtcfc","target":"s:17RealityFoundation15PortalComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE13playAnimation_18transitionDuration16blendLayerOffset21separateAnimatedValue12startsPaused5clock11handoffTypeAA0E18PlaybackControllerCAA0E8ResourceC_SdSiS2byXlSgAA0e7HandoffR0VtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC6buffer13configurationACSo07AVAudioD0C_AC13ConfigurationVtKcfc","target":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation22AudioFileGroupResourceC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV9hashValueSivp","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE15JointInfluencesV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV4nameSSvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13generateAsync4from8withName7optionsAA11LoadRequestCyACGSo10CGImageRefa_SSSgAC13CreateOptionsVtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix5whileAA10PublishersO11PrefixWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC21expectedMaterialCountSivp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10repeatModeAA0e6RepeatG0Ovp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:17RealityFoundation21SynchronizationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC8isPausedSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9roughnessAC9RoughnessVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC6anchorAA12HasAnchoring_pSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC6boundsAA11BoundingBoxVvp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(normal:from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV8isCustomSbvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE9fromValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:17RealityFoundation21SynchronizationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromAcA04MeshD0C_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV08previousfG0AA0C18PlaybackControllerCAAE0fG0OSgvp","target":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV7defaultACvpZ","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE6insert_11beforeIndexyAA0C0C_SitF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6insert_11beforeIndexyAA0C0C_SitF","displayName":"EntityCollection.insert(_:beforeIndex:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE6insert_11beforeIndexyAA0C0C_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6insert_11beforeIndexyAA0C0C_SitF","displayName":"EntityCollection.insert(_:beforeIndex:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(normal:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE12generateCone6height6radiusACSf_SftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9baseColorAC04BaseG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV15triangleIndicesAA0C6BufferVys6UInt32VGSgvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joined9separators14JoinedSequenceVyxGqd___tSTRd__AA_AAQZAARtd__lF","displayName":"Sequence.joined(separator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16TriangleFillModea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE16generateCylinder6height6radiusACSf_SftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE6removeyyAA0C0CF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6removeyyAA0C0CF","displayName":"EntityCollection.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV07currentfG0AA0C18PlaybackControllerCAAE0fG0OSgvp","target":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.measureInterval(using:options:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15measureInterval5using7optionsAA10PublishersO07MeasureD0Vy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.measureInterval(using:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withName7optionsAA11LoadRequestCyACG0B03URLV_SSSgAC13CreateOptionsVtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryRemoveDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE9removeAllyyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP9removeAllyyF","displayName":"EntityCollection.removeAll()"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC14CameraSettingsV","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE19tryRemoveDuplicates2byAA10PublishersO03TrydE0Vy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryRemoveDuplicates(by:)"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE11generateBox4size17majorCornerRadius05minoriJ0ACs5SIMD3VySfG_S2ftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE9removeAll5whereySbAA0C0CKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP9removeAll5whereySbAA0C0CKXE_tKF","displayName":"EntityCollection.removeAll(where:)"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV8durationSdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SYsSeRzSS8RawValueSYRtzrlE4fromxs7Decoder_p_tKcfc","displayName":"RawRepresentable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE9removeAll5whereySbAA0C0CKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP9removeAll5whereySbAA0C0CKXE_tKF","displayName":"EntityCollection.removeAll(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC15generateCapsule6height6radiusACSf_SftFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST7CombineE9publisherAA10PublishersO8SequenceVy_xs5NeverOGvp","displayName":"Sequence.publisher"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(position:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV15angularVelocitys5SIMD3VySfGvp","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialVACycfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV9hashValueSivp","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromACSays5SIMD3VySfGG_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7toValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV26TextureCoordinateTransforma","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","displayName":"HasTransform.convert(direction:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2id13materialIndexAESS_Sitcfc","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC6resumeyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV11cubicBezier13controlPoint10H6Point2ACs5SIMD2VySfG_AItFZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","displayName":"MeshBufferContainer.buffers"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE8ContentsV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryPrefix5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","displayName":"HasTransform.look(at:from:upVector:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC4nameSSvp","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioMixGroupsComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV14videoDimensions5SIMD2VySfGvp","target":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC11generateBox4size12cornerRadiusACSf_SftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateSphere6radiusACSf_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF","displayName":"Publisher.throttle(for:scheduler:latest:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV010screenMeshF0s5SIMD2VySfGvp","target":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:10Foundation14LocalizedErrorP","targetFallback":"Foundation.LocalizedError"},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8throttle3for9scheduler6latestAA10PublishersO8ThrottleVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__SbtAA0I0Rd__lF","displayName":"Publisher.throttle(for:scheduler:latest:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsST7ElementRpzrlE6joineds15FlattenSequenceVyxGyF","displayName":"Sequence.joined()"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC5pauseyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE6appendyyAA0C0CF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6appendyyAA0C0CF","displayName":"EntityCollection.append(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE6appendyyAA0C0CF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6appendyyAA0C0CF","displayName":"EntityCollection.append(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8metallicAC8MetallicVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE03setD4Type2toAA10PublishersO03SetdF0Vy_xqd__Gqd__m_ts5ErrorRd__lF","displayName":"Publisher.setFailureType(to:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","displayName":"HasTransform.convert(transform:to:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV","target":"s:17RealityFoundation23PhysicsSimulationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocity07angularG0ACs5SIMD3VySfG_AHtcfc","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV9easeInOutACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE21defaultAnimationClockyXlvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withName7optionsAC0B03URLV_SSSgAC13CreateOptionsVtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.append(contentsOf:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV","target":"s:17RealityFoundation23PhysicsSimulationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromAcA04MeshD0C_tYaKFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentVACycfc","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioMixGroupsComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASfRszrlE7byValueSfSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC9hashValueSivp","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV7impulseSfvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"requirementOf","source":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"conformsTo","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC14generateConvex4fromACSays5SIMD3VySfGG_tYaKFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryDrop(while:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV6removeyyAA0D0CF","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6removeyyAA0C0CF","displayName":"EntityCollection.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE8durationSdvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5named4from2inACSS_SSSo8NSBundleCSgtYaKcfc","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryDrop5whileAA10PublishersO03TryD5WhileVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryDrop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5AudioO11DirectivityO9hashValueSivp","target":"s:17RealityFoundation5AudioO11DirectivityO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5scales5SIMD3VySfGvp","target":"s:17RealityFoundation9TransformV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotation11translationACSo10simd_quatfa_s5SIMD3VySfGtF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation5AudioO11DirectivityO4fromAEs7Decoder_p_tKcfc","target":"s:17RealityFoundation5AudioO11DirectivityO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV11calibrationAA0cE0CAAE11CalibrationVSgvp","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5named4fromACSS_0B04DataVtYaKcfc","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE13moveCharacter2by9deltaTime10relativeTo16collisionHandlerAA0E19ControllerComponentV14CollisionFlagsVs5SIMD3VySfG_SfACSgyAJ0O0VcSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC10shouldLoopSbvp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation5AudioO11DirectivityO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV8IteratorV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation14HasPhysicsBodyP","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5clockyXlvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18MaterialParametersV7TextureV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation13TextComponentV4sizeSo6CGSizeVvp","target":"s:17RealityFoundation13TextComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7impulseSfvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE17teleportCharacter2to10relativeToys5SIMD3VySfG_ACSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy8rotationACSo10simd_quatfa_tF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation5AudioO11DirectivityO4beamyAESd_tcAEmF","target":"s:17RealityFoundation5AudioO11DirectivityO"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC7raycast6origin9direction6length5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_APSfAA0lM9QueryTypeOAA0L5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation15PortalComponentV12targetEntityAA0F0CSgvp","target":"s:17RealityFoundation15PortalComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeTo7forwardys5SIMD3VySfG_A2lA6EntityCSgAnAE16ForwardDirectionOtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeTo7forwardys5SIMD3VySfG_A2lA6EntityCSgAnAE16ForwardDirectionOtF","displayName":"HasTransform.look(at:from:upVector:relativeTo:forward:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV6insert10contentsOf11beforeIndexyx_SitSTRzAA0D0C7ElementRczlF","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6insert10contentsOf11beforeIndexyqd___SitSTRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.insert(contentsOf:beforeIndex:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVAAE12trackingModeAcAE08TrackingF0Vvp","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation6EntityCAAE16ForwardDirectionO","target":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21AmbientAudioComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop5whileAA10PublishersO9DropWhileVy_xGSb6OutputQzc_tF","displayName":"Publisher.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO4fromAEs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC8offsetBy11translationACs5SIMD3VySfG_tF","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV12makeIteratorAC0F0Vyx_GyF","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.removeDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC11generateBox5width6height5depthACSf_S2ftFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedVAAE16impulseDirections5SIMD3VySfGvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"conformsTo","source":"s:17RealityFoundation21SpatialAudioComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE16removeDuplicates2byAA10PublishersO06RemoveD0Vy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.removeDuplicates(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15loadingStrategyAC07LoadingG0Ovp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentV8velocitys5SIMD3VySfGvp","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation16EntityCollectionPAAE10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.replaceAll(_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE11blendFactorSfvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC10convexCast0D5Shape12fromPosition0G11Orientation02toH00jI05query4mask10relativeToSayAA09CollisionE3HitVGAA0F8ResourceC_s5SIMD3VySfGSo10simd_quatfaAtvA0oE9QueryTypeOAA0O5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV11FaceCullinga","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsMaterialResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedVAAE8contactsSayAA7ContactVGvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentV10isOnGroundSbvp","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","displayName":"HasTransform.move(to:relativeTo:duration:timingFunction:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC7raycast4from2to5query4mask10relativeToSayAA16CollisionCastHitVGs5SIMD3VySfG_AoA0kL9QueryTypeOAA0K5GroupVAA6EntityCSgtF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13TextComponentV4text0B016AttributedStringVSgvp","target":"s:17RealityFoundation13TextComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC14CameraSettingsV20isToneMappingEnabledSbvp","target":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF","displayName":"Publisher.removeDuplicates()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","displayName":"HasTransform.move(to:relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV13normalizationAA0cE0CAAE13NormalizationVSgvp","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC11generateBox4sizeACs5SIMD3VySfG_tFZ","target":"s:17RealityFoundation13ShapeResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE16removeDuplicatesAA10PublishersO06RemoveE0Vy_xGyF","displayName":"Publisher.removeDuplicates()"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6originAcAE6OriginOvp","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","displayName":"HasTransform.move(to:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:10Foundation14LocalizedErrorP","targetFallback":"Foundation.LocalizedError"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO7onDeathyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVAAE_12trackingModeA2C6TargetO_AcAE08TrackingF0Vtcfc","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV8identityACvpZ","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO9onCollideyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"},{"kind":"memberOf","source":"s:17RealityFoundation22PhysicsMotionComponentV14linearVelocitys5SIMD3VySfGvp","target":"s:17RealityFoundation22PhysicsMotionComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation21SpatialAudioComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedVAAE19penetrationDistanceSfvp","target":"s:17RealityFoundation15CollisionEventsO7UpdatedV"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE4stop16blendOutDurationySd_tF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation15PortalComponentV13clippingPlaneAC08ClippingF0VSgvp","target":"s:17RealityFoundation15PortalComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE24characterControllerStateAA09CharactereF9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","displayName":"HasModel.jointTransforms"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation27SceneUnderstandingComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC12ComponentSetV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","displayName":"HasTransform.visualBounds(recursive:relativeTo:excludeInactive:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV10replaceAllyyxSTRzAA0D0C7ElementRczlF","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.replaceAll(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation0A15CoordinateSpaceP"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6targetAC6TargetOvp","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:STsE32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlF","displayName":"Sequence.withContiguousStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13TextComponentV15backgroundColorSo10CGColorRefaSgvp","target":"s:17RealityFoundation13TextComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV24shouldRandomizeStartTimeSbvp","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVyA2C6TargetOcfc","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerC4stopyyF","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV6offsetSdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE15jointTransformsSayAA9TransformVGvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation17EventSubscriptionV9subscribe2toyAA5SceneC_tF","target":"s:17RealityFoundation17EventSubscriptionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF","displayName":"Publisher.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC9copyAsync2to17completionHandlerySo10MTLTexture_p_ys5Error_pSgctF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6filteryAA10PublishersO6FilterVy_xGSb6OutputQzcF","displayName":"Publisher.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17EventSubscriptionV6cancelyyF","target":"s:17RealityFoundation17EventSubscriptionV"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGSayAA0C10DescriptorVG_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","displayName":"HasTransform.move(to:relativeTo:duration:timingFunction:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5AudioO7Decibela","target":"s:17RealityFoundation5AudioO"},{"kind":"conformsTo","source":"s:17RealityFoundation21AmbientAudioComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF","displayName":"Publisher.print(_:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8generate4fromACSayAA0C10DescriptorVG_tKFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC","target":"s:17RealityFoundation15TextureResourceC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23MaterialScalarParameterO","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23AudioMixGroupsComponentV","target":"s:17RealityFoundation23AudioMixGroupsComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5print_2toAA10PublishersO5PrintVy_xGSS_s16TextOutputStream_pSgtF","displayName":"Publisher.print(_:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation10BindTargetO","target":"s:17RealityFoundation10BindTargetO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation32ImageBasedLightReceiverComponentV","target":"s:17RealityFoundation32ImageBasedLightReceiverComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23AnimationTimingFunctionV","target":"s:17RealityFoundation23AnimationTimingFunctionV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TweenModeO","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation8BindPathV4PartO","target":"s:17RealityFoundation8BindPathV4PartO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16OpacityComponentV","target":"s:17RealityFoundation16OpacityComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC12replaceAsync9withImage7optionsAA11LoadRequestCyACGSo10CGImageRefa_AC13CreateOptionsVtF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21SpatialAudioComponentV","target":"s:17RealityFoundation21SpatialAudioComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4fromACSayAA0C10DescriptorVG_tYaKcfc","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ImageBasedLightComponentV","target":"s:17RealityFoundation24ImageBasedLightComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO4RateO","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV9removeAllyyF","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP9removeAllyyF","displayName":"EntityCollection.removeAll()"}},{"kind":"memberOf","source":"s:17RealityFoundation5AudioO11DirectivityO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation5AudioO11DirectivityO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV8rotationSo10simd_quatfavp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE8timebaseSo13CMTimebaseRefavp","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","target":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16CollisionCastHitV","target":"s:17RealityFoundation16CollisionCastHitV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","target":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","target":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE12performQueryyAA0E6ResultVyAA6EntityCGAA0gE0VF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO4RateO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV14materialXLabel4dataACSS_0B04DataVtYaKcfc","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE19characterControllerAA09CharacterE9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation21ChannelAudioComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4copy2toySo10MTLTexture_p_tKF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation5AudioO11DirectivityO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation5AudioO11DirectivityO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21PhysicsMassPropertiesV","target":"s:17RealityFoundation21PhysicsMassPropertiesV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14ModelSortGroupV9DepthPassO","target":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13TextComponentV12cornerRadiusSfvp","target":"s:17RealityFoundation13TextComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10entityTypeA2C06EntityG0OSg_tcfc","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV4nameSSvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV6remove2atySi_tF","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6remove2atySi_tF","displayName":"EntityCollection.remove(at:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV5delaySdvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshJointInfluenceVACycfc","target":"s:17RealityFoundation18MeshJointInfluenceV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceCAAE13NormalizationV","target":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5named4fromACSS_0B03URLVtYaKcfc","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO4faceyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation5AudioO11DirectivityO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation5AudioO11DirectivityO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16SystemDependencyO","target":"s:17RealityFoundation16SystemDependencyO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV","target":"s:17RealityFoundation15PortalComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO11faceVaryingyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BlendWeightO","target":"s:17RealityFoundation11BlendWeightO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE13generateAsync4fromAA11LoadRequestCyACGAcAE8ContentsV_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.receive(on:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV10shouldLoop0G18RandomizeStartTime13normalization11calibration12mixGroupNameAESb_SbAA0cE0CAAE13NormalizationVSgAlAE11CalibrationVSgSSSgtcfc","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"conformsTo","source":"s:17RealityFoundation18TransientComponentP","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV10shouldLoopSbvp","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:17RealityFoundation27AnimationPlaybackControllerC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation20HoverEffectComponentVACycfc","target":"s:17RealityFoundation20HoverEffectComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioMixGroupV","target":"s:17RealityFoundation13AudioMixGroupV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7receive2on7optionsAA10PublishersO9ReceiveOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.receive(on:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsMaterialResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO6vertexyA2EmF","target":"s:17RealityFoundation11MeshBuffersO4RateO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO6normalyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation21ChannelAudioComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"conformsTo","source":"s:17RealityFoundation11QueryResultV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation16HasPhysicsMotionP","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","target":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV11SubSequencea","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO5worldyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV12orientToPathSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO5localyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshJointInfluenceV10jointIndex6weightACSi_Sftcfc","target":"s:17RealityFoundation18MeshJointInfluenceV"},{"kind":"conformsTo","source":"s:17RealityFoundation5AudioO11DirectivityO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceC","target":"s:17RealityFoundation13AudioResourceC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV12mixGroupNameSSSgvp","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV10startIndexSivp","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl10startIndex0B0Qzvp","displayName":"Collection.startIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV6centers5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshJointInfluenceV10jointIndexSivp","target":"s:17RealityFoundation18MeshJointInfluenceV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV6modelsAA0C15ModelCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV5Indexa","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl5IndexQa","displayName":"Collection.Index"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18MaterialParametersV7TextureV","target":"s:17RealityFoundation18MaterialParametersV7TextureV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation21SpatialAudioComponentV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2toyAA9PublishedVABVy6OutputQz_Gz_tF","displayName":"Publisher.assign(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9materialsAC9MaterialsOvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE10difference4from2bys20CollectionDifferenceVy7ElementQzGqd___SbAG_AGtXEtSKRd__AFQyd__AGRSlF","displayName":"BidirectionalCollection.difference(from:by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation5AudioO11DirectivityO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV7Indicesa","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10blendLayers5Int32Vvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"conformsTo","source":"s:17RealityFoundation27AdaptiveResolutionComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12ambientAudioAA07AmbientE9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation11BlendWeightO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10bindTargetAA04BindG0Ovp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO3rawyA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO6scalaryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13drawableQueueAC08DrawableF0CSgvp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV7isEmptySbvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE15makeConnectableAA10PublishersO04MakeF0Vy_xGyF","displayName":"Publisher.makeConnectable()"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV13spinClockwiseSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation21PhysicsMassPropertiesV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation5AudioO11DirectivityO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation16EntityCollectionP","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO6normalyA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation21SpatialAudioComponentV","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO5coloryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV11calibrationAA0cE0CAAE11CalibrationVSgvp","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshJointInfluenceV6weightSfvp","target":"s:17RealityFoundation18MeshJointInfluenceV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO8hdrColoryA2EmF","target":"s:17RealityFoundation15TextureResourceC8SemanticO"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV9skeletonsAA0C18SkeletonCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV7extentss5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation21SpatialAudioComponentV","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offsets5SIMD2VySfGvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15CollisionFilterV","target":"s:17RealityFoundation15CollisionFilterV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ImageBasedLightComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10primitivesAC10PrimitivesOSgvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation5SceneC","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20AnimationHandoffTypeV7defaultACvpZ","target":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD4VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ImageBasedLightComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO9hashValueSivp","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV5shape4massAcA13ShapeResourceC_Sftcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceC8SemanticO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20AnimationHandoffTypeV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation20AnimationHandoffTypeV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation10BindTargetO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV14boundingRadiusSfvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation20AnimationHandoffTypeV7composeACvpZ","target":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV8fillModeAA0e4FillG0Vvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV13normalizationAA0cE0CAAE13NormalizationVSgvp","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV8Iteratora","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15PhysicsBodyModeO","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10bitangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD2VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4name8duration4axis14startTransform13spinClockwise12orientToPath13rotationCount10bindTarget10blendLayer10repeatMode04fillV010isAdditive9trimStart0Z3End0Z8Duration6offset5delay5speedACSS_Sds5SIMD3VySfGAA0I0VS2bSfAA04BindR0OSgs5Int32VAA0d6RepeatV0OAA0d4FillV0VSbSdSgA8_A8_S2dSftcfc","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO8onUpdateyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV7Elementa","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","displayName":"HasTransform.transform"}},{"kind":"conformsTo","source":"s:17RealityFoundation21ChannelAudioComponentV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation20AnimationHandoffTypeV4stopACvpZ","target":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO7onBirthyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO"},{"kind":"conformsTo","source":"s:17RealityFoundation21AmbientAudioComponentV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF","displayName":"Publisher.collect()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectAA10PublishersO7CollectVy_xGyF","displayName":"Publisher.collect()"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV"},{"kind":"memberOf","source":"s:SKsE8reverseds18ReversedCollectionVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8reverseds18ReversedCollectionVyxGyF","displayName":"BidirectionalCollection.reversed()"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20AnimationHandoffTypeV","target":"s:17RealityFoundation20AnimationHandoffTypeV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20AnimationHandoffTypeV18snapshotAndReplace16applyToAllLayersACSb_tFZ","target":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC7replace13withDrawablesyAC13DrawableQueueC_tF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation32ImageBasedLightReceiverComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC04nextE0AC0E0CyKF","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV5scales5SIMD2VySfGvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV","target":"s:17RealityFoundation26PhysicsSimulationComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20AnimationHandoffTypeV7replace16applyToAllLayersACSb_tFZ","target":"s:17RealityFoundation20AnimationHandoffTypeV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC010allowsNextE7TimeoutSbvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO4fromAEs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC14CameraSettingsV15colorBackgroundAE05ColorG0Vvp","target":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"conformsTo","source":"s:17RealityFoundation32ImageBasedLightReceiverComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV","target":"s:17RealityFoundation0A8RendererC14CameraSettingsV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8tangentsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO4fromAEs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"conformsTo","source":"s:17RealityFoundation13VideoMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE5first16matchingCategoryAA10CMTypedTagCyqd__GSgAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.first(matchingCategory:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV24shouldRandomizeStartTimeSbvp","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO9positionsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzAaB6OutputRpzrlE14switchToLatestAA10PublishersO06SwitchgH0Vy_AiL03SetD4TypeVy_xAH_AFQZGGyF","displayName":"Publisher.switchToLatest()"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV9trimStartSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAAs5SIMD3VySfGRszrlE6framesSayAFGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2IDa","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV13rotationCountSfvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV10isAdditiveSbvp","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO7normalsAC8SemanticVy_s5SIMD3VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"conformsTo","source":"s:17RealityFoundation21ChannelAudioComponentV","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","displayName":"HasTransform.scale"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation21AmbientAudioComponentV","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeAC013VisualizationH0Ovp","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV4nameACSS_tcfc","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"conformsTo","source":"s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC2ids6UInt64Vvp","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation21AmbientAudioComponentV","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV0G0a","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV4nameSSvp","target":"s:17RealityFoundation14MeshDescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV8rotationSfvp","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"conformsTo","source":"s:17RealityFoundation21ChannelAudioComponentV","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17visualizationModeA2C013VisualizationH0O_tcfc","target":"s:17RealityFoundation26ModelDebugOptionsComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV7Elementa","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE10contentsOf8withNameAC0B03URLV_SSSgtYaKcfc","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","target":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV","target":"s:17RealityFoundation20InputTargetComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF","displayName":"Publisher.collect(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9hashValueSivp","target":"s:17RealityFoundation5SceneC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collectyAA10PublishersO14CollectByCountVy_xGSiF","displayName":"Publisher.collect(_:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE10firstValue16matchingCategoryqd__SgAA10CMTypedTagC0H0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.firstValue(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO9hashValueSivp","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14ModelSortGroupV","target":"s:17RealityFoundation14ModelSortGroupV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV7trimEndSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV7easeOutACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASfRszrlE6framesSaySfGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8durationSdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO9Positionsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO11transparentyAeC7OpacityV_tcAEmF","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO6opaqueyA2EmF","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8BlendingO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO7Normalsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"memberOf","source":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST9CoreMediaAA5CMTagC7ElementRczrlE6filter16matchingCategorySayAA10CMTypedTagCyqd__GGAI0G0Vyqd___G_ts8SendableRd__lF","displayName":"Sequence.filter(matchingCategory:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasTransform.setScale(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation9TweenModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF","displayName":"Publisher.retry(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8Tangentsa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV6easeInACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC17stopAllAnimations9recursiveySb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5retryyAA10PublishersO5RetryVy_xGSiF","displayName":"Publisher.retry(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO4fromAEs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE9fromValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV6offset5scale8rotationAEs5SIMD2VySfG_AKSftcfc","target":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"},{"kind":"conformsTo","source":"s:17RealityFoundation14PortalMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3mins5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE13playAnimation_18transitionDuration16blendLayerOffset21separateAnimatedValue12startsPaused5clockAA0E18PlaybackControllerCAA0E8ResourceC_SdSiS2byXlSgtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","displayName":"HasTransform.scale(relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation16OpacityComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation5AudioO11DirectivityO","target":"s:17RealityFoundation5AudioO11DirectivityO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV15distanceSquared7toPointSfs5SIMD3VySfG_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV7inertias5SIMD3VySfGvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO15jointInfluencesAC8SemanticVy_AA0C14JointInfluenceVGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5emptyACvpZ","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV6linearACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"conformsTo","source":"s:17RealityFoundation16OpacityComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceCAAE6FormatV","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASdRszrlE6framesSaySdGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation19EnvironmentResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8IteratorV4nextxSgyF","target":"s:17RealityFoundation10MeshBufferV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23AnimationTimingFunctionV7defaultACvpZ","target":"s:17RealityFoundation23AnimationTimingFunctionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryContains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV12trimDurationSdSgvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO5afteryAcA0C0_pXpcACmF","target":"s:17RealityFoundation16SystemDependencyO"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV7Elementa","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10repeatModeAA0d6RepeatF0Ovp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","displayName":"HasTransform.position(relativeTo:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE11tryContains5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryContains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19AudioBufferResourceC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC13playAnimation5named18transitionDuration12startsPaused9recursiveAA0E18PlaybackControllerCSS_SdS2btF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation16SystemDependencyO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO6custom_4typeAC8SemanticVy_xGSS_xmtlFZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3maxs5SIMD3VySfGvp","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation13AudioResourceC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV9hashValueSivp","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV7dynamicAEvpZ","target":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV"},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO18textureCoordinatesAC8SemanticVy_s5SIMD2VySfGGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO7surfaceyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll25preservingWorldTransformsySb_tF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.contains(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8contains5whereAA10PublishersO13ContainsWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO8verticesyAEs5SIMD3VySuG_tcAEmF","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO6volumeyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV4massSfvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10replaceAll_25preservingWorldTransformsySayACG_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV5speedSfvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV6group_SayAA0C10Definition_pGSgvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO15triangleIndicesAC8SemanticVy_s6UInt32VGvpZ","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV19ArrayLiteralElementa","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV10shouldLoopSbvp","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF","displayName":"Publisher.mapError(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","displayName":"HasTransform.position"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC13playAnimation_18transitionDuration12startsPausedAA0E18PlaybackControllerCAA0E8ResourceC_SdSbtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV6jointsSayAE5JointVGvp","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"memberOf","source":"s:17RealityFoundation16SystemDependencyO6beforeyAcA0C0_pXpcACmF","target":"s:17RealityFoundation16SystemDependencyO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8mapErroryAA10PublishersO03MapD0Vy_xqd__Gqd__7FailureQzcs0D0Rd__lF","displayName":"Publisher.mapError(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14PortalMaterialV16TriangleFillModea","target":"s:17RealityFoundation14PortalMaterialV"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV9removeAll12keepCapacity25preservingWorldTransformsySb_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O8rawValueAGSgs5UInt8V_tcfc","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9formUnionyyACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6offsetSdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV14startTransformAA0F0Vvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganVAAE19penetrationDistanceSfvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O8RawValuea","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO5valueyACSfcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8rawValueACs4Int8V_tcfc","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6sorted2bySay7ElementQzGSbAD_ADtKXE_tKF","displayName":"Sequence.sorted(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8RawValuea","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsVAEycfc","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV8containsySbs5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O8rawValues5UInt8Vvp","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO9parameteryACSS_SftcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC8durations8DurationVvp","target":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV5countSivp","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl5countSivp","displayName":"Collection.count"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8rawValues4Int8Vvp","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation22AudioFileGroupResourceC5named4from2inACSS_SSSo8NSBundleCtYaKcfc","target":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV5shape7densityAcA13ShapeResourceC_Sftcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV8relative5dBSPLAESd_tFZ","target":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"conformsTo","source":"s:17RealityFoundation20VideoPlayerComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","displayName":"HasTransform.orientation"}},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO10bindTargetyAcA04BindF0O_SftcACmF","target":"s:17RealityFoundation11BlendWeightO"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV7buffersSDyAA0C7BuffersO10IdentifierVAA03AnyC6BufferVGvp","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","displayName":"MeshBufferContainer.buffers"}},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioMixGroupsComponentV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14PortalMaterialVACycfc","target":"s:17RealityFoundation14PortalMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV4fromACs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC9hashValueSivp","target":"s:17RealityFoundation19AudioBufferResourceC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV","target":"s:17RealityFoundation5EventP"},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV2id5model2atAESS_SSSo13simd_float4x4aSgtcfc","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5unionyACs5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation11BlendWeightO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation11BlendWeightO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AudioFileGroupResourceCyACSayAA0cdF0CGKcfc","target":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV4noneACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesVACycfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV5unionyA2CF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"conformsTo","source":"s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV9hashValueSivp","target":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9formUnionyys5SIMD3VySfGF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasTransform.setPosition(_:relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24GroundingShadowComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV4mass7inertia08centerOfD0ACSf_s5SIMD3VySfGAI8position_So10simd_quatfa11orientationttcfc","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganVAAE16impulseDirections5SIMD3VySfGvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP6appendyyAA0C0CF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0VAEycfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation22AudioFileGroupResourceC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation22AudioFileGroupResourceC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorVyAA0C6BufferVy7ElementQzGSgxcAA0cE8SemanticRzluip","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","displayName":"MeshBufferContainer.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO5planeyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV8forwardsACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV5delaySdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","displayName":"HasTransform.transformMatrix(relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO5pointyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4axiss5SIMD3VySfGvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV11transformed2byACSo13simd_float4x4a_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionVyAA0D0CSicip","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sly7ElementQz5IndexQzcip","displayName":"Collection.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV4nameSSvp","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF","displayName":"Publisher.append(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AudioFileGroupResourceC9hashValueSivp","target":"s:17RealityFoundation22AudioFileGroupResourceC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV07contentG0AE0fG0Ovp","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV9instancesAA0C18InstanceCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6appendyAA10PublishersO11ConcatenateVy_xAF8SequenceVy_Say6OutputQzG7FailureQzGGALd_tF","displayName":"Publisher.append(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganVAAE8contactsSayAA7ContactVGvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO4coneyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO6sphereyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9transform2byySo13simd_float4x4a_tF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVAAE7Texturea","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO3boxyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO6linearyA2CmF","target":"s:17RealityFoundation9TweenModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation26PhysicsSimulationComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","displayName":"HasTransform.setOrientation(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO18TextureCoordinatesa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV9transformSo13simd_float4x4avp","target":"s:17RealityFoundation12MeshResourceCAAE8InstanceV"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVAAE9BaseColora","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV9backwardsACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO5torusyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV8endIndexSivp","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl8endIndex0B0Qzvp","displayName":"Collection.endIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation9TweenModeO4holdyA2CmF","target":"s:17RealityFoundation9TweenModeO"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV8absolute5dBSPLAESd_tFZ","target":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO8cylinderyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV8containsySbACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO15TriangleIndicesa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","displayName":"HasTransform.orientation(relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO15JointInfluencesa","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13configurationAC13ConfigurationVvp","target":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2IDa","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation21PhysicsMassPropertiesV08centerOfD0s5SIMD3VySfG8position_So10simd_quatfa11orientationtvp","target":"s:17RealityFoundation21PhysicsMassPropertiesV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV08previousG0AE0fG0Ovp","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation22AudioFileGroupResourceC9resourcesSayAA0cdF0CGvp","target":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5BeganV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV10intersectsySbACF","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationFillModeV4bothACvpZ","target":"s:17RealityFoundation17AnimationFillModeV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13AudioResourceCAAE11CalibrationV","target":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13imageSequenceAE05ImageG0VSgvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"conformsTo","source":"s:17RealityFoundation26PhysicsSimulationComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF","displayName":"Publisher.count()"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV6matrixACSo13simd_float4x4a_tcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC19availableAnimationsSayAA17AnimationResourceCGvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV4noneAEvpZ","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5countAA10PublishersO5CountVy_xGyF","displayName":"Publisher.count()"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"conformsTo","source":"s:17RealityFoundation16EntityCollectionP","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8position10relativeTos5SIMD3VySfGAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.zip(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3ZipVy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.zip(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6sourceAA19AnimationDefinition_pSgvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV17emissiveIntensitySfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V5imageAA15TextureResourceCSgvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC6results6ResultOyxs5Error_pGSgvp","target":"s:17RealityFoundation11LoadRequestC"},{"kind":"memberOf","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:17RealityFoundation11AudioEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV8RawValuea","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5pitch3yaw4rollACSf_S2ftcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV5speedSfvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV8rawValues5UInt8Vvp","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV07spawnedD0AC0cD0VSgvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentVAAE13linearDampingSfvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF3ZipVy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC9subscribeyyqd__5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","target":"s:17RealityFoundation11LoadRequestC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21ChannelAudioComponentV","target":"s:17RealityFoundation21ChannelAudioComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6source4name6weightAcA19AnimationDefinition_p_SSAA0C6WeightOtcfc","target":"s:17RealityFoundation19BlendTreeSourceNodeV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC18accessibilityLabelSSSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:17RealityFoundation5EventP"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8positions5SIMD3VySfGvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV8rawValueAEs5UInt8V_tcfc","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","displayName":"MeshBufferContainer.positions"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV5scale8rotation11translationACs5SIMD3VySfG_So10simd_quatfaAItcfc","target":"s:17RealityFoundation9TransformV"},{"kind":"conformsTo","source":"s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7toValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV17restPoseTransformAA0I0Vvp","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","displayName":"MeshBufferContainer.positions"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10bindTargetAA04BindH0Ovp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformVACycfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV19ArrayLiteralElementa","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.last(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE8setScale_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs4Int8VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4last5whereAA10PublishersO9LastWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.last(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14SimpleMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9blendModeAE05BlendG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"conformsTo","source":"s:17RealityFoundation20PhysicsBodyComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8specularAC8SpecularVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scale10relativeTos5SIMD3VySfGAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentVAAE14angularDampingSfvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC22isAccessibilityElementSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5speedSfvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation21SpatialAudioComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC7Failurea","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherP7FailureQa","displayName":"Publisher.Failure"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC9PublisherV","target":"s:7Combine9PublisherP","targetFallback":"Combine.Publisher"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation0A15CoordinateSpaceP"},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV4rootAA0cD4Node_pvp","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.ranges(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV12makeIteratorAC0F0Vyx_GyF","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.ranges(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE6ranges2ofSaySny5IndexQzGGqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.ranges(of:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV7Elementa","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation11LoadRequestC7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5Error_p7FailureRtd__lF","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherP7receive10subscriberyqd___tAA10SubscriberRd__7FailureQyd__AGRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.receive(subscriber:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21SpatialAudioComponentV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation21SpatialAudioComponentV","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC24accessibilityDescriptionSSSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV5delaySdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7Elementa","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE15transformMatrix10relativeToSo13simd_float4x4aAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation7ContactV19penetrationDistanceSfvp","target":"s:17RealityFoundation7ContactV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16MetalEventActionV5values6UInt64Vvp","target":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF","displayName":"Publisher.buffer(size:prefetch:whenFull:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO4fromAGs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC13drawableQueueAC0eG0Cvp","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8IteratorV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16MetalEventActionV5eventSo8MTLEvent_pvp","target":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV","target":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV6Outputa","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP6OutputQa","displayName":"Publisher.Output"}},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV9hashValueSivp","target":"s:17RealityFoundation21SpatialAudioComponentV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6buffer4size8prefetch8whenFullAA10PublishersO6BufferVy_xGSi_AI16PrefetchStrategyOAI09BufferingK0Oy_7FailureQzGtF","displayName":"Publisher.buffer(size:prefetch:whenFull:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO03preG0yA2EmF","target":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV5index5afterS2i_tF","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl5index5after5IndexQzAD_tF","displayName":"Collection.index(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9sortOrderAE04SortG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5group4name10repeatMode04fillH09trimStart0J3End0J8Duration6offset5delay5speedACSayAA0C10Definition_pG_SSAA0c6RepeatH0OAA0c4FillH0VSdSgA2TS2dSftcfc","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASdRszrlE7byValueSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5first5whereAA10PublishersO10FirstWhereVy_xGSb6OutputQzc_tF","displayName":"Publisher.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO04postG0yA2EmF","target":"s:17RealityFoundation14ModelSortGroupV9DepthPassO"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV7Failurea","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP7FailureQa","displayName":"Publisher.Failure"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE14setOrientation_10relativeToySo10simd_quatfa_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO9hashValueSivp","target":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16MetalEventActionV4wait3for5valueAESo8MTLEvent_p_s6UInt64VtFZ","target":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"memberOf","source":"s:17RealityFoundation7ContactV16impulseDirections5SIMD3VySfGvp","target":"s:17RealityFoundation7ContactV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6sourceAA0C10Definition_pSgvp","target":"s:17RealityFoundation13AnimationViewV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV4selfACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV4fromACs7Decoder_p_tKcfc","target":"s:17RealityFoundation21SpatialAudioComponentV","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV19burstCountVariationSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation32ImageBasedLightReceiverComponentV05imagedE0AA6EntityCvp","target":"s:17RealityFoundation32ImageBasedLightReceiverComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO9hashValueSivp","target":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation23AudioMixGroupsComponentV","target":"s:17RealityFoundation23AudioMixGroupsComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientation10relativeToSo10simd_quatfaAA6EntityCSg_tF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF","displayName":"Publisher.first()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation15PortalComponentV","target":"s:17RealityFoundation15PortalComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7OpacityV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24ImageBasedLightComponentV","target":"s:17RealityFoundation24ImageBasedLightComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV","target":"s:17RealityFoundation27SceneUnderstandingComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation32ImageBasedLightReceiverComponentV","target":"s:17RealityFoundation32ImageBasedLightReceiverComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation14WorldComponentV","target":"s:17RealityFoundation14WorldComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation27AdaptiveResolutionComponentV","target":"s:17RealityFoundation27AdaptiveResolutionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV6source4name10bindTarget10blendLayer10repeatMode04fillL09trimStart0N3End0N8Duration6offset5delay5speedAcA0C10Definition_p_SSAA04BindH0OSgs5Int32VAA0c6RepeatL0OAA0c4FillL0VSdSgA2ZS2dSftcfc","target":"s:17RealityFoundation13AnimationViewV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation21SpatialAudioComponentV","target":"s:17RealityFoundation21SpatialAudioComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation16OpacityComponentV","target":"s:17RealityFoundation16OpacityComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV3allAEvpZ","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation33CharacterControllerStateComponentV","target":"s:17RealityFoundation33CharacterControllerStateComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20HoverEffectComponentV","target":"s:17RealityFoundation20HoverEffectComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO9positiveZyA2EmF","target":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation13TextComponentV","target":"s:17RealityFoundation13TextComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV","target":"s:17RealityFoundation26PhysicsSimulationComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13emissiveColorAC08EmissiveG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5firstAA10PublishersO5FirstVy_xGyF","displayName":"Publisher.first()"}},{"kind":"conformsTo","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO9negativeZyA2EmF","target":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation14ModelComponentV","target":"s:17RealityFoundation14ModelComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentVAAE19isAffectedByGravitySbvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV4gainSdvp","target":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19BlendTreeSourceNodeV4nameSSvp","target":"s:17RealityFoundation19BlendTreeSourceNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24GroundingShadowComponentV","target":"s:17RealityFoundation24GroundingShadowComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16MetalEventActionV6signal_5valueAESo8MTLEvent_p_s6UInt64VtFZ","target":"s:17RealityFoundation0A8RendererC16MetalEventActionV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation7ContactV7impulseSfvp","target":"s:17RealityFoundation7ContactV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV8materialyAC08MaterialF0VSiF","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV","target":"s:17RealityFoundation20InputTargetComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO8SemanticV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13stretchFactorSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO9hashValueSivp","target":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation23ModelSortGroupComponentV","target":"s:17RealityFoundation23ModelSortGroupComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11orientationSo10simd_quatfavp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation7ContactV5points5SIMD3VySfGvp","target":"s:17RealityFoundation7ContactV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnimationViewV8durationSdvp","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","target":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO9billboardyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV6source17intensityExponentA2C6SourceO_Sftcfc","target":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV7opacityACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV04mainD0AC0cD0Vvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV017reportKinematicVsI0AEvpZ","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation7ContactV6normals5SIMD3VySfGvp","target":"s:17RealityFoundation7ContactV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation21ChannelAudioComponentV","target":"s:17RealityFoundation21ChannelAudioComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryFirst(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation32ImageBasedLightReceiverComponentV05imagedE0AcA6EntityC_tcfc","target":"s:17RealityFoundation32ImageBasedLightReceiverComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8durationSdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryFirst5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryFirst(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO17billboardYAlignedyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV23reportKinematicVsStaticAEvpZ","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV","target":"s:17RealityFoundation24ParticleEmitterComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV9hashValueSivp","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV4name11parentIndex21inverseBindPoseMatrix04restL9TransformAGSS_SiSgSo13simd_float4x4aAA0O0Vtcfc","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV9parameteryACSSF","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation24ImageBasedLightComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE11setPosition_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO4freeyAGs5SIMD3VySfG_SftcAGmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","target":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation32ImageBasedLightReceiverComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation32ImageBasedLightReceiverComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF","displayName":"Publisher.collect(_:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7collect_7optionsAA10PublishersO13CollectByTimeVy_xqd__GAG0H16GroupingStrategyOy_qd__G_16SchedulerOptionsQyd__SgtAA0K0Rd__lF","displayName":"Publisher.collect(_:options:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V17isLightingEnabledSbvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation20VideoPlayerComponentV","target":"s:17RealityFoundation20VideoPlayerComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV","target":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV8rawValueAEs6UInt32V_tcfc","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV4nameSSvp","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO9hashValueSivp","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV","target":"s:17RealityFoundation22AccessibilityComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV6frames4name9tweenMode13frameInterval10isAdditive10bindTarget10blendLayer06repeatH004fillH09trimStart0S3End0S8Duration6offset5delay5speedACyxGSayxG_SSAA05TweenH0OSfSbAA04BindN0OSgs5Int32VAA0d6RepeatH0OAA0d4FillH0VSdSgA4_A4_S2dSftcfc","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO29incorrectTypeForParameterNameyA2EmF","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","target":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20BlendTreeInvalidNodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation20BlendTreeInvalidNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation21AmbientAudioComponentV","target":"s:17RealityFoundation21AmbientAudioComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO8constantyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO21parameterNameNotFoundyA2EmF","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","displayName":"HasHierarchy.children"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE25lexicographicallyPrecedesySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV12trimDurationSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV10isEmittingSbvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation25NetworkCompatibilityTokenC","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelSortGroupV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV7restartyyF","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV19ArrayLiteralElementa","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV8newOwnerAA0C6PeerID_pSgvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV6directAEvpZ","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13UnlitMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV6entityAA6EntityCvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO13linearFadeOutyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","displayName":"HasHierarchy.setParent(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV","target":"s:17RealityFoundation28CharacterControllerComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11mipmapsModeAC07MipmapsH0Ovp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO16gradualFadeInOutyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC7presentyyF","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE13elementsEqualySbqd__STRd__AAQyd__ABRSlF","displayName":"Sequence.elementsEqual(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO12linearFadeInyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"conformsTo","source":"s:17RealityFoundation23ModelSortGroupComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO14quickFadeInOutyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"overrides","source":"s:17RealityFoundation11ModelEntityCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V15vortexDirections5SIMD3VySfGvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC20presentOnSceneUpdateyyF","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:ST","targetFallback":"Swift.Sequence","swiftConstraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV8indirectAEvpZ","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5usageSo15MTLTextureUsageVvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO11easeFadeOutyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO10easeFadeInyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV","target":"s:17RealityFoundation26ModelDebugOptionsComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","displayName":"Component.registerComponent()"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6acceptyycvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV10burstCountSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF","displayName":"Publisher.eraseToAnyPublisher()"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE010eraseToAnyB0AA0eB0Vy6OutputQz7FailureQzGyF","displayName":"Publisher.eraseToAnyPublisher()"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation20VideoPlayerComponentV013currentScreenC9Dimensions5SIMD2VySfGvp","target":"s:17RealityFoundation20VideoPlayerComponentV"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV7trimEndSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV8RawValuea","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8DrawableC7textureSo10MTLTexture_pvp","target":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"conformsTo","source":"s:17RealityFoundation11QueryResultV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV8rawValues6UInt32Vvp","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6assign2to2onAA14AnyCancellableCs24ReferenceWritableKeyPathCyqd__6OutputQzG_qd__tlF","displayName":"Publisher.assign(to:on:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17OcclusionMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueCyA2E10DescriptorVKcfc","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV5burstyyF","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE25lexicographicallyPrecedes_2bySbqd___Sb7ElementQz_ADtKXEtKSTRd__ACQyd__ADRSlF","displayName":"Sequence.lexicographicallyPrecedes(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2ids6UInt64Vvp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation18BlendTreeAnimationV_4name10isAdditive10bindTarget10blendLayer10repeatMode04fillN09trimStart0P3End0P8Duration6offset5delay5speedACyxGAA0cD4Node_p_SSSbAA04BindJ0OSgs5Int32VAA0e6RepeatN0OAA0e4FillN0VSdSgA_A_S2dSftcfc","target":"s:17RealityFoundation18BlendTreeAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV6matrixSo13simd_float4x4avp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation20InputTargetComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV21inverseBindPoseMatrixSo13simd_float4x4avp","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation20InputTargetComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO8unsortedyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE5scales5SIMD3VySfGvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:SlsE5countSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5countSivp","displayName":"Collection.count"}},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV6weightAA0C6WeightOvp","target":"s:17RealityFoundation09BlendTreeC4NodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","displayName":"BlendTreeNode.weight"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V14vortexStrengthSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO4stopyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO12decreasingIDyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5delaySdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.zip(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO13increasingAgeyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV3allAEvpZ","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV"},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelSortGroupV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation19MeshModelCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO13decreasingAgeyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO15increasingDepthyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV4modeAA0cD4ModeOvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV25particlesInheritTransformSbvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryLast(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC5clone9recursiveACXDSb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryLast5whereAA10PublishersO03TryD5WhereVy_xGSb6OutputQzKc_tF","displayName":"Publisher.tryLast(where:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO15decreasingDepthyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO4playyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:SlsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE7isEmptySbvp","displayName":"Collection.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO","target":"s:17RealityFoundation18AnchoringComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE13elementsEqual_2bySbqd___Sb7ElementQz_ACQyd__tKXEtKSTRd__lF","displayName":"Sequence.elementsEqual(_:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO12increasingIDyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO5pauseyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO"},{"kind":"conformsTo","source":"s:17RealityFoundation23AnimationTimingFunctionV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF","displayName":"Publisher.ignoreOutput()"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV11parentIndexSiSgvp","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12ignoreOutputAA10PublishersO06IgnoreD0Vy_xGyF","displayName":"Publisher.ignoreOutput()"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4load5named2inACSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE9transformAA0D0Vvp","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SMsSKRzrlE7reverseyyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsSKRzrlE7reverseyyF","displayName":"MutableCollection.reverse()"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV7Elementa","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V16attractionCenters5SIMD3VySfGvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation9TransformV11translations5SIMD3VySfGvp","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation20BlendTreeInvalidNodeV4nameSSvp","target":"s:17RealityFoundation20BlendTreeInvalidNodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV6offsetSdvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO4fromAGs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO4fromAEs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF","displayName":"Publisher.dropFirst(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV20fieldSimulationSpaceAC0gH0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9dropFirstyAA10PublishersO4DropVy_xGSiF","displayName":"Publisher.dropFirst(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO4Zip3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.zip(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9hashValueSivp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"requirementOf","source":"s:17RealityFoundation18MeshBufferSemanticP2idAA0C7BuffersO10IdentifierVvp","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation11BoundingBoxV","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV7Elementa","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV10isAdditiveSbvp","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V18attractionStrengthSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV12anchorEntityyAC0hF0VSSF","target":"s:17RealityFoundation10BindTargetO9ScenePathV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV6offsetSdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV22fullContactInformationAEvpZ","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation16EntityCollectionPAAE6removeyyAA0C0CF","target":"s:17RealityFoundation16EntityCollectionP6removeyyAA0C0CF","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6removeyyAA0C0CF","displayName":"EntityCollection.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isPlayingSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV23clearcoatRoughnessScaleACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE05debugD0AA0D21DebugOptionsComponentVSgvp","displayName":"HasModel.debugModel"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC10findEntity5namedAA0E0CSgSS_tF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC11pixelFormatSo08MTLPixelH0Vvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE15synchronizationAA0D9ComponentVSgvp","displayName":"HasSynchronization.synchronization"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSays10ArraySliceVyABGGAB_SiSbtF","displayName":"Sequence.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV4selfACvp","target":"s:17RealityFoundation10BindTargetO9ScenePathV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O7invalidyA2GmF","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:s25ExpressibleByFloatLiteralP","targetFallback":"Swift.ExpressibleByFloatLiteral"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC5widthSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O6stereoyA2GmF","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCAA0D0V_AA6EntityCSgSdAA0l6TimingK0VtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4stopyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8blendingAC8BlendingOvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O4monoyA2GmF","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O"},{"kind":"memberOf","source":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF","displayName":"Sequence.flatMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV6staticAEvpZ","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV8IteratorV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV9sheenTintACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO7defaultyA2EmF","target":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO7triggeryA2EmF","target":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O9immersiveyA2GmF","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF","displayName":"Publisher.drop(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4drop15untilOutputFromAA10PublishersO09DropUntilE0Vy_xqd__Gqd___tAaBRd__7FailureQyd__AKRtzlF","displayName":"Publisher.drop(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToyAA0D0V_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV24spawnInheritsParentColorSbvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC10findEntity2idAA0E0CSgs6UInt64V_tF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO9collidingyA2EmF","target":"s:17RealityFoundation18CollisionComponentV4ModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC6heightSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeToySo13simd_float4x4a_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV12boundsMarginSfvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO4fromAEs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV14clearcoatScaleACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation13ShapeResourceC","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF","displayName":"Publisher.merge(with:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4withAA10PublishersO9MergeManyVy_xGx_tF","displayName":"Publisher.merge(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE7isValidSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV4nameSSvp","target":"s:17RealityFoundation09BlendTreeC4NodeV","sourceOrigin":{"identifier":"s:17RealityFoundation13BlendTreeNodeP4nameSSvp","displayName":"BlendTreeNode.name"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","displayName":"HasModel.jointNames"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V19noiseAnimationSpeedSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.scan(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:s27ExpressibleByIntegerLiteralP","targetFallback":"Swift.ExpressibleByIntegerLiteral"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6normalAC6NormalVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4scanyAA10PublishersO4ScanVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.scan(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV10blendLayers5Int32Vvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO4fromAGs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC2ids6UInt64Vvp","target":"s:17RealityFoundation23AudioPlaybackControllerC","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV13specularScaleACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6reduce4into_qd__qd__n_yqd__z_7ElementQztKXEtKlF","displayName":"Sequence.reduce(into:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE5first5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE5first5where7ElementQzSgSbADKXE_tKF","displayName":"Sequence.first(where:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation26PhysicsSimulationComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4ModeO9hashValueSivp","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A15CoordinateSpacePA2A05SceneacD0VRszrlE5sceneAEvpZ::SYNTHESIZED::s:17RealityFoundation05SceneA15CoordinateSpaceV","target":"s:17RealityFoundation05SceneA15CoordinateSpaceV","sourceOrigin":{"identifier":"s:17RealityFoundation0A15CoordinateSpacePA2A05SceneacD0VRszrlE5sceneAEvpZ","displayName":"RealityCoordinateSpace.scene"}},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation16EntityCollectionPAAE6insert_11beforeIndexyAA0C0C_SitF","target":"s:17RealityFoundation16EntityCollectionP6insert_11beforeIndexyAA0C0C_SitF","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6insert_11beforeIndexyAA0C0C_SitF","displayName":"EntityCollection.insert(_:beforeIndex:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5uInt8yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO6globalyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV14roughnessScaleACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO5localyA2EmF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF","displayName":"Publisher.delay(for:tolerance:scheduler:options:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5delay3for9tolerance9scheduler7optionsAA10PublishersO5DelayVy_xqd__G17SchedulerTimeType_6StrideQYd___APSgqd__0J7OptionsQyd__SgtAA0J0Rd__lF","displayName":"Publisher.delay(for:tolerance:scheduler:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:STsE7forEachyyy7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE7forEachyyy7ElementQzKXEKF","displayName":"Sequence.forEach(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV10skeletonIDSSSgvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt16yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15simulationStateAC010SimulationG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO8additiveyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC22synchronizationServiceAA015SynchronizationE0_pSgvp","target":"s:17RealityFoundation5SceneC"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeTo7forwardys5SIMD3VySfG_A2lA6EntityCSgAnAE16ForwardDirectionOtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC2IDa","target":"s:17RealityFoundation23AudioPlaybackControllerC","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE10jointNamesSaySSGvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO5alphayA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV13metallicScaleACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5floatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation33CharacterControllerStateComponentVACycfc","target":"s:17RealityFoundation33CharacterControllerStateComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO6opaqueyA2GmF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8additiveSbvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21ownershipTransferModeAC09OwnershipfG0Ovp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO4monoyA2EmF","target":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"requirementOf","source":"s:17RealityFoundation19MeshBufferContainerP7buffersSDyAA0C7BuffersO10IdentifierVAA03AnycD0VGvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE8containsySbABF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE8containsySbABF","displayName":"Sequence.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6doubleyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V10noiseScaleSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO6stereoyA2EmF","target":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE18withUnsynchronizedyyyyXEF","displayName":"HasSynchronization.withUnsynchronized(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd2FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:STsE8reversedSay7ElementQzGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8reversedSay7ElementQzGyF","displayName":"Sequence.reversed()"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO9hashValueSivp","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV7isEmptySbvp","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV13baseColorTintACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO6uInt32yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV6offsetACvp","target":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV"},{"kind":"conformsTo","source":"s:17RealityFoundation23AnimationTimingFunctionV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV7isOwnerSbvp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4int8yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int16yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation33CharacterControllerStateComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF","displayName":"Publisher.handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF","displayName":"Publisher.merge(with:_:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV7Elementa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK7ElementQa","displayName":"BidirectionalCollection.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO5int32yA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:SMsE39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SM39withContiguousMutableStorageIfAvailableyqd__Sgqd__Sry7ElementQzGzKXEKlF","displayName":"MutableCollection.withContiguousMutableStorageIfAvailable(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__xGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__AeFRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12handleEvents19receiveSubscription0E6Output0E10Completion0E6Cancel0E7RequestAA10PublishersO06HandleD0Vy_xGyAA0F0_pcSg_y0G0QzcSgyAA11SubscribersO0H0Oy_7FailureQzGcSgyycSgyAU6DemandVcSgtF","displayName":"Publisher.handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22PhysicsMotionComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with______AA10PublishersO6Merge8Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_AaBRd_5_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSAKQyd_5_AYRSANQyd_5_AZRSr5_lF","displayName":"Publisher.merge(with:_:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16collisionOptionsAC09CollisionG0Vvp","target":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO9hashValueSivp","target":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV10identifiers6UInt64Vvp","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV7sources4name6weight10isAdditiveACSayAA0cdE0_pG_SSAA0C6WeightOSbtcfc","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsSKRzrlE9partition2by5IndexSlQzSb7ElementSTQzKXE_tKF","displayName":"MutableCollection.partition(by:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV17spawnSpreadFactorSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV5countSivp","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC23generateCollisionShapes9recursiveySb_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO5frontyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF","displayName":"HasSynchronization.requestOwnership(timeout:_:)"}},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV8Iteratora","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4noneyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"requirementOf","source":"s:17RealityFoundation19MeshBufferContainerPyAA0cD0Vy7ElementQyd__GSgqd__cAA0cD8SemanticRd__luip","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd3FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6reduceyqd__qd___qd__qd___7ElementQztKXEtKlF","displayName":"Sequence.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE4timeSdvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO4backyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV11FaceCullingO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV9trimStartSdSgvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"overrides","source":"s:17RealityFoundation12AnchorEntityCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO10simd4FloatyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV7Indicesa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV11faceCullingAA0E14ParameterTypesV04FaceG0Ovp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE5modelAA0D9ComponentVSgvp","displayName":"HasModel.model"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV11SubSequencea","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation11QueryResultV8IteratorV4nextxSgyF","target":"s:17RealityFoundation11QueryResultV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE11removeChild_24preservingWorldTransformyAA6EntityC_SbtF","displayName":"HasHierarchy.removeChild(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation18HasSynchronizationPAAE7isOwnerSbvp","displayName":"HasSynchronization.isOwner"}},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13noiseStrengthSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"memberOf","source":"s:17RealityFoundation09BlendTreeC4NodeV7sourcesSayAA0cdE0_pGvp","target":"s:17RealityFoundation09BlendTreeC4NodeV"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV8fillModeAA0c4FillF0Vvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentVACycfc","target":"s:17RealityFoundation24SynchronizationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV","target":"s:17RealityFoundation22MaterialParameterTypesV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC9isPlayingSbvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO14jointInfluenceyA2EmF","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE11ViewingModeO","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE12visualBounds9recursive10relativeTo15excludeInactiveAA11BoundingBoxVSb_AA6EntityCSgSbtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5Indexa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5IndexQa","displayName":"BidirectionalCollection.Index"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE16removeFromParent24preservingWorldTransformySb_tF","displayName":"HasHierarchy.removeFromParent(preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV10startIndexSivp","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK10startIndex0B0Qzvp","displayName":"BidirectionalCollection.startIndex"}},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE23generateCollisionShapes9recursive6staticySb_SbtF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE8contains5whereS2b7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8contains5whereS2b7ElementQzKXE_tKF","displayName":"Sequence.contains(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV5clockyXlvp","target":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV8endIndexSivp","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK8endIndex0B0Qzvp","displayName":"BidirectionalCollection.endIndex"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV26spawnSpreadFactorVariationSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE8addChild_24preservingWorldTransformyAA6EntityC_SbtF","displayName":"HasHierarchy.addChild(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC5pauseyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_AG14SetFailureTypeVy_qd__0I0QzGxGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__s5NeverOALRtd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation16EntityCollectionPAAE9removeAll5whereySbAA0C0CKXE_tKF","target":"s:17RealityFoundation16EntityCollectionP9removeAll5whereySbAA0C0CKXE_tKF","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP9removeAll5whereySbAA0C0CKXE_tKF","displayName":"EntityCollection.removeAll(where:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE9isStoppedSbvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AnimationPlaybackControllerCAAE5speedSfvp","target":"s:17RealityFoundation27AnimationPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation8HasModelPAAE17modelDebugOptionsAA0dfG9ComponentVSgvp","displayName":"HasModel.modelDebugOptions"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVyAA9TransformVSicip","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKy7ElementQz5IndexQzcip","displayName":"BidirectionalCollection.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4playyyF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF","displayName":"Publisher.decode(type:decoder:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD4VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation16EntityCollectionPAAE9removeAllyyF","target":"s:17RealityFoundation16EntityCollectionP9removeAllyyF","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP9removeAllyyF","displayName":"EntityCollection.removeAll()"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6decode4type7decoderAA10PublishersO6DecodeVy_xqd__qd_0_Gqd__m_qd_0_tSeRd__AA15TopLevelDecoderRd_0_5InputQyd_0_6OutputRtzr0_lF","displayName":"Publisher.decode(type:decoder:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV07allowedC5TypesA2C0C4TypeV_tcfc","target":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"memberOf","source":"s:STsE10allSatisfyyS2b7ElementQzKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10allSatisfyyS2b7ElementQzKXEKF","displayName":"Sequence.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4move2to10relativeTo8duration14timingFunctionAA27AnimationPlaybackControllerCSo13simd_float4x4a_AA6EntityCSgSdAA0l6TimingK0VtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO10MapKeyPathVy_xqd__Gs0fG0Cy6OutputQzqd__GlF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4gainSdvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV6timingAA0F14TimingFunctionVvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV10SheenColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC8generate19fromEquirectangular8withNameACSo10CGImageRefa_SSSgtKFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18ShapeResourceErrorO9hashValueSivp","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV9hashValueSivp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation22AudioFileGroupResourceC4load5named4from2inACSS_SSSo8NSBundleCSgtKFZ","target":"s:17RealityFoundation22AudioFileGroupResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V19colorEvolutionPowerSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"requirementOf","source":"s:17RealityFoundation13BlendTreeNodeP6weightAA0C6WeightOvp","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"conformsTo","source":"s:17RealityFoundation20HoverEffectComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV11directLevelSdvp","target":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform4fromAA0D0VAH_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation21AmbientAudioComponentV","target":"s:17RealityFoundation21AmbientAudioComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18clearcoatRoughnessAC09ClearcoatG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE9publisher3for2on13componentTypeAC9PublisherVy_xGxm_AA11EventSource_pSgAA9Component_pXpSgtAA0J0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE9setParent_24preservingWorldTransformyAA6EntityCSg_SbtF","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasHierarchyPAAE6parentAA6EntityCSgvp","displayName":"HasHierarchy.parent"}},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC16mipmapLevelCountSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18ShapeResourceErrorO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC15ImageBasedLightV8resourceAA19EnvironmentResourceCSgvp","target":"s:17RealityFoundation0A8RendererC15ImageBasedLightV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13spawnOccasionAC05SpawnG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:17RealityFoundation14QueryPredicateV3hasyACyAA6EntityCGqd__mAA9ComponentRd__lFZ","target":"s:17RealityFoundation14QueryPredicateV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV15jointTransformsACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV9transformACvp","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV11descriptionSSvp","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV17intensityExponentSfvp","target":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18ShapeResourceErrorO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV4meshAA12MeshResourceCvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD2VySfGRszrlE7byValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO7preloadyA2EmF","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV13materialIndexSivp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16opacityThresholdSfSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC4fade2to8durationySd_SdtF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO4useryA2EmF","target":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V34sizeMultiplierAtEndOfLifespanPowerSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV9isEnabledSbvp","target":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV4near3far20fieldOfViewInDegreesACSf_S2ftcfc","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO6streamyA2EmF","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV6entityyAESSF","target":"s:17RealityFoundation10BindTargetO10EntityPathV"},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV11reverbLevelSdvp","target":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO6systemyA2EmF","target":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18ShapeResourceErrorO26staticMeshGenerationFailedyA2CmF","target":"s:17RealityFoundation18ShapeResourceErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO5linesyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18ShapeResourceErrorO32convexPolyhedronGenerationFailedyA2CmF","target":"s:17RealityFoundation18ShapeResourceErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC8generate19fromEquirectangular8withNameACSo10CGImageRefa_SSSgtYaKFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO4fillyA2EmF","target":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC14generateSphere6radiusACSf_tFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12spatialAudioAA07SpatialE9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction4froms5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV19spawnVelocityFactorSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV26secondaryTextureCoordinateAC0hi9TransformF0Vvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF","displayName":"Publisher.prepend(_:)"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE03setD6Matrix_10relativeToySo13simd_float4x4a_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE16ForwardDirectionO","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV11customValueACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO9hashValueSivp","target":"s:17RealityFoundation22MaterialParameterTypesV16TriangleFillModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC6heightSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV16inheritsRotationSbvp","target":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasHierarchyPAAE8childrenAA6EntityC15ChildCollectionVvp","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation16EntityCollectionPAAE10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","target":"s:17RealityFoundation16EntityCollectionP10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.replaceAll(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7prependyAA10PublishersO11ConcatenateVy_AF8SequenceVy_Say6OutputQzG7FailureQzGxGALd_tF","displayName":"Publisher.prepend(_:)"}},{"kind":"memberOf","source":"s:STsE4lazys12LazySequenceVyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE4lazys12LazySequenceVyxGvp","displayName":"Sequence.lazy"}},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC8generate11fromLatLong8withNameACSo10CGImageRefa_SSSgtKFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18ShapeResourceErrorO16errorDescriptionSSSgvp","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP16errorDescriptionSSSgvp","displayName":"LocalizedError.errorDescription"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelComponentV9materialsSayAA8Material_pGvp","target":"s:17RealityFoundation14ModelComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V","target":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE4look2at4from8upVector10relativeToys5SIMD3VySfG_A2kA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV17textureCoordinateAC07Textureh9TransformF0Vvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV20fieldOfViewInDegreesSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV4nameSSvp","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV11directivityAA0D0O11DirectivityOvp","target":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryScan(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV8tangentsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V29sizeMultiplierAtEndOfLifespanSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14HasPhysicsBodyP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7tryScanyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryScan(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13ShapeResourceC9hashValueSivp","target":"s:17RealityFoundation13ShapeResourceC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE9fromValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE14bindableValuesAA08BindableE9ReferenceVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV07allowedC5TypesAC0C4TypeVvp","target":"s:17RealityFoundation20InputTargetComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV8fillModeAA0f4FillH0Vvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO9meshChunkyA2EmF","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC5widthSivp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9subscribe2to2on_7Combine11Cancellable_pxm_AA11EventSource_pSgyxctAA0I0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV6offsetSdvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV7normalsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE6sortedSayABGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE6sortedSayABGyF","displayName":"Sequence.sorted()"}},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:STsE6filterySay7ElementQzGSbACKXEKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6filterySay7ElementQzGSbACKXEKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9transform2toAA0D0VAH_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8semanticAC8SemanticOSgvp","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV12radialAmountSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9clearcoatAC9ClearcoatVvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC13generatePlane5width5depth12cornerRadiusACSf_S2ftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO9hashValueSivp","target":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV17emissiveIntensityACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV16opacityThresholdACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV6sourceAC6SourceOvp","target":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceC13generatePlane5width6height12cornerRadiusACSf_S2ftFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV9positionsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation16OpacityComponentV7opacitySfvp","target":"s:17RealityFoundation16OpacityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","target":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"overrides","source":"s:17RealityFoundation17PerspectiveCameraCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO","target":"s:17RealityFoundation24ImageBasedLightComponentV"},{"kind":"memberOf","source":"s:STsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE19underestimatedCountSivp","displayName":"Sequence.underestimatedCount"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10isAdditiveSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneCAAE9subscribe2to2on13componentType_7Combine11Cancellable_pxm_AA11EventSource_pSgAA9Component_pXpSgyxctAA0K0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation16OpacityComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation16OpacityComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC5speedSdvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO4fromAGs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV13emissiveColorACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV15triangleIndicesAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14AnimationGroupV5groupSayAA0C10Definition_pGvp","target":"s:17RealityFoundation14AnimationGroupV"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21SpatialAudioComponentV4gain11directLevel06reverbH011directivityACSd_S2dAA0D0O11DirectivityOtcfc","target":"s:17RealityFoundation21SpatialAudioComponentV"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert6normal2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12opacityCurveAE07OpacityG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation26PerspectiveCameraComponentV3farSfvp","target":"s:17RealityFoundation26PerspectiveCameraComponentV"},{"kind":"memberOf","source":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF","displayName":"Sequence.compactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV15jointInfluencesAcAE05JointG0VSgvp","target":"s:17RealityFoundation12MeshResourceCAAE4PartV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAAs5SIMD3VySfGRszrlE7toValueAFSgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:STs8IteratorSTQzRszrlE04makeA0xyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STs8IteratorSTQzRszrlE04makeA0xyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerCAAE7Decibela","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert8position2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9publisher3for2onAC9PublisherVy_xGxm_AA11EventSource_pSgtAA0H0RzlF","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV18textureCoordinatesAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyAngleV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12ParameterSetV","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation23AudioPlaybackControllerC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"conformsTo","source":"s:17RealityFoundation18ShapeResourceErrorO","target":"s:s5ErrorP","targetFallback":"Swift.Error"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC15ImageBasedLightV17intensityExponentSfvp","target":"s:17RealityFoundation0A8RendererC15ImageBasedLightV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV20anisotropyLevelScaleACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:17RealityFoundation9TransformVAAEyACSo19SPAffineTransform3Dacfc","target":"s:17RealityFoundation9TransformV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV16torusInnerRadiusSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE10parametersAcAE12ParameterSetVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV20anisotropyAngleScaleACvp","target":"s:17RealityFoundation10BindTargetO12MaterialPathV"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV10bitangentsAEvpZ","target":"s:17RealityFoundation11MeshBuffersO10IdentifierV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasTransformPAAE7convert9direction2tos5SIMD3VySfGAI_AA6EntityCSgtF","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation16OpacityComponentV7opacityACSf_tcfc","target":"s:17RealityFoundation16OpacityComponentV"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4noneAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation8HasModelP"},{"kind":"memberOf","source":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Sequence.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV4name4from2to2by8duration6timing10isAdditive10bindTarget10blendLayer10repeatMode04fillT09trimStart0V3End0V8Duration6offset5delay5speedACyxGSS_xSgA2VSdAA0F14TimingFunctionVSbAA04BindP0OSgs5Int32VAA0f6RepeatT0OAA0f4FillT0VSdSgA6_A6_S2dSftcfc","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV6removeyyAA0D0_pXpF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV7trimEndSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP7trimEndSdSgvp","displayName":"AnimationDefinition.trimEnd"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF","displayName":"Publisher.replaceNil(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9stepLimitSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasHierarchyP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10replaceNil4withAA10PublishersO3MapVy_xqd__Gqd___tqd__Sg6OutputRtzlF","displayName":"Publisher.replaceNil(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV2neoiySbAC_ACtFZ","target":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation16EntityCollectionPAAE6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","target":"s:17RealityFoundation16EntityCollectionP6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.append(contentsOf:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV17emissionDirections5SIMD3VySfGvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV8endIndexSivp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl8endIndex0B0Qzvp","displayName":"Collection.endIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE7replace5using7optionsySo10CGImageRefa_AC13CreateOptionsVtYaKF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6valuesAA013AsyncThrowingB0VyxGvp","displayName":"Publisher.values"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV4noneAEvpZ","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV"},{"kind":"conformsTo","source":"s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxVAAEyACSo8SPRect3Dacfc","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation19AnimationRepeatModeO","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV4sideAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceVAGycfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV10startIndexSivp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl10startIndex0B0Qzvp","displayName":"Collection.startIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8RawValuea","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3hasySbAA0D0_pXpF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV14previousParentAA0G0CSgvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentVACycfc","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV8rawValueAESu_tcfc","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV4nameSSvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV5Indexa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl5IndexQa","displayName":"Collection.Index"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValues5UInt8Vvp","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation16EntityCollectionPAAE6appendyyAA0C0CF","target":"s:17RealityFoundation16EntityCollectionP6appendyyAA0C0CF","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6appendyyAA0C0CF","displayName":"EntityCollection.append(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV11SubSequencea","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","swiftConstraints":[{"kind":"conformance","lhs":"Elements","rhs":"Collection","rhsPrecise":"s:Sl"}]},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadModel10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV8RawValuea","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12angularSpeedSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3setyySayAA0D0_pGF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV8rawValueSuvp","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV8durationSdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV4ModeO","target":"s:17RealityFoundation18CollisionComponentV4ModeO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV6bottomAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV9trimStartSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP9trimStartSdSgvp","displayName":"AnimationDefinition.trimStart"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMin(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV8upVectors5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMin2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMin(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15PhysicsBodyModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC14loadModelAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14speedVariationSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV9depthPassAC05DepthG0OSgvp","target":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC6repeat5countACSi_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest3Vy_xqd__qd_0_Gqd_1_Gqd___qd_0_qd_1_6OutputQz_AMQyd__AMQyd_0_tctAaBRd__AaBRd_0_7FailureQyd__AQRtzAQQyd_0_ARRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV5childAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV"},{"kind":"conformsTo","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV19ArrayLiteralElementa","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3max2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE4copy2toySo10MTLTexture_p_tYaKF","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC6repeat8durationACSd_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV13animationModeAG015AnimationRepeatI0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE10dimensions6format8contentsA2cAE12Dimensions2DV_AcAE6FormatVAcAE8ContentsVtYaKcfc","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16triangleFillModeAA0E14ParameterTypesV08TrianglegH0Ovp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation14ModelSortGroupV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMax(by:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMax2byAA10PublishersO13TryComparisonVy_xGSb6OutputQz_ALtKc_tF","displayName":"Publisher.tryMax(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV7Elementa","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation14ModelSortGroupV9depthPassA2C05DepthG0OSg_tcfc","target":"s:17RealityFoundation14ModelSortGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV5countSivp","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV3topAEvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV"},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"conformsTo","source":"s:17RealityFoundation21PhysicsMassPropertiesV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE6valuesAA05AsyncB0VyxGvp","displayName":"Publisher.values"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V21angularSpeedVariationSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV9removeAllyyF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVyACSicip","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sly7ElementQz5IndexQzcip","displayName":"Collection.subscript(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5value0B023LocalizedStringResourceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.min()"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AudioFileGroupResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9clearcoatyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10repeatModeAA0f6RepeatH0Ovp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AJRtzAJQyd_0_AKRSr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribeyAA14AnyCancellableCqd__AA7SubjectRd__7FailureQyd__AHRtz6OutputQyd__AKRtzlF","displayName":"Publisher.subscribe(_:)"}},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3minAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.min()"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV6offsetSdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP6offsetSdvp","displayName":"AnimationDefinition.offset"}},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetVyAA0D0_pSgAaF_pXpcip","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18clearcoatRoughnessyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSIyxG7IndicesRtzrlE7indicesAAvp","displayName":"Collection.indices"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV15collisionFilterAA09CollisionG0Vvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8specularyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation18ShapeResourceErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASL6OutputRpzrlE3maxAA10PublishersO10ComparisonVy_xGyF","displayName":"Publisher.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation26ModelDebugOptionsComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsE9partition2by5IndexQzSb7ElementQzKXE_tKF","displayName":"MutableCollection.partition(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8emissiveyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16ambientOcclusionyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV5JointV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV5speedSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9roughnessyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE10contentsOf8withName7optionsAC0B03URLV_SSSgAC13CreateOptionsVtYaKcfc","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8metallicyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV7Elementa","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalColoryA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15TextureResourceC","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO10finalAlphayA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12stopAllAudioyyF","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3min2byAA10PublishersO10ComparisonVy_xGSb6OutputQz_ALtc_tF","displayName":"Publisher.min(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14ModelSortGroupV9DepthPassO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV16opacityThresholdSfSgvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9baseColoryA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO18textureCoordinatesyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V5angleSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation14HasPhysicsBodyP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV18frameRateVariationSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF","displayName":"Publisher.prefix(untilOutputFrom:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefix15untilOutputFromAA10PublishersO011PrefixUntilE0Vy_xqd__Gqd___tAaBRd__lF","displayName":"Publisher.prefix(untilOutputFrom:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO9bitangentyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label0B023LocalizedStringResourceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO6normalyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO7tangentyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV5speedSfvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:SMsE6swapAtyy5IndexQz_ACtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SMsE6swapAtyy5IndexQz_ACtF","displayName":"MutableCollection.swapAt(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV12trimDurationSdSgvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP12trimDurationSdSgvp","displayName":"AnimationDefinition.trimDuration"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetV3setyyxAA0D0RzlF","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV13defaultRadiusSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV19ArrayLiteralElementa","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8additiveSbvp","target":"s:17RealityFoundation14OrbitAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadModel5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0aD0Vy_xqd__Gqd_0_Gqd___qd_0_6OutputQz_AMQyd__tctAaBRd__7FailureQyd__APRtzr0_lF","displayName":"Publisher.combineLatest(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12prepareAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV16emitterShapeSizes5SIMD3VySfGvp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV8blendingAA015PhysicallyBasedD0V8BlendingOvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV8rawValueAEs5UInt8V_tcfc","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV11descriptionSSvp","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV16defaultSkinWidthSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14OrbitAnimationV8fillModeAA0d4FillF0Vvp","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE8generate4from5named7optionsACSo10CGImageRefa_SSSgAC13CreateOptionsVtYaKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO16lightingSpecularyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV5index5afterS2i_tF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl5index5after5IndexQzAD_tF","displayName":"Collection.index(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V14angleVariationSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV13defaultHeightSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV9frameRateSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC14loadModelAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO15lightingDiffuseyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9playAudioyAA0E18PlaybackControllerCAA0E8ResourceCF","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation20AnimationHandoffTypeV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation6SystemPAAE12dependenciesSayAA0C10DependencyOGvpZ","target":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV17defaultSlopeLimitSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"defaultImplementationOf","source":"s:17RealityFoundation6SystemPAAE6update7contextyAA18SceneUpdateContextV_tF","target":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVACycfc","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC4load5named2inACSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation05SceneA15CoordinateSpaceV","target":"s:17RealityFoundation0A15CoordinateSpaceP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV5delaySdvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV14massPropertiesAA0c4MassG0Vvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation11LoadRequestC","target":"s:7Combine9PublisherP","targetFallback":"Combine.Publisher"},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AudioFileGroupResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14birthDirectionAC05BirthG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex5aftery0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex5aftery0B0Qzz_tF","displayName":"Collection.formIndex(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","displayName":"HasAnchoring.reanchor(_:preservingWorldTransform:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVAAE6insert10contentsOf11beforeIndexyx_SitSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6insert10contentsOf11beforeIndexyqd___SitSTRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.insert(contentsOf:beforeIndex:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC15updateAndRender9deltaTime12cameraOutput13whenScheduled10onComplete013actionsBeforeF00o5AfterF0ySd_AC06CameraJ0VyACcSgAMSayAC16MetalEventActionVGAPtKF","target":"s:17RealityFoundation0A8RendererC"},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceC9loadAsync5named2inAA11LoadRequestCyACGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVAAE6removeyyACF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6removeyyAA0C0CF","displayName":"EntityCollection.remove(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"conformsTo","source":"s:17RealityFoundation18ShapeResourceErrorO","target":"s:10Foundation14LocalizedErrorP","targetFallback":"Foundation.LocalizedError"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentVACycfc","target":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV7gravitys5SIMD3VySfGvp","target":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV5label5value10importanceAE0B023LocalizedStringResourceV_AKSo08AXCustomF10ImportanceVtcfc","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV13moveDirections5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVAAE6append10contentsOfyx_tSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.append(contentsOf:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20InputTargetComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation20InputTargetComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC17completionHandleryycSgvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV16defaultStepLimitSfvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC04findC05namedACSgSS_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV21initialFrameVariationSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV07nearestD6Entity3forAA0G0CSgAG_tFZ","target":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.combineLatest(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation20HasPerspectiveCameraP"},{"kind":"memberOf","source":"s:17RealityFoundation23ModelSortGroupComponentV5orders5Int32Vvp","target":"s:17RealityFoundation23ModelSortGroupComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0aD0Vy_xqd__Gqd__AaBRd__7FailureQyd__AJRtzlF","displayName":"Publisher.combineLatest(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO11autoReverseyA2ImF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyOAAE8RawValuea","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF","displayName":"Publisher.map(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO7loopingyA2ImF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"},{"kind":"inheritsFrom","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation16CollisionCastHitV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath2Vy_xqd__qd_0_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_Gtr0_lF","displayName":"Publisher.map(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO4noneyA2EmF","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVACycfc","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO2eeoiySbAI_AItFZ","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0E4DataRzluip","target":"s:17RealityFoundation12ParameterSetV"},{"kind":"memberOf","source":"s:17RealityFoundation23ModelSortGroupComponentV5group5orderAcA0cdE0V_s5Int32Vtcfc","target":"s:17RealityFoundation23ModelSortGroupComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6modifyyxxSo20MTLSamplerDescriptorCKXEKlF","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV15defaultUpVectors5SIMD3VySfGvpZ","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyOAAE8rawValueAESgSS_tcfc","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC8resourceAA0C8ResourceCvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13birthLocationAC05BirthG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVAAE10replaceAllyyxSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.replaceAll(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueSSvp","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","displayName":"HasAnchoring.anchorIdentifier"}},{"kind":"conformsTo","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyOAAE8rawValueSSvp","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8rawValueAESgSS_tcfc","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF","displayName":"Publisher.assertNoFailure(_:file:line:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19BlendTreeSourceNodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshModelCollectionV9removeAllyyF","target":"s:17RealityFoundation19MeshModelCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO8RawValuea","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation10HasPhysicsP","target":"s:17RealityFoundation16HasPhysicsMotionP"},{"kind":"conformsTo","source":"s:17RealityFoundation18ShapeResourceErrorO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE15assertNoFailure_4file4lineAA10PublishersO06AssertdE0Vy_xGSS_s12StaticStringVSutF","displayName":"Publisher.assertNoFailure(_:file:line:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVAAE9removeAllyyF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP9removeAllyyF","displayName":"EntityCollection.removeAll()"}},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV10importanceSo08AXCustomF10ImportanceVvp","target":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV"},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionFilterV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE8ContentsV12mipmapLevelsAESayAE11MipmapLevelVG_tcfc","target":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionVAAE6remove2atySi_tF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6remove2atySi_tF","displayName":"EntityCollection.remove(at:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV12moveDistanceSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV6accessyxxSo20MTLSamplerDescriptorCKXEKlF","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation23ModelSortGroupComponentV5groupAA0cdE0Vvp","target":"s:17RealityFoundation23ModelSortGroupComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V17lifeSpanVariationSdvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO8playOnceyA2ImF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerC6entityAA6EntityCSgvp","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV12initialFrameSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioPlaybackControllerCAAE4seek2toys8DurationV_tF","target":"s:17RealityFoundation23AudioPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp::SYNTHESIZED::s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12AnchorEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","displayName":"HasAnchoring.anchoring"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO4fromAIs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A9TransformVRszrlE9fromValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO4noneyA2EmF","target":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE10dimensions6format8contentsA2cAE12Dimensions2DV_AcAE6FormatVAcAE8ContentsVtKcfc","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O9hashValueSivp","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV19isTranslationLockedSb1x_Sb1ySb1ztvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVAGycfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF","displayName":"Publisher.contains(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceEmpty(with:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","target":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASQ6OutputRpzrlE8containsyAA10PublishersO8ContainsVy_xGAEF","displayName":"Publisher.contains(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceEmpty4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceEmpty(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO5blendyAeA19EnvironmentResourceC_AHSftcAEmF","target":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O10compatibleyA2EmF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO6singleyAeA19EnvironmentResourceCcAEmF","target":"s:17RealityFoundation24ImageBasedLightComponentV6SourceO"},{"kind":"inheritsFrom","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV11hitPositions5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O30sessionProtocolVersionMismatchyA2EmF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV11columnCountSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerVyAGSo20MTLSamplerDescriptorCcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"conformsTo","source":"s:17RealityFoundation16SystemDependencyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation22AudioFileGroupResourceC","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8generate4from8withName7optionsACSo10CGImageRefa_SSSgAC13CreateOptionsVtKFZ","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVAASo10simd_quatfaRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation19EnvironmentResourceCAAE5named2inACSS_So8NSBundleCSgtYaKcfc","target":"s:17RealityFoundation19EnvironmentResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsySayACG_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV8materialAA0C16MaterialResourceCvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23BindableValuesReferenceVyAA0C5ValueVyxGSgAA10BindTargetO_xmtcAA0C4DataRzluip","target":"s:17RealityFoundation23BindableValuesReferenceV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceError(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE12replaceError4withAA10PublishersO07ReplaceD0Vy_xG6OutputQz_tF","displayName":"Publisher.replaceError(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE4load5named2inACSS_So8NSBundleCSgtYaKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV_7samplerAeA0E8ResourceC_AE7SamplerVtcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureVyAeA0E8ResourceCcfc","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF","displayName":"Publisher.encode(encoder:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24GroundingShadowComponentV05castsD0ACSb_tcfc","target":"s:17RealityFoundation24GroundingShadowComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitNormals5SIMD3VySfGvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAASE6OutputRpzrlE6encode7encoderAA10PublishersO6EncodeVy_xqd__Gqd___tAA15TopLevelEncoderRd__lF","displayName":"Publisher.encode(encoder:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF","displayName":"Publisher.map(_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append_24preservingWorldTransformyAC_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO11MapKeyPath3Vy_xqd__qd_0_qd_1_Gs0F4PathCy6OutputQzqd__G_AKyAMqd_0_GAKyAMqd_1_Gtr1_lF","displayName":"Publisher.map(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV8rowCountSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation5AudioO11DirectivityO","target":"s:17RealityFoundation5AudioO"},{"kind":"memberOf","source":"s:SKsE4last7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE4last7ElementQzSgvp","displayName":"BidirectionalCollection.last"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5UInt8VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12ParameterSetVyAA13BindableValueVyxGSgSS_xmtcAA0F4DataRzluip","target":"s:17RealityFoundation6EntityCAAE12ParameterSetV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation05SceneA15CoordinateSpaceVACycfc","target":"s:17RealityFoundation05SceneA15CoordinateSpaceV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO6DidAddV"},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeCACycfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV5speedSdvp","target":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV3anyAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"conformsTo","source":"s:17RealityFoundation8ResourceP","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyLevelAC010AnisotropyG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.debounce(for:scheduler:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeC5shape6filterAcA13ShapeResourceC_AA15CollisionFilterVtcfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"overrides","source":"s:17RealityFoundation13TriggerVolumeCACycfc","target":"s:17RealityFoundation6EntityCACycfc"},{"kind":"memberOf","source":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE4last5where7ElementQzSgSbADKXE_tKF","displayName":"BidirectionalCollection.last(where:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8debounce3for9scheduler7optionsAA10PublishersO8DebounceVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0I7OptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.debounce(for:scheduler:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5startSdvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC15ImageBasedLightV","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:17RealityFoundation0A15CoordinateSpacePA2A05SceneacD0VRszrlE5sceneAEvpZ","target":"s:17RealityFoundation0A15CoordinateSpaceP"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV7originYSdvp","target":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyx_SbtSTRzAC7ElementRczlF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV9deltaTimeSdvp","target":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO11DidActivateV"},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9loadAsync10contentsOf8withNameAA11LoadRequestCyACG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation18ShapeResourceErrorO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.zip(_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6append10contentsOf25preservingWorldTransformsyAE_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV16simulationEntityAA0I0Cvp","target":"s:17RealityFoundation23PhysicsSimulationEventsO11DidSimulateV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3zipyAA10PublishersO3MapVy_AF4Zip4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.zip(_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV9hashValueSivp","target":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV_08animatedD0ACyxGx_xSgtcfc","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC8lightingAC15ImageBasedLightVvp","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV5countSivp","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentVACycfc","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20VideoPlayerComponentV18desiredViewingModeAA0C18PlaybackControllerCAAE0gH0Ovp","target":"s:17RealityFoundation20VideoPlayerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV6normal_05pixelE0A2E14NormalEncodingO_So08MTLPixelE0VtFZ","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6remove_24preservingWorldTransformyAC_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13TriggerVolumeC6shapes6filterACSayAA13ShapeResourceCG_AA15CollisionFilterVtcfc","target":"s:17RealityFoundation13TriggerVolumeC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV12emitterShapeAC0dG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation22AudioFileGroupResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV5valuexvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tSTRd__AA14SortComparatorRd_0_ADQyd__Rsd_0_8ComparedQyd_0_AERSr0_lF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC7defaultACvpZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16ambientOcclusionAC07AmbientG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV6remove2at24preservingWorldTransformySi_SbtF","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation27SceneUnderstandingComponentVAAE6OriginO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF","displayName":"Publisher.tryCompactMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV7isMutedSbvp","target":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation20VideoPlayerComponentV16playerScreenSizes5SIMD2VySfGvp","target":"s:17RealityFoundation20VideoPlayerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV7Elementa","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryCompactMapyAA10PublishersO03TrydE0Vy_xqd__Gqd__Sg6OutputQzKclF","displayName":"Publisher.tryCompactMap(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation19AnimationRepeatModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV5color_05pixelE0A2E10ColorSpaceO_So08MTLPixelE0VtFZ","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"memberOf","source":"s:17RealityFoundation19AudioBufferResourceC13ConfigurationV","target":"s:17RealityFoundation19AudioBufferResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5BeganV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"memberOf","source":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"BidirectionalCollection.index(_:offsetBy:limitedBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV7Elementa","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV9deltaTimeSdvp","target":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV"},{"kind":"memberOf","source":"s:SKsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8distance4from2toSi5IndexQz_AEtF","displayName":"BidirectionalCollection.distance(from:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV7originXSdvp","target":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV13frameIntervalSfvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAeA0E10ParametersV7TextureVSg_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF","displayName":"Publisher.compactMap(_:)"}},{"kind":"memberOf","source":"s:SKsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE6suffixy11SubSequenceQzSiF","displayName":"BidirectionalCollection.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV14BirthDirectionO","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF","displayName":"Publisher.output(in:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV16simulationEntityAA0I0Cvp","target":"s:17RealityFoundation23PhysicsSimulationEventsO12WillSimulateV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10compactMapyAA10PublishersO07CompactD0Vy_xqd__Gqd__Sg6OutputQzclF","displayName":"Publisher.compactMap(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2inAA10PublishersO6OutputVy_xGqd___tSXRd__Si5BoundRtd__lF","displayName":"Publisher.output(in:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF","displayName":"Publisher.output(at:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO7UpdatedV","target":"s:17RealityFoundation15CollisionEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6output2atAA10PublishersO6OutputVy_xGSi_tF","displayName":"Publisher.output(at:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12activeCameraAA6EntityCSgvp","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO6DidAddV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13SpawnOccasionO","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SKsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE8dropLasty11SubSequenceQzSiF","displayName":"BidirectionalCollection.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20VideoPlayerComponentV11viewingModeAA0C18PlaybackControllerCAAE07ViewingG0OSgvp","target":"s:17RealityFoundation20VideoPlayerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation0A15CoordinateSpaceP"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13massVariationSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"requirementOf","source":"s:17RealityFoundation18MeshBufferSemanticP7ElementQa","target":"s:17RealityFoundation18MeshBufferSemanticP"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV5sceneAA0C0Cvp","target":"s:17RealityFoundation11SceneEventsO6UpdateV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC9PublisherV7receive10subscriberyqd___t5InputQyd__Rsz7Combine10SubscriberRd__s5NeverO7FailureRtd__lF","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherP7receive10subscriberyqd___tAA10SubscriberRd__7FailureQyd__AGRtz5InputQyd__6OutputRtzlF","displayName":"Publisher.receive(subscriber:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF","displayName":"Publisher.last()"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV04baseD0xvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8rawValues6UInt64Vvp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4lastAA10PublishersO4LastVy_xGyF","displayName":"Publisher.last()"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0D5ShapeO","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"conformsTo","source":"s:17RealityFoundation09BlendTreeC4NodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV4wallAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV9hashValueSivp","target":"s:17RealityFoundation13AudioMixGroupV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV13BirthLocationO","target":"s:17RealityFoundation24ParticleEmitterComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7SamplerV","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO10autoAcceptyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8rawValueAGs6UInt64V_tcfc","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO6manualyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8durationSdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","displayName":"AnimationDefinition.duration"}},{"kind":"conformsTo","source":"s:17RealityFoundation20BlendTreeInvalidNodeV","target":"s:17RealityFoundation13BlendTreeNodeP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15anisotropyAngleAC010AnisotropyG0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"conformsTo","source":"s:17RealityFoundation8BindPathV4PartO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt16VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:SlsE19underestimatedCountSivp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE19underestimatedCountSivp","displayName":"Collection.underestimatedCount"}},{"kind":"conformsTo","source":"s:17RealityFoundation19AudioBufferResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20VideoPlayerComponentV06screenC9Dimensions5SIMD2VySfGvp","target":"s:17RealityFoundation20VideoPlayerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O7invalidyA2GmF","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2idSSvp","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation21HasSceneUnderstandingPAAE05sceneE0AA0dE9ComponentVvp","target":"s:17RealityFoundation21HasSceneUnderstandingP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE3mapyAA10PublishersO3MapVy_xqd__Gqd__6OutputQzclF","displayName":"Publisher.map(_:)"}},{"kind":"memberOf","source":"s:SKsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE5index_8offsetBy5IndexQzAD_SitF","displayName":"BidirectionalCollection.index(_:offsetBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11BoundingBoxV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV19ArrayLiteralElementa","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV8RawValuea","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV3raw05pixelE0AESo08MTLPixelE0V_tFZ","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV02isC7ElementSbvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO6staticyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O6stereoyA2GmF","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O9immersiveyA2GmF","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O"},{"kind":"memberOf","source":"s:17RealityFoundation20VideoPlayerComponentV27isPassthroughTintingEnabledSbvp","target":"s:17RealityFoundation20VideoPlayerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV4nameSSvp","target":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO9kinematicyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC14cameraSettingsAC06CameraE0Vvp","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O4monoyA2GmF","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV","target":"s:17RealityFoundation15TextureResourceCAAE8ContentsV"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO7dynamicyA2CmF","target":"s:17RealityFoundation15PhysicsBodyModeO"},{"kind":"conformsTo","source":"s:17RealityFoundation17AudioFileResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6entityAA6EntityCvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V8lifeSpanSdvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO9hashValueSivp","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE8shuffled5usingSay7ElementQzGqd__z_tSGRd__lF","displayName":"Sequence.shuffled(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AudioFileGroupResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererCACyKcfc","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.tryCatch(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV5coloryAGSo10CGColorRefaFZ","target":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV7ceilingAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE8tryCatchyAA10PublishersO03TryD0Vy_xqd__Gqd__7FailureQzKcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.tryCatch(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13BindableValueV08animatedD0xSgvp","target":"s:17RealityFoundation13BindableValueV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV4gainSdvp","target":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV"},{"kind":"memberOf","source":"s:17RealityFoundation20VideoPlayerComponentV02avD0ACSo8AVPlayerC_tcfc","target":"s:17RealityFoundation20VideoPlayerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15PhysicsBodyModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15PhysicsBodyModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV","target":"s:17RealityFoundation18MaterialParametersV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC8generate8friction11restitutionACSf_SftFZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4load10contentsOf8withNameAC0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsE9lastIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"BidirectionalCollection.lastIndex(where:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV13outputTextureAGyFZ","target":"s:17RealityFoundation0A8RendererC14CameraSettingsV15ColorBackgroundV"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC6updateyySdKF","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV5tableAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation20HasPerspectiveCameraP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV5floorAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV3endSdvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentVACycfc","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV3mip12unsafeBuffer6offset4size11bytesPerRowAGSo9MTLBuffer_p_S3itFZ","target":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE10jointNames4name15isScaleAnimated0l8RotationN00l11TranslationN04from2to2by8duration6timing0L8Additive10bindTarget10blendLayer10repeatMode8fillMode9trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SSS3bAESgA1_A1_SdAA0F14TimingFunctionVSbAA04BindX0OSgs5Int32VAA0F10RepeatModeOAA0F8FillModeVSdSgA13_A13_S2dSftcfc","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO11ElementTypeO","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14SimpleMaterialV","target":"s:17RealityFoundation14SimpleMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13UnlitMaterialV","target":"s:17RealityFoundation13UnlitMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation14PortalMaterialV","target":"s:17RealityFoundation14PortalMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation23PhysicallyBasedMaterialV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation17OcclusionMaterialV","target":"s:17RealityFoundation17OcclusionMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5Int32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.catch(_:)"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP10helpAnchorSSSgvp","displayName":"LocalizedError.helpAnchor"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16MetalEventActionV","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation14SimpleMaterialV","target":"s:17RealityFoundation14SimpleMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","displayName":"Material.name"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV3mip4data11bytesPerRowAG0B04DataV_SitFZ","target":"s:17RealityFoundation15TextureResourceCAAE8ContentsV11MipmapLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5index5afterS2i_tF","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5index5after5IndexQzAD_tF","displayName":"BidirectionalCollection.index(after:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation13UnlitMaterialV","target":"s:17RealityFoundation13UnlitMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","displayName":"Material.name"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation14PortalMaterialV","target":"s:17RealityFoundation14PortalMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","displayName":"Material.name"}},{"kind":"memberOf","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV9requesterAA0C6PeerID_pvp","target":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV5label0B023LocalizedStringResourceVSgvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation17OcclusionMaterialV","target":"s:17RealityFoundation17OcclusionMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","displayName":"Material.name"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5catchyAA10PublishersO5CatchVy_xqd__Gqd__7FailureQzcAaBRd__6OutputQyd__ALRtzlF","displayName":"Publisher.catch(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV5index6beforeS2i_tF","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK5index6before5IndexQzAD_tF","displayName":"BidirectionalCollection.index(before:)"}},{"kind":"memberOf","source":"s:SKsE9formIndex6beforey0B0Qzz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SK9formIndex6beforey0B0Qzz_tF","displayName":"BidirectionalCollection.formIndex(before:)"}},{"kind":"memberOf","source":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6sorted5usingSay7ElementQzGqd___tAA14SortComparatorRd__8ComparedQyd__AERSlF","displayName":"Sequence.sorted(using:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation27SceneUnderstandingComponentV10EntityTypeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation20VideoPlayerComponentV02avD0So8AVPlayerCSgvp","target":"s:17RealityFoundation20VideoPlayerComponentV"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SKsSQ7ElementRpzrlE9lastIndex2of0C0QzSgAB_tF","displayName":"BidirectionalCollection.lastIndex(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation23PhysicallyBasedMaterialV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","displayName":"Material.name"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV","target":"s:17RealityFoundation19ShaderGraphMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV","target":"s:17RealityFoundation19ShaderGraphMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","displayName":"Material.name"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP10helpAnchorSSSgvp","displayName":"LocalizedError.helpAnchor"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV9hashValueSivp","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation23PhysicallyBasedMaterialV","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6radius6height9skinWidth10slopeLimit04stepK08upVector15collisionFilterACSf_S4fs5SIMD3VySfGAA09CollisionP0Vtcfc","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE6filterySay7ElementQzGAA9PredicateVyAD_QPGKF","displayName":"Sequence.filter(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV03newG0AE0fG0Ovp","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO8polygonsyAESays5UInt8VG_Says6UInt32VGtcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE18currentViewingModeAcAE0gH0OSgvp","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE10helpAnchorSSSgvp::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP10helpAnchorSSSgvp","displayName":"LocalizedError.helpAnchor"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSi_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO9trianglesyAESays6UInt32VGcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityC5plane14classification13minimumBoundsAcA18AnchoringComponentV6TargetO9AlignmentV_AJ14ClassificationVs5SIMD2VySfGtcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13billboardModeAE09BillboardG0Ovp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioMixGroupsComponentV8mixGroup5namedAA0cdH0VSgSS_tF","target":"s:17RealityFoundation23AudioMixGroupsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVyACxcSTRzAA9TransformV7ElementRtzlufc","target":"s:17RealityFoundation15JointTransformsV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV08previousG0AE0fG0Ovp","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7byValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO17trianglesAndQuadsyAESays6UInt32VG_AItcAEmF","target":"s:17RealityFoundation14MeshDescriptorV10PrimitivesO"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV26textureCoordinateTransformAA0E14ParameterTypesV07TexturegH0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","target":"s:17RealityFoundation20HasPerspectiveCameraP"},{"kind":"conformsTo","source":"s:17RealityFoundation15PhysicsBodyModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicsMaterialResourceC8generate14staticFriction07dynamicH011restitutionACSf_S2ftFZ","target":"s:17RealityFoundation23PhysicsMaterialResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6radiusSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE8repeated5countxSd_tF","displayName":"AnimationDefinition.repeated(count:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetByy0B0Qzz_SitF","displayName":"Collection.formIndex(_:offsetBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15loadAnchorAsync10contentsOf8withNameAA11LoadRequestCyAA0eC0CG0B03URLV_SSSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF","displayName":"Publisher.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceC4nameSSSgvp","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioMixGroupsComponentV6remove5namedySS_tF","target":"s:17RealityFoundation23AudioMixGroupsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV12arrayLiteralAcA9TransformVd_tcfc","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5speedSfvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5speedSfvp","displayName":"AnimationDefinition.speed"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6prefixyAA10PublishersO6OutputVy_xGSiF","displayName":"Publisher.prefix(_:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation6EntityC"},{"kind":"conformsTo","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF","displayName":"Publisher.share()"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP8durationSdvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"conformsTo","source":"s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5shareAA10PublishersO5ShareCy_xGyF","displayName":"Publisher.share()"}},{"kind":"memberOf","source":"s:17RealityFoundation17PerspectiveCameraCACycfc","target":"s:17RealityFoundation17PerspectiveCameraC"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlE8elements7indicesACyAEGSayAEG_AItcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO11autoReverseyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV19ArrayLiteralElementa","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV18playbackControllerAA0ceH0Cvp","target":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV"},{"kind":"memberOf","source":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9formIndex_8offsetBy07limitedD0Sb0B0Qzz_SiAEtF","displayName":"Collection.formIndex(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23AudioMixGroupsComponentV3setyyAA0cD5GroupVF","target":"s:17RealityFoundation23AudioMixGroupsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO","target":"s:17RealityFoundation8BindPathV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id5partsAESS_SayAcAE4PartVGtcfc","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO10cumulativeyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV6anchorAA12HasAnchoring_pvp","target":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO6repeatyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","displayName":"MeshBufferContainer.textureCoordinates"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE7trimmed5start3end8durationxSdSg_A2HtF","displayName":"AnimationDefinition.trimmed(start:end:duration:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO7perFaceyAESays6UInt32VGcAEmF","target":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6reduceyAA10PublishersO6ReduceVy_xqd__Gqd___qd__qd___6OutputQztctlF","displayName":"Publisher.reduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV5value0B023LocalizedStringResourceVSgvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsVACycfc","target":"s:17RealityFoundation15JointTransformsV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE18textureCoordinatesAA0cD0Vys5SIMD2VySfGGSgvp","displayName":"MeshBufferContainer.textureCoordinates"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO4noneyA2CmF","target":"s:17RealityFoundation19AnimationRepeatModeO"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV5partsSayAC4PartOGvp","target":"s:17RealityFoundation8BindPathV"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp","displayName":"Error.localizedDescription"}},{"kind":"memberOf","source":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp","displayName":"Error.localizedDescription"}},{"kind":"memberOf","source":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:s5ErrorP10FoundationE20localizedDescriptionSSvp","displayName":"Error.localizedDescription"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs6UInt32VRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV11elementTypeAA0D7BuffersO07ElementG0Ovp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioMixGroupsComponentV03mixE0ACSayAA0cD5GroupVG_tcfc","target":"s:17RealityFoundation23AudioMixGroupsComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14MeshDescriptorV9MaterialsO8allFacesyAEs6UInt32VcAEmF","target":"s:17RealityFoundation14MeshDescriptorV9MaterialsO"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO10WillRemoveV"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V4massSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputVyA2E10DescriptorVKcfc","target":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O8rawValues5UInt8Vvp","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE7toValueAESgvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityC5worldACSo13simd_float4x4a_tcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO9hashValueSivp","target":"s:17RealityFoundation24SynchronizationComponentV21OwnershipTransferModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationFillModeV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7flatMap13maxPublishers_AA0F0O04FlatD0Vy_qd_0_xGAA11SubscribersO6DemandV_qd_0_6OutputQzctAOQyd_0_Rsd__AaBRd_0_7FailureQyd_0_ARRtzr0_lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV4rateAA0D7BuffersO4RateOvp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV5delaySdvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP5delaySdvp","displayName":"AnimationDefinition.delay"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE20preferredViewingModeAcAE0gH0Ovp","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationSS7ElementRtzrlE9formattedSSyF","displayName":"Sequence.formatted()"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV02isE0Sbvp","target":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV6heightSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGSaySfGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy5IndexQzAD_SitF","displayName":"Collection.index(_:offsetBy:)"}},{"kind":"inheritsFrom","source":"s:17RealityFoundation21HasSceneUnderstandingP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityC5worldACs5SIMD3VySfG_tcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy5IndexQzAD_SitF","displayName":"Collection.index(_:offsetBy:)"}},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy5IndexQzAD_SitF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy5IndexQzAD_SitF","displayName":"Collection.index(_:offsetBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2IDa","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV6normals5SIMD3VySfGvp","target":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV9deltaTimeSdvp","target":"s:17RealityFoundation11SceneEventsO6UpdateV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV9viewportsSayAE16RelativeViewportVGvp","target":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV7Elementa","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV3getyAA0dE0VyxGSgxmlF","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC8SemanticO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O8rawValueAGSgs5UInt8V_tcfc","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SY8rawValuexSg03RawB0Qz_tcfc","displayName":"RawRepresentable.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O8RawValuea","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationRepeatModeO9hashValueSivp","target":"s:17RealityFoundation19AnimationRepeatModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF","displayName":"Publisher.tryMap(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlE8elements7indicesACySfGSaySfG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityCyAcA18AnchoringComponentV6TargetOcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE6tryMapyAA10PublishersO03TryD0Vy_xqd__Gqd__6OutputQzKclF","displayName":"Publisher.tryMap(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE9positionsAA0cD0Vys5SIMD3VySfGGvp","target":"s:17RealityFoundation19MeshBufferContainerP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV5partsAA0C14PartCollectionVvp","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.bitangents"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation13AnimationViewV","target":"s:17RealityFoundation13AnimationViewV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation18BlendTreeAnimationV","target":"s:17RealityFoundation18BlendTreeAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation16SampledAnimationV","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation17FromToByAnimationV","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14AnimationGroupV","target":"s:17RealityFoundation14AnimationGroupV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF::SYNTHESIZED::s:17RealityFoundation14OrbitAnimationV","target":"s:17RealityFoundation14OrbitAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionPAAE16repeatingForeverxyF","displayName":"AnimationDefinition.repeatingForever()"}},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"Collection.index(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE10bitangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.bitangents"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"Collection.index(_:offsetBy:limitedBy:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF","displayName":"Collection.trimmingPrefix(_:)"}},{"kind":"memberOf","source":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5index_8offsetBy07limitedC05IndexQzSgAE_SiAEtF","displayName":"Collection.index(_:offsetBy:limitedBy:)"}},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V9faceIndexSivp","target":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC12ComponentSetVyxSgxmcAA0D0Rzluip","target":"s:17RealityFoundation6EntityC12ComponentSetV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV5sheenAC10SheenColorVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV","target":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV2idAA0D7BuffersO10IdentifierVvp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO9DidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13customContentSayAC06CustomF0VGvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP16errorDescriptionSSSgvp","displayName":"LocalizedError.errorDescription"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV4fade2to8durationySd_SdtF","target":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE8generate4withAcA0C10Definition_p_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V4sizeSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV","target":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V2uvs5SIMD2VySfGvp","target":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF","displayName":"Collection.trimmingPrefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASfRszlEyACySfGqd__cSTRd__Sf7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE7flatMap13maxPublishers_AA0H0O04FlatF0Vy_qd__AK03SetD4TypeVy_xAFQyd__GGAA11SubscribersO6DemandV_qd__6OutputQzctAaBRd__lF","displayName":"Publisher.flatMap(maxPublishers:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE16errorDescriptionSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP16errorDescriptionSSSgvp","displayName":"LocalizedError.errorDescription"}},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE14trimmingPrefixy11SubSequenceQzqd__STRd__ABQyd__ACRSlF","displayName":"Collection.trimmingPrefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityCACycfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV6NormalV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV4nameACSS_tcfc","target":"s:17RealityFoundation13AudioMixGroupV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE5store2inyAA6EntityC_tF","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV13colorTexturesSaySo10MTLTexture_pGvp","target":"s:17RealityFoundation0A8RendererC12CameraOutputV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10loadAnchor5named2inAA0eC0CSS_So8NSBundleCSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9skinWidthSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22CollisionCastQueryTypeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV8position6normalAEs5SIMD3VySfG_AJtcfc","target":"s:17RealityFoundation15PortalComponentV13ClippingPlaneV"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8rawValueAGs5UInt8V_tcfc","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV9tweenModeAA05TweenF0Ovp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AnyMeshBufferV5countSivp","target":"s:17RealityFoundation13AnyMeshBufferV"},{"kind":"memberOf","source":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingE14trimmingPrefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.trimmingPrefix(while:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.combineLatest(_:_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV35secondaryTextureCoordinateTransformAA0E14ParameterTypesV0ghI0Vvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGSaySdGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO3MapVy_AF0A7Latest4Vy_xqd__qd_0_qd_1_Gqd_2_Gqd___qd_0_qd_1_qd_2_6OutputQz_AMQyd__AMQyd_0_AMQyd_1_tctAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__ARRtzARQyd_0_ASRSARQyd_1_AURSr2_lF","displayName":"Publisher.combineLatest(_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV"},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE5group4withACSayACG_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"Sequence.formatted(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC8entitiesAC16EntityCollectionVvp","target":"s:17RealityFoundation0A8RendererC"},{"kind":"conformsTo","source":"s:17RealityFoundation27AnimationPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF","displayName":"Collection.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO10WillRemoveV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV19ArrayLiteralElementa","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13systemActionsAC09SupportedF0Vvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"memberOf","source":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Slss16IndexingIteratorVyxG0B0RtzrlE04makeB0ACyF","displayName":"Collection.makeIterator()"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP13failureReasonSSSgvp","displayName":"LocalizedError.failureReason"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP13failureReasonSSSgvp","displayName":"LocalizedError.failureReason"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15loadAnchorAsync5named2inAA11LoadRequestCyAA0eC0CGSS_So8NSBundleCSgtFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.tangents"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE13failureReasonSSSgvp::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP13failureReasonSSSgvp","displayName":"LocalizedError.failureReason"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlE8elements7indicesACySdGSaySdG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE8tangentsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.tangents"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE8sequence4withACSayACG_tKFZ","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE8distance4from2toSi5IndexQz_AEtF","displayName":"Collection.distance(from:to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE18desiredViewingModeAcAE0gH0Ovp","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE8distance4from2toSi5IndexQz_AEtF","displayName":"Collection.distance(from:to:)"}},{"kind":"memberOf","source":"s:SlsE8distance4from2toSi5IndexQz_AEtF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE8distance4from2toSi5IndexQz_AEtF","displayName":"Collection.distance(from:to:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV4fromAGs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV10horizontalAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF","displayName":"Publisher.timeout(_:scheduler:options:customError:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13sizeVariationSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE7timeout_9scheduler7options11customErrorAA10PublishersO7TimeoutVy_xqd__G17SchedulerTimeType_6StrideQYd___qd__0J7OptionsQyd__Sg7FailureQzycSgtAA0J0Rd__lF","displayName":"Publisher.timeout(_:scheduler:options:customError:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV6entityAA0G0Cvp","target":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV"},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP18recoverySuggestionSSSgvp","displayName":"LocalizedError.recoverySuggestion"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","target":"s:17RealityFoundation17FromToByAnimationV"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","target":"s:Se","targetFallback":"Swift.Decodable"},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation18ShapeResourceErrorO","target":"s:17RealityFoundation18ShapeResourceErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP18recoverySuggestionSSSgvp","displayName":"LocalizedError.recoverySuggestion"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8RawValuea","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:10Foundation14LocalizedErrorPAAE18recoverySuggestionSSSgvp::SYNTHESIZED::s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","sourceOrigin":{"identifier":"s:10Foundation14LocalizedErrorP18recoverySuggestionSSSgvp","displayName":"LocalizedError.recoverySuggestion"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO7grantedyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO11DidActivateV"},{"kind":"conformsTo","source":"s:17RealityFoundation22AudioFileGroupResourceC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"conformsTo","source":"s:17RealityFoundation14CollisionGroupV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8rawValues5UInt8Vvp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAASdRszlEyACySdGqd__cSTRd__Sd7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation10BindTargetO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV10slopeLimitSfvp","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO8timedOutyA2EmF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10loadAnchor10contentsOf8withNameAA0eC0C0B03URLV_SSSgtKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV2id11descriptorsAESS_SayAA0C10DescriptorVGtKcfc","target":"s:17RealityFoundation12MeshResourceCAAE5ModelV"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV8verticalAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV"},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10repeatModeAA0d6RepeatF0Ovp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10repeatModeAA0c6RepeatF0Ovp","displayName":"AnimationDefinition.repeatMode"}},{"kind":"memberOf","source":"s:17RealityFoundation23VideoPlaybackControllerCAAE16currentImageSizeSo6CGSizeVSgvp","target":"s:17RealityFoundation23VideoPlaybackControllerC"},{"kind":"memberOf","source":"s:17RealityFoundation12AnchorEntityCAAE_12trackingModeAcA18AnchoringComponentV6TargetO_AfAE08TrackingF0Vtcfc","target":"s:17RealityFoundation12AnchorEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AnimationResourceCAAE10definitionAA0C10Definition_pvp","target":"s:17RealityFoundation17AnimationResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV9hashValueSivp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationSpaceO","target":"s:SE","targetFallback":"Swift.Encodable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13combineLatestyAA10PublishersO0A7Latest4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AJRtzAJQyd_0_AKRSAJQyd_1_AMRSr1_lF","displayName":"Publisher.combineLatest(_:_:_:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE13randomElement5using0B0QzSgqd__z_tSGRd__lF","displayName":"Collection.randomElement(using:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryReduce(_:_:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:17RealityFoundation15JointTransformsV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryReduceyAA10PublishersO03TryD0Vy_xqd__Gqd___qd__qd___6OutputQztKctlF","displayName":"Publisher.tryReduce(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV13customActionsSay0B023LocalizedStringResourceVGvp","target":"s:17RealityFoundation22AccessibilityComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV10dimensions5width6heightAESi_SitFZ","target":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV"},{"kind":"conformsTo","source":"s:17RealityFoundation11MeshBuffersO10IdentifierV","target":"s:s23CustomStringConvertibleP","targetFallback":"Swift.CustomStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV6entityAA6EntityCvp","target":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV"},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceCAAE4PartV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.normals"}},{"kind":"memberOf","source":"s:SlsE13randomElement0B0QzSgyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE13randomElement0B0QzSgyF","displayName":"Collection.randomElement()"}},{"kind":"memberOf","source":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp::SYNTHESIZED::s:17RealityFoundation14MeshDescriptorV","target":"s:17RealityFoundation14MeshDescriptorV","sourceOrigin":{"identifier":"s:17RealityFoundation19MeshBufferContainerPAAE7normalsAA0cD0Vys5SIMD3VySfGGSgvp","displayName":"MeshBufferContainer.normals"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV13componentTypeAA0C0_pXpvp","target":"s:17RealityFoundation15ComponentEventsO9DidChangeV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC9subscribe2to2on13componentType_AA17EventSubscriptionVxm_AA0I6Source_pSgAA9Component_pXpSgyxctAA0I0RzlF","target":"s:17RealityFoundation0A8RendererC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO9hashValueSivp","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materials14collisionShape4massAcA12MeshResourceC_SayAA8Material_pGAA0hK0CSftcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8RawValuea","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF","displayName":"Publisher.merge(with:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV13CustomContentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.firstRange(of:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_AA10PublishersO6Merge3Vy_xqd__qd_0_Gqd___qd_0_tAaBRd__AaBRd_0_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSr0_lF","displayName":"Publisher.merge(with:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8rawValues6UInt32Vvp","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO4headyA2EmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.firstRange(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV9roughnessAA0D15ScalarParameterOvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE18isRotationAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:Sl17_StringProcessingSQ7ElementRpzrlE10firstRange2ofSny5IndexQzGSgqd___tSlRd__ABQyd__ACRSlF","displayName":"Collection.firstRange(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21ChannelAudioComponentV4gainSdvp","target":"s:17RealityFoundation21ChannelAudioComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV8rawValueACs6UInt32V_tcfc","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11mipmapsModeAC07MipmapsI0Ovp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC0D0O","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE07physicsE0AA0dE9ComponentVSgvp","displayName":"HasPhysicsBody.physicsBody"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation6SystemPAAE08registerC0yyFZ","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materialsAcA12MeshResourceC_SayAA8Material_pGtcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVA2A0C14JointInfluenceVRszlEyACyAEGqd__cSTRd__AE7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9hashValueSivp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV9hashValueSivp","target":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV19ArrayLiteralElementa","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8InstanceV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityCACycfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO9hashValueSivp","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12accelerations5SIMD3VySfGvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVA2A0C14JointInfluenceVRszlE8elements7indicesACyAEGSayAEG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"conformsTo","source":"s:17RealityFoundation15TextureResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO9hashValueSivp","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation21ChannelAudioComponentV6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation21ChannelAudioComponentV","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12MeshResourceCAAE5ModelV","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE15isScaleAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE19applyAngularImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.applyAngularImpulse(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21SystemUpdateConditionV9renderingACvpZ","target":"s:17RealityFoundation21SystemUpdateConditionV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21ChannelAudioComponentV9hashValueSivp","target":"s:17RealityFoundation21ChannelAudioComponentV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV7Elementa","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:SlsE5first7ElementQzSgvp::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5first7ElementQzSgvp","displayName":"Collection.first"}},{"kind":"memberOf","source":"s:17RealityFoundation18SceneUpdateContextV9deltaTimeSdvp","target":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentV10entityTypeAC06EntityG0OSgvp","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV8metallicAA0D15ScalarParameterOvp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation11ModelEntityC4mesh9materials15collisionShapes4massAcA12MeshResourceC_SayAA8Material_pGSayAA05ShapeK0CGSftcfc","target":"s:17RealityFoundation11ModelEntityC"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5usageSo15MTLTextureUsageVvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation21ChannelAudioComponentV4fromACs7Decoder_p_tKcfc","target":"s:17RealityFoundation21ChannelAudioComponentV","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE6shapes8isStatic6filterACSayAA13ShapeResourceCG_SbAA0C6FilterVtcfc","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV4onceAEvpZ","target":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE9anchoringAA0D9ComponentVvp","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE12applyImpulse_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","displayName":"HasPhysicsBody.applyImpulse(_:at:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE8isStaticSbvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO9displayP3yA2GmF","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V14spreadingAngleSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation17AudioFileResourceC","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8SpecularV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV10continuousAEvpZ","target":"s:17RealityFoundation18AnchoringComponentVAAE12TrackingModeV"},{"kind":"memberOf","source":"s:17RealityFoundation27SceneUnderstandingComponentVACycfc","target":"s:17RealityFoundation27SceneUnderstandingComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6appendyyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshBufferSemanticP","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfySayAA12HasAnchoring_pG_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE3mapySayqd__Gqd__7ElementQzKXEKlF","displayName":"Collection.map(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV8avPlayerACSo8AVPlayerC_tcfc","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV16singleProjection12colorTextureAGSo10MTLTexture_p_tFZ","target":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV"},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE12Dimensions2DV","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE9addTorque_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.addTorque(_:relativeTo:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF","displayName":"Collection.index(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV3min3maxACs5SIMD3VySfG_AHtcfc","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18SceneUpdateContextV5sceneAA0C0Cvp","target":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"memberOf","source":"s:SlsE9dropFirsty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE9dropFirsty11SubSequenceQzSiF","displayName":"Collection.dropFirst(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF","displayName":"Collection.index(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV8avPlayerSo8AVPlayerCSgvp","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5index2of5IndexQzSgAB_tF","displayName":"Collection.index(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6append10contentsOfyx_tSTRzAA12HasAnchoring7ElementRpzlF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation21ChannelAudioComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation21ChannelAudioComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV9hashValueSivp","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE8dropLasty11SubSequenceQzSiF","displayName":"Collection.dropLast(_:)"}},{"kind":"memberOf","source":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE8dropLasty11SubSequenceQzSiF","displayName":"Collection.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE21clearForcesAndTorquesyyF","displayName":"HasPhysicsBody.clearForcesAndTorques()"}},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP6entity3forAA6EntityCSgs6UInt64V_tF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:SlsE8dropLasty11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE8dropLasty11SubSequenceQzSiF","displayName":"Collection.dropLast(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV3allACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21ChannelAudioComponentV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21ChannelAudioComponentV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V18birthRateVariationSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE16anchorIdentifier0B04UUIDVSgvp","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation14PortalMaterialV16triangleFillModeAA0D14ParameterTypesV08TrianglefG0Ovp","target":"s:17RealityFoundation14PortalMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE18applyLinearImpulse_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.applyLinearImpulse(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV7forEachyyyx_xxxtKXEKF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV10ColorSpaceO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPs7ElementQz012ArrayLiteralC0RtzrlE05arrayE0xAFd_tcfc","displayName":"SetAlgebra.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6removeyyAA12HasAnchoring_pF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation11BoundingBoxV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"memberOf","source":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE4drop5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.drop(while:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE21isTranslationAnimatedSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioMixGroupsComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation23AudioMixGroupsComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE11CalibrationV","target":"s:17RealityFoundation13AudioResourceC"},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV8IteratorV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO9hashValueSivp","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV6remove2atySi_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV18sceneUnderstandingACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV9viewportsSayAE16RelativeViewportVGvp","target":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioMixGroupsComponentV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation23AudioMixGroupsComponentV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:SlsE6prefixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefixy11SubSequenceQzSiF","displayName":"Collection.prefix(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation23AudioMixGroupsComponentV9hashValueSivp","target":"s:17RealityFoundation23AudioMixGroupsComponentV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s10SetAlgebraP","targetFallback":"Swift.SetAlgebra"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation23AudioMixGroupsComponentV","target":"s:17RealityFoundation23AudioMixGroupsComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE14isStrictSubset2ofSbx_tF","displayName":"SetAlgebra.isStrictSubset(of:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP5owner2ofAA0C6PeerID_pSgAA6EntityC_tF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4noneyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV2id6jointsAESS_SayAE5JointVGtcfc","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormat5width6height5usage11mipmapsModeAGSo08MTLPixelI0V_S2iSo15MTLTextureUsageVAC07MipmapsN0Otcfc","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAll12keepCapacityySb_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_10relativeToys5SIMD3VySfG_AA6EntityCSgtF","displayName":"HasPhysicsBody.addForce(_:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation24SynchronizationComponentV","target":"s:17RealityFoundation24SynchronizationComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO11allocateAllyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV4rateAA0C7BuffersO4RateOvp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation15PortalComponentV","target":"s:17RealityFoundation15PortalComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation24ImageBasedLightComponentV","target":"s:17RealityFoundation24ImageBasedLightComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation27SceneUnderstandingComponentV","target":"s:17RealityFoundation27SceneUnderstandingComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation16OpacityComponentV","target":"s:17RealityFoundation16OpacityComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation20PhysicsBodyComponentV","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation32ImageBasedLightReceiverComponentV","target":"s:17RealityFoundation32ImageBasedLightReceiverComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation14WorldComponentV","target":"s:17RealityFoundation14WorldComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation27AdaptiveResolutionComponentV","target":"s:17RealityFoundation27AdaptiveResolutionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation21SpatialAudioComponentV","target":"s:17RealityFoundation21SpatialAudioComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV7Elementa","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation20HoverEffectComponentV","target":"s:17RealityFoundation20HoverEffectComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO22allocateAndGenerateAllyA2EmF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO"},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF","displayName":"Publisher.merge(with:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation13TextComponentV","target":"s:17RealityFoundation13TextComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"conformsTo","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation33CharacterControllerStateComponentV","target":"s:17RealityFoundation33CharacterControllerStateComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation14ModelComponentV","target":"s:17RealityFoundation14ModelComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with__AA10PublishersO6Merge4Vy_xqd__qd_0_qd_1_Gqd___qd_0_qd_1_tAaBRd__AaBRd_0_AaBRd_1_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSr1_lF","displayName":"Publisher.merge(with:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11BoundingBoxVACycfc","target":"s:17RealityFoundation11BoundingBoxV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation22PhysicsMotionComponentV","target":"s:17RealityFoundation22PhysicsMotionComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV5countSivp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation24GroundingShadowComponentV","target":"s:17RealityFoundation24GroundingShadowComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation14CollisionGroupV7defaultACvpZ","target":"s:17RealityFoundation14CollisionGroupV"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffixy11SubSequenceQzSiF","displayName":"Collection.suffix(_:)"}},{"kind":"memberOf","source":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffixy11SubSequenceQzSiF","displayName":"Collection.suffix(_:)"}},{"kind":"memberOf","source":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix5while11SubSequenceQzSb7ElementQzKXE_tKF","displayName":"Collection.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV2id10jointNames23inverseBindPoseMatrices04restK10Transforms13parentIndicesAESgSS_SaySSGSaySo13simd_float4x4aGSayAA9TransformVGSgSaySiSgGSgtcfc","target":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV"},{"kind":"memberOf","source":"s:SlsE6suffixy11SubSequenceQzSiF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffixy11SubSequenceQzSiF","displayName":"Collection.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV15textureSemanticAA15TextureResourceC0I0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE8addForce_2at10relativeToys5SIMD3VySfG_AiA6EntityCSgtF","displayName":"HasPhysicsBody.addForce(_:at:relativeTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10componentsAC12ComponentSetVvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation27AdaptiveResolutionComponentVACycfc","target":"s:17RealityFoundation27AdaptiveResolutionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasAnchoringPAAE8reanchor_24preservingWorldTransformyAA0D9ComponentV6TargetO_SbtF","target":"s:17RealityFoundation12HasAnchoringP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13dampingFactorSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV9removeAllyyF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation10MeshBufferV","target":"s:ST","targetFallback":"Swift.Sequence"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"requirementOf","source":"s:17RealityFoundation22SynchronizationServiceP13giveOwnership2of6toPeerSbAA6EntityC_AA0cI2ID_ptF","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyySayAA12HasAnchoring_pGF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s9OptionSetP","targetFallback":"Swift.OptionSet"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC11MipmapsModeO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation15TextureResourceC11MipmapsModeO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation27AdaptiveResolutionComponentV14pixelsPerMeterSfvp","target":"s:17RealityFoundation27AdaptiveResolutionComponentV"},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18SceneUpdateContextV8entities8matching18updatingSystemWhenAA11QueryResultVyAA6EntityCGAA0mK0V_AA0iD9ConditionVtF","target":"s:17RealityFoundation18SceneUpdateContextV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE08registerC0yyFZ","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix4upTo11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(upTo:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV","target":"s:17RealityFoundation20InputTargetComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV13colorTexturesSaySo10MTLTexture_pGvp","target":"s:17RealityFoundation0A8RendererC12CameraOutputV10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV12getParameter6handleAA0E10ParametersV5ValueOSgAG6HandleV_tF","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation23ModelSortGroupComponentV","target":"s:17RealityFoundation23ModelSortGroupComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE7isEmptySbvp::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE7isEmptySbvp","displayName":"SetAlgebra.isEmpty"}},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP9removeAllyyF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21AmbientAudioComponentV4gainACSd_tcfc","target":"s:17RealityFoundation21AmbientAudioComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV9usingRateyACyxGAA0C7BuffersO0F0OF","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation21ChannelAudioComponentV","target":"s:17RealityFoundation21ChannelAudioComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A9TransformVRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8ContentsV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialVACycfc","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVACycfc","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasTransformP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferV8elementsSayxGvp","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP9removeAll5whereySbAA0C0CKXE_tKF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV7Texturea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV11pixelFormatSo08MTLPixelI0Vvp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO4RateO","target":"s:17RealityFoundation11MeshBuffersO"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10replaceAllyyxSTRzAA12HasAnchoring7ElementRpzlF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV"},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV4seatAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6prefix7through11SubSequenceQz5IndexQz_tF","displayName":"Collection.prefix(through:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCACycfc","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:ST10FoundationE7compareySo18NSComparisonResultV8ComparedQyd___AFtAA14SortComparatorRd__7ElementQzRsd__lF","displayName":"Sequence.compare(_:_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP6remove2atySi_tF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9SortOrderO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V4fromAEs7Decoder_p_tKcfc","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO2wyyA2GmF","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"},{"kind":"memberOf","source":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE6suffix4from11SubSequenceQz5IndexQz_tF","displayName":"Collection.suffix(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV12getParameter4nameAA0E10ParametersV5ValueOSgSS_tF","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV12setParameter4name5valueySS_AA0E10ParametersV5ValueOtKF","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO2xyyA2GmF","target":"s:17RealityFoundation15TextureResourceCAAE6FormatV14NormalEncodingO"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV16TriangleFillModea","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation24ParticleEmitterComponentV","target":"s:17RealityFoundation24ParticleEmitterComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV","target":"s:17RealityFoundation26PhysicsSimulationComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa::SYNTHESIZED::s:17RealityFoundation13VideoMaterialV","target":"s:17RealityFoundation13VideoMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE10Parametersa","displayName":"Material.Parameters"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV10controllerAA0C18PlaybackControllerCvp","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V12OpacityCurveO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation20VideoPlayerComponentV","target":"s:17RealityFoundation20VideoPlayerComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV3anyAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp::SYNTHESIZED::s:17RealityFoundation13VideoMaterialV","target":"s:17RealityFoundation13VideoMaterialV","sourceOrigin":{"identifier":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","displayName":"Material.name"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV14parameterNamesSaySSGvp","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6shapesSayAA13ShapeResourceCGvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation0A15CoordinateSpaceP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:s28CustomDebugStringConvertibleP","targetFallback":"Swift.CustomDebugStringConvertible"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryFilter(_:)"}},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13BillboardModeO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF","displayName":"Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9tryFilteryAA10PublishersO03TryD0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryFilter(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14SimpleMaterialV16triangleFillModeAA0D14ParameterTypesV08TrianglefG0Ovp","target":"s:17RealityFoundation14SimpleMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE11subtractingyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE11subtractingyxxF","displayName":"SetAlgebra.subtracting(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21AmbientAudioComponentV4gainSdvp","target":"s:17RealityFoundation21AmbientAudioComponentV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isDisjoint4withSbx_tF","displayName":"SetAlgebra.isDisjoint(with:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV7textureAeA0E10ParametersV7TextureVSg_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV16AmbientOcclusionV"},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVAASo10simd_quatfaRszrlE6framesSayAEGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation13AudioMixGroupV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V13ImageSequenceV","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV5countSivp","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV16triangleFillModeAA0E14ParameterTypesV08TrianglegH0Ovp","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8SkeletonV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4PartV","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV16TriangleFillModea","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV7originX0H1Y5width6heightAGSd_S3dtcfc","target":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV","target":"s:17RealityFoundation22AccessibilityComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13AudioMixGroupV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation13AudioMixGroupV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSays10ArraySliceVy7ElementQzGGSi_S2bAHKXEtKF","displayName":"Sequence.split(maxSplits:omittingEmptySubsequences:whereSeparator:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9BaseColorV","target":"s:17RealityFoundation23PhysicallyBasedMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation5EventP","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9BlendModeO","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV4next7ElementQzSgyF","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8isSubset2ofSbx_tF","displayName":"SetAlgebra.isSubset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsEyxqd__ncSTRd__7ElementQyd__ACRtzlufc","displayName":"SetAlgebra.init(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV7isEmptySbvp","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF","displayName":"Collection.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE9loadModel5named2inAA0eC0CSS_So8NSBundleCSgtYaKFZ","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF","displayName":"Collection.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE10isSuperset2ofSbx_tF","displayName":"SetAlgebra.isSuperset(of:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP10replaceAllyyqd__STRd__AA0C0C7ElementRcd__lF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtF","displayName":"Collection.split(separator:maxSplits:omittingEmptySubsequences:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation14WorldComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV16TriangleFillModea","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioMixGroupV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV7defaultACvpZ","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV11SubSequencea","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation21AmbientAudioComponentV","target":"s:17RealityFoundation21AmbientAudioComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:s10SetAlgebraPsE8subtractyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE8subtractyyxF","displayName":"SetAlgebra.subtract(_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13VideoMaterialV16triangleFillModeAA0D14ParameterTypesV08TrianglefG0Ovp","target":"s:17RealityFoundation13VideoMaterialV"},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"memberOf","source":"s:STsE6suffixySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6suffixySay7ElementQzGSiF","displayName":"Sequence.suffix(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV9removeAllyyF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE5named2inACSS_So8NSBundleCSgtYaKcfc","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V9birthRateSfvp","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V"},{"kind":"memberOf","source":"s:17RealityFoundation21AmbientAudioComponentV9hashValueSivp","target":"s:17RealityFoundation21AmbientAudioComponentV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation24GroundingShadowComponentV05castsD0Sbvp","target":"s:17RealityFoundation24GroundingShadowComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV15AnisotropyLevelV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV4nextAA0C8ResourceCAAE0D0VSgyF","target":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St4next7ElementQzSgyF","displayName":"IteratorProtocol.next()"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp","displayName":"RawRepresentable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO5floatyAESfcAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO10simd2FloatyAEs5SIMD2VySfGcAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP6insert10contentsOf11beforeIndexyqd___SitSTRd__AA0C0C7ElementRcd__lF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV6heightSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV6heightSdvp","target":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"memberOf","source":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s10SetAlgebraPsE16isStrictSuperset2ofSbx_tF","displayName":"SetAlgebra.isStrictSuperset(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV8IteratorV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation26PerspectiveCameraComponentV","target":"s:17RealityFoundation26PerspectiveCameraComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV7Elementa","target":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","sourceOrigin":{"identifier":"s:St7ElementQa","displayName":"IteratorProtocol.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO10simd3FloatyAEs5SIMD3VySfGcAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","target":"s:17RealityFoundation26ModelDebugOptionsComponentV17VisualizationModeO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation21AmbientAudioComponentV6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation21AmbientAudioComponentV","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","target":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"memberOf","source":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","target":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV0fG0O","sourceOrigin":{"identifier":"s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF","displayName":"RawRepresentable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO5floatyACSfcACmF","target":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation18AnchoringComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO7textureyAcA15TextureResourceCcACmF","target":"s:17RealityFoundation23MaterialScalarParameterO"},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP6insert_11beforeIndexyAA0C0C_SitF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"conformsTo","source":"s:17RealityFoundation18AnchoringComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:17RealityFoundation15AnimationEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV","target":"s:17RealityFoundation28CharacterControllerComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO12floatLiteralACSf_tcfc","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO15textureResourceyAeA07TextureG0CcAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:17RealityFoundation21AmbientAudioComponentV4fromACs7Decoder_p_tKcfc","target":"s:17RealityFoundation21AmbientAudioComponentV","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17FromToByAnimationV4nameSSvp","target":"s:17RealityFoundation17FromToByAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO7nearestyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNames6frames4name9tweenMode13frameInterval10isAdditive0O13ScaleAnimated0o8RotationR00o11TranslationR010bindTarget10blendLayer06repeatL004fillL09trimStart7trimEnd12trimDuration6offset5delay5speedACyAEGSaySSG_SayAEGSSAA05TweenL0OSfS4bAA04BindV0OSgs5Int32VAA0d6RepeatL0OAA0d4FillL0VSdSgA11_A11_S2dSftcfc","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"requirementOf","source":"s:17RealityFoundation16EntityCollectionP6removeyyAA0C0CF","target":"s:17RealityFoundation16EntityCollectionP"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation9TransformV","target":"s:17RealityFoundation9TransformV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO3allyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF","displayName":"Collection.firstIndex(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF","displayName":"Collection.firstIndex(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO14integerLiteralACSi_tcfc","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"memberOf","source":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsSQ7ElementRpzrlE10firstIndex2of0C0QzSgAB_tF","displayName":"Collection.firstIndex(of:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV5widthSivp","target":"s:17RealityFoundation15TextureResourceC13DrawableQueueC10DescriptorV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"conformsTo","source":"s:17RealityFoundation23VideoPlaybackControllerC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV5widthSdvp","target":"s:17RealityFoundation0A8RendererC12CameraOutputV16RelativeViewportV"},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionVACycfc","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:SlsE10firstIndex5where0B0QzSgSb7ElementQzKXE_tKF","displayName":"Collection.firstIndex(where:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO3anyyA2CmF","target":"s:17RealityFoundation22CollisionCastQueryTypeO"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV15parameterHandle4nameAA0E10ParametersV0G0VSS_tFZ","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22CollisionCastQueryTypeO2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation22CollisionCastQueryTypeO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE6shapes4mode16collisionOptions6filterACSayAA13ShapeResourceCG_AC4ModeOAcAE0cH0VAA0C6FilterVtcfc","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation18CollisionComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ::SYNTHESIZED::s:17RealityFoundation26ModelDebugOptionsComponentV","target":"s:17RealityFoundation26ModelDebugOptionsComponentV","sourceOrigin":{"identifier":"s:17RealityFoundation9ComponentPAAE13componentNameSSvpZ","displayName":"Component.componentName"}},{"kind":"memberOf","source":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation24ParticleEmitterComponentV0cD0V","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:17RealityFoundation21AmbientAudioComponentV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation21AmbientAudioComponentV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform_9recursiveyAA0G0V_SbtF","displayName":"HasPhysicsBody.resetPhysicsTransform(_:recursive:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MeshPartCollectionV7isEmptySbvp","target":"s:17RealityFoundation18MeshPartCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV12setParameter6handle5valueyAA0E10ParametersV6HandleV_AH5ValueOtKF","target":"s:17RealityFoundation19ShaderGraphMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV12makeIteratorAC0G0VyF","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST12makeIterator0B0QzyF","displayName":"Sequence.makeIterator()"}},{"kind":"memberOf","source":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation14HasPhysicsBodyPAAE05resetD9Transform9recursiveySb_tF","displayName":"HasPhysicsBody.resetPhysicsTransform(recursive:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15PortalComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshInstanceCollectionV9removeAllyyF","target":"s:17RealityFoundation22MeshInstanceCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO16FloatLiteralTypea","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO18IntegerLiteralTypea","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP0cD4TypeQa","displayName":"ExpressibleByIntegerLiteral.IntegerLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV7Elementa","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"conformsTo","source":"s:17RealityFoundation13TextComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentVAAE16collisionOptionsAcAE0cF0Vvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation23MaterialScalarParameterO9hashValueSivp","target":"s:17RealityFoundation23MaterialScalarParameterO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation21AmbientAudioComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation21AmbientAudioComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitVAAE08TriangleE0V","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO30TextureCoordinateTransformPathV","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV5countSivp","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8fillModeAA0d4FillF0Vvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP8fillModeAA0c4FillF0Vvp","displayName":"AnimationDefinition.fillMode"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF","displayName":"Publisher.breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioMixGroupV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"conformsTo","source":"s:17RealityFoundation24ParticleEmitterComponentV15SimulationStateO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10breakpoint19receiveSubscription0D6Output0D10CompletionAA10PublishersO10BreakpointVy_xGSbAA0E0_pcSg_Sb0F0QzcSgSbAA11SubscribersO0G0Oy_7FailureQzGcSgtF","displayName":"Publisher.breakpoint(receiveSubscription:receiveOutput:receiveCompletion:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","target":"s:17RealityFoundation17AudioFileResourceC15LoadingStrategyO","sourceOrigin":{"identifier":"s:SYsSERzSS8RawValueSYRtzrlE6encode2toys7Encoder_p_tKF","displayName":"RawRepresentable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6shapes4mode6filterACSayAA13ShapeResourceCG_AC4ModeOAA0C6FilterVtcfc","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","target":"s:s5ErrorP","targetFallback":"Swift.Error"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntityAA0H0Cvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV5group4maskAcA0C5GroupV_AGtcfc","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV19ArrayLiteralElementa","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO8materialyAESicAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF","displayName":"Publisher.merge(with:_:_:_:_:_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO7opacityyA2EmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with_____AA10PublishersO6Merge7Vy_xqd__qd_0_qd_1_qd_2_qd_3_qd_4_Gqd___qd_0_qd_1_qd_2_qd_3_qd_4_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_AaBRd_4_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSAKQyd_4_AWRSANQyd_4_AXRSr4_lF","displayName":"Publisher.merge(with:_:_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12MaterialPathV","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation13AudioMixGroupV","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation15CollisionFilterV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV12arrayLiteralAcA0C8ResourceCAAE0D0Vd_tcfc","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP05arrayD0x0cD7ElementQzd_tcfc","displayName":"ExpressibleByArrayLiteral.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO3intyAEs5Int32VcAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV37isContinuousCollisionDetectionEnabledSbvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO5sceneyAC9ScenePathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation8HasModelP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC20isEnabledInHierarchySbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9decrementAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"conformsTo","source":"s:17RealityFoundation9TransformV","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF","displayName":"Publisher.breakpointOnError()"}},{"kind":"conformsTo","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE17breakpointOnErrorAA10PublishersO10BreakpointVy_xGyF","displayName":"Publisher.breakpointOnError()"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO10EntityPathV","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO4boolyAESbcAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO15jointTransformsyA2EmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation18CollisionComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV6entityAA6EntityCvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO9transformyA2EmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionVyAA0C8ResourceCAAE0D0VSgSScip","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO8float4x4yAESo05simd_F0acAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO12anchorEntityyAC0F4PathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10bindTargetAA04BindF0Ovp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10bindTargetAA04BindF0Ovp","displayName":"AnimationDefinition.bindTarget"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE23formSymmetricDifferenceyyxF","displayName":"OptionSet.formSymmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO8float3x3yAESo05simd_F0acAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO9parameteryAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"inheritsFrom","source":"s:17RealityFoundation18HasSynchronizationP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO","target":"s:17RealityFoundation18MaterialParametersV"},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV9hitEntityAA0H0Cvp","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionVyACSayAA0C8ResourceCAAE0D0VGcfc","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO6entityyAC10EntityPathVSSFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC4nameSSvp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionVACycfc","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","target":"s:17RealityFoundation19AnimationDefinitionP"},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8contentsAcAE8ContentsVvp","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation18ShapeResourceErrorO","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE10enumerateds18EnumeratedSequenceVyxGyF","displayName":"Sequence.enumerated()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8activateAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV9incrementAEvpZ","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV"},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO12anchorEntityyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitVAAE10shapeIndexSivp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceC13configurationAcAE13ConfigurationVvp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV7isEmptySbvp","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO6entityyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV16isRotationLockedSb1x_Sb1ySb1ztvp","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO8float2x2yAESo05simd_F0acAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialV5colorAA015PhysicallyBasedD0V9BaseColorVvp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO5sceneyAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE7replace4withyAcAE8ContentsV_tKF","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO8materialyAC12MaterialPathVSiFZ","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV6HandleV","target":"s:17RealityFoundation18MaterialParametersV"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation18MeshPartCollectionV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO10simd4FloatyAEs5SIMD4VySfGcAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE9formUnionyyxF","displayName":"OptionSet.formUnion(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV5ValueO5coloryAESo10CGColorRefacAEmF","target":"s:17RealityFoundation18MaterialParametersV5ValueO"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlE16formIntersectionyyxF","displayName":"OptionSet.formIntersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitVAAE08triangleE0AcAE08TriangleE0VSgvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","target":"s:17RealityFoundation12HasCollisionP"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV6shapes7density8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE4load5named2in13configurationACSS_So8NSBundleCSgAcAE13ConfigurationVtKFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3min2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.min(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8RawValuea","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SY8RawValueQa","displayName":"RawRepresentable.RawValue"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV6remove2idAA0C8ResourceCAAE0D0VSgSS_tF","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV6sensorACvpZ","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO18PlaybackTerminatedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE23applyPostProcessToneMapACSb_tcfc","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueSivp","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:SY8rawValue03RawB0Qzvp","displayName":"RawRepresentable.rawValue"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV5groupAA0C5GroupVvp","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV8rawValueAESi_tcfc","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetP8rawValuex03RawD0Qz_tcfc","displayName":"OptionSet.init(rawValue:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO17PlaybackCompletedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation13ShapeResourceC","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV4modeAC4ModeOvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV6updateyAA0C8ResourceCAAE0D0VSgAHnF","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE9dropFirstys04DropB8SequenceVyxGSiF","displayName":"Sequence.dropFirst(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV9hashValueSivp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF","displayName":"Publisher.allSatisfy(_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15AnimationEventsO14PlaybackLoopedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE10allSatisfyyAA10PublishersO03AllD0Vy_xGSb6OutputQzcF","displayName":"Publisher.allSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV13EmissiveColorV"},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV6insertySbAA0C8ResourceCAAE0D0VnF","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:STsE8dropLastySay7ElementQzGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE8dropLastySay7ElementQzGSiF","displayName":"Sequence.dropLast(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE9BaseColora","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"conformsTo","source":"s:17RealityFoundation13TriggerVolumeC","target":"s:s12IdentifiableP","targetFallback":"Swift.Identifiable"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV11mipmapsModeAC07MipmapsH0Ovp","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV19ArrayLiteralElementa","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s25ExpressibleByArrayLiteralP0cD7ElementQa","displayName":"ExpressibleByArrayLiteral.ArrayLiteralElement"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE4load5named4from2inACSS_SSSo8NSBundleCSgtKFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV12mixGroupNameSSSgvp","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semanticAC8SemanticOSgvp","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE7Texturea","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9transformyA2CmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO15jointTransformsyA2CmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO8internalyAcA08InternalC4PathVcACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO18MediaTypeDidChangeV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:SY","targetFallback":"Swift.RawRepresentable"},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV8additiveSbvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV8thumbTipAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP6update7contextyAA18SceneUpdateContextV_tF","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceC13CreateOptionsV8semantic11mipmapsModeAeC8SemanticOSg_AC07MipmapsI0Otcfc","target":"s:17RealityFoundation15TextureResourceC13CreateOptionsV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6update4withxSgx_tF","displayName":"OptionSet.update(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO4pathyAcA0C4PathVcACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9parameteryACSScACmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation14WorldComponentVACycfc","target":"s:17RealityFoundation14WorldComponentV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV7Elementa","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetP7ElementQa","displayName":"OptionSet.Element"}},{"kind":"memberOf","source":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE4drop5whiles17DropWhileSequenceVyxGSb7ElementQzKXE_tKF","displayName":"Sequence.drop(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionFilterV4maskAA0C5GroupVvp","target":"s:17RealityFoundation15CollisionFilterV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6removeyxSgxF","displayName":"OptionSet.remove(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18CollisionComponentV6filterAA0C6FilterVvp","target":"s:17RealityFoundation18CollisionComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV05aboveF0AGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO7opacityyA2CmF","target":"s:17RealityFoundation10BindTargetO"},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV14massProperties8material4modeAcA0c4MassG0V_AA0C16MaterialResourceCSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV12makeIteratorAA6EntityC05ChildE0V08IndexingG0Vy__AEGyF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl12makeIterator0B0QzyF","displayName":"Collection.makeIterator()"}},{"kind":"conformsTo","source":"s:17RealityFoundation9TweenModeO","target":"s:SH","targetFallback":"Swift.Hashable"},{"kind":"memberOf","source":"s:17RealityFoundation10BindTargetO9ScenePathV","target":"s:17RealityFoundation10BindTargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation6EntityC","target":"s:17RealityFoundation18HasSynchronizationP"},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentVACycfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9RoughnessV"},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV15characterEntity03hitH00I8Position0I6Normal13moveDirection0L8DistanceAeA0H0C_AMs5SIMD3VySfGA2PSftcfc","target":"s:17RealityFoundation28CharacterControllerComponentV9CollisionV"},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP12dependenciesSayAA0C10DependencyOGvpZ","target":"s:17RealityFoundation6SystemP"},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV7entityAAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5EndedV"},{"kind":"memberOf","source":"s:STsE6prefixys14PrefixSequenceVyxGSiF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6prefixys14PrefixSequenceVyxGSiF","displayName":"Sequence.prefix(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV8Iteratora","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC8didClone4fromyAC_tF","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE8Blendinga","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22MeshSkeletonCollectionV9removeAllyyF","target":"s:17RealityFoundation22MeshSkeletonCollectionV"},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15CollisionEventsO5EndedV7entityBAA6EntityCvp","target":"s:17RealityFoundation15CollisionEventsO5EndedV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV7Elementa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl7ElementQa","displayName":"Collection.Element"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation6SystemP5scenexAA5SceneC_tcfc","target":"s:17RealityFoundation6SystemP"},{"kind":"conformsTo","source":"s:17RealityFoundation28CharacterControllerComponentV","target":"s:17RealityFoundation9ComponentP"},{"kind":"memberOf","source":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6prefix5whileSay7ElementQzGSbADKXE_tKF","displayName":"Sequence.prefix(while:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE8ContentsV","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SM","targetFallback":"Swift.MutableCollection"},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO9DidChangeV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV7Indicesa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"memberOf","source":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsSQ7ElementRpzrlE6starts4withSbqd___tSTRd__AAQyd__ABRSlF","displayName":"Sequence.starts(with:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17AnimationResourceC","target":"s:17RealityFoundation8ResourceP"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV5wristAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"memberOf","source":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation16HasPhysicsMotionPAAE07physicsE0AA0dE9ComponentVSgvp","displayName":"HasPhysicsMotion.physicsMotion"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO10WillRemoveV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation20PhysicsBodyComponentV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV15loadingStrategy10shouldLoop0I18RandomizeStartTime13normalization11calibration12mixGroupNameAeC07LoadingH0O_S2bAA0cE0CAAE13NormalizationVSgAoAE11CalibrationVSgSSSgtcfc","target":"s:17RealityFoundation17AudioFileResourceCAAE13ConfigurationV"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV4palmAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV5scaleSfvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11EntityQueryVACycfc","target":"s:17RealityFoundation11EntityQueryV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF","displayName":"Publisher.sink(receiveCompletion:receiveValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE5named2in13configurationACSS_So8NSBundleCSgAcAE13ConfigurationVtYaKcfc","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE6insertySb8inserted_x17memberAfterInserttxF","displayName":"OptionSet.insert(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE4sink17receiveCompletion0D5ValueAA14AnyCancellableCyAA11SubscribersO0E0Oy_7FailureQzGc_y6OutputQzctF","displayName":"Publisher.sink(receiveCompletion:receiveValue:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV14indexFingerTipAGvpZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV10startIndexSivp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl10startIndex0B0Qzvp","displayName":"Collection.startIndex"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV15textureSemanticAA15TextureResourceC0H0OvpZ","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC5sceneAA5SceneCSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:Sl","targetFallback":"Swift.Collection"},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV2idAC10IdentifierVvp","target":"s:17RealityFoundation11MeshBuffersO8SemanticV","sourceOrigin":{"identifier":"s:s12IdentifiableP2id2IDQzvp","displayName":"Identifiable.id"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC4nameSSvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAs5NeverO7FailureRtzrlE4sink12receiveValueAA14AnyCancellableCy6OutputQzc_tF","displayName":"Publisher.sink(receiveValue:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation11AudioEventsO17PlaybackCompletedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE16TriangleFillModea","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV5Indexa","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl5IndexQa","displayName":"Collection.Index"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO9hashValueSivp","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:SK","targetFallback":"Swift.BidirectionalCollection"},{"kind":"memberOf","source":"s:17RealityFoundation13UnlitMaterialVAAE16triangleFillModeAA0D14ParameterTypesV08TrianglefG0Ovp","target":"s:17RealityFoundation13UnlitMaterialV"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.subscribe(on:options:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV11SubSequencea","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl11SubSequenceQa","displayName":"Collection.SubSequence"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE5named4from2inACSS_SSSo8NSBundleCSgtYaKcfc","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation17VideoPlayerEventsO20ContentTypeDidChangeV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9subscribe2on7optionsAA10PublishersO11SubscribeOnVy_xqd__Gqd___16SchedulerOptionsQyd__SgtAA0I0Rd__lF","displayName":"Publisher.subscribe(on:options:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation16MaterialFunctionP4nameSSvp","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryAllSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11MeshBuffersO8SemanticV2IDa","target":"s:17RealityFoundation11MeshBuffersO8SemanticV","sourceOrigin":{"identifier":"s:s12IdentifiableP2IDQa","displayName":"Identifiable.ID"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE13tryAllSatisfyyAA10PublishersO03TrydE0Vy_xGSb6OutputQzKcF","displayName":"Publisher.tryAllSatisfy(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV18ClearcoatRoughnessV"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation0A8RendererC16EntityCollectionV6append10contentsOfyx_tSTRzAA0D0C7ElementRczlF","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:17RealityFoundation16EntityCollectionP6append10contentsOfyqd___tSTRd__AA0C0C7ElementRcd__lF","displayName":"EntityCollection.append(contentsOf:)"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionVyAA12HasAnchoring_pSicip","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sly7ElementQz5IndexQzcip","displayName":"Collection.subscript(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:17RealityFoundation20PhysicsBodyComponentV6shapes4mass8material4modeACSayAA13ShapeResourceCG_SfAA0c8MaterialK0CSgAA0cD4ModeOtcfc","target":"s:17RealityFoundation20PhysicsBodyComponentV"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation11ModelEntityC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","displayName":"HasCollision.collision"}},{"kind":"memberOf","source":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp::SYNTHESIZED::s:17RealityFoundation13TriggerVolumeC","target":"s:17RealityFoundation13TriggerVolumeC","sourceOrigin":{"identifier":"s:17RealityFoundation12HasCollisionPAAE9collisionAA0D9ComponentVSgvp","displayName":"HasCollision.collision"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE10contentsOf8withName13configurationAC0B03URLV_SSSgAcAE13ConfigurationVtYaKcfc","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO12HandLocationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV8endIndexSivp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl8endIndex0B0Qzvp","displayName":"Collection.endIndex"}},{"kind":"memberOf","source":"s:s9OptionSetPsE19symmetricDifferenceyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPsE19symmetricDifferenceyxxF","displayName":"OptionSet.symmetricDifference(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationVA2A15JointTransformsVRszrlE10jointNamesSaySSGvp","target":"s:17RealityFoundation16SampledAnimationV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO10invalidURLyA2EmF","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO5worldyAESo13simd_float4x4a_tcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO16invalidTypeFoundyA2EmF","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD2VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO20materialNameNotFoundyA2EmF","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE4load10contentsOf8withName13configurationAC0B03URLV_SSSgAcAE13ConfigurationVtKFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF","displayName":"Publisher.merge(with:_:_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:s25ExpressibleByArrayLiteralP","targetFallback":"Swift.ExpressibleByArrayLiteral"},{"kind":"memberOf","source":"s:17RealityFoundation15TextureResourceCAAE10contentsOf8withNameAC0B03URLV_SSSgtYaKcfc","target":"s:17RealityFoundation15TextureResourceC"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with___AA10PublishersO6Merge5Vy_xqd__qd_0_qd_1_qd_2_Gqd___qd_0_qd_1_qd_2_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSr2_lF","displayName":"Publisher.merge(with:_:_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7uvIndexSivp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO19resourceShareFailedyA2EmF","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO"},{"kind":"conformsTo","source":"s:17RealityFoundation11ModelEntityC","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation11EntityQueryV5whereAcA0D9PredicateVyAA0C0CG_tcfc","target":"s:17RealityFoundation11EntityQueryV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12AnchorEntityC","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:s9OptionSetPsE12intersectionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPsE12intersectionyxxF","displayName":"OptionSet.intersection(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF","displayName":"Publisher.merge(with:_:_:_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV10blendLayers5Int32Vvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP10blendLayers5Int32Vvp","displayName":"AnimationDefinition.blendLayer"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV8distanceSfvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE10Parametersa","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE7replace4withyAcAE8ContentsV_tYaKF","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE5merge4with____AA10PublishersO6Merge6Vy_xqd__qd_0_qd_1_qd_2_qd_3_Gqd___qd_0_qd_1_qd_2_qd_3_tAaBRd__AaBRd_0_AaBRd_1_AaBRd_2_AaBRd_3_7FailureQyd__AKRtz6OutputQyd__ANRtzAKQyd_0_ALRSANQyd_0_AORSAKQyd_1_AQRSANQyd_1_ARRSAKQyd_2_ASRSANQyd_2_ATRSAKQyd_3_AURSANQyd_3_AVRSr3_lF","displayName":"Publisher.merge(with:_:_:_:_:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO20ViewingModeDidChangeV","target":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation12HasHierarchyP"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation17VideoPlayerEventsO0C13SizeDidChangeV","target":"s:17RealityFoundation17VideoPlayerEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO5planeyA2E9AlignmentV_AE14ClassificationVs5SIMD2VySfGtcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"conformsTo","source":"s:17RealityFoundation5SceneC","target":"s:17RealityFoundation11EventSourceP"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF","displayName":"Publisher.multicast(subject:)"}},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicast7subjectAA10PublishersO9MulticastCy_xqd__Gqd___tAA7SubjectRd__7FailureQyd__ALRtz6OutputQyd__AORtzlF","displayName":"Publisher.multicast(subject:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV7textureAA0E10ParametersV7TextureVSgvp","target":"s:17RealityFoundation23PhysicallyBasedMaterialV8MetallicV"},{"kind":"conformsTo","source":"s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV","target":"s:s8SendableP","targetFallback":"Swift.Sendable"},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGSayAFGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE9hashValueSivp","target":"s:17RealityFoundation17AudioFileResourceC","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE3max2by7ElementQzSgSbAD_ADtKXE_tKF","displayName":"Sequence.max(by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV6normals5SIMD3VySfGvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPsE5unionyxxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPsE5unionyxxF","displayName":"OptionSet.union(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8MaterialPAAE4nameSSSgvp","target":"s:17RealityFoundation8MaterialP"},{"kind":"memberOf","source":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO9hashValueSivp","target":"s:17RealityFoundation19ShaderGraphMaterialV9LoadErrorO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO5imageyAESS_SStcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC5localACvpZ","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO20AnchoredStateChangedV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3minABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3minABSgyF","displayName":"Sequence.min()"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC16debugDescriptionSSvp","target":"s:17RealityFoundation6EntityC","sourceOrigin":{"identifier":"s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp","displayName":"CustomDebugStringConvertible.debugDescription"}},{"kind":"conformsTo","source":"s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV12floatLiteralAESf_tcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP05floatD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByFloatLiteral.init(floatLiteral:)"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation19ShaderGraphMaterialV5ErrorO","target":"s:s5ErrorP","targetFallback":"Swift.Error"},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV5scale7textureAESf_AA0E10ParametersV7TextureVSgtcfc","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsO6UpdateV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD3VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityCAAE12channelAudioAA07ChannelE9ComponentVSgvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation17OcclusionMaterialVAAEACycfc","target":"s:17RealityFoundation17OcclusionMaterialV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC4fromACs7Decoder_p_tKcfc","target":"s:17RealityFoundation25NetworkCompatibilityTokenC","sourceOrigin":{"identifier":"s:Se4fromxs7Decoder_p_tKcfc","displayName":"Decodable.init(from:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV8Iteratora","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl8IteratorQa","displayName":"Collection.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE12replaceAsync4withAA11LoadRequestCyACGAcAE8ContentsV_tF","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidReparentEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV8positions5SIMD3VySfGvp","target":"s:17RealityFoundation16CollisionCastHitV"},{"kind":"memberOf","source":"s:STsSL7ElementRpzrlE3maxABSgyF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsSL7ElementRpzrlE3maxABSgyF","displayName":"Sequence.max()"}},{"kind":"conformsTo","source":"s:17RealityFoundation10MeshBufferV8IteratorV","target":"s:St","targetFallback":"Swift.IteratorProtocol","sourceOrigin":{"identifier":"s:ST8IteratorQa","displayName":"Sequence.Iterator"}},{"kind":"memberOf","source":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO9hashValueSivp","target":"s:17RealityFoundation24SynchronizationComponentV33OwnershipTransferCompletionResultO","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV7samplerAE7SamplerVvp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"inheritsFrom","source":"s:17RealityFoundation12HasAnchoringP","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV9hashValueSivp","target":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","sourceOrigin":{"identifier":"s:SH9hashValueSivp","displayName":"Hashable.hashValue"}},{"kind":"memberOf","source":"s:17RealityFoundation16SampledAnimationV4nameSSvp","target":"s:17RealityFoundation16SampledAnimationV","sourceOrigin":{"identifier":"s:17RealityFoundation19AnimationDefinitionP4nameSSvp","displayName":"AnimationDefinition.name"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp::SYNTHESIZED::s:17RealityFoundation17PerspectiveCameraC","target":"s:17RealityFoundation17PerspectiveCameraC","sourceOrigin":{"identifier":"s:17RealityFoundation20HasPerspectiveCameraPAAE6cameraAA0dE9ComponentVvp","displayName":"HasPerspectiveCamera.camera"}},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE8durations8DurationVvp","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO6eitheryA2GmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC8isActiveSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC6encode2toys7Encoder_p_tKF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC","sourceOrigin":{"identifier":"s:SE6encode2toys7Encoder_p_tKF","displayName":"Encodable.encode(to:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE8generate4fromA2cAE8ContentsV_tKFZ","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE16WillRemoveEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE20WillDeactivateEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC10isAnchoredSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation21ChannelAudioComponentV4gainACSd_tcfc","target":"s:17RealityFoundation21ChannelAudioComponentV"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV4hash4intoys6HasherVz_tF","target":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","sourceOrigin":{"identifier":"s:SH4hash4intoys6HasherVz_tF","displayName":"Hashable.hash(into:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation15JointTransformsV","target":"s:17RealityFoundation15JointTransformsV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation23MaterialScalarParameterO","target":"s:SQ","targetFallback":"Swift.Equatable"},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation5SceneC16AnchorCollectionV","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation10MeshBufferV","target":"s:17RealityFoundation10MeshBufferV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation18MeshPartCollectionV","target":"s:17RealityFoundation18MeshPartCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation0A8RendererC16EntityCollectionV","target":"s:17RealityFoundation0A8RendererC16EntityCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation11QueryResultV","target":"s:17RealityFoundation11QueryResultV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshInstanceCollectionV","target":"s:17RealityFoundation22MeshInstanceCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation22MeshSkeletonCollectionV","target":"s:17RealityFoundation22MeshSkeletonCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation25NetworkCompatibilityTokenC17compatibilityWithyAC0D0OACF","target":"s:17RealityFoundation25NetworkCompatibilityTokenC"},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation18MaterialParametersV7TextureV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVA2A0C14JointInfluenceVRszlEyACyAEGSayAEGcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation19MeshModelCollectionV","target":"s:17RealityFoundation19MeshModelCollectionV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV7Elementa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:ST7ElementQa","displayName":"Sequence.Element"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation12MeshResourceCAAE4fromA2cAE8ContentsV_tYaKcfc","target":"s:17RealityFoundation12MeshResourceC"},{"kind":"memberOf","source":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation13AudioResourceCAAE13NormalizationV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"conformsTo","source":"s:17RealityFoundation15CollisionEventsO5EndedV","target":"s:17RealityFoundation5EventP"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlE8elements7indicesACyAFGSayAFG_Says6UInt32VGtcfc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO2eeoiySbAG_AGtFZ","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation22SynchronizationServiceP10Identifiera","target":"s:17RealityFoundation22SynchronizationServiceP"},{"kind":"memberOf","source":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF::SYNTHESIZED::s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","target":"s:17RealityFoundation6EntityC15ChildCollectionV16IndexingIteratorV","sourceOrigin":{"identifier":"s:STsE6starts4with2bySbqd___Sb7ElementQz_ADQyd__tKXEtKSTRd__lF","displayName":"Sequence.starts(with:by:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","target":"s:17RealityFoundation22AccessibilityComponentV16SupportedActionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO11DidActivateV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE17DidActivateEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:17RealityFoundation17AudioFileResourceCAAE2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation17AudioFileResourceC"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation17AnimationFillModeV","target":"s:17RealityFoundation17AnimationFillModeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV12makeIteratorAE08IndexingG0Vy__AEGyF","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl12makeIterator0B0QzyF","displayName":"Collection.makeIterator()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation14CollisionGroupV","target":"s:17RealityFoundation14CollisionGroupV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO2eeoiySbAE_AEtFZ","target":"s:17RealityFoundation8BindPathV4PartO","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO6DidAddV","target":"s:17RealityFoundation15ComponentEventsO"},{"kind":"conformsTo","source":"s:17RealityFoundation12HasCollisionP","target":"s:17RealityFoundation12HasTransformP"},{"kind":"memberOf","source":"s:17RealityFoundation11SceneEventsOAAE12DidAddEntityV","target":"s:17RealityFoundation11SceneEventsO"},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation5SceneC9PublisherV","target":"s:17RealityFoundation5SceneC9PublisherV","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF","displayName":"Publisher.multicast(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV11descriptionSSvp","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:s23CustomStringConvertibleP11descriptionSSvp","displayName":"CustomStringConvertible.description"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV16FloatLiteralTypea","target":"s:17RealityFoundation23PhysicallyBasedMaterialV9ClearcoatV","sourceOrigin":{"identifier":"s:s25ExpressibleByFloatLiteralP0cD4TypeQa","displayName":"ExpressibleByFloatLiteral.FloatLiteralType"}},{"kind":"memberOf","source":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF::SYNTHESIZED::s:17RealityFoundation11LoadRequestC","target":"s:17RealityFoundation11LoadRequestC","sourceOrigin":{"identifier":"s:7Combine9PublisherPAAE9multicastyAA10PublishersO9MulticastCy_xqd__Gqd__ycAA7SubjectRd__7FailureQyd__AKRtz6OutputQyd__ANRtzlF","displayName":"Publisher.multicast(_:)"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9AlignmentV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO4handyA2E9ChiralityO_AE12HandLocationVtcAEmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO"},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO4leftyA2GmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","target":"s:17RealityFoundation28CharacterControllerComponentV14CollisionFlagsV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","target":"s:17RealityFoundation26PhysicsSimulationComponentV16CollisionOptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation8BindPathV4PartO17materialParameteryAESScAEmF","target":"s:17RealityFoundation8BindPathV4PartO"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","target":"s:17RealityFoundation18AnchoringComponentV6TargetO14ClassificationV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO5rightyA2GmF","target":"s:17RealityFoundation18AnchoringComponentV6TargetO9ChiralityO"},{"kind":"memberOf","source":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc::SYNTHESIZED::s:17RealityFoundation20InputTargetComponentV0C4TypeV","target":"s:17RealityFoundation20InputTargetComponentV0C4TypeV","sourceOrigin":{"identifier":"s:s9OptionSetPss17FixedWidthInteger8RawValueRpzrlExycfc","displayName":"OptionSet.init()"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC9isEnabledSbvp","target":"s:17RealityFoundation6EntityC"},{"kind":"memberOf","source":"s:17RealityFoundation10MeshBufferVAAs5SIMD4VySfGRszlEyACyAFGqd__cSTRd__AF7ElementRtd__lufc","target":"s:17RealityFoundation10MeshBufferV"},{"kind":"memberOf","source":"s:17RealityFoundation5SceneC16AnchorCollectionV5index5afterS2i_tF","target":"s:17RealityFoundation5SceneC16AnchorCollectionV","sourceOrigin":{"identifier":"s:Sl5index5after5IndexQzAD_tF","displayName":"Collection.index(after:)"}},{"kind":"memberOf","source":"s:17RealityFoundation6EntityC15ChildCollectionV7Indicesa","target":"s:17RealityFoundation6EntityC15ChildCollectionV","sourceOrigin":{"identifier":"s:Sl7IndicesQa","displayName":"Collection.Indices"}},{"kind":"memberOf","source":"s:17RealityFoundation18MaterialParametersV7TextureV8resourceAA0E8ResourceCvp","target":"s:17RealityFoundation18MaterialParametersV7TextureV"},{"kind":"memberOf","source":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF::SYNTHESIZED::s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","target":"s:17RealityFoundation18CollisionComponentVAAE0C7OptionsV","sourceOrigin":{"identifier":"s:s9OptionSetPs7ElementQzRszrlE8containsySbxF","displayName":"OptionSet.contains(_:)"}},{"kind":"requirementOf","source":"s:17RealityFoundation16MaterialFunctionP7librarySo10MTLLibrary_pvp","target":"s:17RealityFoundation16MaterialFunctionP"},{"kind":"memberOf","source":"s:17RealityFoundation16CollisionCastHitV2eeoiySbAC_ACtFZ","target":"s:17RealityFoundation16CollisionCastHitV","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:17RealityFoundation15ComponentEventsO14WillDeactivateV","target":"s:17RealityFoundation15ComponentEventsO"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Combine.symbols.json b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Combine.symbols.json new file mode 100644 index 0000000..7281b45 --- /dev/null +++ b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Combine.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"xros","minimumVersion":{"major":1,"minor":0}}}},"symbols":[{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:7Combine11CancellableP17RealityFoundationE22storeWhileEntityActiveyyAD0G0CF","interfaceLanguage":"swift"},"pathComponents":["Cancellable","storeWhileEntityActive(_:)"],"names":{"title":"storeWhileEntityActive(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"storeWhileEntityActive"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Retains the `Cancellable` as long as the entity is active (see `Entity.isActive`). If the"},{"text":"entity is deactivated, the `Cancellable` is released."},{"text":""},{"text":"This method does nothing if the entity is already inactive."},{"text":""},{"text":"Internally, this method stores an `AnyCancellable` in a transient component of the entity."},{"text":"The component is removed when the *deactivate* event for this entity is received."}]},"functionSignature":{"parameters":[{"name":"entity","declarationFragments":[{"kind":"identifier","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Combine","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"attribute","spelling":"@"},{"kind":"attribute","spelling":"MainActor","preciseIdentifier":"s:ScM"},{"kind":"text","spelling":" "},{"kind":"attribute","spelling":"@preconcurrency"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"storeWhileEntityActive"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"entity"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Entity","preciseIdentifier":"s:17RealityFoundation6EntityC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]}],"relationships":[{"kind":"memberOf","source":"s:7Combine11CancellableP17RealityFoundationE22storeWhileEntityActiveyyAD0G0CF","target":"s:7Combine11CancellableP","targetFallback":"Combine.Cancellable"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Metal.symbols.json b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Metal.symbols.json new file mode 100644 index 0000000..8f32ddf --- /dev/null +++ b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Metal.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"xros","minimumVersion":{"major":1,"minor":0}}}},"symbols":[{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","interfaceLanguage":"swift"},"pathComponents":["MTLCommandBuffer","present(_:)"],"names":{"title":"present(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"text","spelling":")"}]},"docComment":{"module":"RealityFoundation","lines":[{"text":"Registers a drawable presentation to occur as soon as possible"},{"text":" - drawable: The drawable that you want to present."}]},"functionSignature":{"parameters":[{"name":"drawable","declarationFragments":[{"kind":"identifier","spelling":"drawable"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Metal","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"present"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"drawable"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"TextureResource","preciseIdentifier":"s:17RealityFoundation15TextureResourceC"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Drawable","preciseIdentifier":"s:17RealityFoundation15TextureResourceC8DrawableC"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"macCatalyst","introduced":{"major":15,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}}]}],"relationships":[{"kind":"defaultImplementationOf","source":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","target":"c:objc(pl)MTLCommandBuffer(im)presentDrawable:","targetFallback":"Metal.MTLCommandBuffer.present(_:)"},{"kind":"memberOf","source":"s:So16MTLCommandBufferP17RealityFoundationE7presentyyAC15TextureResourceC8DrawableCF","target":"c:objc(pl)MTLCommandBuffer","targetFallback":"Metal.MTLCommandBuffer"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Spatial.symbols.json b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Spatial.symbols.json new file mode 100644 index 0000000..484bd09 --- /dev/null +++ b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Spatial.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"xros","minimumVersion":{"major":1,"minor":0}}}},"symbols":[{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:So8SPRect3Da17RealityFoundationEyAbC11BoundingBoxVcfc","interfaceLanguage":"swift"},"pathComponents":["Rect3D","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Spatial","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"bounds"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"BoundingBox","preciseIdentifier":"s:17RealityFoundation11BoundingBoxV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:So19SPAffineTransform3Da17RealityFoundationEyAbC9TransformVcfc","interfaceLanguage":"swift"},"pathComponents":["AffineTransform3D","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Spatial","typeKind":"swift.struct"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"transform"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Transform","preciseIdentifier":"s:17RealityFoundation9TransformV"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"macOS","isUnconditionallyUnavailable":true},{"domain":"macCatalyst","isUnconditionallyUnavailable":true},{"domain":"visionOS","introduced":{"major":1,"minor":0}},{"domain":"iOS","isUnconditionallyUnavailable":true}]}],"relationships":[{"kind":"memberOf","source":"s:So19SPAffineTransform3Da17RealityFoundationEyAbC9TransformVcfc","target":"c:@SA@SPAffineTransform3D","targetFallback":"Spatial.AffineTransform3D"},{"kind":"memberOf","source":"s:So8SPRect3Da17RealityFoundationEyAbC11BoundingBoxVcfc","target":"c:@SA@SPRect3D","targetFallback":"Spatial.Rect3D"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Swift.symbols.json b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Swift.symbols.json new file mode 100644 index 0000000..814a888 --- /dev/null +++ b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@Swift.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"xros","minimumVersion":{"major":1,"minor":0}}}},"symbols":[{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling `random(in:using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","quotientAndRemainder(dividingBy:)"],"names":{"title":"quotientAndRemainder(dividingBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the quotient and remainder of this value divided by the given"},{"text":"value."},{"text":""},{"text":"Use this method to calculate the quotient and remainder of a division at"},{"text":"the same time."},{"text":""},{"text":" let x = 1_000_000"},{"text":" let (q, r) = x.quotientAndRemainder(dividingBy: 933)"},{"text":" // q == 1071"},{"text":" // r == 757"},{"text":""},{"text":"- Parameter rhs: The value to divide this value by."},{"text":"- Returns: A tuple containing the quotient and remainder of this value"},{"text":" divided by `rhs`."}]},"functionSignature":{"parameters":[{"name":"dividingBy","internalName":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"(quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE8distance2toSix_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","distance(to:)"],"names":{"title":"distance(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the distance from this value to the given value, expressed as a"},{"text":"stride."},{"text":""},{"text":"For two values `x` and `y`, and a distance `n = x.distance(to: y)`,"},{"text":"`x.advanced(by: n) == y`."},{"text":""},{"text":"- Parameter other: The value to calculate the distance to."},{"text":"- Returns: The distance from this value to `other`."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"distance"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","bigEndian"],"names":{"title":"bigEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The big-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a big-endian platform, for any"},{"text":"integer `x`, `x == x.bigEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","littleEndian"],"names":{"title":"littleEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The little-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a little-endian platform, for any"},{"text":"integer `x`, `x == x.littleEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The maximum representable integer in this type."},{"text":""},{"text":"For signed integer types, this value is `(2 ** (bitWidth - 1)) - 1`,"},{"text":"where `**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Note: The algorithm used to create random values may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same sequence of integer values each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:_:)"],"names":{"title":"...(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a closed range that contains both of its bounds."},{"text":""},{"text":"Use the closed range operator (`...`) to create a closed range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`ClosedRange` from \"a\" up to, and including, \"z\"."},{"text":""},{"text":" let lowercase = \"a\"...\"z\""},{"text":" print(lowercase.contains(\"z\"))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer, if it can be represented"},{"text":"exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `100`, while the attempt to initialize the"},{"text":"constant `y` from `1_000` fails because the `Int8` type can represent"},{"text":"`127` at maximum:"},{"text":""},{"text":" let x = Int8(exactly: 100)"},{"text":" // x == Optional(100)"},{"text":" let y = Int8(exactly: 1_000)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than operator (`>`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range extending upward from a lower bound."},{"text":""},{"text":"Use the postfix range operator (postfix `...`) to create a partial range"},{"text":"of any type that conforms to the `Comparable` protocol. This example"},{"text":"creates a `PartialRangeFrom` instance that includes any value"},{"text":"greater than or equal to `5.0`."},{"text":""},{"text":" let atLeastFive = 5.0..."},{"text":""},{"text":" atLeastFive.contains(4.0) // false"},{"text":" atLeastFive.contains(5.0) // true"},{"text":" atLeastFive.contains(6.0) // true"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the partial range's lower bound up to the end"},{"text":"of the collection."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[3...])"},{"text":" // Prints \"[40, 50, 60, 70]\""},{"text":""},{"text":"- Parameter minimum: The lower bound for the range."},{"text":""},{"text":"- Precondition: `minimum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise AND operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise AND operation results in a value that has each bit set to `1`"},{"text":"where *both* of its arguments have that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x & y // 0b00000100"},{"text":" // z == 4"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&<<=` operator performs a *masking shift*, where the value used as"},{"text":"`rhs` is masked to produce a value in the range `0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the two given values, wrapping the result in case of"},{"text":"any overflow."},{"text":""},{"text":"The overflow addition operator (`&+`) discards any bits that overflow the"},{"text":"fixed width of the integer type. In the following example, the sum of"},{"text":"`100` and `121` is greater than the maximum representable `Int8` value,"},{"text":"so the result is the partial value after discarding the overflowing"},{"text":"bits."},{"text":""},{"text":" let x: Int8 = 10 &+ 21"},{"text":" // x == 31"},{"text":" let y: Int8 = 100 &+ 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The minimum representable integer in this type."},{"text":""},{"text":"For signed integer types, this value is `-(2 ** (bitWidth - 1))`, where"},{"text":"`**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE8advanced2byxSi_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","advanced(by:)"],"names":{"title":"advanced(by:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"advanced"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a value that is offset the specified distance from this value."},{"text":""},{"text":"Use the `advanced(by:)` method in generic code to offset a value by a"},{"text":"specified distance. If you're working directly with numeric values, use"},{"text":"the addition operator (`+`) instead of this method."},{"text":""},{"text":"For a value `x`, a distance `n`, and a value `y = x.advanced(by: n)`,"},{"text":"`x.distance(to: y) == n`."},{"text":""},{"text":"- Parameter n: The distance to advance this value."},{"text":"- Returns: A value that is offset from this value by `n`."}]},"functionSignature":{"parameters":[{"name":"by","internalName":"n","declarationFragments":[{"kind":"identifier","spelling":"n"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"advanced"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"by"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"n"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<=(_:_:)"],"names":{"title":"<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left in the left-hand-side variable."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x <<= 2"},{"text":" // x == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y <<= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a <<= -3"},{"text":" // a == 3 // 0b00000011"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b >>= 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SzsExycfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new value equal to zero."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","bitWidth"],"names":{"title":"bitWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of bits in the binary representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlE10isMultiple2ofSbx_tF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","isMultiple(of:)"],"names":{"title":"isMultiple(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns `true` if this value is a multiple of the given value, and `false`"},{"text":"otherwise."},{"text":""},{"text":"For two integers *a* and *b*, *a* is a multiple of *b* if there exists a"},{"text":"third integer *q* such that _a = q*b_. For example, *6* is a multiple of"},{"text":"*3* because _6 = 2*3_. Zero is a multiple of everything because _0 = 0*x_"},{"text":"for any integer *x*."},{"text":""},{"text":"Two edge cases are worth particular attention:"},{"text":"- `x.isMultiple(of: 0)` is `true` if `x` is zero and `false` otherwise."},{"text":"- `T.min.isMultiple(of: -1)` is `true` for signed integer `T`, even"},{"text":" though the quotient `T.min / -1` isn't representable in type `T`."},{"text":""},{"text":"- Parameter other: The value to test."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are"},{"text":"equal."},{"text":""},{"text":"You can check the equality of instances of any `BinaryInteger` types"},{"text":"using the equal-to operator (`==`). For example, you can test whether"},{"text":"the first `UInt8` value in a string's UTF-8 encoding is equal to the"},{"text":"first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are equal: \\(firstUTF8 == firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are equal: true\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","+(_:)"],"names":{"title":"+(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the given number unchanged."},{"text":""},{"text":"You can use the unary plus operator (`+`) to provide symmetry in your"},{"text":"code for positive numbers when also using the unary minus operator."},{"text":""},{"text":" let x = -21"},{"text":" let y = +21"},{"text":" // x == -21"},{"text":" // y == 21"},{"text":""},{"text":"- Returns: The given argument without any changes."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling the version that takes a generator,"},{"text":"passing in the system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(bigEndian:)"],"names":{"title":"init(bigEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its big-endian representation, changing the byte"},{"text":"order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the big-endian representation of the"},{"text":" new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are not"},{"text":"equal."},{"text":""},{"text":"You can check the inequality of instances of any `BinaryInteger` types"},{"text":"using the not-equal-to operator (`!=`). For example, you can test"},{"text":"whether the first `UInt8` value in a string's UTF-8 encoding is not"},{"text":"equal to the first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are different: \\(firstUTF8 != firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are different: false\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The zero value."},{"text":""},{"text":"Zero is the identity element for addition. For any value,"},{"text":"`x + .zero == x` and `.zero + x == x`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"ExpressibleByIntegerLiteral","rhsPrecise":"s:s27ExpressibleByIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Multiplies two values and stores the result in the left-hand-side"},{"text":"variable, wrapping any overflow."},{"text":""},{"text":"The masking multiplication assignment operator (`&*=`) silently wraps"},{"text":"any overflow that occurs during the operation. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &*= 5"},{"text":" // x == 50"},{"text":" var y: Int8 = 10"},{"text":" y &*= 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(littleEndian:)"],"names":{"title":"init(littleEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its little-endian representation, changing the"},{"text":"byte order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the little-endian representation of"},{"text":" the new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(truncatingIfNeeded:)"],"names":{"title":"init(truncatingIfNeeded:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the bit pattern of the given instance by"},{"text":"truncating or sign-extending if needed to fit this type."},{"text":""},{"text":"When the bit width of `T` (the type of `source`) is equal to or greater"},{"text":"than this type's bit width, the result is the truncated"},{"text":"least-significant bits of `source`. For example, when converting a"},{"text":"16-bit value to an 8-bit type, only the lower 8 bits of `source` are"},{"text":"used."},{"text":""},{"text":" let p: Int16 = -500"},{"text":" // 'p' has a binary representation of 11111110_00001100"},{"text":" let q = Int8(truncatingIfNeeded: p)"},{"text":" // q == 12"},{"text":" // 'q' has a binary representation of 00001100"},{"text":""},{"text":"When the bit width of `T` is less than this type's bit width, the result"},{"text":"is *sign-extended* to fill the remaining bits. That is, if `source` is"},{"text":"negative, the result is padded with ones; otherwise, the result is"},{"text":"padded with zeros."},{"text":""},{"text":" let u: Int8 = 21"},{"text":" // 'u' has a binary representation of 00010101"},{"text":" let v = Int16(truncatingIfNeeded: u)"},{"text":" // v == 21"},{"text":" // 'v' has a binary representation of 00000000_00010101"},{"text":""},{"text":" let w: Int8 = -21"},{"text":" // 'w' has a binary representation of 11101011"},{"text":" let x = Int16(truncatingIfNeeded: w)"},{"text":" // x == -21"},{"text":" // 'x' has a binary representation of 11111111_11101011"},{"text":" let y = UInt16(truncatingIfNeeded: w)"},{"text":" // y == 65515"},{"text":" // 'y' has a binary representation of 11111111_11101011"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than-or-equal-to operator"},{"text":"(`>=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."},{"text":"- Returns: `true` if `lhs` is greater than or equal to `rhs`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, if it can be"},{"text":"represented exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `21.0`, while the attempt to initialize the"},{"text":"constant `y` from `21.5` fails:"},{"text":""},{"text":" let x = Int(exactly: 21.0)"},{"text":" // x == Optional(21)"},{"text":" let y = Int(exactly: 21.5)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than operator (`<`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the inverse of the bits set in the argument."},{"text":""},{"text":"The bitwise NOT operator (`~`) is a prefix operator that returns a value"},{"text":"in which all the bits of its argument are flipped: Bits that are `1` in"},{"text":"the argument are `0` in the result, and bits that are `0` in the argument"},{"text":"are `1` in the result. This is equivalent to the inverse of a set. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let notX = ~x // 0b11111010"},{"text":""},{"text":"Performing a bitwise NOT operation on 0 returns a value with every bit"},{"text":"set to `1`."},{"text":""},{"text":" let allOnes = ~UInt8.min // 0b11111111"},{"text":""},{"text":"- Complexity: O(1)."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(clamping:)"],"names":{"title":"init(clamping:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the representable value that's closest to the"},{"text":"given integer."},{"text":""},{"text":"If the value passed as `source` is greater than the maximum representable"},{"text":"value in this type, the result is the type's `max` value. If `source` is"},{"text":"less than the smallest representable value in this type, the result is"},{"text":"the type's `min` value."},{"text":""},{"text":"In this example, `x` is initialized as an `Int8` instance by clamping"},{"text":"`500` to the range `-128...127`, and `y` is initialized as a `UInt`"},{"text":"instance by clamping `-500` to the range `0...UInt.max`."},{"text":""},{"text":" let x = Int8(clamping: 500)"},{"text":" // x == 127"},{"text":" // x == Int8.max"},{"text":""},{"text":" let y = UInt(clamping: -500)"},{"text":" // y == 0"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, and including, its upper bound."},{"text":""},{"text":"Use the prefix closed range operator (prefix `...`) to create a partial"},{"text":"range of any type that conforms to the `Comparable` protocol. This"},{"text":"example creates a `PartialRangeThrough` instance that includes"},{"text":"any value less than or equal to `5.0`."},{"text":""},{"text":" let throughFive = ...5.0"},{"text":""},{"text":" throughFive.contains(4.0) // true"},{"text":" throughFive.contains(5.0) // true"},{"text":" throughFive.contains(6.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, and"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[...3])"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` using `IntegerFormatStyle()`"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, rounding toward"},{"text":"zero. Any fractional part of the value passed as `source` is removed."},{"text":""},{"text":" let x = Int(21.5)"},{"text":" // x == 21"},{"text":" let y = Int(-21.5)"},{"text":" // y == -21"},{"text":""},{"text":"If `source` is outside the bounds of this type after rounding toward"},{"text":"zero, a runtime error may occur."},{"text":""},{"text":" let z = UInt(-21.5)"},{"text":" // Error: ...outside the representable range"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."},{"text":" `source` must be representable in this type after rounding toward"},{"text":" zero."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than-or-equal-to operator (`<=`), even if the two instances are of"},{"text":"different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","min"],"names":{"title":"min","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The minimum representable integer in this type."},{"text":""},{"text":"For unsigned integer types, this value is always `0`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than-or-equal-to operator (`>=`), even if the two instances are"},{"text":"of different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer, if it can be represented"},{"text":"exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `100`, while the attempt to initialize the"},{"text":"constant `y` from `1_000` fails because the `Int8` type can represent"},{"text":"`127` at maximum:"},{"text":""},{"text":" let x = Int8(exactly: 100)"},{"text":" // x == Optional(100)"},{"text":" let y = Int8(exactly: 1_000)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than operator (`>`) for"},{"text":"any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.ParseOutput"},{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise XOR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise XOR operation, also known as an exclusive OR operation, results"},{"text":"in a value that has each bit set to `1` where *one or the other but not"},{"text":"both* of its arguments had that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x ^ y // 0b00001011"},{"text":" // z == 11"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:radix:)"],"names":{"title":"init(_:radix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string and radix."},{"text":""},{"text":"The string passed as `text` may begin with a plus or minus sign character"},{"text":"(`+` or `-`), followed by one or more numeric digits (`0-9`) or letters"},{"text":"(`a-z` or `A-Z`). Parsing of the string is case insensitive."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":" let y = Int(\"-123\", radix: 8)"},{"text":" // y == -83"},{"text":" let y = Int(\"+123\", radix: 8)"},{"text":" // y == +83"},{"text":""},{"text":" let z = Int(\"07b\", radix: 16)"},{"text":" // z == 123"},{"text":""},{"text":"If `text` is in an invalid format or contains characters that are out of"},{"text":"bounds for the given `radix`, or if the value it denotes in the given"},{"text":"`radix` is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"zzzzzzzzzzzzz\", radix: 36) // Out of range"},{"text":""},{"text":"- Parameters:"},{"text":" - text: The ASCII representation of a number in the radix passed as"},{"text":" `radix`."},{"text":" - radix: The radix, or base, to use for converting `text` to an integer"},{"text":" value. `radix` must be in the range `2...36`. The default is 10."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"text"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 10) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"StringProtocol","preciseIdentifier":"s:Sy"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable,"},{"text":"wrapping any overflow."},{"text":""},{"text":"The masking addition assignment operator (`&+=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"sum of `100` and `121` is greater than the maximum representable `Int8`"},{"text":"value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &+= 21"},{"text":" // x == 31"},{"text":" var y: Int8 = 100"},{"text":" y &+= 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","..<(_:_:)"],"names":{"title":"..<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a half-open range that contains its lower bound but not its upper"},{"text":"bound."},{"text":""},{"text":"Use the half-open range operator (`..<`) to create a range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`Range` from zero up to, but not including, 5.0."},{"text":""},{"text":" let lessThanFive = 0.0..<5.0"},{"text":" print(lessThanFive.contains(3.14)) // Prints \"true\""},{"text":" print(lessThanFive.contains(5.0)) // Prints \"false\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","max"],"names":{"title":"max","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The maximum representable integer in this type."},{"text":""},{"text":"For unsigned integer types, this value is `(2 ** bitWidth) - 1`, where"},{"text":"`**` is exponentiation."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is less than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the less-than-or-equal-to"},{"text":"operator (`<=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference of the two given values, wrapping the result in"},{"text":"case of any overflow."},{"text":""},{"text":"The overflow subtraction operator (`&-`) discards any bits that overflow"},{"text":"the fixed width of the integer type. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: UInt8 = 21 &- 10"},{"text":" // x == 11"},{"text":" let y: UInt8 = 10 &- 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>=(_:_:)"],"names":{"title":">>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right in the left-hand-side variable."},{"text":""},{"text":"The `>>=` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x >>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y >>= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a >>= -3"},{"text":" // a == 240 // 0b11110000"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b <<= 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" var q: Int8 = -30 // 0b11100010"},{"text":" q >>= 2"},{"text":" // q == -8 // 0b11111000"},{"text":""},{"text":" var r: Int8 = -30 // 0b11100010"},{"text":" r >>= 11"},{"text":" // r == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise OR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise OR operation results in a value that has each bit set to `1`"},{"text":"where *one or both* of its arguments have that bit set to `1`. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x | y // 0b00001111"},{"text":" // z == 15"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SZsE8isSignedSbvpZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","isSigned"],"names":{"title":"isSigned","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether this type is a signed integer type."},{"text":""},{"text":"This property is always `true` for signed integer types."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Foundation","lines":[{"text":"Initialize an instance by parsing `value` with the given `strategy`."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"This function is the only requirement of the `Comparable` protocol. The"},{"text":"remainder of the relational operator functions are implemented by the"},{"text":"standard library for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string."},{"text":""},{"text":"The string passed as `description` may begin with a plus or minus sign"},{"text":"character (`+` or `-`), followed by one or more numeric digits (`0-9`)."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":"If `description` is in an invalid format, or if the value it denotes in"},{"text":"base 10 is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"10000000000000000000000000\") // Out of range"},{"text":""},{"text":"- Parameter description: The ASCII representation of a number."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable, wrapping any overflow."},{"text":""},{"text":"The masking subtraction assignment operator (`&-=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the result is the partial value after"},{"text":"discarding the overflowing bits."},{"text":""},{"text":" var x: Int8 = 21"},{"text":" x &-= 10"},{"text":" // x == 11"},{"text":" var y: UInt8 = 10"},{"text":" y &-= 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Calculates the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&>>=` operator performs a *masking shift*, where the value passed as"},{"text":"`rhs` is masked to produce a value in the range `0..>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `19` as `rhs`, the operation first bitmasks `rhs` to"},{"text":"`3`, and then uses that masked value as the number of bits to shift `lhs`."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y &>>= 19"},{"text":" // y == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized to the specified integer value."},{"text":""},{"text":"Do not call this initializer directly. Instead, initialize a variable or"},{"text":"constant using an integer literal. For example:"},{"text":""},{"text":" let x = 23"},{"text":""},{"text":"In this example, the assignment to the `x` constant calls this integer"},{"text":"literal initializer behind the scenes."},{"text":""},{"text":"- Parameter value: The value to create."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer."},{"text":""},{"text":"Use this initializer to convert from another integer type when you know"},{"text":"the value is within the bounds of this type. Passing a value that can't"},{"text":"be represented in this type results in a runtime error."},{"text":""},{"text":"In the following example, the constant `y` is successfully created from"},{"text":"`x`, an `Int` instance with a value of `100`. Because the `Int8` type"},{"text":"can represent `127` at maximum, the attempt to create `z` with a value"},{"text":"of `1000` results in a runtime error."},{"text":""},{"text":" let x = 100"},{"text":" let y = Int8(x)"},{"text":" // y == 100"},{"text":" let z = Int8(x * 10)"},{"text":" // Error: Not enough bits to represent the given value"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer. The value"},{"text":" passed as `source` must be representable in this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the product of the two given values, wrapping the result in case"},{"text":"of any overflow."},{"text":""},{"text":"The overflow multiplication operator (`&*`) discards any bits that"},{"text":"overflow the fixed width of the integer type. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: Int8 = 10 &* 5"},{"text":" // x == 50"},{"text":" let y: Int8 = 10 &* 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","..<(_:)"],"names":{"title":"..<(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, but not including, its upper bound."},{"text":""},{"text":"Use the prefix half-open range operator (prefix `..<`) to create a"},{"text":"partial range of any type that conforms to the `Comparable` protocol."},{"text":"This example creates a `PartialRangeUpTo` instance that includes"},{"text":"any value less than `5.0`."},{"text":""},{"text":" let upToFive = ..<5.0"},{"text":""},{"text":" upToFive.contains(3.14) // true"},{"text":" upToFive.contains(6.28) // false"},{"text":" upToFive.contains(5.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, but not"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[..<3])"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(truncatingIfNeeded:)"],"names":{"title":"init(truncatingIfNeeded:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the bit pattern of the given instance by"},{"text":"truncating or sign-extending if needed to fit this type."},{"text":""},{"text":"When the bit width of `T` (the type of `source`) is equal to or greater"},{"text":"than this type's bit width, the result is the truncated"},{"text":"least-significant bits of `source`. For example, when converting a"},{"text":"16-bit value to an 8-bit type, only the lower 8 bits of `source` are"},{"text":"used."},{"text":""},{"text":" let p: Int16 = -500"},{"text":" // 'p' has a binary representation of 11111110_00001100"},{"text":" let q = Int8(truncatingIfNeeded: p)"},{"text":" // q == 12"},{"text":" // 'q' has a binary representation of 00001100"},{"text":""},{"text":"When the bit width of `T` is less than this type's bit width, the result"},{"text":"is *sign-extended* to fill the remaining bits. That is, if `source` is"},{"text":"negative, the result is padded with ones; otherwise, the result is"},{"text":"padded with zeros."},{"text":""},{"text":" let u: Int8 = 21"},{"text":" // 'u' has a binary representation of 00010101"},{"text":" let v = Int16(truncatingIfNeeded: u)"},{"text":" // v == 21"},{"text":" // 'v' has a binary representation of 00000000_00010101"},{"text":""},{"text":" let w: Int8 = -21"},{"text":" // 'w' has a binary representation of 11101011"},{"text":" let x = Int16(truncatingIfNeeded: w)"},{"text":" // x == -21"},{"text":" // 'x' has a binary representation of 11111111_11101011"},{"text":" let y = UInt16(truncatingIfNeeded: w)"},{"text":" // y == 65515"},{"text":" // 'y' has a binary representation of 11111111_11101011"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"truncatingIfNeeded"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than-or-equal-to operator"},{"text":"(`>=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."},{"text":"- Returns: `true` if `lhs` is greater than or equal to `rhs`; otherwise,"},{"text":" `false`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance from the given integer."},{"text":""},{"text":"Use this initializer to convert from another integer type when you know"},{"text":"the value is within the bounds of this type. Passing a value that can't"},{"text":"be represented in this type results in a runtime error."},{"text":""},{"text":"In the following example, the constant `y` is successfully created from"},{"text":"`x`, an `Int` instance with a value of `100`. Because the `Int8` type"},{"text":"can represent `127` at maximum, the attempt to create `z` with a value"},{"text":"of `1000` results in a runtime error."},{"text":""},{"text":" let x = 100"},{"text":" let y = Int8(x)"},{"text":" // y == 100"},{"text":" let z = Int8(x * 10)"},{"text":" // Error: Not enough bits to represent the given value"},{"text":""},{"text":"- Parameter source: A value to convert to this type of integer. The value"},{"text":" passed as `source` must be representable in this type."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"},{"kind":"conformance","lhs":"T","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Multiplies two values and stores the result in the left-hand-side"},{"text":"variable, wrapping any overflow."},{"text":""},{"text":"The masking multiplication assignment operator (`&*=`) silently wraps"},{"text":"any overflow that occurs during the operation. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &*= 5"},{"text":" // x == 50"},{"text":" var y: Int8 = 10"},{"text":" y &*= 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The zero value."},{"text":""},{"text":"Zero is the identity element for addition. For any value,"},{"text":"`x + .zero == x` and `.zero + x == x`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"ExpressibleByIntegerLiteral","rhsPrecise":"s:s27ExpressibleByIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0.. "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format. `self` is first converted to `S.FormatInput` type, then format with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","wrappedSum()"],"names":{"title":"wrappedSum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the scalars in the vector, computed with wrapping"},{"text":"addition."},{"text":""},{"text":"Equivalent to `indices.reduce(into: 0) { $0 &+= self[$1] }`."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"wrappedSum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are not"},{"text":"equal."},{"text":""},{"text":"You can check the inequality of instances of any `BinaryInteger` types"},{"text":"using the not-equal-to operator (`!=`). For example, you can test"},{"text":"whether the first `UInt8` value in a string's UTF-8 encoding is not"},{"text":"equal to the first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are different: \\(firstUTF8 != firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are different: false\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:SUsE8isSignedSbvpZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","isSigned"],"names":{"title":"isSigned","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"A Boolean value indicating whether this type is a signed integer type."},{"text":""},{"text":"This property is always `false` for unsigned integer types."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isSigned"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(bigEndian:)"],"names":{"title":"init(bigEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its big-endian representation, changing the byte"},{"text":"order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the big-endian representation of the"},{"text":" new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"bigEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","nonzeroBitCount"],"names":{"title":"nonzeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"nonzeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling the version that takes a generator,"},{"text":"passing in the system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(littleEndian:)"],"names":{"title":"init(littleEndian:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from its little-endian representation, changing the"},{"text":"byte order if necessary."},{"text":""},{"text":"- Parameter value: A value to use as the little-endian representation of"},{"text":" the new integer."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"littleEndian"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Percent","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV7PercentV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","+(_:)"],"names":{"title":"+(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the given number unchanged."},{"text":""},{"text":"You can use the unary plus operator (`+`) to provide symmetry in your"},{"text":"code for positive numbers when also using the unary minus operator."},{"text":""},{"text":" let x = -21"},{"text":" let y = +21"},{"text":" // x == -21"},{"text":" // y == 21"},{"text":""},{"text":"- Returns: The given argument without any changes."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the two given values are"},{"text":"equal."},{"text":""},{"text":"You can check the equality of instances of any `BinaryInteger` types"},{"text":"using the equal-to operator (`==`). For example, you can test whether"},{"text":"the first `UInt8` value in a string's UTF-8 encoding is equal to the"},{"text":"first `UInt32` value in its Unicode scalar view:"},{"text":""},{"text":" let gameName = \"Red Light, Green Light\""},{"text":" if let firstUTF8 = gameName.utf8.first,"},{"text":" let firstScalar = gameName.unicodeScalars.first?.value {"},{"text":" print(\"First code values are equal: \\(firstUTF8 == firstScalar)\")"},{"text":" }"},{"text":" // Prints \"First code values are equal: true\""},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","bitWidth"],"names":{"title":"bitWidth","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"}]},"docComment":{"module":"Swift","lines":[{"text":"The number of bits in the binary representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bitWidth"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:SzsExycfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init()"],"names":{"title":"init()","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new value equal to zero."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SUsE9magnitudexvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","magnitude"],"names":{"title":"magnitude","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"magnitude"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The magnitude of this value."},{"text":""},{"text":"Every unsigned integer is its own magnitude, so for any value `x`,"},{"text":"`x == x.magnitude`."},{"text":""},{"text":"The global `abs(_:)` function provides more familiar syntax when you need"},{"text":"to find an absolute value. In addition, because `abs(_:)` always returns"},{"text":"a value of the same type, even in a generic context, using the function"},{"text":"instead of the `magnitude` property is encouraged."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"magnitude"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<=(_:_:)"],"names":{"title":"<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left in the left-hand-side variable."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x <<= 2"},{"text":" // x == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y <<= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a <<= -3"},{"text":" // a == 3 // 0b00000011"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b >>= 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE10isMultiple2ofSbx_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","isMultiple(of:)"],"names":{"title":"isMultiple(of:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns `true` if this value is a multiple of the given value, and `false`"},{"text":"otherwise."},{"text":""},{"text":"For two integers *a* and *b*, *a* is a multiple of *b* if there exists a"},{"text":"third integer *q* such that _a = q*b_. For example, *6* is a multiple of"},{"text":"*3* because _6 = 2*3_. Zero is a multiple of everything because _0 = 0*x_"},{"text":"for any integer *x*."},{"text":""},{"text":"Two edge cases are worth particular attention:"},{"text":"- `x.isMultiple(of: 0)` is `true` if `x` is zero and `false` otherwise."},{"text":"- `T.min.isMultiple(of: -1)` is `true` for signed integer `T`, even"},{"text":" though the quotient `T.min / -1` isn't representable in type `T`."},{"text":""},{"text":"- Parameter other: The value to test."}]},"functionSignature":{"parameters":[{"name":"of","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"isMultiple"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"of"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&<<=` operator performs a *masking shift*, where the value used as"},{"text":"`rhs` is masked to produce a value in the range `0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the sum of the two given values, wrapping the result in case of"},{"text":"any overflow."},{"text":""},{"text":"The overflow addition operator (`&+`) discards any bits that overflow the"},{"text":"fixed width of the integer type. In the following example, the sum of"},{"text":"`100` and `121` is greater than the maximum representable `Int8` value,"},{"text":"so the result is the partial value after discarding the overflowing"},{"text":"bits."},{"text":""},{"text":" let x: Int8 = 10 &+ 21"},{"text":" // x == 31"},{"text":" let y: Int8 = 100 &+ 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise AND operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise AND operation results in a value that has each bit set to `1`"},{"text":"where *both* of its arguments have that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x & y // 0b00000100"},{"text":" // z == 4"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range extending upward from a lower bound."},{"text":""},{"text":"Use the postfix range operator (postfix `...`) to create a partial range"},{"text":"of any type that conforms to the `Comparable` protocol. This example"},{"text":"creates a `PartialRangeFrom` instance that includes any value"},{"text":"greater than or equal to `5.0`."},{"text":""},{"text":" let atLeastFive = 5.0..."},{"text":""},{"text":" atLeastFive.contains(4.0) // false"},{"text":" atLeastFive.contains(5.0) // true"},{"text":" atLeastFive.contains(6.0) // true"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the partial range's lower bound up to the end"},{"text":"of the collection."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[3...])"},{"text":" // Prints \"[40, 50, 60, 70]\""},{"text":""},{"text":"- Parameter minimum: The lower bound for the range."},{"text":""},{"text":"- Precondition: `minimum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeFrom","preciseIdentifier":"s:s16PartialRangeFromV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<<(_:_:)"],"names":{"title":"<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left."},{"text":""},{"text":"The `<<` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a right shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*, resulting in zero."},{"text":"- Using any other value for `rhs` performs a left shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted left by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x << 2"},{"text":" // y == 120 // 0b01111000"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x << 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a right shift"},{"text":"with `abs(rhs)`."},{"text":""},{"text":" let a = x << -3"},{"text":" // a == 3 // 0b00000011"},{"text":" let b = x >> 3"},{"text":" // b == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the left."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual representation of this value."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:_:)"],"names":{"title":"...(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a closed range that contains both of its bounds."},{"text":""},{"text":"Use the closed range operator (`...`) to create a closed range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`ClosedRange` from \"a\" up to, and including, \"z\"."},{"text":""},{"text":" let lowercase = \"a\"...\"z\""},{"text":" print(lowercase.contains(\"z\"))"},{"text":" // Prints \"true\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">."},{"kind":"typeIdentifier","spelling":"Currency","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV8CurrencyV"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range, using the given"},{"text":"generator as a source for randomness."},{"text":""},{"text":"Use this method to generate an integer within a specific range when you"},{"text":"are using a custom random number generator. This example creates three"},{"text":"new values in the range `1..<100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1..<100, using: &myGenerator))"},{"text":" }"},{"text":" // Prints \"7\""},{"text":" // Prints \"44\""},{"text":" // Prints \"21\""},{"text":""},{"text":"- Note: The algorithm used to create random values may change in a future"},{"text":" version of Swift. If you're passing a generator that results in the"},{"text":" same sequence of integer values each time you run your program, that"},{"text":" sequence may change when your program is compiled using a different"},{"text":" version of Swift."},{"text":""},{"text":"- Parameters:"},{"text":" - range: The range in which to create a random value."},{"text":" `range` must not be empty."},{"text":" - generator: The random number generator to use when creating the"},{"text":" new random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than operator (`>`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","littleEndian"],"names":{"title":"littleEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The little-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a little-endian platform, for any"},{"text":"integer `x`, `x == x.littleEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"littleEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","bigEndian"],"names":{"title":"bigEndian","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"The big-endian representation of this integer."},{"text":""},{"text":"If necessary, the byte order of this value is reversed from the typical"},{"text":"byte order of this integer type. On a big-endian platform, for any"},{"text":"integer `x`, `x == x.bigEndian`."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"bigEndian"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","quotientAndRemainder(dividingBy:)"],"names":{"title":"quotientAndRemainder(dividingBy:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the quotient and remainder of this value divided by the given"},{"text":"value."},{"text":""},{"text":"Use this method to calculate the quotient and remainder of a division at"},{"text":"the same time."},{"text":""},{"text":" let x = 1_000_000"},{"text":" let (q, r) = x.quotientAndRemainder(dividingBy: 933)"},{"text":" // q == 1071"},{"text":" // r == 757"},{"text":""},{"text":"- Parameter rhs: The value to divide this value by."},{"text":"- Returns: A tuple containing the quotient and remainder of this value"},{"text":" divided by `rhs`."}]},"functionSignature":{"parameters":[{"name":"dividingBy","internalName":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"(quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"quotientAndRemainder"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"dividingBy"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> (quotient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", remainder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a random value within the specified range."},{"text":""},{"text":"Use this method to generate an integer within a specific range. This"},{"text":"example creates three new values in the range `1...100`."},{"text":""},{"text":" for _ in 1...3 {"},{"text":" print(Int.random(in: 1...100))"},{"text":" }"},{"text":" // Prints \"53\""},{"text":" // Prints \"64\""},{"text":" // Prints \"5\""},{"text":""},{"text":"This method is equivalent to calling `random(in:using:)`, passing in the"},{"text":"system's default random generator."},{"text":""},{"text":"- Parameter range: The range in which to create a random value."},{"text":"- Returns: A random value within the bounds of `range`."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","%(_:_:)"],"names":{"title":"%(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","..<(_:)"],"names":{"title":"..<(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, but not including, its upper bound."},{"text":""},{"text":"Use the prefix half-open range operator (prefix `..<`) to create a"},{"text":"partial range of any type that conforms to the `Comparable` protocol."},{"text":"This example creates a `PartialRangeUpTo` instance that includes"},{"text":"any value less than `5.0`."},{"text":""},{"text":" let upToFive = ..<5.0"},{"text":""},{"text":" upToFive.contains(3.14) // true"},{"text":" upToFive.contains(6.28) // false"},{"text":" upToFive.contains(5.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, but not"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[..<3])"},{"text":" // Prints \"[10, 20, 30]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeUpTo","preciseIdentifier":"s:s16PartialRangeUpToV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0.. "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^=(_:_:)"],"names":{"title":"^=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements replaced by elements of"},{"text":"`other` in the lanes where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other[i] : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","rounded(_:)"],"names":{"title":"rounded(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector formed by rounding each lane of the source vector to an integral"},{"text":"value according to the specified rounding `rule`."}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"rounded"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s13SignedNumericPsE1sopyxxFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the additive inverse of the specified value."},{"text":""},{"text":"The negation operator (prefix `-`) returns the additive inverse of its"},{"text":"argument."},{"text":""},{"text":" let x = 21"},{"text":" let y = -x"},{"text":" // y == -21"},{"text":""},{"text":"The resulting value must be representable in the same type as the"},{"text":"argument. In particular, negating a signed, fixed-width integer type's"},{"text":"minimum results in a value that cannot be represented."},{"text":""},{"text":" let z = -Int8.min"},{"text":" // Overflow error"},{"text":""},{"text":"- Returns: The additive inverse of the argument."}]},"functionSignature":{"parameters":[{"name":"operand","declarationFragments":[{"kind":"identifier","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"operand"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the product of the two given values, wrapping the result in case"},{"text":"of any overflow."},{"text":""},{"text":"The overflow multiplication operator (`&*`) discards any bits that"},{"text":"overflow the fixed width of the integer type. In the following example,"},{"text":"the product of `10` and `50` is greater than the maximum representable"},{"text":"`Int8` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: Int8 = 10 &* 5"},{"text":" // x == 50"},{"text":" let y: Int8 = 10 &* 50"},{"text":" // y == -12 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to multiply."},{"text":" - rhs: The second value to multiply."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format. `self` is first converted to `S.FormatInput` type, then format with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","squareRoot()"],"names":{"title":"squareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"squareRoot"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","init(from:)"],"names":{"title":"init(from:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new vector by decoding scalars from the given decoder."},{"text":""},{"text":"This initializer throws an error if reading from the decoder fails, or"},{"text":"if the data read is corrupted or otherwise invalid."},{"text":""},{"text":"- Parameter decoder: The decoder to read data from."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"from"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"decoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two values are equal."},{"text":""},{"text":"Equality is the inverse of inequality. For any values `a` and `b`,"},{"text":"`a == b` implies that `a != b` is `false`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"RHS","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"RHS"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"RHS"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(integerLiteral:)"],"names":{"title":"init(integerLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an instance initialized to the specified integer value."},{"text":""},{"text":"Do not call this initializer directly. Instead, initialize a variable or"},{"text":"constant using an integer literal. For example:"},{"text":""},{"text":" let x = 23"},{"text":""},{"text":"In this example, the assignment to the `x` constant calls this integer"},{"text":"literal initializer behind the scenes."},{"text":""},{"text":"- Parameter value: The value to create."}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self","rhs":"_ExpressibleByBuiltinIntegerLiteral","rhsPrecise":"s:s35_ExpressibleByBuiltinIntegerLiteralP"}]},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"integerLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least element in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","description"],"names":{"title":"description","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Swift","lines":[{"text":"A textual description of the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&(_:_:)"],"names":{"title":"&(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Subtracts the second value from the first and stores the difference in the"},{"text":"left-hand-side variable, wrapping any overflow."},{"text":""},{"text":"The masking subtraction assignment operator (`&-=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the result is the partial value after"},{"text":"discarding the overflowing bits."},{"text":""},{"text":" var x: Int8 = 21"},{"text":" x &-= 10"},{"text":" // x == 11"},{"text":" var y: UInt8 = 10"},{"text":" y &-= 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise equality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","formSquareRoot()"],"names":{"title":"formSquareRoot()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formSquareRoot"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replacing(with:where:)"],"names":{"title":"replacing(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a copy of this vector, with elements `other` in the lanes where"},{"text":"`mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = Self()"},{"text":"for i in indices {"},{"text":" result[i] = mask[i] ? other : self[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replacing"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string."},{"text":""},{"text":"The string passed as `description` may begin with a plus or minus sign"},{"text":"character (`+` or `-`), followed by one or more numeric digits (`0-9`)."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":"If `description` is in an invalid format, or if the value it denotes in"},{"text":"base 10 is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"10000000000000000000000000\") // Out of range"},{"text":""},{"text":"- Parameter description: The ASCII representation of a number."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"description"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>=(_:_:)"],"names":{"title":"&>>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Calculates the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width, and stores the result in the left-hand-side variable."},{"text":""},{"text":"The `&>>=` operator performs a *masking shift*, where the value passed as"},{"text":"`rhs` is masked to produce a value in the range `0..>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `19` as `rhs`, the operation first bitmasks `rhs` to"},{"text":"`3`, and then uses that masked value as the number of bits to shift `lhs`."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y &>>= 19"},{"text":" // y == 3 // 0b00000011"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","round(_:)"],"names":{"title":"round(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"rule","declarationFragments":[{"kind":"identifier","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"round"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"rule"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"FloatingPointRoundingRule","preciseIdentifier":"s:s25FloatingPointRoundingRuleO"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the given sequence."},{"text":""},{"text":"- Precondition: `scalars` must have the same number of elements as the"},{"text":" vector type."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"Sequence","rhsPrecise":"s:ST"},{"kind":"sameType","lhs":"Self.Scalar","rhs":"S.Element"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"Sequence","preciseIdentifier":"s:ST"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Element"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Foundation","lines":[{"text":"Initialize an instance by parsing `value` with the given `strategy`."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>=(_:_:)"],"names":{"title":">>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Stores the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right in the left-hand-side variable."},{"text":""},{"text":"The `>>=` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" var x: UInt8 = 30 // 0b00011110"},{"text":" x >>= 2"},{"text":" // x == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" var y: UInt8 = 30 // 0b00011110"},{"text":" y >>= 11"},{"text":" // y == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" var a: UInt8 = 30 // 0b00011110"},{"text":" a >>= -3"},{"text":" // a == 240 // 0b11110000"},{"text":""},{"text":" var b: UInt8 = 30 // 0b00011110"},{"text":" b <<= 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" var q: Int8 = -30 // 0b11100010"},{"text":" q >>= 2"},{"text":" // q == -8 // 0b11111000"},{"text":""},{"text":" var r: Int8 = -30 // 0b11100010"},{"text":" r >>= 11"},{"text":" // r == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise OR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise OR operation results in a value that has each bit set to `1`"},{"text":"where *one or both* of its arguments have that bit set to `1`. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x | y // 0b00001111"},{"text":" // z == 15"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"This function is the only requirement of the `Comparable` protocol. The"},{"text":"remainder of the relational operator functions are implemented by the"},{"text":"standard library for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"y","declarationFragments":[{"kind":"identifier","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"y"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","sum()"],"names":{"title":"sum()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The sum of the scalars in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"sum"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the difference of the two given values, wrapping the result in"},{"text":"case of any overflow."},{"text":""},{"text":"The overflow subtraction operator (`&-`) discards any bits that overflow"},{"text":"the fixed width of the integer type. In the following example, the"},{"text":"difference of `10` and `21` is less than zero, the minimum representable"},{"text":"`UInt` value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" let x: UInt8 = 21 &- 10"},{"text":" // x == 11"},{"text":" let y: UInt8 = 10 &- 21"},{"text":" // y == 245 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A numeric value."},{"text":" - rhs: The value to subtract from `lhs`."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|=(_:_:)"],"names":{"title":"|=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is less than or equal to that of the second argument."},{"text":""},{"text":"This is the default implementation of the less-than-or-equal-to"},{"text":"operator (`<=`) for any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&=(_:_:)"],"names":{"title":"&=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","max()"],"names":{"title":"max()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The greatest scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"max"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise inequality comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the left, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking left shift operator (`&<<`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&<<=(_:_:)"],"names":{"title":"&<<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Adds two values and stores the result in the left-hand-side variable,"},{"text":"wrapping any overflow."},{"text":""},{"text":"The masking addition assignment operator (`&+=`) silently wraps any"},{"text":"overflow that occurs during the operation. In the following example, the"},{"text":"sum of `100` and `121` is greater than the maximum representable `Int8`"},{"text":"value, so the result is the partial value after discarding the"},{"text":"overflowing bits."},{"text":""},{"text":" var x: Int8 = 10"},{"text":" x &+= 21"},{"text":" // x == 31"},{"text":" var y: Int8 = 100"},{"text":" y &+= 121"},{"text":" // y == -35 (after overflow)"},{"text":""},{"text":"For more about arithmetic with overflow operators, see [Overflow"},{"text":"Operators][overflow] in *[The Swift Programming Language][tspl]*."},{"text":""},{"text":"[overflow]: https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html#ID37"},{"text":"[tspl]: https://docs.swift.org/swift-book/"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The first value to add."},{"text":" - rhs: The second value to add."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","+(_:_:)"],"names":{"title":"+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:radix:)"],"names":{"title":"init(_:radix:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new integer value from the given string and radix."},{"text":""},{"text":"The string passed as `text` may begin with a plus or minus sign character"},{"text":"(`+` or `-`), followed by one or more numeric digits (`0-9`) or letters"},{"text":"(`a-z` or `A-Z`). Parsing of the string is case insensitive."},{"text":""},{"text":" let x = Int(\"123\")"},{"text":" // x == 123"},{"text":""},{"text":" let y = Int(\"-123\", radix: 8)"},{"text":" // y == -83"},{"text":" let y = Int(\"+123\", radix: 8)"},{"text":" // y == +83"},{"text":""},{"text":" let z = Int(\"07b\", radix: 16)"},{"text":" // z == 123"},{"text":""},{"text":"If `text` is in an invalid format or contains characters that are out of"},{"text":"bounds for the given `radix`, or if the value it denotes in the given"},{"text":"`radix` is not representable, the result is `nil`. For example, the"},{"text":"following conversions result in `nil`:"},{"text":""},{"text":" Int(\" 100\") // Includes whitespace"},{"text":" Int(\"21-50\") // Invalid format"},{"text":" Int(\"ff6600\") // Characters out of bounds"},{"text":" Int(\"zzzzzzzzzzzzz\", radix: 36) // Out of range"},{"text":""},{"text":"- Parameters:"},{"text":" - text: The ASCII representation of a number in the radix passed as"},{"text":" `radix`."},{"text":" - radix: The radix, or base, to use for converting `text` to an integer"},{"text":" value. `radix` must be in the range `2...36`. The default is 10."}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"S","rhs":"StringProtocol","rhsPrecise":"s:Sy"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"text"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"radix"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":" = 10) "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"StringProtocol","preciseIdentifier":"s:Sy"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","..<(_:_:)"],"names":{"title":"..<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a half-open range that contains its lower bound but not its upper"},{"text":"bound."},{"text":""},{"text":"Use the half-open range operator (`..<`) to create a range of any type"},{"text":"that conforms to the `Comparable` protocol. This example creates a"},{"text":"`Range` from zero up to, but not including, 5.0."},{"text":""},{"text":" let lessThanFive = 0.0..<5.0"},{"text":" print(lessThanFive.contains(3.14)) // Prints \"true\""},{"text":" print(lessThanFive.contains(5.0)) // Prints \"false\""},{"text":""},{"text":"- Parameters:"},{"text":" - minimum: The lower bound for the range."},{"text":" - maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `minimum <= maximum`."}]},"functionSignature":{"parameters":[{"name":"minimum","declarationFragments":[{"kind":"identifier","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"minimum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with `other` in the lanes where `mask`"},{"text":"is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","^(_:_:)"],"names":{"title":"^(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of performing a bitwise XOR operation on the two given"},{"text":"values."},{"text":""},{"text":"A bitwise XOR operation, also known as an exclusive OR operation, results"},{"text":"in a value that has each bit set to `1` where *one or the other but not"},{"text":"both* of its arguments had that bit set to `1`. For example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let y: UInt8 = 14 // 0b00001110"},{"text":" let z = x ^ y // 0b00001011"},{"text":" // z == 11"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer value."},{"text":" - rhs: Another integer value."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"^"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","min()"],"names":{"title":"min()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"docComment":{"module":"Swift","lines":[{"text":"The least scalar in the vector."}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"min"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","|(_:_:)"],"names":{"title":"|(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"|"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first argument"},{"text":"is greater than that of the second argument."},{"text":""},{"text":"This is the default implementation of the greater-than operator (`>`) for"},{"text":"any type that conforms to `Comparable`."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-(_:)"],"names":{"title":"-(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"message":"use 0 &- rhs"}]},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:strategy:)"],"names":{"title":"init(_:strategy:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.ParseOutput"},{"kind":"conformance","lhs":"S","rhs":"ParseStrategy","rhsPrecise":"s:10Foundation13ParseStrategyP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseInput"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"strategy"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"ParseOutput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"ParseStrategy","preciseIdentifier":"s:10Foundation13ParseStrategyP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">(_:_:)"],"names":{"title":">(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than that of the second argument."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: A value to compare."},{"text":" - rhs: Another value to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","zero"],"names":{"title":"zero","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with zero in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"zero"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>=(_:_:)"],"names":{"title":".>=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than or"},{"text":"equal comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<(_:_:)"],"names":{"title":".<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&<<(_:_:)"],"names":{"title":"&<<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&<<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","-=(_:_:)"],"names":{"title":"-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64",">>(_:_:)"],"names":{"title":">>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right."},{"text":""},{"text":"The `>>` operator performs a *smart shift*, which defines a result for a"},{"text":"shift of any value."},{"text":""},{"text":"- Using a negative value for `rhs` performs a left shift using"},{"text":" `abs(rhs)`."},{"text":"- Using a value for `rhs` that is greater than or equal to the bit width"},{"text":" of `lhs` is an *overshift*. An overshift results in `-1` for a"},{"text":" negative value of `lhs` or `0` for a nonnegative value."},{"text":"- Using any other value for `rhs` performs a right shift on `lhs` by that"},{"text":" amount."},{"text":""},{"text":"The following example defines `x` as an instance of `UInt8`, an 8-bit,"},{"text":"unsigned integer type. If you use `2` as the right-hand-side value in an"},{"text":"operation on `x`, the value is shifted right by two bits."},{"text":""},{"text":" let x: UInt8 = 30 // 0b00011110"},{"text":" let y = x >> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"If you use `11` as `rhs`, `x` is overshifted such that all of its bits"},{"text":"are set to zero."},{"text":""},{"text":" let z = x >> 11"},{"text":" // z == 0 // 0b00000000"},{"text":""},{"text":"Using a negative value as `rhs` is the same as performing a left shift"},{"text":"using `abs(rhs)`."},{"text":""},{"text":" let a = x >> -3"},{"text":" // a == 240 // 0b11110000"},{"text":" let b = x << 3"},{"text":" // b == 240 // 0b11110000"},{"text":""},{"text":"Right shift operations on negative values \"fill in\" the high bits with"},{"text":"ones instead of zeros."},{"text":""},{"text":" let q: Int8 = -30 // 0b11100010"},{"text":" let r = q >> 2"},{"text":" // r == -8 // 0b11111000"},{"text":""},{"text":" let s = q >> 11"},{"text":" // s == -1 // 0b11111111"},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalar"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"Swift","deprecated":{"major":5},"renamed":"init(repeating:)"}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","==(_:_:)"],"names":{"title":"==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether two vectors are equal."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","!=(_:_:)"],"names":{"title":"!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&+(_:_:)"],"names":{"title":"&+(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int",">=(_:_:)"],"names":{"title":">=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is greater than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"greater-than-or-equal-to operator (`>=`), even if the two instances are"},{"text":"of different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":">="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","init(arrayLiteral:)"],"names":{"title":"init(arrayLiteral:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a vector from the specified elements."},{"text":""},{"text":"- Parameter scalars: The elements to use in the vector. `scalars` must"},{"text":" have the same number of elements as the vector type."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"arrayLiteral"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"scalars"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":"...)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","%=(_:_:)"],"names":{"title":"%=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"%="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&-=(_:_:)"],"names":{"title":"&-=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<=(_:_:)"],"names":{"title":"<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than or equal to that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than-or-equal-to operator (`<=`), even if the two instances are of"},{"text":"different types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".==(_:_:)"],"names":{"title":".==(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise equality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] == b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".=="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","-(_:_:)"],"names":{"title":"-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&-' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4",".!=(_:_:)"],"names":{"title":".!=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector mask with the result of a pointwise inequality comparison."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"var result = SIMDMask()"},{"text":"for i in result.indices {"},{"text":" result[i] = a[i] != b[i]"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".!="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted()"],"names":{"title":"formatted()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` using `IntegerFormatStyle()`"}]},"functionSignature":{"returns":[{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"() -> "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&*(_:_:)"],"names":{"title":"&*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the result of shifting a value's binary representation the"},{"text":"specified number of digits to the right, masking the shift amount to the"},{"text":"type's bit width."},{"text":""},{"text":"Use the masking right shift operator (`&>>`) when you need to perform a"},{"text":"shift and are sure that the shift amount is in the range"},{"text":"`0..> 2"},{"text":" // y == 7 // 0b00000111"},{"text":""},{"text":"However, if you use `8` as the shift amount, the method first masks the"},{"text":"shift amount to zero, and then performs the shift, resulting in no change"},{"text":"to the original value."},{"text":""},{"text":" let z = x &>> 8"},{"text":" // z == 30 // 0b00011110"},{"text":""},{"text":"If the bit width of the shifted integer type is a power of two, masking"},{"text":"is performed using a bitmask; otherwise, masking is performed using a"},{"text":"modulo operation."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: The value to shift."},{"text":" - rhs: The number of bits to shift `lhs` to the right. If `rhs` is"},{"text":" outside the range `0..>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(_:)"],"names":{"title":"init(_:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, rounding toward"},{"text":"zero. Any fractional part of the value passed as `source` is removed."},{"text":""},{"text":" let x = Int(21.5)"},{"text":" // x == 21"},{"text":" let y = Int(-21.5)"},{"text":" // y == -21"},{"text":""},{"text":"If `source` is outside the bounds of this type after rounding toward"},{"text":"zero, a runtime error may occur."},{"text":""},{"text":" let z = UInt(-21.5)"},{"text":" // Error: ...outside the representable range"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."},{"text":" `source` must be representable in this type after rounding toward"},{"text":" zero."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:)"],"names":{"title":"random(in:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">) -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","...(_:)"],"names":{"title":"...(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a partial range up to, and including, its upper bound."},{"text":""},{"text":"Use the prefix closed range operator (prefix `...`) to create a partial"},{"text":"range of any type that conforms to the `Comparable` protocol. This"},{"text":"example creates a `PartialRangeThrough` instance that includes"},{"text":"any value less than or equal to `5.0`."},{"text":""},{"text":" let throughFive = ...5.0"},{"text":""},{"text":" throughFive.contains(4.0) // true"},{"text":" throughFive.contains(5.0) // true"},{"text":" throughFive.contains(6.0) // false"},{"text":""},{"text":"You can use this type of partial range of a collection's indices to"},{"text":"represent the range from the start of the collection up to, and"},{"text":"including, the partial range's upper bound."},{"text":""},{"text":" let numbers = [10, 20, 30, 40, 50, 60, 70]"},{"text":" print(numbers[...3])"},{"text":" // Prints \"[10, 20, 30, 40]\""},{"text":""},{"text":"- Parameter maximum: The upper bound for the range."},{"text":""},{"text":"- Precondition: `maximum` must compare equal to itself (i.e. cannot be NaN)."}]},"functionSignature":{"parameters":[{"name":"maximum","declarationFragments":[{"kind":"identifier","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"..."},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"maximum"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"PartialRangeThrough","preciseIdentifier":"s:s19PartialRangeThroughV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".>(_:_:)"],"names":{"title":".>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise greater than"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","clamped(lowerBound:upperBound:)"],"names":{"title":"clamped(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamped"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","hash(into:)"],"names":{"title":"hash(into:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Hashes the elements of the vector using the given hasher."}]},"functionSignature":{"parameters":[{"name":"into","internalName":"hasher","declarationFragments":[{"kind":"identifier","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"hash"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"into"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"hasher"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Hasher","preciseIdentifier":"s:s6HasherV"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&*=(_:_:)"],"names":{"title":"&*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","+=(_:_:)"],"names":{"title":"+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&+=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","leadingZeroBitCount"],"names":{"title":"leadingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"leadingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&-(_:_:)"],"names":{"title":"&-(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&-"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","indices"],"names":{"title":"indices","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"The valid indices for subscripting the vector."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"indices"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Int","preciseIdentifier":"s:Si"},{"kind":"text","spelling":"> { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","formatted(_:)"],"names":{"title":"formatted(_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"docComment":{"module":"Foundation","lines":[{"text":"Format `self` with the given format."}]},"functionSignature":{"parameters":[{"name":"format","declarationFragments":[{"kind":"identifier","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"}]}],"returns":[{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"}]},"swiftGenerics":{"parameters":[{"name":"S","index":0,"depth":1}],"constraints":[{"kind":"sameType","lhs":"Self","rhs":"S.FormatInput"},{"kind":"conformance","lhs":"S","rhs":"FormatStyle","rhsPrecise":"s:10Foundation11FormatStyleP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"formatted"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"S"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatOutput"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" == "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"FormatInput"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"S"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"FormatStyle","preciseIdentifier":"s:10Foundation11FormatStyleP"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","clamp(lowerBound:upperBound:)"],"names":{"title":"clamp(lowerBound:upperBound:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"lowerBound","declarationFragments":[{"kind":"identifier","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"upperBound","declarationFragments":[{"kind":"identifier","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"clamp"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"lowerBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"upperBound"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(clamping:)"],"names":{"title":"init(clamping:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates a new instance with the representable value that's closest to the"},{"text":"given integer."},{"text":""},{"text":"If the value passed as `source` is greater than the maximum representable"},{"text":"value in this type, the result is the type's `max` value. If `source` is"},{"text":"less than the smallest representable value in this type, the result is"},{"text":"the type's `min` value."},{"text":""},{"text":"In this example, `x` is initialized as an `Int8` instance by clamping"},{"text":"`500` to the range `-128...127`, and `y` is initialized as a `UInt`"},{"text":"instance by clamping `-500` to the range `0...UInt.max`."},{"text":""},{"text":" let x = Int8(clamping: 500)"},{"text":" // x == 127"},{"text":" // x == Int8.max"},{"text":""},{"text":" let y = UInt(clamping: -500)"},{"text":" // y == 0"},{"text":""},{"text":"- Parameter source: An integer to convert to this type."}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"Other","rhs":"BinaryInteger","rhsPrecise":"s:Sz"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"clamping"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","~(_:)"],"names":{"title":"~(_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns the inverse of the bits set in the argument."},{"text":""},{"text":"The bitwise NOT operator (`~`) is a prefix operator that returns a value"},{"text":"in which all the bits of its argument are flipped: Bits that are `1` in"},{"text":"the argument are `0` in the result, and bits that are `0` in the argument"},{"text":"are `1` in the result. This is equivalent to the inverse of a set. For"},{"text":"example:"},{"text":""},{"text":" let x: UInt8 = 5 // 0b00000101"},{"text":" let notX = ~x // 0b11111010"},{"text":""},{"text":"Performing a bitwise NOT operation on 0 returns a value with every bit"},{"text":"set to `1`."},{"text":""},{"text":" let allOnes = ~UInt8.min // 0b11111111"},{"text":""},{"text":"- Complexity: O(1)."}]},"functionSignature":{"parameters":[{"name":"x","declarationFragments":[{"kind":"identifier","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"~"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"x"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","addProduct(_:_:)"],"names":{"title":"addProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","init(repeating:)"],"names":{"title":"init(repeating:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with the specified value in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"repeating"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","<(_:_:)"],"names":{"title":"<(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a Boolean value indicating whether the value of the first"},{"text":"argument is less than that of the second argument."},{"text":""},{"text":"You can compare instances of any `BinaryInteger` types using the"},{"text":"less-than operator (`<`), even if the two instances are of different"},{"text":"types."},{"text":""},{"text":"- Parameters:"},{"text":" - lhs: An integer to compare."},{"text":" - rhs: Another integer to compare."}]},"functionSignature":{"parameters":[{"name":"lhs","declarationFragments":[{"kind":"identifier","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"rhs","declarationFragments":[{"kind":"identifier","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"}]},"swiftGenerics":{"parameters":[{"name":"Other","index":0,"depth":1}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"<"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"Other"},{"kind":"text","spelling":">("},{"kind":"internalParam","spelling":"lhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"rhs"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Other"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryInteger","preciseIdentifier":"s:Sz"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","replace(with:where:)"],"names":{"title":"replace(with:where:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces elements of this vector with elements of `other` in the lanes"},{"text":"where `mask` is `true`."},{"text":""},{"text":"Equivalent to:"},{"text":"```"},{"text":"for i in indices {"},{"text":" if mask[i] { self[i] = other[i] }"},{"text":"}"},{"text":"```"}]},"functionSignature":{"parameters":[{"name":"with","internalName":"other","declarationFragments":[{"kind":"identifier","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"where","internalName":"mask","declarationFragments":[{"kind":"identifier","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"replace"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"with"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"other"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"mask"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">)"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","encode(to:)"],"names":{"title":"encode(to:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"docComment":{"module":"Swift","lines":[{"text":"Encodes the scalars of this vector into the given encoder in an unkeyed"},{"text":"container."},{"text":""},{"text":"This function throws an error if any values are invalid for the given"},{"text":"encoder's format."},{"text":""},{"text":"- Parameter encoder: The encoder to write data to."}]},"functionSignature":{"parameters":[{"name":"to","internalName":"encoder","declarationFragments":[{"kind":"identifier","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"encode"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"to"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"encoder"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Encoder","preciseIdentifier":"s:s7EncoderP"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.property","displayName":"Type Property"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","one"],"names":{"title":"one","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"A vector with one in all lanes."}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"one"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","init(exactly:)"],"names":{"title":"init(exactly:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":")"}]},"docComment":{"module":"Swift","lines":[{"text":"Creates an integer from the given floating-point value, if it can be"},{"text":"represented exactly."},{"text":""},{"text":"If the value passed as `source` is not representable exactly, the result"},{"text":"is `nil`. In the following example, the constant `x` is successfully"},{"text":"created from a value of `21.0`, while the attempt to initialize the"},{"text":"constant `y` from `21.5` fails:"},{"text":""},{"text":" let x = Int(exactly: 21.0)"},{"text":" // x == Optional(21)"},{"text":" let y = Int(exactly: 21.5)"},{"text":" // y == nil"},{"text":""},{"text":"- Parameter source: A floating-point value to convert to an integer."}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"BinaryFloatingPoint","rhsPrecise":"s:SB"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"?<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"exactly"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"source"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"BinaryFloatingPoint","preciseIdentifier":"s:SB"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","addingProduct(_:_:)"],"names":{"title":"addingProduct(_:_:)","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"addingProduct"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.init","displayName":"Initializer"},"identifier":{"precise":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:s6UInt64V","interfaceLanguage":"swift"},"pathComponents":["UInt64","init(_:format:lenient:)"],"names":{"title":"init(_:format:lenient:)","subHeading":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":") "},{"kind":"keyword","spelling":"throws"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"init"},{"kind":"text","spelling":"("},{"kind":"externalParam","spelling":"_"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"value"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"String","preciseIdentifier":"s:SS"},{"kind":"text","spelling":", "},{"kind":"externalParam","spelling":"format"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"IntegerFormatStyle","preciseIdentifier":"s:10Foundation18IntegerFormatStyleV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"lenient"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","spelling":" = true) "},{"kind":"keyword","spelling":"throws"}],"accessLevel":"public","availability":[{"domain":"macOS","introduced":{"major":12,"minor":0}},{"domain":"watchOS","introduced":{"major":8,"minor":0}},{"domain":"iOS","introduced":{"major":15,"minor":0}},{"domain":"tvOS","introduced":{"major":15,"minor":0}}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","*=(_:_:)"],"names":{"title":"*=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*=' instead","isUnconditionallyUnavailable":true}]},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","&>>(_:_:)"],"names":{"title":"&>>(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&>>"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/(_:_:)"],"names":{"title":"/(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FloatingPoint","rhsPrecise":"s:SF"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public"},{"kind":{"identifier":"swift.type.method","displayName":"Type Method"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","random(in:using:)"],"names":{"title":"random(in:using:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector with random values from within the specified range in"},{"text":"all lanes, using the given generator as a source for randomness."}]},"functionSignature":{"parameters":[{"name":"in","internalName":"range","declarationFragments":[{"kind":"identifier","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">"}]},{"name":"using","internalName":"generator","declarationFragments":[{"kind":"identifier","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"T"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"parameters":[{"name":"T","index":0,"depth":1}],"constraints":[{"kind":"conformance","lhs":"T","rhs":"RandomNumberGenerator","rhsPrecise":"s:SG"},{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"random"},{"kind":"text","spelling":"<"},{"kind":"genericParameter","spelling":"T"},{"kind":"text","spelling":">("},{"kind":"externalParam","spelling":"in"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"range"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Range","preciseIdentifier":"s:Sn"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":">, "},{"kind":"externalParam","spelling":"using"},{"kind":"text","spelling":" "},{"kind":"internalParam","spelling":"generator"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"where"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"T"},{"kind":"text","spelling":" : "},{"kind":"typeIdentifier","spelling":"RandomNumberGenerator","preciseIdentifier":"s:SG"}],"accessLevel":"public"},{"kind":{"identifier":"swift.method","displayName":"Instance Method"},"identifier":{"precise":"s:s13SignedNumericPsE6negateyyF::SYNTHESIZED::s:Si","interfaceLanguage":"swift"},"pathComponents":["Int","negate()"],"names":{"title":"negate()","subHeading":[{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"negate"},{"kind":"text","spelling":"()"}]},"docComment":{"module":"Swift","lines":[{"text":"Replaces this value with its additive inverse."},{"text":""},{"text":"The following example uses the `negate()` method to negate the value of"},{"text":"an integer `x`:"},{"text":""},{"text":" var x = 21"},{"text":" x.negate()"},{"text":" // x == -21"},{"text":""},{"text":"The resulting value must be representable within the value's type. In"},{"text":"particular, negating a signed, fixed-width integer type's minimum"},{"text":"results in a value that cannot be represented."},{"text":""},{"text":" var y = Int8.min"},{"text":" y.negate()"},{"text":" // Overflow error"}]},"functionSignature":{"returns":[{"kind":"text","spelling":"()"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol"},"declarationFragments":[{"kind":"keyword","spelling":"mutating"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"negate"},{"kind":"text","spelling":"()"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","interfaceLanguage":"swift"},"pathComponents":["SIMD4","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","&+=(_:_:)"],"names":{"title":"&+=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"&+="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","/=(_:_:)"],"names":{"title":"/=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]}],"returns":[{"kind":"text","spelling":"()"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"/="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"keyword","spelling":"inout"},{"kind":"text","spelling":" "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":")"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2",".<=(_:_:)"],"names":{"title":".<=(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"docComment":{"module":"Swift","lines":[{"text":"Returns a vector mask with the result of a pointwise less than or equal"},{"text":"comparison."}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"Comparable","rhsPrecise":"s:SL"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":".<="},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"SIMDMask","preciseIdentifier":"s:s8SIMDMaskV"},{"kind":"text","spelling":"<"},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"MaskStorage"},{"kind":"text","spelling":">"}],"accessLevel":"public"},{"kind":{"identifier":"swift.property","displayName":"Instance Property"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","interfaceLanguage":"swift"},"pathComponents":["SIMD2","trailingZeroBitCount"],"names":{"title":"trailingZeroBitCount","subHeading":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"var"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"trailingZeroBitCount"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":" { "},{"kind":"keyword","spelling":"get"},{"kind":"text","spelling":" }"}],"accessLevel":"public"},{"kind":{"identifier":"swift.func.op","displayName":"Operator"},"identifier":{"precise":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","interfaceLanguage":"swift"},"pathComponents":["SIMD3","*(_:_:)"],"names":{"title":"*(_:_:)","subHeading":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}]},"functionSignature":{"parameters":[{"name":"a","declarationFragments":[{"kind":"identifier","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"}]},{"name":"b","declarationFragments":[{"kind":"identifier","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"}]}],"returns":[{"kind":"typeIdentifier","spelling":"Self"}]},"swiftGenerics":{"constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"swiftExtension":{"extendedModule":"Swift","typeKind":"swift.protocol","constraints":[{"kind":"conformance","lhs":"Self.Scalar","rhs":"FixedWidthInteger","rhsPrecise":"s:s17FixedWidthIntegerP"}]},"declarationFragments":[{"kind":"keyword","spelling":"static"},{"kind":"text","spelling":" "},{"kind":"keyword","spelling":"func"},{"kind":"text","spelling":" "},{"kind":"identifier","spelling":"*"},{"kind":"text","spelling":" "},{"kind":"text","spelling":"("},{"kind":"internalParam","spelling":"a"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":"."},{"kind":"typeIdentifier","spelling":"Scalar"},{"kind":"text","spelling":", "},{"kind":"internalParam","spelling":"b"},{"kind":"text","spelling":": "},{"kind":"typeIdentifier","spelling":"Self"},{"kind":"text","spelling":") -> "},{"kind":"typeIdentifier","spelling":"Self"}],"accessLevel":"public","availability":[{"domain":"*","message":"integer vector types do not support checked arithmetic; use the wrapping operator '&*' instead","isUnconditionallyUnavailable":true}]}],"relationships":[{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_AEtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_ADtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE10wrappedSumAEyF","displayName":"SIMD.wrappedSum()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSNyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:SzsE8distance2toSix_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE8distance2toSix_tF","displayName":"BinaryInteger.distance(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD3V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV8CurrencyVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE11descriptionSSvp","displayName":"BinaryInteger.description"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE11descriptionSSvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE11descriptionSSvp","displayName":"BinaryInteger.description"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_AEtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE15nonzeroBitCountxvp","displayName":"SIMD.nonzeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxx_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_AEtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSnyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_AEtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxx_ADtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzoPys16PartialRangeFromVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ","displayName":"FixedWidthInteger.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxx_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2apoiyxx_xtFZ","displayName":"FixedWidthInteger.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_ADtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_AEtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1topyxxFZ","displayName":"SIMD.~(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4alleoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE8advanced2byxSi_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE8advanced2byxSi_tF","displayName":"BinaryInteger.advanced(by:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2in5usingxSNyxG_qd__ztSGRd__lFZ","displayName":"FixedWidthInteger.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_ADtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_xtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_AEtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2eeoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"conformsTo","source":"s:Si","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE6random2inxSnyxG_tFZ","displayName":"FixedWidthInteger.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxx_AEtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ","displayName":"FixedWidthInteger.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(truncatingIfNeeded:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3ameoiyyxz_xtFZ","displayName":"FixedWidthInteger.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"conformsTo","source":"s:Sf","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE18truncatingIfNeededxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(truncatingIfNeeded:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxx_AEtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"conformsTo","source":"s:s6UInt64V","target":"s:17RealityFoundation21SynchronizationPeerIDP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_xtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGAD_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc","displayName":"FixedWidthInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE7exactlyxSgqd___tcSBRd__lufc","displayName":"FixedWidthInteger.init(exactly:)"}},{"kind":"conformsTo","source":"s:Sf","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1loiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1loiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1loiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s13SignedNumericPsE6negateyyF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s13SignedNumericPsE6negateyyF","displayName":"SignedNumeric.negate()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7roundedyxs25FloatingPointRoundingRuleOF","displayName":"SIMD.rounded(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherexx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_AEtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"conformsTo","source":"s:Sd","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(clamping:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10squareRootxyF","displayName":"SIMD.squareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_AEtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE8clampingxqd___tcSzRd__lufc","displayName":"FixedWidthInteger.init(clamping:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9replacing4with5wherex6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replacing(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2leoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2leoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE3minxvpZ","displayName":"UnsignedInteger.min"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxqd__cSBRd__lufc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aggoiyxx_xtFZ","displayName":"FixedWidthInteger.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsEyxqd__cSTRd__7ElementQyd__6ScalarRtzlufc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3maxADyF","displayName":"SIMD.max()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3sumADyF","displayName":"SIMD.sum()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"conformsTo","source":"s:Sd","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_AEtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3minADyF","displayName":"SIMD.min()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1poiyxAD_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2geoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5wherey6ScalarQz_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2geoiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>=(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD4V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc","displayName":"UnsignedInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxx_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_AEtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simdEyx6ScalarQzcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDP4simdEyx6ScalarQzcfc","displayName":"SIMD.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE12arrayLiteralx6ScalarQzd_tcfc","displayName":"SIMD.init(arrayLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zloiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_AEtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL1loiySbx_xtFZ","displayName":"Comparable.<(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD2V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:SxsE1loiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL1loiySbx_xtFZ","displayName":"Comparable.<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1soiyxAD_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_AEtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlE3maxxvpZ","displayName":"UnsignedInteger.max"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:SxsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SQ2eeoiySbx_xtFZ","displayName":"Equatable.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc","displayName":"UnsignedInteger.init(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1moiyxAD_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE4aggeoiyyxz_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE19leadingZeroBitCountxvp","displayName":"SIMD.leadingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3alloiyxx_xtFZ","displayName":"FixedWidthInteger.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s13SignedNumericPsE1sopyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s13SignedNumericPsE1sopyxxFZ","displayName":"SignedNumeric.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zleoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7replace4with5whereyx_s8SIMDMaskVy11MaskStorageQzGtF","displayName":"SIMD.replace(with:where:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_AEtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxx_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"conformsTo","source":"s:s5SIMD4V","target":"s:17RealityFoundation12BindableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE20trailingZeroBitCountxvp","displayName":"SIMD.trailingZeroBitCount"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE1doiyxAD_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE2eeoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE2eeoiySbx_xtFZ","displayName":"SIMD.==(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ","displayName":"AdditiveArithmetic.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_AEtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxx_ADtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxAE_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxx_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_xtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_xtFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPss27ExpressibleByIntegerLiteralRzrlE4zeroxvpZ","displayName":"AdditiveArithmetic.zero"}},{"kind":"memberOf","source":"s:SLsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc","displayName":"FixedWidthInteger.init(littleEndian:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:SUsE8isSignedSbvpZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUsE8isSignedSbvpZ","displayName":"UnsignedInteger.isSigned"}},{"kind":"memberOf","source":"s:SzsE2neoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2neoiySbx_xtFZ","displayName":"BinaryInteger.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxx_tcfc","displayName":"FixedWidthInteger.init(littleEndian:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc","displayName":"FixedWidthInteger.init(bigEndian:)"}},{"kind":"conformsTo","source":"s:s5SIMD2V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxx_tcfc","displayName":"FixedWidthInteger.init(bigEndian:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2reoiyyxz_xtFZ","displayName":"SIMD.%=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSnyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2geoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL2geoiySbx_xtFZ","displayName":"Comparable.>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE03bitB0Sivp","displayName":"FixedWidthInteger.bitWidth"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE03bitB0Sivp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE03bitB0Sivp","displayName":"FixedWidthInteger.bitWidth"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE10isMultiple2ofSbx_tF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10isMultiple2ofSbx_tF","displayName":"BinaryInteger.isMultiple(of:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPsE1popyxxFZ","displayName":"AdditiveArithmetic.+(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxAE_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleV7PercentVyx_GSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE4hash4intoys6HasherVz_tF","displayName":"SIMD.hash(into:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE1popyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticPsE1popyxxFZ","displayName":"AdditiveArithmetic.+(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3ameoiyyxz_xtFZ","displayName":"SIMD.&*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:SUsE9magnitudexvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SUsE9magnitudexvp","displayName":"UnsignedInteger.magnitude"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:SzsExycfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsExycfc","displayName":"BinaryInteger.init()"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSnyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz3lleoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsExycfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsExycfc","displayName":"BinaryInteger.init()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3lleoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz3lleoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxAE_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyAD_xtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE6encode2toys7Encoder_p_tKF","displayName":"SIMD.encode(to:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE3onexvpZ","displayName":"SIMD.one"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2peoiyyxz_xtFZ","displayName":"AdditiveArithmetic.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2peoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2peoiyyxz_xtFZ","displayName":"AdditiveArithmetic.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2seoiyyxz_AEtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE3minxvpZ","displayName":"SignedInteger.min"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE10addProductyyx_ADtF","displayName":"SIMD.addProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2xeoiyyxz_AEtFZ","displayName":"SIMD.^=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE10isMultiple2ofSbx_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10isMultiple2ofSbx_tF","displayName":"BinaryInteger.isMultiple(of:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2inxSNyAEG_tFZ","displayName":"SIMD.random(in:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE14formSquareRootyyF","displayName":"SIMD.formSquareRoot()"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPsE11descriptionSSvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE11descriptionSSvp","displayName":"SIMD.description"}},{"kind":"conformsTo","source":"s:SS","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxAE_xtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1goiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1aoiyxx_xtFZ","displayName":"BinaryInteger.&(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE4fromxs7Decoder_p_tKcfc","displayName":"SIMD.init(from:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_AEtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzGx_6ScalarQztFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_AEtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1aoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1aoiyxx_xtFZ","displayName":"BinaryInteger.&(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2lloiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxvp","displayName":"FixedWidthInteger.littleEndian"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1goiySbx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE12littleEndianxvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE12littleEndianxvp","displayName":"FixedWidthInteger.littleEndian"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2aeoiyyxz_AEtFZ","displayName":"SIMD.&=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzoiySNyxGx_xtFZ","displayName":"Comparable....(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE6random2in5usingxSNyAEG_qd__ztSGRd__lFZ","displayName":"SIMD.random(in:using:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE7exactlyxSgqd___tcSzRd__lufc","displayName":"SignedInteger.init(exactly:)"}},{"kind":"memberOf","source":"s:SLsE3zzzoiySNyxGx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzoiySNyxGx_xtFZ","displayName":"Comparable....(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2meoiyyxz_AEtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2seoiyyxz_xtFZ","displayName":"AdditiveArithmetic.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE5roundyys25FloatingPointRoundingRuleOF","displayName":"SIMD.round(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxAE_xtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s18AdditiveArithmeticPsE2seoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s18AdditiveArithmeticP2seoiyyxz_xtFZ","displayName":"AdditiveArithmetic.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxvp","displayName":"FixedWidthInteger.bigEndian"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE9bigEndianxvp::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE9bigEndianxvp","displayName":"FixedWidthInteger.bigEndian"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlE3maxxvpZ","displayName":"SignedInteger.max"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxAE_xtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDP4simds17FixedWidthInteger6ScalarRpzrlE1sopyxxFZ","displayName":"SIMD.-(_:)"}},{"kind":"memberOf","source":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF","displayName":"BinaryInteger.quotientAndRemainder(dividingBy:)"}},{"kind":"memberOf","source":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE20quotientAndRemainder10dividingByx0A0_x9remaindertx_tF","displayName":"BinaryInteger.quotientAndRemainder(dividingBy:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ","displayName":"FixedWidthInteger.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2amoiyxx_xtFZ","displayName":"FixedWidthInteger.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ","displayName":"Comparable...<(_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzlopys16PartialRangeUpToVyxGxFZ","displayName":"Comparable...<(_:)"}},{"kind":"memberOf","source":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufc","displayName":"SignedInteger.init(_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__AA0C5StyleRd__Sz0C5InputRpd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxx_AEtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_xtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zeeoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..==(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE2zgoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1roiyxAE_xtFZ","displayName":"SIMD.%(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ","displayName":"FixedWidthInteger.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3aseoiyyxz_xtFZ","displayName":"FixedWidthInteger.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxSgSScfc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsEyxSgSScfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsEyxSgSScfc","displayName":"FixedWidthInteger.init(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE5clamp10lowerBound05upperE0yx_xtF","displayName":"SIMD.clamp(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4aggeoiyyxz_xtFZ","displayName":"SIMD.&>>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1aoiyxx_AEtFZ","displayName":"SIMD.&(_:_:)"}},{"kind":"memberOf","source":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_xtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s27ExpressibleByIntegerLiteralPss01_ab7BuiltincD0RzrlE07integerD0xx_tcfc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc","displayName":"ExpressibleByIntegerLiteral.init(integerLiteral:)"}},{"kind":"conformsTo","source":"s:s5SIMD3V","target":"s:17RealityFoundation14AnimatableDataP","swiftConstraints":[{"kind":"sameType","lhs":"Scalar","rhs":"Float","rhsPrecise":"s:Sf"}]},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3alloiyxx_xtFZ","displayName":"SIMD.&<<(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE2leoiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE2leoiySbx_xtFZ","displayName":"Comparable.<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKcAA0C8StrategyRd__Sz0C6OutputRpd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2peoiyyxz_ADtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE3zneoiys8SIMDMaskVy11MaskStorageQzG6ScalarQz_xtFZ","displayName":"SIMD..!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE3zgeoiys8SIMDMaskVy11MaskStorageQzGx_ADtFZ","displayName":"SIMD..>=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ","displayName":"FixedWidthInteger.&-(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz3ggeoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1ooiyxx_xtFZ","displayName":"BinaryInteger.|(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1ooiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1ooiyxx_xtFZ","displayName":"BinaryInteger.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1xoiyxx_AEtFZ","displayName":"SIMD.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2oeoiyyxz_xtFZ","displayName":"SIMD.|=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3ggeoiyyxz_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz3ggeoiyyxz_qd__tSzRd__lFZ","displayName":"BinaryInteger.>>=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE1xoiyxx_xtFZ","displayName":"BinaryInteger.^(_:_:)"}},{"kind":"memberOf","source":"s:SZsE8isSignedSbvpZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SZsE8isSignedSbvpZ","displayName":"SignedInteger.isSigned"}},{"kind":"memberOf","source":"s:SzsE1xoiyxx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE1xoiyxx_xtFZ","displayName":"BinaryInteger.^(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzloiySnyxGx_xtFZ","displayName":"Comparable...<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ","displayName":"FixedWidthInteger.&+=(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzloiySnyxGx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzloiySnyxGx_xtFZ","displayName":"Comparable...<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE3apeoiyyxz_xtFZ","displayName":"FixedWidthInteger.&+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1poiyxAE_xtFZ","displayName":"SIMD.+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4alleoiyyxz_xtFZ","displayName":"SIMD.&<<=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1ooiyxx_AEtFZ","displayName":"SIMD.|(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2seoiyyxz_ADtFZ","displayName":"SIMD.-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aggoiyxx_xtFZ","displayName":"SIMD.&>>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc","displayName":"FixedWidthInteger.init(_:radix:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufc","displayName":"FixedWidthInteger.init(_:radix:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE_8strategyx10ParseInputQyd___qd__tKc0C6OutputQyd__RszAA0C8StrategyRd__lufc","displayName":"BinaryInteger.init(_:strategy:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SL1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2asoiyxx_xtFZ","displayName":"FixedWidthInteger.&-(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE4zeroxvpZ","displayName":"SIMD.zero"}},{"kind":"memberOf","source":"s:SzsE1goiySbx_xtFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SL1goiySbx_xtFZ","displayName":"Comparable.>(_:_:)"}},{"kind":"memberOf","source":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:SQsE2neoiySbx_xtFZ","displayName":"Equatable.!=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3aseoiyyxz_xtFZ","displayName":"SIMD.&-=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxAE_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2apoiyxx_xtFZ","displayName":"SIMD.&+(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE2ggoiyxx_qd__tSzRd__lFZ","displayName":"FixedWidthInteger.>>(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedSSyF","displayName":"BinaryInteger.formatted()"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedSSyF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedSSyF","displayName":"BinaryInteger.formatted()"}},{"kind":"memberOf","source":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SLsE3zzzopys19PartialRangeThroughVyxGxFZ","displayName":"Comparable....(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1soiyxAE_xtFZ","displayName":"SIMD.-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2amoiyxAE_xtFZ","displayName":"SIMD.&*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2meoiyyxz_ADtFZ","displayName":"SIMD.*=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:Sz10FoundationE9formattedy12FormatOutputQyd__qd__0C5InputQyd__RszAA0C5StyleRd__lF","displayName":"BinaryInteger.formatted(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE1topyxxFZ","displayName":"FixedWidthInteger.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:s17FixedWidthIntegerPsE1topyxxFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:s17FixedWidthIntegerPsE1topyxxFZ","displayName":"FixedWidthInteger.~(_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2asoiyxx_xtFZ","displayName":"SIMD.&-(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE2peoiyyxz_xtFZ","displayName":"SIMD.+=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE2deoiyyxz_ADtFZ","displayName":"SIMD./=(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE7indicesSnySiGvp::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE7indicesSnySiGvp","displayName":"SIMD.indices"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1doiyxAE_xtFZ","displayName":"SIMD./(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSL6ScalarRpzrlE7clamped10lowerBound05upperE0xx_xtF","displayName":"SIMD.clamped(lowerBound:upperBound:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:s6UInt64V","target":"s:s6UInt64V","targetFallback":"Swift.UInt64","sourceOrigin":{"identifier":"s:SzsE2lloiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:SzsE2lloiyxx_qd__tSzRd__lFZ::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:SzsE2lloiyxx_qd__tSzRd__lFZ","displayName":"BinaryInteger.<<(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}},{"kind":"memberOf","source":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsSF6ScalarRpzrlE13addingProductyxAD_xtF","displayName":"SIMD.addingProduct(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD2V","target":"s:s5SIMD2V","targetFallback":"Swift.SIMD2","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"memberOf","source":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc::SYNTHESIZED::s:Si","target":"s:Si","targetFallback":"Swift.Int","sourceOrigin":{"identifier":"s:Sz10FoundationE_6format7lenientxSS_AA18IntegerFormatStyleVyxGSbtKcfc","displayName":"BinaryInteger.init(_:format:lenient:)"}},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE3apeoiyyxz_xtFZ","displayName":"SIMD.&+=(_:_:)"}},{"kind":"conformsTo","source":"s:Sb","target":"s:17RealityFoundation12BindableDataP"},{"kind":"memberOf","source":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ::SYNTHESIZED::s:s5SIMD3V","target":"s:s5SIMD3V","targetFallback":"Swift.SIMD3","sourceOrigin":{"identifier":"s:s4SIMDPss17FixedWidthInteger6ScalarRpzrlE1moiyxAE_xtFZ","displayName":"SIMD.*(_:_:)"}},{"kind":"memberOf","source":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc::SYNTHESIZED::s:s5SIMD4V","target":"s:s5SIMD4V","targetFallback":"Swift.SIMD4","sourceOrigin":{"identifier":"s:s4SIMDPsE9repeatingx6ScalarQz_tcfc","displayName":"SIMD.init(repeating:)"}}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@simd.symbols.json b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@simd.symbols.json new file mode 100644 index 0000000..7ce838f --- /dev/null +++ b/Sources/RealitySymbols/Extracted/visionOS/RealityFoundation@simd.symbols.json @@ -0,0 +1 @@ +{"metadata":{"formatVersion":{"major":0,"minor":6,"patch":0},"generator":"Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)"},"module":{"name":"RealityFoundation","platform":{"architecture":"arm64","vendor":"apple","operatingSystem":{"name":"xros","minimumVersion":{"major":1,"minor":0}}}},"symbols":[],"relationships":[{"kind":"conformsTo","source":"c:@SA@simd_quatf","target":"s:17RealityFoundation14AnimatableDataP"},{"kind":"conformsTo","source":"c:@SA@simd_quatf","target":"s:17RealityFoundation12BindableDataP"}]} \ No newline at end of file diff --git a/Sources/RealitySymbols/Processed/iOS/Components.json b/Sources/RealitySymbols/Processed/iOS/Components.json new file mode 100644 index 0000000..9f62221 --- /dev/null +++ b/Sources/RealitySymbols/Processed/iOS/Components.json @@ -0,0 +1,421 @@ +[ + { + "name" : "AccessibilityComponent", + "properties" : [ + { + "comment" : "The set of supported accessibility actions.", + "complete" : "var systemActions: AccessibilityComponent.SupportedActions", + "name" : "systemActions", + "type" : "AccessibilityComponent.SupportedActions" + }, + { + "comment" : "A succinct label that identifies the entity, in a localized string key.", + "complete" : "var label: LocalizedStringResource?", + "name" : "label", + "type" : "LocalizedStringResource" + }, + { + "comment" : "A localized string key that represents the current value of the entity.", + "complete" : "var value: LocalizedStringResource?", + "name" : "value", + "type" : "LocalizedStringResource" + }, + { + "comment" : "The Custom Content API is useful for delivering accessibility information from complex data sets to your users in measured portions. Using this API allows you to leverage assistive technologies to present only the accessible content your app’s users need, when they need it.", + "complete" : "var customContent: [AccessibilityComponent.CustomContent]", + "name" : "customContent", + "type" : "[AccessibilityComponent.CustomContent]" + }, + { + "comment" : "An array of custom actions supported by the entity, identified by their localized string key.", + "complete" : "var customActions: [LocalizedStringResource]", + "name" : "customActions", + "type" : "[LocalizedStringResource]" + }, + { + "comment" : "A Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access.", + "complete" : "var isAccessibilityElement: Bool", + "name" : "isAccessibilityElement", + "type" : "Bool" + } + ] + }, + { + "comment" : "A description of how virtual content can be anchored to the real world.", + "name" : "AnchoringComponent", + "properties" : [ + { + "comment" : "The kind of real world object to which the anchor entity should anchor.", + "complete" : "let target: AnchoringComponent.Target", + "name" : "target", + "type" : "AnchoringComponent.Target" + } + ] + }, + { + "comment" : "A component for tracking people in an AR session. Body tracking requires a compatible rigged model. For more information on creating a compatible model, see . For a sample app that uses body tracking, see ", + "name" : "BodyTrackingComponent", + "properties" : [ + { + "comment" : "A Boolean that you can set to temporarily stop applying body tracking to the model and freeze the model in its current pose.", + "complete" : "var isPaused: Bool", + "name" : "isPaused", + "type" : "Bool" + }, + { + "comment" : "The body-tracking setting.", + "complete" : "var target: BodyTrackingComponent.Target", + "name" : "target", + "type" : "BodyTrackingComponent.Target" + } + ] + }, + { + "comment" : "A component that manages character movement. To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent`` to your entity to make it a character entity. Character entities can *move* to new locations in space, which happens over a period of time based on how you've configured the character controller component, and also *teleport*, which moves the charcter to the new location instantaneously.", + "name" : "CharacterControllerComponent", + "properties" : [ + { + "comment" : "The slope limit expressed as a limit angle in radians. This value represents the maximum slope that the character can move over. RealityKit applies this value to characters that are walking on static objects, but not when walking on kinematic or dynamic objects.", + "complete" : "var slopeLimit: Float", + "name" : "slopeLimit", + "type" : "Float" + }, + { + "comment" : "Y axis direction relative to the physics origin. Rotates the object so that the vertical height is along the up vector. Vector must be normalized and specified in *physics space*, the coordinate system of the physics simulation.", + "complete" : "var upVector: SIMD3", + "name" : "upVector", + "type" : "SIMD3" + }, + { + "comment" : "The maximum obstacle height that the controller can move over. Specify this value relative to the entity's coordinate system.", + "complete" : "var stepLimit: Float", + "name" : "stepLimit", + "type" : "Float" + }, + { + "comment" : "The capsule height. The capsule height includes radii and should be specified the entity's coordinate system.", + "complete" : "var height: Float", + "name" : "height", + "type" : "Float" + }, + { + "comment" : "The character's collision filter. For more information on using collision filters, see .", + "complete" : "var collisionFilter: CollisionFilter", + "name" : "collisionFilter", + "type" : "CollisionFilter" + }, + { + "comment" : "An added tolerance around the character capsule. A small skin, known as the *contact offset*, is maintained around the controller's volume to avoid rounding and precision issues with collision detection. Specify this value relative to the entity's coordinate system.", + "complete" : "var skinWidth: Float", + "name" : "skinWidth", + "type" : "Float" + }, + { + "comment" : "The capsule radius. Specify this value in the entity's coordinate system.", + "complete" : "var radius: Float", + "name" : "radius", + "type" : "Float" + } + ] + }, + { + "comment" : "An object that maintains state for a character controller. Add this component to an entity, this along with ``CharacterControllerComponent``, to use the entity as a character that moves and animates.", + "name" : "CharacterControllerStateComponent", + "properties" : [ + { + "comment" : "True if character controller is grounded, otherwise false.", + "complete" : "let isOnGround: Bool", + "name" : "isOnGround", + "type" : "Bool" + }, + { + "comment" : "The linear speed relative to the phyics origin. In physics space.", + "complete" : "let velocity: SIMD3", + "name" : "velocity", + "type" : "SIMD3" + } + ] + }, + { + "comment" : "A component that gives an entity the ability to collide with other entities that also have collision components. This component holds the entity's data related to participating in the scene's physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts. Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a *trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of entities it collides. If configured with a rigid body ``RealityKit\/PhysicsBodyComponent\/mode`` of ``RealityKit\/PhysicsBodyMode\/dynamic``, it's own velocity and direction can be affected by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but can trigger code or Reality Composer behaviors when a rigid body enity overlaps it. Turn an entity into a trigger by adding a ``RealityKit\/CollisionComponent`` to it and setting its ``RealityKit\/CollisionComponent\/mode-swift.property`` to ``RealityKit\/CollisionComponent\/Mode-swift.enum\/trigger``. Turn an entity into a _rigd body_ by adding a ``RealityKit\/PhysicsBodyComponent`` to the entity in addition to a ``RealityKit\/CollisionComponent``. The ``PhysicsBodyComponent`` defines the physical properties of the entity, such as its mass and collision shape. The `filter` property defines the entity's collision filter, which determines which other objects the entity collides with. For more information, see . - Note: If an entity has a ``RealityKit\/PhysicsBodyComponent``, the collision component's mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time.", + "name" : "CollisionComponent", + "properties" : [ + { + "comment" : "The collision mode.", + "complete" : "var mode: CollisionComponent.Mode", + "name" : "mode", + "type" : "CollisionComponent.Mode" + }, + { + "comment" : "A collection of shape resources that collectively represent the outer dimensions of an entity for the purposes of collision detection.", + "complete" : "var shapes: [ShapeResource]", + "name" : "shapes", + "type" : "[ShapeResource]" + }, + { + "comment" : "The collision filter used to segregate entities into different collision groups.", + "complete" : "var filter: CollisionFilter", + "name" : "filter", + "type" : "CollisionFilter" + } + ] + }, + { + "comment" : "A component that defines a directional light source. A directional light shines in the entithy's forward direction (0, 0, -1). To orient a directional light, use `HasTransform.look(at:from:upVector:)`. A directional light source can cast shadows. To enable shadows, create a ``RealityKit\/DirectionalLightComponent\/Shadow`` and assign it to `HasDirectionalLight.shadow`. To disable shadows set `HasDirectionalLight.shadow` to `nil`.", + "name" : "DirectionalLightComponent", + "properties" : [ + { + "comment" : "The intensity of the directional light, measured in lumen per square meter.", + "complete" : "var intensity: Float", + "name" : "intensity", + "type" : "Float" + }, + { + "comment" : "A Boolean that you use to control whether the directional light operates as a proxy for a real-world light. Set the value to `true` when you want the light to cast shadows on virtual content without illuminating anything in the scene. You can use this to create shadows on occlusion materials that accept dynamic lighting.", + "complete" : "var isRealWorldProxy: Bool", + "name" : "isRealWorldProxy", + "type" : "Bool" + } + ] + }, + { + "comment" : "A collection of resources that create the visual appearance of an entity.", + "name" : "ModelComponent", + "properties" : [ + { + "comment" : "The materials used by the model. Each ``RealityKit\/MeshResource`` requires a set of materials. An entity that has no materials renders using a pink, striped material. To determine the number of materials a model entity requires , use `MeshResource.expectedMaterialCount`", + "complete" : "var materials: [Material]", + "name" : "materials", + "type" : "[Material]" + }, + { + "comment" : "The mesh that defines the shape of the entity. For more information, see ``RealityKit\/MeshResource``", + "complete" : "var mesh: MeshResource", + "name" : "mesh", + "type" : "MeshResource" + }, + { + "comment" : "A margin applied to an entity’s bounding box that determines object visibility. When determining which entities are currently visible, RealityKit tests each entity’s bounding box to see if it overlaps with the camera’s field of view (also known as the camera’s _frustum_). For efficiency, entities with a bounding box that don’t overlap the camera’s frustum aren’t rendered. Use this property to prevent RealityKit from incorrectly culling entities that use a ``CustomMaterial`` with a geometry modifier that moves vertices outside of the entity’s bounding box. RealityKit adds the value of `boundsMargin` to the bounding box before determining which entities are visible.", + "complete" : "var boundsMargin: Float { get set }", + "name" : "boundsMargin", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that changes how RealityKit renders its entity to help with debugging. Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells RealityKit to change the way it renders that entity based on a specified ``ModelDebugOptionsComponent\/visualizationMode-swift.property``. This component isolates individual parts of the rendering process, such as the entity’s transparency or roughness, and displays surface color to help identify visual anomalies. To use this component, create a `ModelDebugOptionsComponent` and set its ``ModelDebugOptionsComponent\/visualizationMode-swift.property`` to the desired value. Then, set the component as the entity’s ``ModelEntity\/modelDebugOptions`` property: ```swift if let robot = anchor.findEntity(named: \"Robot\") as? ModelEntity { let component = ModelDebugOptionsComponent(visualizationMode: .normal) robot.modelDebugOptions = component } ``` For more information on the visualization modes supported by `ModelDebugOptionsComponent`, see ``ModelDebugOptionsComponent\/VisualizationMode-swift.enum``. ## Attach a Debug Component to an Entity To attach a debug component to a particular entity, traverse the entity tree while passing the component to each child: ```swift \/\/ Traverse the entity tree to attach a certain debug mode through components. func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { entity.components.set(debug) for child in entity.children { attachDebug(entity: child, debug: debug) } } \/\/ Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` ## Attach a Debug Component to a Trait To attach a debug component based on a trait, traverse the entity tree while checking for ``HasModel`` adoption: ```swift func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { if let model = entity as? ModelEntity { model.visualizationMode = debug } for child in entity.children { attachDebug(entity: child, debug: debug) } } \/\/ Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ```", + "name" : "ModelDebugOptionsComponent", + "properties" : [ + { + "comment" : "The part of the rendering process to display as the entity’s surface texture.", + "complete" : "var visualizationMode: ModelDebugOptionsComponent.VisualizationMode { get }", + "name" : "visualizationMode", + "type" : "ModelDebugOptionsComponent.VisualizationMode" + } + ] + }, + { + "comment" : " In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the camera needs to be set by the app. (If no camera is provided by the app, the system will use default camera.)", + "name" : "PerspectiveCameraComponent", + "properties" : [ + { + "comment" : "The camera’s total vertical field of view in degrees. This property contains the entire vertifical field of view for the camera in degrees. The system automatically calculates the horizontal field of view from this value to fit the aspect ratio of the device’s screen. This property defaults to `60` degrees.", + "complete" : "var fieldOfViewInDegrees: Float", + "name" : "fieldOfViewInDegrees", + "type" : "Float" + }, + { + "comment" : "The maximum distance in meters from the camera that the camera can see. The value defaults to infinity. Always use a value greater than the value of ``PerspectiveCameraComponent\/near``. The renderer clips any surface beyond the ``PerspectiveCameraComponent\/far`` point.", + "complete" : "var far: Float", + "name" : "far", + "type" : "Float" + }, + { + "comment" : "The minimum distance in meters from the camera that the camera can see. The value defaults to 1 centimeter. Always use a value greater than `0` and less than the value of ``PerspectiveCameraComponent\/far``. The renderer clips any surface closer than the ``PerspectiveCameraComponent\/near`` point.", + "complete" : "var near: Float", + "name" : "near", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that defines an entity’s behavior in physics body simulations. To participate in a scene's physics simulation, an entity must have a ``RealityKit\/PhysicsBodyComponent`` and a ``RealityKit\/CollisionComponent``. If you need to move an entity that participates in the physics system, it also needs a ``RealityKit\/PhysicsMotionComponent``. Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body, following basic rules of Newtonian mechanics. - Note: Model entities have a physics body component by default.", + "name" : "PhysicsBodyComponent", + "properties" : [ + { + "comment" : "A Boolean that controls whether the physics simulation performs continuous collision detection. Set the value to `true` to perform continuous collision detection. The value is `false` by default, indicating the simulation should apply discrete collision detection. Discrete collision detection considers only the position of a body once per rendered frame, or about every 16 milliseconds at 60 frames per second. Continuous collision detection considers the position of the body throughout the frame interval. The latter is more computationally expensive, but can help to avoid missing a collision for a quickly moving object, like a projectile.", + "complete" : "var isContinuousCollisionDetectionEnabled: Bool", + "name" : "isContinuousCollisionDetectionEnabled", + "type" : "Bool" + }, + { + "comment" : "A tuple of Boolean values that you use to lock the position of the physics body along any of the three axes. You can restrict movement of the body along one or more axes by setting the corresponding item in the tuple to `true`. For example, if you set the `x` and the `z` items in the tuple to `true`, then the body can move only along the y-axis. By default, movement isn’t restricted.", + "complete" : "var isTranslationLocked: (x: Bool, y: Bool, z: Bool)", + "name" : "isTranslationLocked", + "type" : "(x: Bool, y: Bool, z: Bool)" + }, + { + "comment" : "The physics body’s mass properties, like inertia and center of mass. By default, the mass properties value is ``PhysicsMassProperties\/default``, which matches the properties of a unit sphere with mass of 1 kilogram.", + "complete" : "var massProperties: PhysicsMassProperties", + "name" : "massProperties", + "type" : "PhysicsMassProperties" + }, + { + "comment" : "The physics body’s mode, indicating how or if it moves. By default, this value is set to ``PhysicsBodyMode\/dynamic``, meaning the body responds to forces.", + "complete" : "var mode: PhysicsBodyMode", + "name" : "mode", + "type" : "PhysicsBodyMode" + }, + { + "comment" : "A tuple of Boolean values that you use to lock rotation of the physics body around any of the three axes. For any one of the three Booleans in the tuple that you set to `true`, rotation is restricted on the axis represented by that item. For example, if you set the `x` item to true, then the body can’t rotate around the x-axis. By default, rotation isn’t restricted.", + "complete" : "var isRotationLocked: (x: Bool, y: Bool, z: Bool)", + "name" : "isRotationLocked", + "type" : "(x: Bool, y: Bool, z: Bool)" + }, + { + "comment" : "The physics body’s material properties, like friction. By default, the body’s material resource is set to ``PhysicsMaterialResource\/default``, which provides a modest amount of friction and restitution (bounciness).", + "complete" : "var material: PhysicsMaterialResource", + "name" : "material", + "type" : "PhysicsMaterialResource" + } + ] + }, + { + "comment" : "A component that controls the motion of the body in physics simulations. You specify velocities in the coordinate space of the physics simulation defined by ``ARView\/physicsOrigin``. The behavior of an entity with a physics motion component depends on the entity’s ``PhysicsBodyComponent\/mode`` setting: - term ``PhysicsBodyMode\/static``: The physics simulation ignores the velocities. The entity doesn’t move. - term ``PhysicsBodyMode\/kinematic``: The physics simulation moves the body according to the values you set for ``PhysicsMotionComponent\/angularVelocity`` and ``PhysicsMotionComponent\/linearVelocity``. - term ``PhysicsBodyMode\/dynamic``: The physics simulation overwrites the velocity values based on simulation, and ignores any values that you write.", + "name" : "PhysicsMotionComponent", + "properties" : [ + { + "comment" : "The angular velocity of the body around the center of mass.", + "complete" : "var angularVelocity: SIMD3", + "name" : "angularVelocity", + "type" : "SIMD3" + }, + { + "comment" : "The linear velocity of the body in the physics simulation.", + "complete" : "var linearVelocity: SIMD3", + "name" : "linearVelocity", + "type" : "SIMD3" + } + ] + }, + { + "comment" : "A component that defines a point light source.", + "name" : "PointLightComponent", + "properties" : [ + { + "comment" : "The intensity of the point light, measured in lumen.", + "complete" : "var intensity: Float", + "name" : "intensity", + "type" : "Float" + }, + { + "comment" : "The point light attenuation radius in meters. At any distance greater from the light that's greater than this value, the light's intensity is zero.", + "complete" : "var attenuationRadius: Float", + "name" : "attenuationRadius", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that maps features of the physical environment. Example features include faces and the shape of arbitrary regions.", + "name" : "SceneUnderstandingComponent", + "properties" : [ + { + "comment" : "The type of real-world object that the component models.", + "complete" : "var entityType: SceneUnderstandingComponent.EntityType?", + "name" : "entityType", + "type" : "SceneUnderstandingComponent.EntityType" + } + ] + }, + { + "comment" : "A component that defines a spotlight source. A spot light illuminates a cone-shaped volume in the entity's forward direction (0, 0, -1) . To orient a spot light, use `HasTransform.look(at:from:upVector:)`. To enable shadows, create a ``RealityKit\/DirectionalLightComponent\/Shadow`` and assign it to `HasDirectionalLight.shadow`. To disable shadows set `HasDirectionalLight.shadow` to `nil`.", + "name" : "SpotLightComponent", + "properties" : [ + { + "comment" : "The attenuation radius in meters, after which the intensity of the spotlight is zero.", + "complete" : "var attenuationRadius: Float", + "name" : "attenuationRadius", + "type" : "Float" + }, + { + "comment" : "The outer angle of the spotlight in degrees. A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and `innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and `outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`.", + "complete" : "var outerAngleInDegrees: Float", + "name" : "outerAngleInDegrees", + "type" : "Float" + }, + { + "comment" : "The inner angle of the spotlight in degrees. A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and `innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and `outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`.", + "complete" : "var innerAngleInDegrees: Float", + "name" : "innerAngleInDegrees", + "type" : "Float" + }, + { + "comment" : "The intensity of the spotlight measured in lumen.", + "complete" : "var intensity: Float", + "name" : "intensity", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "name" : "SynchronizationComponent", + "properties" : [ + { + "comment" : "A unique identifier of an entity within a network session.", + "complete" : "var identifier: UInt64 { get }", + "name" : "identifier", + "type" : "UInt64" + }, + { + "comment" : "The entity’s transfer ownership mode. By default, the transfer mode is ``SynchronizationComponent\/OwnershipTransferMode-swift.enum\/autoAccept``. You can set it to ``SynchronizationComponent\/OwnershipTransferMode-swift.enum\/manual`` to require explicit confirmation of the request by your app.", + "complete" : "var ownershipTransferMode: SynchronizationComponent.OwnershipTransferMode", + "name" : "ownershipTransferMode", + "type" : "SynchronizationComponent.OwnershipTransferMode" + }, + { + "comment" : "A Boolean that indicates whether the calling process owns the entity.", + "complete" : "var isOwner: Bool { get }", + "name" : "isOwner", + "type" : "Bool" + } + ] + }, + { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "name" : "Transform", + "properties" : [ + { + "comment" : "The rotation of the entity specified as a unit quaternion.", + "complete" : "var rotation: simd_quatf", + "name" : "rotation", + "type" : "simd_quatf" + }, + { + "comment" : "The position of the entity along the x, y, and z axes.", + "complete" : "var translation: SIMD3", + "name" : "translation", + "type" : "SIMD3" + }, + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "The transform represented as a 4x4 matrix. The ``Transform`` component can’t represent all transforms that a general 4x4 matrix can represent. Using a 4x4 matrix to set the transform is therefore a lossy event that might result in certain transformations, like shear, being dropped.", + "complete" : "var matrix: float4x4 { get set }", + "name" : "matrix", + "type" : "float4x4" + }, + { + "comment" : "The scaling factor applied to the entity.", + "complete" : "var scale: SIMD3", + "name" : "scale", + "type" : "SIMD3" + } + ] + } +] \ No newline at end of file diff --git a/Sources/RealitySymbols/Processed/iOS/Entities.json b/Sources/RealitySymbols/Processed/iOS/Entities.json new file mode 100644 index 0000000..18b9979 --- /dev/null +++ b/Sources/RealitySymbols/Processed/iOS/Entities.json @@ -0,0 +1,358 @@ +[ + { + "comment" : "An anchor that tethers entities to a scene. Use anchor entities to control how RealityKit places virtual objects into your scene. ``AnchorEntity`` conforms to the ``HasAnchoring`` protocol, which gives it an ``AnchoringComponent`` instance. RealityKit places anchors based on the anchoring component’s ``AnchoringComponent\/target-swift.property`` property. For example, you can configure an anchor entity to rest on a detected horizontal surface in an AR scene like a table or floor, and RealityKit automatically places that anchor once it detects an appropriate horizontal plane in the real world. For information on the different types of anchors available when using Reality Composer, see . ![Diagram showing the components present in the anchor entity. It contains three boxes labeled Transform component, Synchronization component, and Anchoring component.](AnchorEntity-1) Add anchor entities directly to your scene’s ``Scene\/anchors`` collection, or anywhere else in the scene hierarchy by adding them to the ``Entity\/children`` collection of another entity in your scene. Because ``AnchorEntity`` is a subclass of ``Entity``, you can make an anchor entity a child of any other entity. RealityKit may move anchor entities as the scene updates, so the location and rotation of the anchor entity may change relative to its parent, even if your code never modifies its ``Entity\/transform`` property. Some anchor entities may not show up in your scene at all if RealityKit fails to detect an appropriate place for them. For example, an anchor entity with an `image` target won’t show up in the scene until RealityKit detects the specified image in the real world. ![Block diagram showing how anchor entities attach to a scene, and how they support entity hierarchies. The root box of the hierarchy diagram represents the ARView. It has one child representing the ARView’s scene, and that scene has two children, both of which are anchor entities. Each of the anchor entities have a hierarchy of child entities beneath them, most of which are labeled Entity, but one of the entities in the hierarchy is another anchor entity.](AnchorEntity-2) You can have multiple anchors in a RealityKit scene. For example, one anchor could place a toy car on a horizontal surface, like a table, and another could tie an informative text bubbles to an image in the same scene.", + "name" : "AnchorEntity", + "properties" : [ + { + "comment" : "The identifier of the AR anchor with which the anchor entity is associated, or `nil` if it isn’t currently anchored.", + "complete" : "@MainActor var anchorIdentifier: UUID? { get }", + "name" : "anchorIdentifier", + "type" : "UUID" + }, + { + "complete" : "@MainActor var anchoring: AnchoringComponent { get set }", + "name" : "anchoring", + "type" : "AnchoringComponent" + } + ] + }, + { + "comment" : "An entity used to animate a virtual character in an AR scene by tracking a real person. Like a ``ModelEntity``, a ``BodyTrackedEntity`` has a ``ModelComponent`` that defines its physical appearance. Unlike a model entity, a body-tracked entity lacks the components required to participate in collisions or physics simulations. Instead, a ``BodyTrackingComponent`` drives the positioning and arrangement of the entity based on tracking information from the AR session. ![Diagram showing the components present in the body-tracked entity.](BodyTrackedEntity-1) For an example of how to use a body-tracked entity, see .", + "name" : "BodyTrackedEntity", + "properties" : [ + { + "comment" : "Configures the debug visualization of this model.", + "complete" : "@MainActor var modelDebugOptions: ModelDebugOptionsComponent? { get set }", + "name" : "modelDebugOptions", + "type" : "ModelDebugOptionsComponent" + }, + { + "comment" : "The relative joint transforms of the model entity. Call ``RealityKit\/BodyTrackedEntity\/jointNames`` to determine the name and order of the joints. - Note: Active animations may override the joint transforms set using this property..", + "complete" : "@MainActor var jointTransforms: [Transform] { get set }", + "name" : "jointTransforms", + "type" : "[Transform]" + }, + { + "complete" : "@MainActor var debugModel: ModelDebugOptionsComponent? { get set }", + "name" : "debugModel", + "type" : "ModelDebugOptionsComponent" + }, + { + "comment" : "The names of all the joints in the model entity.", + "complete" : "@MainActor var jointNames: [String] { get }", + "name" : "jointNames", + "type" : "[String]" + }, + { + "comment" : "The model component for the entity.", + "complete" : "@MainActor var model: ModelComponent? { get set }", + "name" : "model", + "type" : "ModelComponent" + }, + { + "comment" : "The body-tracking component for the body-tracked entity.", + "complete" : "@MainActor var bodyTracking: BodyTrackingComponent { get set }", + "name" : "bodyTracking", + "type" : "BodyTrackingComponent" + } + ] + }, + { + "comment" : "An entity that casts a virtual light in a particular direction. During an AR session, RealityKit automatically lights your virtual objects to match real-world lighting. You can also explicitly add virtual lights that act upon your virtual content. This is typically most useful outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``). A directional light uniformly casts light along its z-axis—specifically, along `(0, 0, -1)`. Use the light’s `look(at:from:upVector:relativeTo:)` method to aim the light in a particular direction. You can configure the light’s color and intensity. You can also control how or if it casts a shadow. A RealityKit scene can contain up to eight dynamic lights, which are ``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit doesn’t include light from image-based lighting.", + "name" : "DirectionalLight", + "properties" : [ + { + "comment" : "A directional light component for the entity.", + "complete" : "@MainActor var light: DirectionalLightComponent { get set }", + "name" : "light", + "type" : "DirectionalLightComponent" + }, + { + "comment" : "The shadow settings for a directional light. Set this value to `nil` to remove shadows.", + "complete" : "@MainActor var shadow: DirectionalLightComponent.Shadow? { get set }", + "name" : "shadow", + "type" : "DirectionalLightComponent.Shadow" + } + ] + }, + { + "comment" : "An element of a RealityKit scene to which you attach components that provide appearance and behavior characteristics for the entity. You create and configure entities to embody objects that you want to place in the real world in an AR app. You do this by adding ``Entity`` instances to the ``Scene`` instance associated with an ``ARView``. RealityKit defines a few concrete subclasses of ``Entity`` that provide commonly used functionality. For example, you typically start by creating an instance of ``AnchorEntity`` to anchor your content, and add the anchor to a scene’s ``Scene\/anchors`` collection. You might then instantiate a ``ModelEntity`` to represent a physical object in the scene, and add that as a child entity to the anchor. You can also create custom entities, and add them either to an anchor, or as children of another entity. ![Block diagram showing how entity hierarchies, composed of different kinds of entities, attach to a scene, which is itself a child of the AR view.](Entity-1) You can load predefined entities or a hierarchy of entities from your app’s bundle, or from a file on disk, using the methods in . Alternatively, you can create entities programmatically. Entities contain components (instances conforming to the ``Component`` protocol) that provide appearance and behaviors for the entity. For example, the ``Transform`` component contains the scale, rotation, and translation information needed to position an entity in space. You store components in the entity’s ``Entity\/components`` collection, which can hold exactly one of any component type. It makes sense to have only a single ``Transform`` component, one ``ModelComponent`` (specifying the visual appearance of the entity), and so on. ![Diagram showing the components present in the base entity class, as well as in the derived anchor entity and model entity classes.](Entity-2) All entities inherit a few common components from the ``Entity`` base class: the ``Transform`` component for spatial positioning, and ``SynchronizationComponent``, which enables synchronization of the entity among networked peers. Specific types of entities define additional behaviors. For example, the model entity has components for visual appearance (``ModelComponent``), collision detection (``CollisionComponent``), and physics simulations (``PhysicsBodyComponent`` and ``PhysicsMotionComponent``).", + "name" : "Entity", + "properties" : [ + { + "comment" : "The position of the entity relative to its parent. This value is the entity’s position relative to its parent. To get the world-space position of the entity in the scene, use ``HasTransform\/position(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/translation`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var position: SIMD3 { get set }", + "name" : "position", + "type" : "SIMD3" + }, + { + "comment" : "A Boolean that indicates whether the entity is anchored. The value of this property is `true` if the entity is anchored in a scene. An entity that isn’t anchored becomes inactive (``Entity\/isActive`` returns `false`), meaning RealityKit doesn’t render or simulate it.", + "complete" : "@MainActor var isAnchored: Bool { get }", + "name" : "isAnchored", + "type" : "Bool" + }, + { + "comment" : "The entity’s synchronization component.", + "complete" : "@MainActor var synchronization: SynchronizationComponent? { get set }", + "name" : "synchronization", + "type" : "SynchronizationComponent" + }, + { + "comment" : "A human readable description of the entity.", + "complete" : "@MainActor var debugDescription: String { get }", + "name" : "debugDescription", + "type" : "String" + }, + { + "comment" : "The nearest ancestor entity that can act as an anchor. This property returns `nil` if no ancestor can act as an anchor. An entity can act as an anchor if it adopts the ``HasAnchoring`` protocol. Just because an ancestor can be anchored doesn’t mean that it is. Inspect the ``Entity\/isAnchored`` property to see if an entity (or one of its ancestors) is anchored.", + "complete" : "@MainActor var anchor: (HasAnchoring)? { get }", + "name" : "anchor", + "type" : "(HasAnchoring)" + }, + { + "comment" : "The scale of the entity relative to its parent. This value is the entity’s scale relative to its parent. To get the actual scale of the entity in the scene, use ``HasTransform\/scale(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/scale`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var scale: SIMD3 { get set }", + "name" : "scale", + "type" : "SIMD3" + }, + { + "comment" : "The parent entity. An entity has at most one parent entity. If an entity isn’t part of a hierarchy, or if it is a root entity, the ``HasHierarchy\/parent`` property is `nil`. Use the ``HasHierarchy\/setParent(_:preservingWorldTransform:)`` method to change an entity’s parent. Use the ``HasHierarchy\/removeFromParent(preservingWorldTransform:)`` method to remove the parent. These methods automatically update the corresponding ``HasHierarchy\/children`` collections of the new and old parent.", + "complete" : "@MainActor var parent: Entity? { get }", + "name" : "parent", + "type" : "Entity" + }, + { + "comment" : "A Boolean that you set to enable or disable the entity and its descendants. Set this value to `true` to enable the entity. Unless an ancestor is disabled, the entity and all of its enabled descendants, up to the first that’s disabled, report ``Entity\/isEnabledInHierarchy`` of `true`. If an ancestor is disabled, they all report `false`. The state of ``Entity\/isActive`` for enabled entities is `true` if they are anchored, or `false` otherwise. If you disable an entity, it and all of its descendants become both disabled (``Entity\/isEnabledInHierarchy`` returns `false`) and inactive (``Entity\/isActive`` returns `false`), regardless of any other state.", + "complete" : "@MainActor var isEnabled: Bool { get set }", + "name" : "isEnabled", + "type" : "Bool" + }, + { + "comment" : "The child entities that the entity manages. An entity can have any number of child entities. Use the ``HasHierarchy\/addChild(_:preservingWorldTransform:)`` method to add a child to an entity. Use the ``HasHierarchy\/removeChild(_:preservingWorldTransform:)`` method to remove one from an entity. These methods automatically update the ``HasHierarchy\/parent`` properties of the child entities.", + "complete" : "@MainActor var children: Entity.ChildCollection { get set }", + "name" : "children", + "type" : "Entity.ChildCollection" + }, + { + "comment" : "The transform of an entity relative to its parent. For an ``AnchorEntity`` instance, the transform is relative to the AR anchor.", + "complete" : "@MainActor var transform: Transform { get set }", + "name" : "transform", + "type" : "Transform" + }, + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "nonisolated var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "All the components stored on the entity. You can only store one component of a given type on an entity.", + "complete" : "@MainActor var components: Entity.ComponentSet { get set }", + "name" : "components", + "type" : "Entity.ComponentSet" + }, + { + "comment" : "Represents a reference to the parameters for a particular entity.", + "complete" : "@MainActor var parameters: Entity.ParameterSet { get set }", + "name" : "parameters", + "type" : "Entity.ParameterSet" + }, + { + "comment" : "A Boolean that indicates whether the entity is active. The value of this property is `true` if the entity is anchored in a scene, and it and all of its ancestors are enabled (``Entity\/isEnabled`` is set to `true`). RealityKit doesn’t simulate or render inactive entities.", + "complete" : "@MainActor var isActive: Bool { get }", + "name" : "isActive", + "type" : "Bool" + }, + { + "comment" : "The list of animations associated with the entity. When you import an entity from a file, for example by using the ``Entity\/load(named:in:)`` method, the entity might contain associated animations. Any that RealityKit supports appear in the ``Entity\/availableAnimations`` array. To play a particular animation resource from the list, call the ``Entity\/playAnimation(_:transitionDuration:startsPaused:)`` method. Alternatively, to play all animations with a given name, call the `playAnimation(named:transitionDuration:startsPaused:)` method instead.", + "complete" : "@MainActor var availableAnimations: [AnimationResource] { get }", + "name" : "availableAnimations", + "type" : "[AnimationResource]" + }, + { + "comment" : "A Boolean that indicates whether the entity and all of its ancestors are enabled. The value of this property is `true` if the entity and all of its ancestors are enabled, regardless of anchor state.", + "complete" : "@MainActor var isEnabledInHierarchy: Bool { get }", + "name" : "isEnabledInHierarchy", + "type" : "Bool" + }, + { + "comment" : "The name of the entity. You can find an entity by name in a scene by calling the scene’s ``Scene\/findEntity(named:)`` method. Or you can recursively search among the children of a given entity by calling the entity’s ``Entity\/findEntity(named:)`` method. Entity names are not guaranteed to be unique. When you search by name, these methods return the first entity encountered with the given name.", + "complete" : "@MainActor var name: String { get set }", + "name" : "name", + "type" : "String" + }, + { + "comment" : "The rotation of the entity relative to its parent. This value is the entity’s rotation relative to its parent. To get the world-space orientation of the entity, use ``HasTransform\/orientation(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/rotation`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var orientation: simd_quatf { get set }", + "name" : "orientation", + "type" : "simd_quatf" + }, + { + "comment" : "A Boolean that indicates whether the calling process owns the entity. The calling process owns the entity if the value is `true`.", + "complete" : "@MainActor var isOwner: Bool { get }", + "name" : "isOwner", + "type" : "Bool" + }, + { + "comment" : "The scene that owns the entity. An entity belongs to a scene if the entity is part of a hierarchy that’s rooted in the scene’s ``Scene\/anchors`` collection. The value of the property is `nil` if the entity isn’t currently attached to any scene.", + "complete" : "@MainActor var scene: Scene? { get }", + "name" : "scene", + "type" : "Scene" + }, + { + "comment" : "Returns the default animation clock for this entity.", + "complete" : "@MainActor var defaultAnimationClock: CMClockOrTimebase { get set }", + "name" : "defaultAnimationClock", + "type" : "CMClockOrTimebase" + }, + { + "comment" : "The character controller component for the entity.", + "complete" : "@MainActor var characterController: CharacterControllerComponent? { get set }", + "name" : "characterController", + "type" : "CharacterControllerComponent" + }, + { + "complete" : "@MainActor var bindableValues: BindableValuesReference { get set }", + "name" : "bindableValues", + "type" : "BindableValuesReference" + }, + { + "comment" : "The stable identity of the entity associated with this instance.", + "complete" : "@MainActor var id: UInt64 { get }", + "name" : "id", + "type" : "UInt64" + }, + { + "comment" : "A Boolean value indicating whether the receiver is an accessibility element that an assistive application can access.", + "complete" : "@MainActor var isAccessibilityElement: Bool { get set }", + "name" : "isAccessibilityElement", + "type" : "Bool" + }, + { + "comment" : "A succinct label that identifies the purpose of the image. The default value for this property is `false`. For entities with ``Entity\/isAccessibilityElement`` set to , iOS uses this string to provide information to users of assistive technologies like VoiceOver. Set this property to a name or short description that accurately describes the entity. If you wish to provide additional information or a longer description of the entity, you can use ``Entity\/accessibilityDescription``.", + "complete" : "@MainActor var accessibilityLabel: String? { get set }", + "name" : "accessibilityLabel", + "type" : "String" + }, + { + "comment" : "The character controller state for the entity.", + "complete" : "@MainActor var characterControllerState: CharacterControllerStateComponent? { get set }", + "name" : "characterControllerState", + "type" : "CharacterControllerStateComponent" + }, + { + "comment" : "A longer description of the entity for use by assistive technologies.", + "complete" : "@MainActor var accessibilityDescription: String? { get set }", + "name" : "accessibilityDescription", + "type" : "String" + } + ] + }, + { + "comment" : "A representation of a physical object that RealityKit renders and optionally simulates. Use one or more model entities to place physical objects in a scene. In addition to the components they inherit from the ``Entity`` class, model entities have geometry, described by their ``ModelComponent``. Model entities acquire the model component by conforming to the ``HasModel`` protocol. You specify meshes and materials to control how a model entity appears. ![Diagram showing the components present in the model entity.](ModelEntity-1) Models respond to physics simulations because they conform to the ``HasPhysics`` protocol. You give them mass and other physical properties with a ``PhysicsBodyComponent`` instance, and then apply forces or impulses. The simulator uses a ``PhysicsMotionComponent`` to manage the linear and angular velocity of the object. Alternatively, you can selectively circumvent the simulation to control position and velocity yourself. Do this for a given model by setting its physics body ``PhysicsBodyComponent\/mode`` to ``PhysicsBodyMode\/kinematic``. Models can also collide with one another, and with other entities that conform to the ``HasCollision`` protocol. The ``CollisionComponent`` provides parameters that let you manage which models collide with each other. It also lets you control the collision shape, which for performance reasons, is typically simpler than the visual geometry.", + "name" : "ModelEntity", + "properties" : [ + { + "comment" : "The relative joint transforms of the model entity. Call ``RealityKit\/BodyTrackedEntity\/jointNames`` to determine the name and order of the joints. - Note: Active animations may override the joint transforms set using this property..", + "complete" : "@MainActor var jointTransforms: [Transform] { get set }", + "name" : "jointTransforms", + "type" : "[Transform]" + }, + { + "complete" : "@MainActor var debugModel: ModelDebugOptionsComponent? { get set }", + "name" : "debugModel", + "type" : "ModelDebugOptionsComponent" + }, + { + "comment" : "Configures the debug visualization of this model.", + "complete" : "@MainActor var modelDebugOptions: ModelDebugOptionsComponent? { get set }", + "name" : "modelDebugOptions", + "type" : "ModelDebugOptionsComponent" + }, + { + "comment" : "The physics motion component used by physics simulations of the model entity.", + "complete" : "@MainActor var physicsMotion: PhysicsMotionComponent? { get set }", + "name" : "physicsMotion", + "type" : "PhysicsMotionComponent" + }, + { + "comment" : "The collision component that gives the entity the ability to participate in collision simulations.", + "complete" : "@MainActor var collision: CollisionComponent? { get set }", + "name" : "collision", + "type" : "CollisionComponent" + }, + { + "comment" : "A component that is used for physics simulations of the model entity in accordance with the laws of Newtonian mechanics.", + "complete" : "@MainActor var physicsBody: PhysicsBodyComponent? { get set }", + "name" : "physicsBody", + "type" : "PhysicsBodyComponent" + }, + { + "comment" : "The model component for the entity.", + "complete" : "@MainActor var model: ModelComponent? { get set }", + "name" : "model", + "type" : "ModelComponent" + }, + { + "comment" : "The names of all the joints in the model entity.", + "complete" : "@MainActor var jointNames: [String] { get }", + "name" : "jointNames", + "type" : "[String]" + } + ] + }, + { + "comment" : "A virtual camera that establishes the rendering perspective. During an AR session, RealityKit automatically uses the device’s camera to define the perspective from which to render the scene. When rendering a scene outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``), RealityKit uses a ``PerspectiveCamera`` instead. You can add a perspective camera anywhere in your scene to control the point of view. If you don't explicitly provide one, RealityKit creates a default camera for you.", + "name" : "PerspectiveCamera", + "properties" : [ + { + "comment" : "A camera component for the perspective camera entity.", + "complete" : "@MainActor var camera: PerspectiveCameraComponent { get set }", + "name" : "camera", + "type" : "PerspectiveCameraComponent" + } + ] + }, + { + "comment" : "An entity that produces an omnidirectional light for virtual objects. During an AR session, RealityKit automatically lights your virtual objects to match real-world lighting. You can also explicitly add virtual lights that act upon your virtual content. This is typically most useful outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``). The point light is an omnidirectional light that illuminates all the virtual content within a configurable radius from the light. You can configure the light’s color and intensity. A RealityKit scene can contain up to eight dynamic lights, which are ``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit doesn’t include light from image-based lighting.", + "name" : "PointLight", + "properties" : [ + { + "comment" : "A point light component for the entity.", + "complete" : "@MainActor var light: PointLightComponent { get set }", + "name" : "light", + "type" : "PointLightComponent" + } + ] + }, + { + "comment" : "An entity that illuminates virtual content in a cone-shaped volume. During an AR session, RealityKit automatically lights your virtual objects to match real-world lighting. You can also explicitly add virtual lights that act upon your virtual content. This is typically most useful outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``). A RealityKit scene can contain up to eight dynamic lights, which are ``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit doesn’t include light from image-based lighting.", + "name" : "SpotLight", + "properties" : [ + { + "comment" : "The shadow for the spotlight. Set this property to `nil` to remove shadows for the light. Set it to an instance of ``SpotLightComponent\/Shadow`` to create shadows.", + "complete" : "@MainActor var shadow: SpotLightComponent.Shadow? { get set }", + "name" : "shadow", + "type" : "SpotLightComponent.Shadow" + }, + { + "comment" : "A spotlight component for the entity.", + "complete" : "@MainActor var light: SpotLightComponent { get set }", + "name" : "light", + "type" : "SpotLightComponent" + } + ] + }, + { + "comment" : "An invisible 3D shape that detects when objects enter or exit a given region of space. A trigger volume is an entity that can participate in collisions because it has a ``CollisionComponent``. You use a trigger volume as a sensor that indicates when another collision-capable entity, like a ``ModelEntity``, enters the region of space occupied by the trigger volume. You can use the generated ``CollisionEvents`` between the trigger volume and the other entity to trigger an action, like indicating to the user that a projectile hit its target. ![Diagram showing the components present in the trigger volume entity.](TriggerVolume-1) The trigger volume itself is very simple. It lacks any physical appearance, and doesn’t participate in physics simulations. This makes it very efficient for tasks that require only collision detection.", + "name" : "TriggerVolume", + "properties" : [ + { + "comment" : "The collision component that gives the entity the ability to participate in collision simulations.", + "complete" : "@MainActor var collision: CollisionComponent? { get set }", + "name" : "collision", + "type" : "CollisionComponent" + } + ] + } +] \ No newline at end of file diff --git a/Sources/RealitySymbols/Processed/macOS/Components.json b/Sources/RealitySymbols/Processed/macOS/Components.json new file mode 100644 index 0000000..c4490cd --- /dev/null +++ b/Sources/RealitySymbols/Processed/macOS/Components.json @@ -0,0 +1,391 @@ +[ + { + "name" : "AccessibilityComponent", + "properties" : [ + { + "comment" : "The Custom Content API is useful for delivering accessibility information from complex data sets to your users in measured portions. Using this API allows you to leverage assistive technologies to present only the accessible content your app’s users need, when they need it.", + "complete" : "var customContent: [AccessibilityComponent.CustomContent]", + "name" : "customContent", + "type" : "[AccessibilityComponent.CustomContent]" + }, + { + "comment" : "An array of custom actions supported by the entity, identified by their localized string key.", + "complete" : "var customActions: [LocalizedStringResource]", + "name" : "customActions", + "type" : "[LocalizedStringResource]" + }, + { + "comment" : "A succinct label that identifies the entity, in a localized string key.", + "complete" : "var label: LocalizedStringResource?", + "name" : "label", + "type" : "LocalizedStringResource" + }, + { + "comment" : "The set of supported accessibility actions.", + "complete" : "var systemActions: AccessibilityComponent.SupportedActions", + "name" : "systemActions", + "type" : "AccessibilityComponent.SupportedActions" + }, + { + "comment" : "A localized string key that represents the current value of the entity.", + "complete" : "var value: LocalizedStringResource?", + "name" : "value", + "type" : "LocalizedStringResource" + }, + { + "comment" : "A Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access.", + "complete" : "var isAccessibilityElement: Bool", + "name" : "isAccessibilityElement", + "type" : "Bool" + } + ] + }, + { + "comment" : "A description of how virtual content can be anchored to the real world.", + "name" : "AnchoringComponent", + "properties" : [ + { + "comment" : "The kind of real world object to which the anchor entity should anchor.", + "complete" : "let target: AnchoringComponent.Target", + "name" : "target", + "type" : "AnchoringComponent.Target" + } + ] + }, + { + "comment" : "A component that manages character movement. To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent`` to your entity to make it a character entity. Character entities can *move* to new locations in space, which happens over a period of time based on how you've configured the character controller component, and also *teleport*, which moves the charcter to the new location instantaneously.", + "name" : "CharacterControllerComponent", + "properties" : [ + { + "comment" : "The maximum obstacle height that the controller can move over. Specify this value relative to the entity's coordinate system.", + "complete" : "var stepLimit: Float", + "name" : "stepLimit", + "type" : "Float" + }, + { + "comment" : "The capsule radius. Specify this value in the entity's coordinate system.", + "complete" : "var radius: Float", + "name" : "radius", + "type" : "Float" + }, + { + "comment" : "The slope limit expressed as a limit angle in radians. This value represents the maximum slope that the character can move over. RealityKit applies this value to characters that are walking on static objects, but not when walking on kinematic or dynamic objects.", + "complete" : "var slopeLimit: Float", + "name" : "slopeLimit", + "type" : "Float" + }, + { + "comment" : "The character's collision filter. For more information on using collision filters, see .", + "complete" : "var collisionFilter: CollisionFilter", + "name" : "collisionFilter", + "type" : "CollisionFilter" + }, + { + "comment" : "The capsule height. The capsule height includes radii and should be specified the entity's coordinate system.", + "complete" : "var height: Float", + "name" : "height", + "type" : "Float" + }, + { + "comment" : "Y axis direction relative to the physics origin. Rotates the object so that the vertical height is along the up vector. Vector must be normalized and specified in *physics space*, the coordinate system of the physics simulation.", + "complete" : "var upVector: SIMD3", + "name" : "upVector", + "type" : "SIMD3" + }, + { + "comment" : "An added tolerance around the character capsule. A small skin, known as the *contact offset*, is maintained around the controller's volume to avoid rounding and precision issues with collision detection. Specify this value relative to the entity's coordinate system.", + "complete" : "var skinWidth: Float", + "name" : "skinWidth", + "type" : "Float" + } + ] + }, + { + "comment" : "An object that maintains state for a character controller. Add this component to an entity, this along with ``CharacterControllerComponent``, to use the entity as a character that moves and animates.", + "name" : "CharacterControllerStateComponent", + "properties" : [ + { + "comment" : "The linear speed relative to the phyics origin. In physics space.", + "complete" : "let velocity: SIMD3", + "name" : "velocity", + "type" : "SIMD3" + }, + { + "comment" : "True if character controller is grounded, otherwise false.", + "complete" : "let isOnGround: Bool", + "name" : "isOnGround", + "type" : "Bool" + } + ] + }, + { + "comment" : "A component that gives an entity the ability to collide with other entities that also have collision components. This component holds the entity's data related to participating in the scene's physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts. Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a *trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of entities it collides. If configured with a rigid body ``RealityKit\/PhysicsBodyComponent\/mode`` of ``RealityKit\/PhysicsBodyMode\/dynamic``, it's own velocity and direction can be affected by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but can trigger code or Reality Composer behaviors when a rigid body enity overlaps it. Turn an entity into a trigger by adding a ``RealityKit\/CollisionComponent`` to it and setting its ``RealityKit\/CollisionComponent\/mode-swift.property`` to ``RealityKit\/CollisionComponent\/Mode-swift.enum\/trigger``. Turn an entity into a _rigd body_ by adding a ``RealityKit\/PhysicsBodyComponent`` to the entity in addition to a ``RealityKit\/CollisionComponent``. The ``PhysicsBodyComponent`` defines the physical properties of the entity, such as its mass and collision shape. The `filter` property defines the entity's collision filter, which determines which other objects the entity collides with. For more information, see . - Note: If an entity has a ``RealityKit\/PhysicsBodyComponent``, the collision component's mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time.", + "name" : "CollisionComponent", + "properties" : [ + { + "comment" : "The collision filter used to segregate entities into different collision groups.", + "complete" : "var filter: CollisionFilter", + "name" : "filter", + "type" : "CollisionFilter" + }, + { + "comment" : "A collection of shape resources that collectively represent the outer dimensions of an entity for the purposes of collision detection.", + "complete" : "var shapes: [ShapeResource]", + "name" : "shapes", + "type" : "[ShapeResource]" + }, + { + "comment" : "The collision mode.", + "complete" : "var mode: CollisionComponent.Mode", + "name" : "mode", + "type" : "CollisionComponent.Mode" + } + ] + }, + { + "comment" : "A component that defines a directional light source. A directional light shines in the entithy's forward direction (0, 0, -1). To orient a directional light, use `HasTransform.look(at:from:upVector:)`. A directional light source can cast shadows. To enable shadows, create a ``RealityKit\/DirectionalLightComponent\/Shadow`` and assign it to `HasDirectionalLight.shadow`. To disable shadows set `HasDirectionalLight.shadow` to `nil`.", + "name" : "DirectionalLightComponent", + "properties" : [ + { + "comment" : "A Boolean that you use to control whether the directional light operates as a proxy for a real-world light. Set the value to `true` when you want the light to cast shadows on virtual content without illuminating anything in the scene. You can use this to create shadows on occlusion materials that accept dynamic lighting.", + "complete" : "var isRealWorldProxy: Bool", + "name" : "isRealWorldProxy", + "type" : "Bool" + }, + { + "comment" : "The intensity of the directional light, measured in lumen per square meter.", + "complete" : "var intensity: Float", + "name" : "intensity", + "type" : "Float" + } + ] + }, + { + "comment" : "A collection of resources that create the visual appearance of an entity.", + "name" : "ModelComponent", + "properties" : [ + { + "comment" : "The mesh that defines the shape of the entity. For more information, see ``RealityKit\/MeshResource``", + "complete" : "var mesh: MeshResource", + "name" : "mesh", + "type" : "MeshResource" + }, + { + "comment" : "The materials used by the model. Each ``RealityKit\/MeshResource`` requires a set of materials. An entity that has no materials renders using a pink, striped material. To determine the number of materials a model entity requires , use `MeshResource.expectedMaterialCount`", + "complete" : "var materials: [Material]", + "name" : "materials", + "type" : "[Material]" + }, + { + "comment" : "A margin applied to an entity’s bounding box that determines object visibility. When determining which entities are currently visible, RealityKit tests each entity’s bounding box to see if it overlaps with the camera’s field of view (also known as the camera’s _frustum_). For efficiency, entities with a bounding box that don’t overlap the camera’s frustum aren’t rendered. Use this property to prevent RealityKit from incorrectly culling entities that use a ``CustomMaterial`` with a geometry modifier that moves vertices outside of the entity’s bounding box. RealityKit adds the value of `boundsMargin` to the bounding box before determining which entities are visible.", + "complete" : "var boundsMargin: Float { get set }", + "name" : "boundsMargin", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that changes how RealityKit renders its entity to help with debugging. Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells RealityKit to change the way it renders that entity based on a specified ``ModelDebugOptionsComponent\/visualizationMode-swift.property``. This component isolates individual parts of the rendering process, such as the entity’s transparency or roughness, and displays surface color to help identify visual anomalies. To use this component, create a `ModelDebugOptionsComponent` and set its ``ModelDebugOptionsComponent\/visualizationMode-swift.property`` to the desired value. Then, set the component as the entity’s ``ModelEntity\/modelDebugOptions`` property: ```swift if let robot = anchor.findEntity(named: \"Robot\") as? ModelEntity { let component = ModelDebugOptionsComponent(visualizationMode: .normal) robot.modelDebugOptions = component } ``` For more information on the visualization modes supported by `ModelDebugOptionsComponent`, see ``ModelDebugOptionsComponent\/VisualizationMode-swift.enum``. ## Attach a Debug Component to an Entity To attach a debug component to a particular entity, traverse the entity tree while passing the component to each child: ```swift \/\/ Traverse the entity tree to attach a certain debug mode through components. func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { entity.components.set(debug) for child in entity.children { attachDebug(entity: child, debug: debug) } } \/\/ Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` ## Attach a Debug Component to a Trait To attach a debug component based on a trait, traverse the entity tree while checking for ``HasModel`` adoption: ```swift func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { if let model = entity as? ModelEntity { model.visualizationMode = debug } for child in entity.children { attachDebug(entity: child, debug: debug) } } \/\/ Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ```", + "name" : "ModelDebugOptionsComponent", + "properties" : [ + { + "comment" : "The part of the rendering process to display as the entity’s surface texture.", + "complete" : "var visualizationMode: ModelDebugOptionsComponent.VisualizationMode { get }", + "name" : "visualizationMode", + "type" : "ModelDebugOptionsComponent.VisualizationMode" + } + ] + }, + { + "comment" : " In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the camera needs to be set by the app. (If no camera is provided by the app, the system will use default camera.)", + "name" : "PerspectiveCameraComponent", + "properties" : [ + { + "comment" : "The minimum distance in meters from the camera that the camera can see. The value defaults to 1 centimeter. Always use a value greater than `0` and less than the value of ``PerspectiveCameraComponent\/far``. The renderer clips any surface closer than the ``PerspectiveCameraComponent\/near`` point.", + "complete" : "var near: Float", + "name" : "near", + "type" : "Float" + }, + { + "comment" : "The camera’s total vertical field of view in degrees. This property contains the entire vertifical field of view for the camera in degrees. The system automatically calculates the horizontal field of view from this value to fit the aspect ratio of the device’s screen. This property defaults to `60` degrees.", + "complete" : "var fieldOfViewInDegrees: Float", + "name" : "fieldOfViewInDegrees", + "type" : "Float" + }, + { + "comment" : "The maximum distance in meters from the camera that the camera can see. The value defaults to infinity. Always use a value greater than the value of ``PerspectiveCameraComponent\/near``. The renderer clips any surface beyond the ``PerspectiveCameraComponent\/far`` point.", + "complete" : "var far: Float", + "name" : "far", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that defines an entity’s behavior in physics body simulations. To participate in a scene's physics simulation, an entity must have a ``RealityKit\/PhysicsBodyComponent`` and a ``RealityKit\/CollisionComponent``. If you need to move an entity that participates in the physics system, it also needs a ``RealityKit\/PhysicsMotionComponent``. Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body, following basic rules of Newtonian mechanics. - Note: Model entities have a physics body component by default.", + "name" : "PhysicsBodyComponent", + "properties" : [ + { + "comment" : "The physics body’s mode, indicating how or if it moves. By default, this value is set to ``PhysicsBodyMode\/dynamic``, meaning the body responds to forces.", + "complete" : "var mode: PhysicsBodyMode", + "name" : "mode", + "type" : "PhysicsBodyMode" + }, + { + "comment" : "A Boolean that controls whether the physics simulation performs continuous collision detection. Set the value to `true` to perform continuous collision detection. The value is `false` by default, indicating the simulation should apply discrete collision detection. Discrete collision detection considers only the position of a body once per rendered frame, or about every 16 milliseconds at 60 frames per second. Continuous collision detection considers the position of the body throughout the frame interval. The latter is more computationally expensive, but can help to avoid missing a collision for a quickly moving object, like a projectile.", + "complete" : "var isContinuousCollisionDetectionEnabled: Bool", + "name" : "isContinuousCollisionDetectionEnabled", + "type" : "Bool" + }, + { + "comment" : "A tuple of Boolean values that you use to lock the position of the physics body along any of the three axes. You can restrict movement of the body along one or more axes by setting the corresponding item in the tuple to `true`. For example, if you set the `x` and the `z` items in the tuple to `true`, then the body can move only along the y-axis. By default, movement isn’t restricted.", + "complete" : "var isTranslationLocked: (x: Bool, y: Bool, z: Bool)", + "name" : "isTranslationLocked", + "type" : "(x: Bool, y: Bool, z: Bool)" + }, + { + "comment" : "The physics body’s material properties, like friction. By default, the body’s material resource is set to ``PhysicsMaterialResource\/default``, which provides a modest amount of friction and restitution (bounciness).", + "complete" : "var material: PhysicsMaterialResource", + "name" : "material", + "type" : "PhysicsMaterialResource" + }, + { + "comment" : "A tuple of Boolean values that you use to lock rotation of the physics body around any of the three axes. For any one of the three Booleans in the tuple that you set to `true`, rotation is restricted on the axis represented by that item. For example, if you set the `x` item to true, then the body can’t rotate around the x-axis. By default, rotation isn’t restricted.", + "complete" : "var isRotationLocked: (x: Bool, y: Bool, z: Bool)", + "name" : "isRotationLocked", + "type" : "(x: Bool, y: Bool, z: Bool)" + }, + { + "comment" : "The physics body’s mass properties, like inertia and center of mass. By default, the mass properties value is ``PhysicsMassProperties\/default``, which matches the properties of a unit sphere with mass of 1 kilogram.", + "complete" : "var massProperties: PhysicsMassProperties", + "name" : "massProperties", + "type" : "PhysicsMassProperties" + } + ] + }, + { + "comment" : "A component that controls the motion of the body in physics simulations. You specify velocities in the coordinate space of the physics simulation defined by ``ARView\/physicsOrigin``. The behavior of an entity with a physics motion component depends on the entity’s ``PhysicsBodyComponent\/mode`` setting: - term ``PhysicsBodyMode\/static``: The physics simulation ignores the velocities. The entity doesn’t move. - term ``PhysicsBodyMode\/kinematic``: The physics simulation moves the body according to the values you set for ``PhysicsMotionComponent\/angularVelocity`` and ``PhysicsMotionComponent\/linearVelocity``. - term ``PhysicsBodyMode\/dynamic``: The physics simulation overwrites the velocity values based on simulation, and ignores any values that you write.", + "name" : "PhysicsMotionComponent", + "properties" : [ + { + "comment" : "The linear velocity of the body in the physics simulation.", + "complete" : "var linearVelocity: SIMD3", + "name" : "linearVelocity", + "type" : "SIMD3" + }, + { + "comment" : "The angular velocity of the body around the center of mass.", + "complete" : "var angularVelocity: SIMD3", + "name" : "angularVelocity", + "type" : "SIMD3" + } + ] + }, + { + "comment" : "A component that defines a point light source.", + "name" : "PointLightComponent", + "properties" : [ + { + "comment" : "The point light attenuation radius in meters. At any distance greater from the light that's greater than this value, the light's intensity is zero.", + "complete" : "var attenuationRadius: Float", + "name" : "attenuationRadius", + "type" : "Float" + }, + { + "comment" : "The intensity of the point light, measured in lumen.", + "complete" : "var intensity: Float", + "name" : "intensity", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that defines a spotlight source. A spot light illuminates a cone-shaped volume in the entity's forward direction (0, 0, -1) . To orient a spot light, use `HasTransform.look(at:from:upVector:)`. To enable shadows, create a ``RealityKit\/DirectionalLightComponent\/Shadow`` and assign it to `HasDirectionalLight.shadow`. To disable shadows set `HasDirectionalLight.shadow` to `nil`.", + "name" : "SpotLightComponent", + "properties" : [ + { + "comment" : "The inner angle of the spotlight in degrees. A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and `innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and `outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`.", + "complete" : "var innerAngleInDegrees: Float", + "name" : "innerAngleInDegrees", + "type" : "Float" + }, + { + "comment" : "The attenuation radius in meters, after which the intensity of the spotlight is zero.", + "complete" : "var attenuationRadius: Float", + "name" : "attenuationRadius", + "type" : "Float" + }, + { + "comment" : "The outer angle of the spotlight in degrees. A spot light's `innerAngle` and `outerAngle` reflect the size of the light's cone, which shines relative to the entity's forward direction (0, 0, -1). The light is at full intensity between 0° and `innerAngle`. RealityKit attenuates the light's intensity between `innerAngle` and `outerAngle`. Beyond `outerAngle`, the light intensity is `0.0`.", + "complete" : "var outerAngleInDegrees: Float", + "name" : "outerAngleInDegrees", + "type" : "Float" + }, + { + "comment" : "The intensity of the spotlight measured in lumen.", + "complete" : "var intensity: Float", + "name" : "intensity", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "name" : "SynchronizationComponent", + "properties" : [ + { + "comment" : "The entity’s transfer ownership mode. By default, the transfer mode is ``SynchronizationComponent\/OwnershipTransferMode-swift.enum\/autoAccept``. You can set it to ``SynchronizationComponent\/OwnershipTransferMode-swift.enum\/manual`` to require explicit confirmation of the request by your app.", + "complete" : "var ownershipTransferMode: SynchronizationComponent.OwnershipTransferMode", + "name" : "ownershipTransferMode", + "type" : "SynchronizationComponent.OwnershipTransferMode" + }, + { + "comment" : "A Boolean that indicates whether the calling process owns the entity.", + "complete" : "var isOwner: Bool { get }", + "name" : "isOwner", + "type" : "Bool" + }, + { + "comment" : "A unique identifier of an entity within a network session.", + "complete" : "var identifier: UInt64 { get }", + "name" : "identifier", + "type" : "UInt64" + } + ] + }, + { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "name" : "Transform", + "properties" : [ + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "The scaling factor applied to the entity.", + "complete" : "var scale: SIMD3", + "name" : "scale", + "type" : "SIMD3" + }, + { + "comment" : "The position of the entity along the x, y, and z axes.", + "complete" : "var translation: SIMD3", + "name" : "translation", + "type" : "SIMD3" + }, + { + "comment" : "The rotation of the entity specified as a unit quaternion.", + "complete" : "var rotation: simd_quatf", + "name" : "rotation", + "type" : "simd_quatf" + }, + { + "comment" : "The transform represented as a 4x4 matrix. The ``Transform`` component can’t represent all transforms that a general 4x4 matrix can represent. Using a 4x4 matrix to set the transform is therefore a lossy event that might result in certain transformations, like shear, being dropped.", + "complete" : "var matrix: float4x4 { get set }", + "name" : "matrix", + "type" : "float4x4" + } + ] + } +] \ No newline at end of file diff --git a/Sources/RealitySymbols/Processed/macOS/Entities.json b/Sources/RealitySymbols/Processed/macOS/Entities.json new file mode 100644 index 0000000..08fe29a --- /dev/null +++ b/Sources/RealitySymbols/Processed/macOS/Entities.json @@ -0,0 +1,317 @@ +[ + { + "comment" : "An anchor that tethers entities to a scene. Use anchor entities to control how RealityKit places virtual objects into your scene. ``AnchorEntity`` conforms to the ``HasAnchoring`` protocol, which gives it an ``AnchoringComponent`` instance. RealityKit places anchors based on the anchoring component’s ``AnchoringComponent\/target-swift.property`` property. For example, you can configure an anchor entity to rest on a detected horizontal surface in an AR scene like a table or floor, and RealityKit automatically places that anchor once it detects an appropriate horizontal plane in the real world. For information on the different types of anchors available when using Reality Composer, see . ![Diagram showing the components present in the anchor entity. It contains three boxes labeled Transform component, Synchronization component, and Anchoring component.](AnchorEntity-1) Add anchor entities directly to your scene’s ``Scene\/anchors`` collection, or anywhere else in the scene hierarchy by adding them to the ``Entity\/children`` collection of another entity in your scene. Because ``AnchorEntity`` is a subclass of ``Entity``, you can make an anchor entity a child of any other entity. RealityKit may move anchor entities as the scene updates, so the location and rotation of the anchor entity may change relative to its parent, even if your code never modifies its ``Entity\/transform`` property. Some anchor entities may not show up in your scene at all if RealityKit fails to detect an appropriate place for them. For example, an anchor entity with an `image` target won’t show up in the scene until RealityKit detects the specified image in the real world. ![Block diagram showing how anchor entities attach to a scene, and how they support entity hierarchies. The root box of the hierarchy diagram represents the ARView. It has one child representing the ARView’s scene, and that scene has two children, both of which are anchor entities. Each of the anchor entities have a hierarchy of child entities beneath them, most of which are labeled Entity, but one of the entities in the hierarchy is another anchor entity.](AnchorEntity-2) You can have multiple anchors in a RealityKit scene. For example, one anchor could place a toy car on a horizontal surface, like a table, and another could tie an informative text bubbles to an image in the same scene.", + "name" : "AnchorEntity", + "properties" : [ + { + "complete" : "@MainActor var anchoring: AnchoringComponent { get set }", + "name" : "anchoring", + "type" : "AnchoringComponent" + }, + { + "comment" : "The identifier of the AR anchor with which the anchor entity is associated, or `nil` if it isn’t currently anchored.", + "complete" : "@MainActor var anchorIdentifier: UUID? { get }", + "name" : "anchorIdentifier", + "type" : "UUID" + } + ] + }, + { + "comment" : "An entity that casts a virtual light in a particular direction. During an AR session, RealityKit automatically lights your virtual objects to match real-world lighting. You can also explicitly add virtual lights that act upon your virtual content. This is typically most useful outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``). A directional light uniformly casts light along its z-axis—specifically, along `(0, 0, -1)`. Use the light’s `look(at:from:upVector:relativeTo:)` method to aim the light in a particular direction. You can configure the light’s color and intensity. You can also control how or if it casts a shadow. A RealityKit scene can contain up to eight dynamic lights, which are ``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit doesn’t include light from image-based lighting.", + "name" : "DirectionalLight", + "properties" : [ + { + "comment" : "A directional light component for the entity.", + "complete" : "@MainActor var light: DirectionalLightComponent { get set }", + "name" : "light", + "type" : "DirectionalLightComponent" + }, + { + "comment" : "The shadow settings for a directional light. Set this value to `nil` to remove shadows.", + "complete" : "@MainActor var shadow: DirectionalLightComponent.Shadow? { get set }", + "name" : "shadow", + "type" : "DirectionalLightComponent.Shadow" + } + ] + }, + { + "comment" : "An element of a RealityKit scene to which you attach components that provide appearance and behavior characteristics for the entity. You create and configure entities to embody objects that you want to place in the real world in an AR app. You do this by adding ``Entity`` instances to the ``Scene`` instance associated with an ``ARView``. RealityKit defines a few concrete subclasses of ``Entity`` that provide commonly used functionality. For example, you typically start by creating an instance of ``AnchorEntity`` to anchor your content, and add the anchor to a scene’s ``Scene\/anchors`` collection. You might then instantiate a ``ModelEntity`` to represent a physical object in the scene, and add that as a child entity to the anchor. You can also create custom entities, and add them either to an anchor, or as children of another entity. ![Block diagram showing how entity hierarchies, composed of different kinds of entities, attach to a scene, which is itself a child of the AR view.](Entity-1) You can load predefined entities or a hierarchy of entities from your app’s bundle, or from a file on disk, using the methods in . Alternatively, you can create entities programmatically. Entities contain components (instances conforming to the ``Component`` protocol) that provide appearance and behaviors for the entity. For example, the ``Transform`` component contains the scale, rotation, and translation information needed to position an entity in space. You store components in the entity’s ``Entity\/components`` collection, which can hold exactly one of any component type. It makes sense to have only a single ``Transform`` component, one ``ModelComponent`` (specifying the visual appearance of the entity), and so on. ![Diagram showing the components present in the base entity class, as well as in the derived anchor entity and model entity classes.](Entity-2) All entities inherit a few common components from the ``Entity`` base class: the ``Transform`` component for spatial positioning, and ``SynchronizationComponent``, which enables synchronization of the entity among networked peers. Specific types of entities define additional behaviors. For example, the model entity has components for visual appearance (``ModelComponent``), collision detection (``CollisionComponent``), and physics simulations (``PhysicsBodyComponent`` and ``PhysicsMotionComponent``).", + "name" : "Entity", + "properties" : [ + { + "comment" : "The character controller component for the entity.", + "complete" : "@MainActor var characterController: CharacterControllerComponent? { get set }", + "name" : "characterController", + "type" : "CharacterControllerComponent" + }, + { + "comment" : "The nearest ancestor entity that can act as an anchor. This property returns `nil` if no ancestor can act as an anchor. An entity can act as an anchor if it adopts the ``HasAnchoring`` protocol. Just because an ancestor can be anchored doesn’t mean that it is. Inspect the ``Entity\/isAnchored`` property to see if an entity (or one of its ancestors) is anchored.", + "complete" : "@MainActor var anchor: (HasAnchoring)? { get }", + "name" : "anchor", + "type" : "(HasAnchoring)" + }, + { + "comment" : "All the components stored on the entity. You can only store one component of a given type on an entity.", + "complete" : "@MainActor var components: Entity.ComponentSet { get set }", + "name" : "components", + "type" : "Entity.ComponentSet" + }, + { + "comment" : "A succinct label that identifies the purpose of the image. The default value for this property is `false`. For entities with ``Entity\/isAccessibilityElement`` set to , iOS uses this string to provide information to users of assistive technologies like VoiceOver. Set this property to a name or short description that accurately describes the entity. If you wish to provide additional information or a longer description of the entity, you can use ``Entity\/accessibilityDescription``.", + "complete" : "@MainActor var accessibilityLabel: String? { get set }", + "name" : "accessibilityLabel", + "type" : "String" + }, + { + "comment" : "A Boolean that you set to enable or disable the entity and its descendants. Set this value to `true` to enable the entity. Unless an ancestor is disabled, the entity and all of its enabled descendants, up to the first that’s disabled, report ``Entity\/isEnabledInHierarchy`` of `true`. If an ancestor is disabled, they all report `false`. The state of ``Entity\/isActive`` for enabled entities is `true` if they are anchored, or `false` otherwise. If you disable an entity, it and all of its descendants become both disabled (``Entity\/isEnabledInHierarchy`` returns `false`) and inactive (``Entity\/isActive`` returns `false`), regardless of any other state.", + "complete" : "@MainActor var isEnabled: Bool { get set }", + "name" : "isEnabled", + "type" : "Bool" + }, + { + "comment" : "The name of the entity. You can find an entity by name in a scene by calling the scene’s ``Scene\/findEntity(named:)`` method. Or you can recursively search among the children of a given entity by calling the entity’s ``Entity\/findEntity(named:)`` method. Entity names are not guaranteed to be unique. When you search by name, these methods return the first entity encountered with the given name.", + "complete" : "@MainActor var name: String { get set }", + "name" : "name", + "type" : "String" + }, + { + "comment" : "The scale of the entity relative to its parent. This value is the entity’s scale relative to its parent. To get the actual scale of the entity in the scene, use ``HasTransform\/scale(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/scale`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var scale: SIMD3 { get set }", + "name" : "scale", + "type" : "SIMD3" + }, + { + "comment" : "A Boolean that indicates whether the entity is active. The value of this property is `true` if the entity is anchored in a scene, and it and all of its ancestors are enabled (``Entity\/isEnabled`` is set to `true`). RealityKit doesn’t simulate or render inactive entities.", + "complete" : "@MainActor var isActive: Bool { get }", + "name" : "isActive", + "type" : "Bool" + }, + { + "comment" : "A Boolean value indicating whether the receiver is an accessibility element that an assistive application can access.", + "complete" : "@MainActor var isAccessibilityElement: Bool { get set }", + "name" : "isAccessibilityElement", + "type" : "Bool" + }, + { + "comment" : "A human readable description of the entity.", + "complete" : "@MainActor var debugDescription: String { get }", + "name" : "debugDescription", + "type" : "String" + }, + { + "comment" : "The character controller state for the entity.", + "complete" : "@MainActor var characterControllerState: CharacterControllerStateComponent? { get set }", + "name" : "characterControllerState", + "type" : "CharacterControllerStateComponent" + }, + { + "comment" : "A Boolean that indicates whether the entity is anchored. The value of this property is `true` if the entity is anchored in a scene. An entity that isn’t anchored becomes inactive (``Entity\/isActive`` returns `false`), meaning RealityKit doesn’t render or simulate it.", + "complete" : "@MainActor var isAnchored: Bool { get }", + "name" : "isAnchored", + "type" : "Bool" + }, + { + "comment" : "The list of animations associated with the entity. When you import an entity from a file, for example by using the ``Entity\/load(named:in:)`` method, the entity might contain associated animations. Any that RealityKit supports appear in the ``Entity\/availableAnimations`` array. To play a particular animation resource from the list, call the ``Entity\/playAnimation(_:transitionDuration:startsPaused:)`` method. Alternatively, to play all animations with a given name, call the `playAnimation(named:transitionDuration:startsPaused:)` method instead.", + "complete" : "@MainActor var availableAnimations: [AnimationResource] { get }", + "name" : "availableAnimations", + "type" : "[AnimationResource]" + }, + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "nonisolated var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "The scene that owns the entity. An entity belongs to a scene if the entity is part of a hierarchy that’s rooted in the scene’s ``Scene\/anchors`` collection. The value of the property is `nil` if the entity isn’t currently attached to any scene.", + "complete" : "@MainActor var scene: Scene? { get }", + "name" : "scene", + "type" : "Scene" + }, + { + "comment" : "The parent entity. An entity has at most one parent entity. If an entity isn’t part of a hierarchy, or if it is a root entity, the ``HasHierarchy\/parent`` property is `nil`. Use the ``HasHierarchy\/setParent(_:preservingWorldTransform:)`` method to change an entity’s parent. Use the ``HasHierarchy\/removeFromParent(preservingWorldTransform:)`` method to remove the parent. These methods automatically update the corresponding ``HasHierarchy\/children`` collections of the new and old parent.", + "complete" : "@MainActor var parent: Entity? { get }", + "name" : "parent", + "type" : "Entity" + }, + { + "comment" : "The entity’s synchronization component.", + "complete" : "@MainActor var synchronization: SynchronizationComponent? { get set }", + "name" : "synchronization", + "type" : "SynchronizationComponent" + }, + { + "comment" : "A longer description of the entity for use by assistive technologies.", + "complete" : "@MainActor var accessibilityDescription: String? { get set }", + "name" : "accessibilityDescription", + "type" : "String" + }, + { + "comment" : "A Boolean that indicates whether the entity and all of its ancestors are enabled. The value of this property is `true` if the entity and all of its ancestors are enabled, regardless of anchor state.", + "complete" : "@MainActor var isEnabledInHierarchy: Bool { get }", + "name" : "isEnabledInHierarchy", + "type" : "Bool" + }, + { + "comment" : "A Boolean that indicates whether the calling process owns the entity. The calling process owns the entity if the value is `true`.", + "complete" : "@MainActor var isOwner: Bool { get }", + "name" : "isOwner", + "type" : "Bool" + }, + { + "comment" : "Represents a reference to the parameters for a particular entity.", + "complete" : "@MainActor var parameters: Entity.ParameterSet { get set }", + "name" : "parameters", + "type" : "Entity.ParameterSet" + }, + { + "comment" : "Returns the default animation clock for this entity.", + "complete" : "@MainActor var defaultAnimationClock: CMClockOrTimebase { get set }", + "name" : "defaultAnimationClock", + "type" : "CMClockOrTimebase" + }, + { + "complete" : "@MainActor var bindableValues: BindableValuesReference { get set }", + "name" : "bindableValues", + "type" : "BindableValuesReference" + }, + { + "comment" : "The position of the entity relative to its parent. This value is the entity’s position relative to its parent. To get the world-space position of the entity in the scene, use ``HasTransform\/position(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/translation`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var position: SIMD3 { get set }", + "name" : "position", + "type" : "SIMD3" + }, + { + "comment" : "The transform of an entity relative to its parent. For an ``AnchorEntity`` instance, the transform is relative to the AR anchor.", + "complete" : "@MainActor var transform: Transform { get set }", + "name" : "transform", + "type" : "Transform" + }, + { + "comment" : "The child entities that the entity manages. An entity can have any number of child entities. Use the ``HasHierarchy\/addChild(_:preservingWorldTransform:)`` method to add a child to an entity. Use the ``HasHierarchy\/removeChild(_:preservingWorldTransform:)`` method to remove one from an entity. These methods automatically update the ``HasHierarchy\/parent`` properties of the child entities.", + "complete" : "@MainActor var children: Entity.ChildCollection { get set }", + "name" : "children", + "type" : "Entity.ChildCollection" + }, + { + "comment" : "The stable identity of the entity associated with this instance.", + "complete" : "@MainActor var id: UInt64 { get }", + "name" : "id", + "type" : "UInt64" + }, + { + "comment" : "The rotation of the entity relative to its parent. This value is the entity’s rotation relative to its parent. To get the world-space orientation of the entity, use ``HasTransform\/orientation(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/rotation`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var orientation: simd_quatf { get set }", + "name" : "orientation", + "type" : "simd_quatf" + } + ] + }, + { + "comment" : "A representation of a physical object that RealityKit renders and optionally simulates. Use one or more model entities to place physical objects in a scene. In addition to the components they inherit from the ``Entity`` class, model entities have geometry, described by their ``ModelComponent``. Model entities acquire the model component by conforming to the ``HasModel`` protocol. You specify meshes and materials to control how a model entity appears. ![Diagram showing the components present in the model entity.](ModelEntity-1) Models respond to physics simulations because they conform to the ``HasPhysics`` protocol. You give them mass and other physical properties with a ``PhysicsBodyComponent`` instance, and then apply forces or impulses. The simulator uses a ``PhysicsMotionComponent`` to manage the linear and angular velocity of the object. Alternatively, you can selectively circumvent the simulation to control position and velocity yourself. Do this for a given model by setting its physics body ``PhysicsBodyComponent\/mode`` to ``PhysicsBodyMode\/kinematic``. Models can also collide with one another, and with other entities that conform to the ``HasCollision`` protocol. The ``CollisionComponent`` provides parameters that let you manage which models collide with each other. It also lets you control the collision shape, which for performance reasons, is typically simpler than the visual geometry.", + "name" : "ModelEntity", + "properties" : [ + { + "comment" : "The model component for the entity.", + "complete" : "@MainActor var model: ModelComponent? { get set }", + "name" : "model", + "type" : "ModelComponent" + }, + { + "comment" : "A component that is used for physics simulations of the model entity in accordance with the laws of Newtonian mechanics.", + "complete" : "@MainActor var physicsBody: PhysicsBodyComponent? { get set }", + "name" : "physicsBody", + "type" : "PhysicsBodyComponent" + }, + { + "comment" : "The names of all the joints in the model entity.", + "complete" : "@MainActor var jointNames: [String] { get }", + "name" : "jointNames", + "type" : "[String]" + }, + { + "comment" : "The physics motion component used by physics simulations of the model entity.", + "complete" : "@MainActor var physicsMotion: PhysicsMotionComponent? { get set }", + "name" : "physicsMotion", + "type" : "PhysicsMotionComponent" + }, + { + "comment" : "The collision component that gives the entity the ability to participate in collision simulations.", + "complete" : "@MainActor var collision: CollisionComponent? { get set }", + "name" : "collision", + "type" : "CollisionComponent" + }, + { + "complete" : "@MainActor var debugModel: ModelDebugOptionsComponent? { get set }", + "name" : "debugModel", + "type" : "ModelDebugOptionsComponent" + }, + { + "comment" : "Configures the debug visualization of this model.", + "complete" : "@MainActor var modelDebugOptions: ModelDebugOptionsComponent? { get set }", + "name" : "modelDebugOptions", + "type" : "ModelDebugOptionsComponent" + }, + { + "comment" : "The relative joint transforms of the model entity. Call ``RealityKit\/BodyTrackedEntity\/jointNames`` to determine the name and order of the joints. - Note: Active animations may override the joint transforms set using this property..", + "complete" : "@MainActor var jointTransforms: [Transform] { get set }", + "name" : "jointTransforms", + "type" : "[Transform]" + } + ] + }, + { + "comment" : "A virtual camera that establishes the rendering perspective. During an AR session, RealityKit automatically uses the device’s camera to define the perspective from which to render the scene. When rendering a scene outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``), RealityKit uses a ``PerspectiveCamera`` instead. You can add a perspective camera anywhere in your scene to control the point of view. If you don't explicitly provide one, RealityKit creates a default camera for you.", + "name" : "PerspectiveCamera", + "properties" : [ + { + "comment" : "A camera component for the perspective camera entity.", + "complete" : "@MainActor var camera: PerspectiveCameraComponent { get set }", + "name" : "camera", + "type" : "PerspectiveCameraComponent" + } + ] + }, + { + "comment" : "An entity that produces an omnidirectional light for virtual objects. During an AR session, RealityKit automatically lights your virtual objects to match real-world lighting. You can also explicitly add virtual lights that act upon your virtual content. This is typically most useful outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``). The point light is an omnidirectional light that illuminates all the virtual content within a configurable radius from the light. You can configure the light’s color and intensity. A RealityKit scene can contain up to eight dynamic lights, which are ``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit doesn’t include light from image-based lighting.", + "name" : "PointLight", + "properties" : [ + { + "comment" : "A point light component for the entity.", + "complete" : "@MainActor var light: PointLightComponent { get set }", + "name" : "light", + "type" : "PointLightComponent" + } + ] + }, + { + "comment" : "An entity that illuminates virtual content in a cone-shaped volume. During an AR session, RealityKit automatically lights your virtual objects to match real-world lighting. You can also explicitly add virtual lights that act upon your virtual content. This is typically most useful outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``). A RealityKit scene can contain up to eight dynamic lights, which are ``SpotLight``, ``PointLight``, and ``DirectionalLight`` entities. This limit doesn’t include light from image-based lighting.", + "name" : "SpotLight", + "properties" : [ + { + "comment" : "A spotlight component for the entity.", + "complete" : "@MainActor var light: SpotLightComponent { get set }", + "name" : "light", + "type" : "SpotLightComponent" + }, + { + "comment" : "The shadow for the spotlight. Set this property to `nil` to remove shadows for the light. Set it to an instance of ``SpotLightComponent\/Shadow`` to create shadows.", + "complete" : "@MainActor var shadow: SpotLightComponent.Shadow? { get set }", + "name" : "shadow", + "type" : "SpotLightComponent.Shadow" + } + ] + }, + { + "comment" : "An invisible 3D shape that detects when objects enter or exit a given region of space. A trigger volume is an entity that can participate in collisions because it has a ``CollisionComponent``. You use a trigger volume as a sensor that indicates when another collision-capable entity, like a ``ModelEntity``, enters the region of space occupied by the trigger volume. You can use the generated ``CollisionEvents`` between the trigger volume and the other entity to trigger an action, like indicating to the user that a projectile hit its target. ![Diagram showing the components present in the trigger volume entity.](TriggerVolume-1) The trigger volume itself is very simple. It lacks any physical appearance, and doesn’t participate in physics simulations. This makes it very efficient for tasks that require only collision detection.", + "name" : "TriggerVolume", + "properties" : [ + { + "comment" : "The collision component that gives the entity the ability to participate in collision simulations.", + "complete" : "@MainActor var collision: CollisionComponent? { get set }", + "name" : "collision", + "type" : "CollisionComponent" + } + ] + } +] \ No newline at end of file diff --git a/Sources/RealitySymbols/Processed/visionOS/Components.json b/Sources/RealitySymbols/Processed/visionOS/Components.json new file mode 100644 index 0000000..7a72772 --- /dev/null +++ b/Sources/RealitySymbols/Processed/visionOS/Components.json @@ -0,0 +1,823 @@ +[ + { + "name" : "AccessibilityComponent", + "properties" : [ + { + "comment" : "A succinct label that identifies the entity, in a localized string key.", + "complete" : "var label: LocalizedStringResource?", + "name" : "label", + "type" : "LocalizedStringResource" + }, + { + "comment" : "The set of supported accessibility actions.", + "complete" : "var systemActions: AccessibilityComponent.SupportedActions", + "name" : "systemActions", + "type" : "AccessibilityComponent.SupportedActions" + }, + { + "comment" : "A Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access.", + "complete" : "var isAccessibilityElement: Bool", + "name" : "isAccessibilityElement", + "type" : "Bool" + }, + { + "comment" : "A localized string key that represents the current value of the entity.", + "complete" : "var value: LocalizedStringResource?", + "name" : "value", + "type" : "LocalizedStringResource" + }, + { + "comment" : "An array of custom content objects that deliver accessibility information. Use the Custom Content API to leverage assistive technologies to deliver complex data sets to users in measured portions when they need it.", + "complete" : "var customContent: [AccessibilityComponent.CustomContent]", + "name" : "customContent", + "type" : "[AccessibilityComponent.CustomContent]" + }, + { + "comment" : "An array of custom actions supported by the entity, identified by their localized string key.", + "complete" : "var customActions: [LocalizedStringResource]", + "name" : "customActions", + "type" : "[LocalizedStringResource]" + } + ] + }, + { + "comment" : "Allows an entity to change the resolution of the resources it uses according to its relevance to the user.", + "name" : "AdaptiveResolutionComponent", + "properties" : [ + { + "complete" : "var pixelsPerMeter: Float { get }", + "name" : "pixelsPerMeter", + "type" : "Float" + } + ] + }, + { + "comment" : "Configure ambient rendering of sounds from an entity. Ambient audio sources emit each channel of an audio resource from an angle projected from the entity, without reverberation. Ambient audio sources take into account the relative orientation of the source and the listener. Position is not taken into account; the channels do not get louder as the user moves toward them. The audio resource's front channels (e.g., mono, center) are projected into the entity's -Z direction, with the rear channels projected into +Z. The left channels are laid out in -X and the right channels are laid out in +X. ```swift let entity = Entity() let resource = try AudioFileResource.load(named: \"MyAudioFile\") entity.ambientAudio = AmbientAudioComponent() entity.playAudio(resource) ``` The `AmbientAudioComponent` allows you to set the overall level of all sounds played from the entity with the `gain` property, in relative Decibels, in the range `-.infinity ... .zero` where `-infinity` is silent and `.zero` is nominal. ```swift entity.ambientAudio?.gain = -10 ``` Ambient audio sources are well suited to play back multichannel content which captures the acoustics of its originating environment in the recording process (e.g., multichannel field recordings of outdoor environments).", + "name" : "AmbientAudioComponent", + "properties" : [ + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "The overall level for all sounds emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero` where `.zero` is the default.", + "complete" : "var gain: Audio.Decibel", + "name" : "gain", + "type" : "Audio.Decibel" + } + ] + }, + { + "comment" : "A description of how virtual content can be anchored to the real world.", + "name" : "AnchoringComponent", + "properties" : [ + { + "complete" : "var trackingMode: AnchoringComponent.TrackingMode { get set }", + "name" : "trackingMode", + "type" : "AnchoringComponent.TrackingMode" + }, + { + "comment" : "The kind of real world object to which the anchor entity should anchor.", + "complete" : "let target: AnchoringComponent.Target", + "name" : "target", + "type" : "AnchoringComponent.Target" + } + ] + }, + { + "name" : "AudioMixGroupsComponent", + "properties" : [ + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + } + ] + }, + { + "comment" : "Configure channel-based rendering of sounds from an entity. Channel audio sources route the audio resource's channels directly to the device's output without any spatialization or reverberation applied. Neither the position nor orientation of the entity is taken into consideration for channel rendering. For example, the left channel will always be heard from the left, and the right channel will always be heard from the right, regardless of where the user is oriented. The channels of multichannel audio resources are panned according to their channel layout, including rear channels. ```swift let entity = Entity() let resource = try AudioFileResource.load(named: \"MyAudioFile\") entity.channelAudio = ChannelAudioComponent() entity.playAudio(resource) ``` The `ChannelAudioComponent` allows you to set the overall level of all sounds played from the entity with the `gain` property, in relative Decibels, in the range `-.infinity ... .zero` where `-infinity` is silent and `.zero` is nominal. ```swift entity.channelAudio?.gain = -10 ``` Channel audio sources are well suited to play back sounds not associated with any visual elements in a scene.", + "name" : "ChannelAudioComponent", + "properties" : [ + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "The overall level for all sounds emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero` where `.zero` is the default.", + "complete" : "var gain: Audio.Decibel", + "name" : "gain", + "type" : "Audio.Decibel" + } + ] + }, + { + "comment" : "A component that manages character movement. To use a character controller, add a ``CharacterControllerComponent`` and a ``CharacterControllerStateComponent`` to your entity to make it a character entity. Character entities can *move* to new locations in space, which happens over a period of time based on how you've configured the character controller component, and also *teleport*, which moves the charcter to the new location instantaneously. - Note: PhysicsBodyComponent and CollisionComponent can not exist on the same Entity that contains a CharacterControllerComponent and are therefore inactivated.", + "name" : "CharacterControllerComponent", + "properties" : [ + { + "comment" : "The capsule radius. Specify this value in the entity's coordinate system.", + "complete" : "var radius: Float", + "name" : "radius", + "type" : "Float" + }, + { + "comment" : "The maximum obstacle height that the controller can move over. Specify this value relative to the entity's coordinate system. Changing this value after the CharacterControllerComponent has been created and added to Entity has no effect.", + "complete" : "var stepLimit: Float", + "name" : "stepLimit", + "type" : "Float" + }, + { + "comment" : "The capsule height. The capsule height includes radii and should be specified the entity's coordinate system.", + "complete" : "var height: Float", + "name" : "height", + "type" : "Float" + }, + { + "comment" : "The character's collision filter. For more information on using collision filters, see .", + "complete" : "var collisionFilter: CollisionFilter", + "name" : "collisionFilter", + "type" : "CollisionFilter" + }, + { + "comment" : "Y axis direction relative to the physics origin. Rotates the object so that the vertical height is along the up vector. Vector must be normalized and specified in *physics space*, the coordinate system of the physics simulation.", + "complete" : "var upVector: SIMD3", + "name" : "upVector", + "type" : "SIMD3" + }, + { + "comment" : "The slope limit expressed as a limit angle in radians. This value represents the maximum slope that the character can move over. RealityKit applies this value to characters that are walking on static objects, but not when walking on kinematic or dynamic objects. Changing this value after the CharacterControllerComponent has been created and added to Entity has no effect.", + "complete" : "var slopeLimit: Float", + "name" : "slopeLimit", + "type" : "Float" + }, + { + "comment" : "An added tolerance around the character capsule. A small skin, known as the *contact offset*, is maintained around the controller's volume to avoid rounding and precision issues with collision detection. Specify this value relative to the entity's coordinate system.", + "complete" : "var skinWidth: Float", + "name" : "skinWidth", + "type" : "Float" + } + ] + }, + { + "comment" : "An object that maintains state for a character controller. Add this component to an entity, this along with ``CharacterControllerComponent``, to use the entity as a character that moves and animates.", + "name" : "CharacterControllerStateComponent", + "properties" : [ + { + "comment" : "The linear speed relative to the phyics origin. In physics space.", + "complete" : "let velocity: SIMD3", + "name" : "velocity", + "type" : "SIMD3" + }, + { + "comment" : "True if character controller is grounded, otherwise false.", + "complete" : "let isOnGround: Bool", + "name" : "isOnGround", + "type" : "Bool" + } + ] + }, + { + "comment" : "A component that gives an entity the ability to collide with other entities that also have collision components. This component holds the entity's data related to participating in the scene's physics simulation. It is also used to calculate collision queries, raycasts, and convex shape casts. Entities can participate in the scene simulation in two different modes: as a *rigid body* or as a *trigger*. A rigid body fully participates in the collision simulation. It affects the velocity and direction of entities it collides. If configured with a rigid body ``RealityKit\/PhysicsBodyComponent\/mode`` of ``RealityKit\/PhysicsBodyMode\/dynamic``, it's own velocity and direction can be affected by other rigid body entities. A trigger entity doesn't have any impact on the rigid bodies in the scene, but can trigger code or Reality Composer behaviors when a rigid body enity overlaps it. Note the following when considering applying a non-uniform scale to an entity: - Non-uniform scaling is applicable only to box, convex mesh and triangle mesh collision shapes. - Non-uniform scaling is not supported for all other types of collision shapes. In this case the scale.x value is duplicated to the scale's y and z components as well to force scale uniformity based on the x component. - If the entity has a non-uniform scale assigned to its transform then that entity should not have any descendants assigned that contain rotations in their transforms. A good rule of thumb is to assign the non-uniform scale to the entity that has the collision shape, and avoid adding children below that entity. Turn an entity into a trigger by adding a ``RealityKit\/CollisionComponent`` to it and setting its ``RealityKit\/CollisionComponent\/mode-swift.property`` to ``RealityKit\/CollisionComponent\/Mode-swift.enum\/trigger``. Turn an entity into a _rigd body_ by adding a ``RealityKit\/PhysicsBodyComponent`` to the entity in addition to a ``RealityKit\/CollisionComponent``. The ``PhysicsBodyComponent`` defines the physical properties of the entity, such as its mass and collision shape. The `filter` property defines the entity's collision filter, which determines which other objects the entity collides with. For more information, see . - Note: If an entity has a ``RealityKit\/PhysicsBodyComponent``, the collision component's mode is ignored. An entity can be a rigid body, or a trigger, but not both at the same time.", + "name" : "CollisionComponent", + "properties" : [ + { + "comment" : "A collection of shape resources that collectively represent the outer dimensions of an entity for the purposes of collision detection.", + "complete" : "var shapes: [ShapeResource]", + "name" : "shapes", + "type" : "[ShapeResource]" + }, + { + "comment" : "The collision filter used to segregate entities into different collision groups.", + "complete" : "var filter: CollisionFilter", + "name" : "filter", + "type" : "CollisionFilter" + }, + { + "comment" : "The collision mode.", + "complete" : "var mode: CollisionComponent.Mode", + "name" : "mode", + "type" : "CollisionComponent.Mode" + }, + { + "comment" : "A Boolean value that indicates whether the collider is static. When an object is static the physics engine recognizes that the object isn't moving, which typically improves performance.", + "complete" : "var isStatic: Bool { get set }", + "name" : "isStatic", + "type" : "Bool" + }, + { + "complete" : "var collisionOptions: CollisionComponent.CollisionOptions { get set }", + "name" : "collisionOptions", + "type" : "CollisionComponent.CollisionOptions" + } + ] + }, + { + "name" : "GroundingShadowComponent", + "properties" : [ + { + "comment" : "If true, the entity will cast a shadow", + "complete" : "var castsShadow: Bool", + "name" : "castsShadow", + "type" : "Bool" + } + ] + }, + { + "comment" : "A component that applies a standard highlight effect when someone focuses an entity. - Note: A `CollisionComponent` is required for the ``Entity`` to be part of hit-testing.", + "name" : "HoverEffectComponent", + "properties" : [ + + ] + }, + { + "name" : "ImageBasedLightComponent", + "properties" : [ + { + "comment" : "Image(s) of the lighting environment", + "complete" : "var source: ImageBasedLightComponent.Source", + "name" : "source", + "type" : "ImageBasedLightComponent.Source" + }, + { + "comment" : "Whether the IBL inherit the rotation of the Entity", + "complete" : "var inheritsRotation: Bool", + "name" : "inheritsRotation", + "type" : "Bool" + }, + { + "comment" : "The intensity value of the probe An intensityExponent of 0 means using the diffuse\/specular intensities as-is Otherwise the intensity is multiplied by 2^intensityExponent", + "complete" : "var intensityExponent: Float", + "name" : "intensityExponent", + "type" : "Float" + } + ] + }, + { + "name" : "ImageBasedLightReceiverComponent", + "properties" : [ + { + "complete" : "var imageBasedLight: Entity", + "name" : "imageBasedLight", + "type" : "Entity" + } + ] + }, + { + "comment" : "A component that gives an entity the ability to receive system input. This component should be added to an entity to inform the system that it should be treated as a target for input handling. It can be customized to require only specific forms of input like direct or indirect interactions. By default the component is configured to handle all forms of input on the system. The hit testing shape that defines the entity's interactive entity is defined by the `CollisionComponent`. To configure an entity for input but avoid any sort of physics-related processing, add an `InputTargetComponent` and `CollisionComponent`, but disable the `CollisionComponent` for collision detection, for example: ``` \/\/ Enable the entity for input. myEntity.components.set(InputTargetComponent()) \/\/ Create a collision component with an empty group and mask. var collision = CollisionComponent(shapes: [.generateSphere(radius: 0.1)]) collision.filter = CollisionFilter(group: [], mask: []) myEntity.components.set(collision) ``` `InputTargetComponent` behaves hierarchically, so if it is added to an entity that has descendants with `CollisionComponent`s, those shapes will be used for input handling. The `isEnabled` flag can be used to override this behavior by adding the `InputTargetComponent` to a descendant and setting `isEnabled` to false. `InputTargetComponent`'s `allowedInputTypes` property allows the entity to only receive the provided types of input. This property also propagates down the hierarchy, but if a descendant also has an `InputTargetComponent` defined, its `allowedInputTypes` property overrides the value provided by the ancestor.", + "name" : "InputTargetComponent", + "properties" : [ + { + "comment" : "Whether the component's entity is enabled for input.", + "complete" : "var isEnabled: Bool", + "name" : "isEnabled", + "type" : "Bool" + }, + { + "comment" : "The set of input types this component's entity can receive.", + "complete" : "var allowedInputTypes: InputTargetComponent.InputType", + "name" : "allowedInputTypes", + "type" : "InputTargetComponent.InputType" + } + ] + }, + { + "comment" : "A collection of resources that create the visual appearance of an entity.", + "name" : "ModelComponent", + "properties" : [ + { + "comment" : "The materials used by the model. Each ``RealityKit\/MeshResource`` requires a set of materials. An entity that has no materials renders using a pink, striped material. To determine the number of materials a model entity requires , use `MeshResource.expectedMaterialCount`", + "complete" : "var materials: [Material]", + "name" : "materials", + "type" : "[Material]" + }, + { + "comment" : "The mesh that defines the shape of the entity. For more information, see ``RealityKit\/MeshResource``", + "complete" : "var mesh: MeshResource", + "name" : "mesh", + "type" : "MeshResource" + }, + { + "comment" : "A margin applied to an entity’s bounding box that determines object visibility. When determining which entities are currently visible, RealityKit tests each entity’s bounding box to see if it overlaps with the camera’s field of view (also known as the camera’s _frustum_). For efficiency, entities with a bounding box that don’t overlap the camera’s frustum aren’t rendered. Use this property to prevent RealityKit from incorrectly culling entities that use a ``CustomMaterial`` with a geometry modifier that moves vertices outside of the entity’s bounding box. RealityKit adds the value of `boundsMargin` to the bounding box before determining which entities are visible.", + "complete" : "var boundsMargin: Float { get set }", + "name" : "boundsMargin", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that changes how RealityKit renders its entity to help with debugging. Attaching a `ModelDebugOptionsComponent` to a ``ModelEntity`` tells RealityKit to change the way it renders that entity based on a specified ``ModelDebugOptionsComponent\/visualizationMode-swift.property``. This component isolates individual parts of the rendering process, such as the entity’s transparency or roughness, and displays surface color to help identify visual anomalies. To use this component, create a `ModelDebugOptionsComponent` and set its ``ModelDebugOptionsComponent\/visualizationMode-swift.property`` to the desired value. Then, set the component as the entity’s ``ModelEntity\/modelDebugOptions`` property: ```swift if let robot = anchor.findEntity(named: \"Robot\") as? ModelEntity { let component = ModelDebugOptionsComponent(visualizationMode: .normal) robot.modelDebugOptions = component } ``` For more information on the visualization modes supported by `ModelDebugOptionsComponent`, see ``ModelDebugOptionsComponent\/VisualizationMode-swift.enum``. ## Attach a Debug Component to an Entity To attach a debug component to a particular entity, traverse the entity tree while passing the component to each child: ```swift \/\/ Traverse the entity tree to attach a certain debug mode through components. func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { entity.components.set(debug) for child in entity.children { attachDebug(entity: child, debug: debug) } } \/\/ Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ``` ## Attach a Debug Component to a Trait To attach a debug component based on a trait, traverse the entity tree while checking for ``HasModel`` adoption: ```swift func attachDebug(entity: Entity, debug: ModelDebugOptionsComponent) { if let model = entity as? ModelEntity { model.visualizationMode = debug } for child in entity.children { attachDebug(entity: child, debug: debug) } } \/\/ Respond to a button or UI element. func debugLightingDiffuseButtonCallback() { let debugComponent = ModelDebugOptionsComponent(visualizationMode: .lightingDiffuse) attachDebug(entity: model, debug: debugComponent) } ```", + "name" : "ModelDebugOptionsComponent", + "properties" : [ + { + "comment" : "The part of the rendering process to display as the entity’s surface texture.", + "complete" : "var visualizationMode: ModelDebugOptionsComponent.VisualizationMode { get }", + "name" : "visualizationMode", + "type" : "ModelDebugOptionsComponent.VisualizationMode" + } + ] + }, + { + "comment" : "A component that allows an entity's models to be rendered in an explicit order relative to the models of other entities in the same sort group. If this component is on an entity, then it must belong to a sort group.", + "name" : "ModelSortGroupComponent", + "properties" : [ + { + "comment" : "Group membership is strictly defined by having an identical group to other entities in the scene. This is not hierarchical; membership only applies to the entity which owns this component.", + "complete" : "var group: ModelSortGroup { get set }", + "name" : "group", + "type" : "ModelSortGroup" + }, + { + "comment" : "The draw order of the model relative to other models in its group. Lower value means the model draws earlier.", + "complete" : "var order: Int32 { get set }", + "name" : "order", + "type" : "Int32" + } + ] + }, + { + "name" : "OpacityComponent", + "properties" : [ + { + "comment" : "The opacity value applied to the entity and its descendants.", + "complete" : "var opacity: Float", + "name" : "opacity", + "type" : "Float" + } + ] + }, + { + "name" : "ParticleEmitterComponent", + "properties" : [ + { + "comment" : "Determines if the entity's transformation also affects the particles.", + "complete" : "var particlesInheritTransform: Bool", + "name" : "particlesInheritTransform", + "type" : "Bool" + }, + { + "comment" : "Whether or not the spawnedEmitter's color should be overriden by the mainEmitter's color at the time of the spawning.", + "complete" : "var spawnInheritsParentColor: Bool", + "name" : "spawnInheritsParentColor", + "type" : "Bool" + }, + { + "comment" : "The shape of the region of space where the system spawns new particles. Defaults to plane.", + "complete" : "var emitterShape: ParticleEmitterComponent.EmitterShape", + "name" : "emitterShape", + "type" : "ParticleEmitterComponent.EmitterShape" + }, + { + "comment" : "Amount a spawned particle spreads away from its parent particle, works in conjunction with the spawn particle's `spreadingAngle`. Defaults to 0.", + "complete" : "var spawnSpreadFactor: Float", + "name" : "spawnSpreadFactor", + "type" : "Float" + }, + { + "comment" : "The direction particles are emitted when birthDirection is set to World or Local. Defaults to (0.0, 1.0, 0.0).", + "complete" : "var emissionDirection: SIMD3", + "name" : "emissionDirection", + "type" : "SIMD3" + }, + { + "comment" : "Disables\/enables particle emission, independent of `simulationState`. Existing particles will not be affected.", + "complete" : "var isEmitting: Bool", + "name" : "isEmitting", + "type" : "Bool" + }, + { + "comment" : "Defines a plus\/minus range from which a value is randomly selected to offset Spawn Spread Factor.", + "complete" : "var spawnSpreadFactorVariation: Float", + "name" : "spawnSpreadFactorVariation", + "type" : "Float" + }, + { + "comment" : "Attributes affecting secondary particles spawned from the main simulation.", + "complete" : "var spawnedEmitter: ParticleEmitterComponent.ParticleEmitter? { get set }", + "name" : "spawnedEmitter", + "type" : "ParticleEmitterComponent.ParticleEmitter" + }, + { + "comment" : "Defines a plus\/minus range (in meters per second) from which a value is randomly selected to offset particle speed.", + "complete" : "var speedVariation: Float", + "name" : "speedVariation", + "type" : "Float" + }, + { + "comment" : "Particle attributes affecting the main particles of the base simulation.", + "complete" : "var mainEmitter: ParticleEmitterComponent.ParticleEmitter", + "name" : "mainEmitter", + "type" : "ParticleEmitterComponent.ParticleEmitter" + }, + { + "comment" : "Radial sweep angle for sphere, cylinder, cone, and torus emitter shapes. Defaults to 2 * pi.", + "complete" : "var radialAmount: Float", + "name" : "radialAmount", + "type" : "Float" + }, + { + "comment" : "Controls particle simulation state: playing, paused or stopped. Defaults to `play`.", + "complete" : "var simulationState: ParticleEmitterComponent.SimulationState", + "name" : "simulationState", + "type" : "ParticleEmitterComponent.SimulationState" + }, + { + "comment" : "Field Simulation Space, either local or global", + "complete" : "var fieldSimulationSpace: ParticleEmitterComponent.SimulationSpace", + "name" : "fieldSimulationSpace", + "type" : "ParticleEmitterComponent.SimulationSpace" + }, + { + "comment" : "The possible initial directions for newly spawned particles, relative to the emitter shape.Defaults to normal.", + "complete" : "var birthDirection: ParticleEmitterComponent.BirthDirection", + "name" : "birthDirection", + "type" : "ParticleEmitterComponent.BirthDirection" + }, + { + "comment" : "The initial speed, in meters per second, for newly spawned particles. Defaults to 0.5.", + "complete" : "var speed: Float", + "name" : "speed", + "type" : "Float" + }, + { + "comment" : "Radius of the torus' emitter shape tube. Defaults to 0.25.", + "complete" : "var torusInnerRadius: Float", + "name" : "torusInnerRadius", + "type" : "Float" + }, + { + "comment" : "Determines when main particles emit spawn particles. Defaults to `onDeath`.", + "complete" : "var spawnOccasion: ParticleEmitterComponent.SpawnOccasion", + "name" : "spawnOccasion", + "type" : "ParticleEmitterComponent.SpawnOccasion" + }, + { + "comment" : "The possible locations for newly spawned particles, relative to the emitter shape. Defaults to surface.", + "complete" : "var birthLocation: ParticleEmitterComponent.BirthLocation", + "name" : "birthLocation", + "type" : "ParticleEmitterComponent.BirthLocation" + }, + { + "comment" : "Defines a plus\/minus range from which a value is randomly selected to offset `burstCount`.", + "complete" : "var burstCountVariation: Int", + "name" : "burstCountVariation", + "type" : "Int" + }, + { + "comment" : "Number of particles to emit in a single burst. Defaults to 100.", + "complete" : "var burstCount: Int", + "name" : "burstCount", + "type" : "Int" + }, + { + "comment" : "The emitter shape size in meters.", + "complete" : "var emitterShapeSize: SIMD3", + "name" : "emitterShapeSize", + "type" : "SIMD3" + }, + { + "comment" : "How much of the parent particle's velocity to inherit. Defaults to 1.", + "complete" : "var spawnVelocityFactor: Float", + "name" : "spawnVelocityFactor", + "type" : "Float" + } + ] + }, + { + "comment" : " In AR applications, the camera is automatically provided by the system. In non-AR scenarios, the camera needs to be set by the app. (If no camera is provided by the app, the system will use default camera.)", + "name" : "PerspectiveCameraComponent", + "properties" : [ + { + "comment" : "The minimum distance in meters from the camera that the camera can see. The value defaults to 1 centimeter. Always use a value greater than `0` and less than the value of ``PerspectiveCameraComponent\/far``. The renderer clips any surface closer than the ``PerspectiveCameraComponent\/near`` point.", + "complete" : "var near: Float", + "name" : "near", + "type" : "Float" + }, + { + "comment" : "The maximum distance in meters from the camera that the camera can see. The value defaults to infinity. Always use a value greater than the value of ``PerspectiveCameraComponent\/near``. The renderer clips any surface beyond the ``PerspectiveCameraComponent\/far`` point.", + "complete" : "var far: Float", + "name" : "far", + "type" : "Float" + }, + { + "comment" : "The camera’s total vertical field of view in degrees. This property contains the entire vertifical field of view for the camera in degrees. The system automatically calculates the horizontal field of view from this value to fit the aspect ratio of the device’s screen. This property defaults to `60` degrees.", + "complete" : "var fieldOfViewInDegrees: Float", + "name" : "fieldOfViewInDegrees", + "type" : "Float" + } + ] + }, + { + "comment" : "A component that defines an entity’s behavior in physics body simulations. To participate in a scene's physics simulation, an entity must have a ``RealityKit\/PhysicsBodyComponent`` and a ``RealityKit\/CollisionComponent``. If you need to move an entity that participates in the physics system, it also needs a ``RealityKit\/PhysicsMotionComponent``. Add a physics body component to an entity by adopting the ``HasPhysicsBody`` protocol, which allows RealityKit’s physics simulation to compute behavior in response to forces acting upon the body, following basic rules of Newtonian mechanics. Note the following when considering applying a non-uniform scale to an entity: - Non-uniform scaling is applicable only to box, convex mesh and triangle mesh collision shapes. - Non-uniform scaling is not supported for all other types of collision shapes. In this case the scale.x value is duplicated to the scale's y and z components as well to force scale uniformity based on the x component. - If the entity has a non-uniform scale assigned to its transform then that entity should not have any descendants assigned that contain rotations in their transforms. A good rule of thumb is to assign the non-uniform scale to the entity that has the collision shape, and avoid adding children below that entity. - Note: Model entities have a physics body component by default.", + "name" : "PhysicsBodyComponent", + "properties" : [ + { + "comment" : "A Boolean value that indicates whether gravity acts on dynamic rigid bodies.", + "complete" : "var isAffectedByGravity: Bool { get set }", + "name" : "isAffectedByGravity", + "type" : "Bool" + }, + { + "comment" : "A tuple of Boolean values that you use to lock rotation of the physics body around any of the three axes. For any one of the three Booleans in the tuple that you set to `true`, rotation is restricted on the axis represented by that item. For example, if you set the `x` item to true, then the body can’t rotate around the x-axis. By default, rotation isn’t restricted.", + "complete" : "var isRotationLocked: (x: Bool, y: Bool, z: Bool)", + "name" : "isRotationLocked", + "type" : "(x: Bool, y: Bool, z: Bool)" + }, + { + "comment" : "A Boolean that controls whether the physics simulation performs continuous collision detection. Set the value to `true` to perform continuous collision detection. The value is `false` by default, indicating the simulation should apply discrete collision detection. Discrete collision detection considers only the position of a body once per rendered frame, or about every 16 milliseconds at 60 frames per second. Continuous collision detection considers the position of the body throughout the frame interval. The latter is more computationally expensive, but can help to avoid missing a collision for a quickly moving object, like a projectile.", + "complete" : "var isContinuousCollisionDetectionEnabled: Bool", + "name" : "isContinuousCollisionDetectionEnabled", + "type" : "Bool" + }, + { + "comment" : "The value that controls how fast a dynamic rigid body's translation motion approaches the zero rest state. - Important: The damping value must be non-negative.", + "complete" : "var linearDamping: Float { get set }", + "name" : "linearDamping", + "type" : "Float" + }, + { + "comment" : "The physics body’s mode, indicating how or if it moves. By default, this value is set to ``PhysicsBodyMode\/dynamic``, meaning the body responds to forces.", + "complete" : "var mode: PhysicsBodyMode", + "name" : "mode", + "type" : "PhysicsBodyMode" + }, + { + "comment" : "A tuple of Boolean values that you use to lock the position of the physics body along any of the three axes. You can restrict movement of the body along one or more axes by setting the corresponding item in the tuple to `true`. For example, if you set the `x` and the `z` items in the tuple to `true`, then the body can move only along the y-axis. By default, movement isn’t restricted.", + "complete" : "var isTranslationLocked: (x: Bool, y: Bool, z: Bool)", + "name" : "isTranslationLocked", + "type" : "(x: Bool, y: Bool, z: Bool)" + }, + { + "comment" : "The physics body’s mass properties, like inertia and center of mass. By default, the mass properties value is ``PhysicsMassProperties\/default``, which matches the properties of a unit sphere with mass of 1 kilogram.", + "complete" : "var massProperties: PhysicsMassProperties", + "name" : "massProperties", + "type" : "PhysicsMassProperties" + }, + { + "comment" : "The value that controls how fast a dynamic rigid body's rotational motion approaches the zero rest state. - Important: The damping value must be non-negative.", + "complete" : "var angularDamping: Float { get set }", + "name" : "angularDamping", + "type" : "Float" + }, + { + "comment" : "The physics body’s material properties, like friction. By default, the body’s material resource is set to ``PhysicsMaterialResource\/default``, which provides a modest amount of friction and restitution (bounciness).", + "complete" : "var material: PhysicsMaterialResource", + "name" : "material", + "type" : "PhysicsMaterialResource" + } + ] + }, + { + "comment" : "A component that controls the motion of the body in physics simulations. You specify velocities in the coordinate space of the physics simulation defined by ``ARView\/PhysicsSimulationComponent.nearestSimulationEntity``. The behavior of an entity with a physics motion component depends on the entity’s ``PhysicsBodyComponent\/mode`` setting: - term ``PhysicsBodyMode\/static``: The physics simulation ignores the velocities. The entity doesn’t move. - term ``PhysicsBodyMode\/kinematic``: The physics simulation moves the body according to the values you set for ``PhysicsMotionComponent\/angularVelocity`` and ``PhysicsMotionComponent\/linearVelocity``. - term ``PhysicsBodyMode\/dynamic``: The physics simulation overwrites the velocity values based on simulation, and ignores any values that you write.", + "name" : "PhysicsMotionComponent", + "properties" : [ + { + "comment" : "The angular velocity of the body around the center of mass.", + "complete" : "var angularVelocity: SIMD3", + "name" : "angularVelocity", + "type" : "SIMD3" + }, + { + "comment" : "The linear velocity of the body in the physics simulation.", + "complete" : "var linearVelocity: SIMD3", + "name" : "linearVelocity", + "type" : "SIMD3" + } + ] + }, + { + "comment" : "A component that controls localized physics simulations. To use a localized physics simulation add a ``PhysicsSimulationComponent`` to the desired root entity. Use the component to set custom physics simulation properties such as ``gravity`` and ``collisionOptions`` specific to the physics simulation.", + "name" : "PhysicsSimulationComponent", + "properties" : [ + { + "comment" : "A custom clock which drives the physics simulation, defaults to the engine clock.", + "complete" : "var clock: CMClockOrTimebase { get set }", + "name" : "clock", + "type" : "CMClockOrTimebase" + }, + { + "comment" : "The gravity for the simulation relative to the simulation entity. The value stored in this property is the gravitational acceleration applied to dynamic physics body entities every frame along the negative world Y axis. The default value is `-9.81` meters per second squared.", + "complete" : "var gravity: SIMD3", + "name" : "gravity", + "type" : "SIMD3" + }, + { + "comment" : "Options for kinematic collision reporting.", + "complete" : "var collisionOptions: PhysicsSimulationComponent.CollisionOptions", + "name" : "collisionOptions", + "type" : "PhysicsSimulationComponent.CollisionOptions" + } + ] + }, + { + "name" : "PortalComponent", + "properties" : [ + { + "comment" : "The clipping plane of the portal, defined in the entity's local coordinates. If defined, the portal will clip meshes inside the world, which are in front of the clipping plane.", + "complete" : "var clippingPlane: PortalComponent.ClippingPlane?", + "name" : "clippingPlane", + "type" : "PortalComponent.ClippingPlane" + }, + { + "comment" : "The target entity representing the world that the portal is targeting. When the target entity is valid and has a WorldComponent, the portal will render in its contents the target entity and its entity tree.", + "complete" : "var targetEntity: Entity? { get set }", + "name" : "targetEntity", + "type" : "Entity" + } + ] + }, + { + "comment" : "A component that maps features of the physical environment. Example features include faces and the shape of arbitrary regions.", + "name" : "SceneUnderstandingComponent", + "properties" : [ + { + "comment" : "The origin which the component is created from", + "complete" : "var origin: SceneUnderstandingComponent.Origin { get }", + "name" : "origin", + "type" : "SceneUnderstandingComponent.Origin" + }, + { + "comment" : "The type of real-world object that the component models.", + "complete" : "var entityType: SceneUnderstandingComponent.EntityType?", + "name" : "entityType", + "type" : "SceneUnderstandingComponent.EntityType" + } + ] + }, + { + "comment" : "Configure how sounds are emitted from an entity into the user's environment. The position and orientation of spatial audio sources are updated continuously and automatically by the audio system, so sounds always come from an entity wherever it goes and wherever it is pointing. Spatial audio sources have the user environment's acoustics applied to them so that they blend in naturally with it, and they are distance attenuated so they become quieter the further away they are from the user. - Note: Spatial audio sources emit only a single channel (i.e., mono). If the format of the audio resource played on the entity is stereo or multichannel, all of its channels will be mixed down to a single channel before spatialization. To minimize any unwanted mixdown artifacts, use mono source material where possible. RealityKit audio playback is spatial by default, so no additional configuration is necessary to opt into sophisticated spatial rendering. ```swift let entity = Entity() let resource = try AudioFileResource.load(named: \"MyAudioFile\") entity.playAudio(resource) \/\/ Audio file is played spatially from entity ``` The `SpatialAudioComponent` allows you to further customize the playback characteristics of spatial audio sources. The `gain`, `directLevel`, and `reverbLevel` properties are in relative Decibels, in the range `-.infinity ... .zero`, where `-.infinity` is silent and `.zero` is nominal. For example, you can adjust the overall level of all sounds played from the entity with the `gain` property. ```swift entity.spatialAudio = SpatialAudioComponent(gain: -10) ``` You can reduce the amount of reverb applied to all sounds played from the entity with the `reverbLevel` property. Reducing this value will make the sounds less reverberant and more intimate. Setting `reverbLevel` to `-.infinity` will cause the sounds to collapse into the head of the listener. ```swift entity.spatialAudio?.reverbLevel = -6 ``` The `gain`, `directLevel`, and `reverbLevel` properties can be updated dynamically, for example based on your app's state, or in the context of a Custom RealityKit System. The `directivity` property allows you to configure the radiation pattern for sound emitted from the entity. ```swift entity.spatialAudio?.directivity = .beam(focus: 0.5) ``` Spatial audio sources project sounds along their -Z axis. If a spatial audio source is co-located and co-oriented with visual content authored with a +Z-forward coordinate convention, you will want to rotate your spatial audio source 180º about the Y-axis. ```swift let parent = Entity() \/\/ Add model entity let model = try ModelEntity.load(named: \"PositiveZForward\") parent.addChild(model) \/\/ Add audio source entity let audioSource = Entity() parent.addChild(audioSource) \/\/ Orient audio source towards +Z audioSource.orientation = .init(angle: .pi, axis: [0, 1, 0]) ``` This is only a consideration if you have explicitly set a `directivity` other than the default `.beam(focus: .zero)`, which projects sound evenly for all frequencies in all directions.", + "name" : "SpatialAudioComponent", + "properties" : [ + { + "comment" : "The level of reverberated signal emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero`, where `.zero` is the default. Reducing this value will cause the sound to be more intimate. Reducing this value to `.-infinity` will cause the sounds to collapse into the head of the listener.", + "complete" : "var reverbLevel: Audio.Decibel", + "name" : "reverbLevel", + "type" : "Audio.Decibel" + }, + { + "comment" : "The radiation pattern for sound emitted from an entity. - Note: The `directivity` property cannot be updated dynamically, so you must set it before preparing or playing an audio resource on an entity.", + "complete" : "var directivity: Audio.Directivity", + "name" : "directivity", + "type" : "Audio.Directivity" + }, + { + "comment" : "The overall level for all sounds emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero` where `.zero` is the default.", + "complete" : "var gain: Audio.Decibel", + "name" : "gain", + "type" : "Audio.Decibel" + }, + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "The level of the direct, unreverberated, signal emitted from an entity. In relative Decibels, in the range `-.infinity ... .zero` where `.zero` is the default.", + "complete" : "var directLevel: Audio.Decibel", + "name" : "directLevel", + "type" : "Audio.Decibel" + } + ] + }, + { + "comment" : "A component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.", + "name" : "SynchronizationComponent", + "properties" : [ + { + "comment" : "A unique identifier of an entity within a network session.", + "complete" : "var identifier: UInt64 { get }", + "name" : "identifier", + "type" : "UInt64" + }, + { + "comment" : "A Boolean that indicates whether the calling process owns the entity.", + "complete" : "var isOwner: Bool { get }", + "name" : "isOwner", + "type" : "Bool" + }, + { + "comment" : "The entity’s transfer ownership mode. By default, the transfer mode is ``SynchronizationComponent\/OwnershipTransferMode-swift.enum\/autoAccept``. You can set it to ``SynchronizationComponent\/OwnershipTransferMode-swift.enum\/manual`` to require explicit confirmation of the request by your app.", + "complete" : "var ownershipTransferMode: SynchronizationComponent.OwnershipTransferMode", + "name" : "ownershipTransferMode", + "type" : "SynchronizationComponent.OwnershipTransferMode" + } + ] + }, + { + "name" : "TextComponent", + "properties" : [ + { + "complete" : "var backgroundColor: CGColor?", + "name" : "backgroundColor", + "type" : "CGColor" + }, + { + "complete" : "var text: AttributedString?", + "name" : "text", + "type" : "AttributedString" + }, + { + "complete" : "var cornerRadius: Float", + "name" : "cornerRadius", + "type" : "Float" + }, + { + "complete" : "var size: CGSize { get set }", + "name" : "size", + "type" : "CGSize" + } + ] + }, + { + "comment" : "A component that defines the scale, rotation, and translation of an entity. An entity acquires a ``Transform`` component, as well as a set of methods for manipulating the transform, by adopting the ``HasTransform`` protocol. This is true for all entities, because the ``Entity`` base class adopts the protocol.", + "name" : "Transform", + "properties" : [ + { + "comment" : "The transform represented as a 4x4 matrix. The ``Transform`` component can’t represent all transforms that a general 4x4 matrix can represent. Using a 4x4 matrix to set the transform is therefore a lossy event that might result in certain transformations, like shear, being dropped.", + "complete" : "var matrix: float4x4 { get set }", + "name" : "matrix", + "type" : "float4x4" + }, + { + "comment" : "The scaling factor applied to the entity.", + "complete" : "var scale: SIMD3", + "name" : "scale", + "type" : "SIMD3" + }, + { + "comment" : "The rotation of the entity specified as a unit quaternion.", + "complete" : "var rotation: simd_quatf", + "name" : "rotation", + "type" : "simd_quatf" + }, + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "The position of the entity along the x, y, and z axes.", + "complete" : "var translation: SIMD3", + "name" : "translation", + "type" : "SIMD3" + } + ] + }, + { + "name" : "VideoPlayerComponent", + "properties" : [ + { + "complete" : "var desiredViewingMode: VideoPlaybackController.ViewingMode", + "name" : "desiredViewingMode", + "type" : "VideoPlaybackController.ViewingMode" + }, + { + "comment" : "Returns the avPlayer passed in to init(avPlayer: AVPlayer)", + "complete" : "var avPlayer: AVPlayer? { get }", + "name" : "avPlayer", + "type" : "AVPlayer" + }, + { + "comment" : "The current screen video dimension", + "complete" : "var screenVideoDimension: SIMD2 { get }", + "name" : "screenVideoDimension", + "type" : "SIMD2" + }, + { + "comment" : "the current screen video dimension", + "complete" : "var currentScreenVideoDimension: SIMD2 { get }", + "name" : "currentScreenVideoDimension", + "type" : "SIMD2" + }, + { + "complete" : "var isPassthroughTintingEnabled: Bool", + "name" : "isPassthroughTintingEnabled", + "type" : "Bool" + }, + { + "comment" : "Represents the current video player screen entity size(Width and Height) in meters if defer transition to app, this will always return 1x1", + "complete" : "var playerScreenSize: SIMD2 { get }", + "name" : "playerScreenSize", + "type" : "SIMD2" + }, + { + "complete" : "var viewingMode: VideoPlaybackController.ViewingMode? { get }", + "name" : "viewingMode", + "type" : "VideoPlaybackController.ViewingMode" + } + ] + }, + { + "comment" : "When set on an entity, a WorldComponent separates the entity and its subtree to be rendered as part of a diferent world, that is only visible through a portal. Entities in a WorldComponent are rendered in a isolated lighting environment. To light entities in this environment, use an ImageBasedLightComponent placed within the entity subtree.", + "name" : "WorldComponent", + "properties" : [ + + ] + } +] \ No newline at end of file diff --git a/Sources/RealitySymbols/Processed/visionOS/Entities.json b/Sources/RealitySymbols/Processed/visionOS/Entities.json new file mode 100644 index 0000000..010106d --- /dev/null +++ b/Sources/RealitySymbols/Processed/visionOS/Entities.json @@ -0,0 +1,287 @@ +[ + { + "comment" : "An anchor that tethers entities to a scene. Use anchor entities to control how RealityKit places virtual objects into your scene. ``AnchorEntity`` conforms to the ``HasAnchoring`` protocol, which gives it an ``AnchoringComponent`` instance. RealityKit places anchors based on the anchoring component’s ``AnchoringComponent\/target-swift.property`` property. For example, you can configure an anchor entity to rest on a detected horizontal surface in an AR scene like a table or floor, and RealityKit automatically places that anchor once it detects an appropriate horizontal plane in the real world. For information on the different types of anchors available when using Reality Composer, see . ![Diagram showing the components present in the anchor entity. It contains three boxes labeled Transform component, Synchronization component, and Anchoring component.](AnchorEntity-1) Add anchor entities directly to your scene’s ``Scene\/anchors`` collection, or anywhere else in the scene hierarchy by adding them to the ``Entity\/children`` collection of another entity in your scene. Because ``AnchorEntity`` is a subclass of ``Entity``, you can make an anchor entity a child of any other entity. RealityKit may move anchor entities as the scene updates, so the location and rotation of the anchor entity may change relative to its parent, even if your code never modifies its ``Entity\/transform`` property. Some anchor entities may not show up in your scene at all if RealityKit fails to detect an appropriate place for them. For example, an anchor entity with an `image` target won’t show up in the scene until RealityKit detects the specified image in the real world. ![Block diagram showing how anchor entities attach to a scene, and how they support entity hierarchies. The root box of the hierarchy diagram represents the ARView. It has one child representing the ARView’s scene, and that scene has two children, both of which are anchor entities. Each of the anchor entities have a hierarchy of child entities beneath them, most of which are labeled Entity, but one of the entities in the hierarchy is another anchor entity.](AnchorEntity-2) You can have multiple anchors in a RealityKit scene. For example, one anchor could place a toy car on a horizontal surface, like a table, and another could tie an informative text bubbles to an image in the same scene.", + "name" : "AnchorEntity", + "properties" : [ + { + "complete" : "@MainActor var anchoring: AnchoringComponent { get set }", + "name" : "anchoring", + "type" : "AnchoringComponent" + }, + { + "comment" : "The identifier of the AR anchor with which the anchor entity is associated, or `nil` if it isn’t currently anchored.", + "complete" : "@MainActor var anchorIdentifier: UUID? { get }", + "name" : "anchorIdentifier", + "type" : "UUID" + } + ] + }, + { + "comment" : "An element of a RealityKit scene to which you attach components that provide appearance and behavior characteristics for the entity. You create and configure entities to embody objects that you want to place in the real world in an AR app. You do this by adding ``Entity`` instances to the ``Scene`` instance associated with an ``ARView``. RealityKit defines a few concrete subclasses of ``Entity`` that provide commonly used functionality. For example, you typically start by creating an instance of ``AnchorEntity`` to anchor your content, and add the anchor to a scene’s ``Scene\/anchors`` collection. You might then instantiate a ``ModelEntity`` to represent a physical object in the scene, and add that as a child entity to the anchor. You can also create custom entities, and add them either to an anchor, or as children of another entity. ![Block diagram showing how entity hierarchies, composed of different kinds of entities, attach to a scene, which is itself a child of the AR view.](Entity-1) You can load predefined entities or a hierarchy of entities from your app’s bundle, or from a file on disk, using the methods in . Alternatively, you can create entities programmatically. Entities contain components (instances conforming to the ``Component`` protocol) that provide appearance and behaviors for the entity. For example, the ``Transform`` component contains the scale, rotation, and translation information needed to position an entity in space. You store components in the entity’s ``Entity\/components`` collection, which can hold exactly one of any component type. It makes sense to have only a single ``Transform`` component, one ``ModelComponent`` (specifying the visual appearance of the entity), and so on. ![Diagram showing the components present in the base entity class, as well as in the derived anchor entity and model entity classes.](Entity-2) All entities inherit a few common components from the ``Entity`` base class: the ``Transform`` component for spatial positioning, and ``SynchronizationComponent``, which enables synchronization of the entity among networked peers. Specific types of entities define additional behaviors. For example, the model entity has components for visual appearance (``ModelComponent``), collision detection (``CollisionComponent``), and physics simulations (``PhysicsBodyComponent`` and ``PhysicsMotionComponent``).", + "name" : "Entity", + "properties" : [ + { + "comment" : "A succinct label that identifies the purpose of the image. The default value for this property is `false`. For entities with ``Entity\/isAccessibilityElement`` set to , iOS uses this string to provide information to users of assistive technologies like VoiceOver. Set this property to a name or short description that accurately describes the entity. If you wish to provide additional information or a longer description of the entity, you can use ``Entity\/accessibilityDescription``.", + "complete" : "@MainActor var accessibilityLabel: String? { get set }", + "name" : "accessibilityLabel", + "type" : "String" + }, + { + "comment" : "A Boolean that indicates whether the entity and all of its ancestors are enabled. The value of this property is `true` if the entity and all of its ancestors are enabled, regardless of anchor state.", + "complete" : "@MainActor var isEnabledInHierarchy: Bool { get }", + "name" : "isEnabledInHierarchy", + "type" : "Bool" + }, + { + "comment" : "The position of the entity relative to its parent. This value is the entity’s position relative to its parent. To get the world-space position of the entity in the scene, use ``HasTransform\/position(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/translation`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var position: SIMD3 { get set }", + "name" : "position", + "type" : "SIMD3" + }, + { + "comment" : "The stable identity of the entity associated with this instance.", + "complete" : "@MainActor var id: UInt64 { get }", + "name" : "id", + "type" : "UInt64" + }, + { + "comment" : "A Boolean that indicates whether the entity is anchored. The value of this property is `true` if the entity is anchored in a scene. An entity that isn’t anchored becomes inactive (``Entity\/isActive`` returns `false`), meaning RealityKit doesn’t render or simulate it.", + "complete" : "@MainActor var isAnchored: Bool { get }", + "name" : "isAnchored", + "type" : "Bool" + }, + { + "comment" : "The entity’s synchronization component.", + "complete" : "@MainActor var synchronization: SynchronizationComponent? { get set }", + "name" : "synchronization", + "type" : "SynchronizationComponent" + }, + { + "comment" : "The character controller state for the entity.", + "complete" : "@MainActor var characterControllerState: CharacterControllerStateComponent? { get set }", + "name" : "characterControllerState", + "type" : "CharacterControllerStateComponent" + }, + { + "comment" : "The child entities that the entity manages. An entity can have any number of child entities. Use the ``HasHierarchy\/addChild(_:preservingWorldTransform:)`` method to add a child to an entity. Use the ``HasHierarchy\/removeChild(_:preservingWorldTransform:)`` method to remove one from an entity. These methods automatically update the ``HasHierarchy\/parent`` properties of the child entities.", + "complete" : "@MainActor var children: Entity.ChildCollection { get set }", + "name" : "children", + "type" : "Entity.ChildCollection" + }, + { + "comment" : "The hash value. Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution. - Important: `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `hash(into:)` requirement instead. The compiler provides an implementation for `hashValue` for you.", + "complete" : "nonisolated var hashValue: Int { get }", + "name" : "hashValue", + "type" : "Int" + }, + { + "comment" : "The scene that owns the entity. An entity belongs to a scene if the entity is part of a hierarchy that’s rooted in the scene’s ``Scene\/anchors`` collection. The value of the property is `nil` if the entity isn’t currently attached to any scene.", + "complete" : "@MainActor var scene: Scene? { get }", + "name" : "scene", + "type" : "Scene" + }, + { + "complete" : "@MainActor var bindableValues: BindableValuesReference { get set }", + "name" : "bindableValues", + "type" : "BindableValuesReference" + }, + { + "comment" : "The scale of the entity relative to its parent. This value is the entity’s scale relative to its parent. To get the actual scale of the entity in the scene, use ``HasTransform\/scale(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/scale`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var scale: SIMD3 { get set }", + "name" : "scale", + "type" : "SIMD3" + }, + { + "comment" : "The nearest ancestor entity that can act as an anchor. This property returns `nil` if no ancestor can act as an anchor. An entity can act as an anchor if it adopts the ``HasAnchoring`` protocol. Just because an ancestor can be anchored doesn’t mean that it is. Inspect the ``Entity\/isAnchored`` property to see if an entity (or one of its ancestors) is anchored.", + "complete" : "@MainActor var anchor: (HasAnchoring)? { get }", + "name" : "anchor", + "type" : "(HasAnchoring)" + }, + { + "comment" : "The component that configures the spatial rendering of sounds from this entity.", + "complete" : "@MainActor var spatialAudio: SpatialAudioComponent? { get set }", + "name" : "spatialAudio", + "type" : "SpatialAudioComponent" + }, + { + "comment" : "A Boolean value indicating whether the receiver is an accessibility element that an assistive application can access.", + "complete" : "@MainActor var isAccessibilityElement: Bool { get set }", + "name" : "isAccessibilityElement", + "type" : "Bool" + }, + { + "comment" : "The name of the entity. You can find an entity by name in a scene by calling the scene’s ``Scene\/findEntity(named:)`` method. Or you can recursively search among the children of a given entity by calling the entity’s ``Entity\/findEntity(named:)`` method. Entity names are not guaranteed to be unique. When you search by name, these methods return the first entity encountered with the given name.", + "complete" : "@MainActor var name: String { get set }", + "name" : "name", + "type" : "String" + }, + { + "comment" : "The parent entity. An entity has at most one parent entity. If an entity isn’t part of a hierarchy, or if it is a root entity, the ``HasHierarchy\/parent`` property is `nil`. Use the ``HasHierarchy\/setParent(_:preservingWorldTransform:)`` method to change an entity’s parent. Use the ``HasHierarchy\/removeFromParent(preservingWorldTransform:)`` method to remove the parent. These methods automatically update the corresponding ``HasHierarchy\/children`` collections of the new and old parent.", + "complete" : "@MainActor var parent: Entity? { get }", + "name" : "parent", + "type" : "Entity" + }, + { + "comment" : "A Boolean that indicates whether the entity is active. The value of this property is `true` if the entity is anchored in a scene, and it and all of its ancestors are enabled (``Entity\/isEnabled`` is set to `true`). RealityKit doesn’t simulate or render inactive entities.", + "complete" : "@MainActor var isActive: Bool { get }", + "name" : "isActive", + "type" : "Bool" + }, + { + "comment" : "Represents a reference to the parameters for a particular entity.", + "complete" : "@MainActor var parameters: Entity.ParameterSet { get set }", + "name" : "parameters", + "type" : "Entity.ParameterSet" + }, + { + "comment" : "The rotation of the entity relative to its parent. This value is the entity’s rotation relative to its parent. To get the world-space orientation of the entity, use ``HasTransform\/orientation(relativeTo:)``, passing `nil` as the reference entity. This is the same as the ``Transform\/rotation`` value on the ``HasTransform\/transform``.", + "complete" : "@MainActor var orientation: simd_quatf { get set }", + "name" : "orientation", + "type" : "simd_quatf" + }, + { + "comment" : "The component that configures the ambient rendering of sounds from this entity.", + "complete" : "@MainActor var ambientAudio: AmbientAudioComponent? { get set }", + "name" : "ambientAudio", + "type" : "AmbientAudioComponent" + }, + { + "comment" : "The transform of an entity relative to its parent. For an ``AnchorEntity`` instance, the transform is relative to the AR anchor.", + "complete" : "@MainActor var transform: Transform { get set }", + "name" : "transform", + "type" : "Transform" + }, + { + "comment" : "A human readable description of the entity.", + "complete" : "@MainActor var debugDescription: String { get }", + "name" : "debugDescription", + "type" : "String" + }, + { + "comment" : "All the components stored on the entity. You can only store one component of a given type on an entity.", + "complete" : "@MainActor var components: Entity.ComponentSet { get set }", + "name" : "components", + "type" : "Entity.ComponentSet" + }, + { + "comment" : "Returns the default animation clock for this entity.", + "complete" : "@MainActor var defaultAnimationClock: CMClockOrTimebase { get set }", + "name" : "defaultAnimationClock", + "type" : "CMClockOrTimebase" + }, + { + "comment" : "The component that configures the channel-based rendering of sounds from this entity.", + "complete" : "@MainActor var channelAudio: ChannelAudioComponent? { get set }", + "name" : "channelAudio", + "type" : "ChannelAudioComponent" + }, + { + "comment" : "The character controller component for the entity.", + "complete" : "@MainActor var characterController: CharacterControllerComponent? { get set }", + "name" : "characterController", + "type" : "CharacterControllerComponent" + }, + { + "comment" : "A Boolean that you set to enable or disable the entity and its descendants. Set this value to `true` to enable the entity. Unless an ancestor is disabled, the entity and all of its enabled descendants, up to the first that’s disabled, report ``Entity\/isEnabledInHierarchy`` of `true`. If an ancestor is disabled, they all report `false`. The state of ``Entity\/isActive`` for enabled entities is `true` if they are anchored, or `false` otherwise. If you disable an entity, it and all of its descendants become both disabled (``Entity\/isEnabledInHierarchy`` returns `false`) and inactive (``Entity\/isActive`` returns `false`), regardless of any other state. When an entity is disabled, it's no longer visible in your scene. However, the entity is still included in an ``RealityKit\/EntityQuery``.", + "complete" : "@MainActor var isEnabled: Bool { get set }", + "name" : "isEnabled", + "type" : "Bool" + }, + { + "comment" : "A longer description of the entity for use by assistive technologies.", + "complete" : "@MainActor var accessibilityDescription: String? { get set }", + "name" : "accessibilityDescription", + "type" : "String" + }, + { + "comment" : "A Boolean that indicates whether the calling process owns the entity. The calling process owns the entity if the value is `true`.", + "complete" : "@MainActor var isOwner: Bool { get }", + "name" : "isOwner", + "type" : "Bool" + }, + { + "comment" : "The list of animations associated with the entity. When you import an entity from a file, for example by using the ``Entity\/load(named:in:)`` method, the entity might contain associated animations. Any that RealityKit supports appear in the ``Entity\/availableAnimations`` array. To play a particular animation resource from the list, call the ``Entity\/playAnimation(_:transitionDuration:startsPaused:)`` method. Alternatively, to play all animations with a given name, call the `playAnimation(named:transitionDuration:startsPaused:)` method instead.", + "complete" : "@MainActor var availableAnimations: [AnimationResource] { get }", + "name" : "availableAnimations", + "type" : "[AnimationResource]" + } + ] + }, + { + "comment" : "A representation of a physical object that RealityKit renders and optionally simulates. Use one or more model entities to place physical objects in a scene. In addition to the components they inherit from the ``Entity`` class, model entities have geometry, described by their ``ModelComponent``. Model entities acquire the model component by conforming to the ``HasModel`` protocol. You specify meshes and materials to control how a model entity appears. ![Diagram showing the components present in the model entity.](ModelEntity-1) Models respond to physics simulations because they conform to the ``HasPhysics`` protocol. You give them mass and other physical properties with a ``PhysicsBodyComponent`` instance, and then apply forces or impulses. The simulator uses a ``PhysicsMotionComponent`` to manage the linear and angular velocity of the object. Alternatively, you can selectively circumvent the simulation to control position and velocity yourself. Do this for a given model by setting its physics body ``PhysicsBodyComponent\/mode`` to ``PhysicsBodyMode\/kinematic``. Models can also collide with one another, and with other entities that conform to the ``HasCollision`` protocol. The ``CollisionComponent`` provides parameters that let you manage which models collide with each other. It also lets you control the collision shape, which for performance reasons, is typically simpler than the visual geometry.", + "name" : "ModelEntity", + "properties" : [ + { + "comment" : "The physics motion component used by physics simulations of the model entity.", + "complete" : "@MainActor var physicsMotion: PhysicsMotionComponent? { get set }", + "name" : "physicsMotion", + "type" : "PhysicsMotionComponent" + }, + { + "comment" : "A component that is used for physics simulations of the model entity in accordance with the laws of Newtonian mechanics.", + "complete" : "@MainActor var physicsBody: PhysicsBodyComponent? { get set }", + "name" : "physicsBody", + "type" : "PhysicsBodyComponent" + }, + { + "comment" : "The relative joint transforms of the model entity. Call ``RealityKit\/BodyTrackedEntity\/jointNames`` to determine the name and order of the joints. - Note: Active animations may override the joint transforms set using this property..", + "complete" : "@MainActor var jointTransforms: [Transform] { get set }", + "name" : "jointTransforms", + "type" : "[Transform]" + }, + { + "comment" : "The collision component that gives the entity the ability to participate in collision simulations.", + "complete" : "@MainActor var collision: CollisionComponent? { get set }", + "name" : "collision", + "type" : "CollisionComponent" + }, + { + "comment" : "Configures the debug visualization of this model.", + "complete" : "@MainActor var modelDebugOptions: ModelDebugOptionsComponent? { get set }", + "name" : "modelDebugOptions", + "type" : "ModelDebugOptionsComponent" + }, + { + "comment" : "The names of all the joints in the model entity.", + "complete" : "@MainActor var jointNames: [String] { get }", + "name" : "jointNames", + "type" : "[String]" + }, + { + "complete" : "@MainActor var debugModel: ModelDebugOptionsComponent? { get set }", + "name" : "debugModel", + "type" : "ModelDebugOptionsComponent" + }, + { + "comment" : "The model component for the entity.", + "complete" : "@MainActor var model: ModelComponent? { get set }", + "name" : "model", + "type" : "ModelComponent" + } + ] + }, + { + "comment" : "A virtual camera that establishes the rendering perspective. During an AR session, RealityKit automatically uses the device’s camera to define the perspective from which to render the scene. When rendering a scene outside of an AR session (with the view’s ``ARView\/cameraMode-swift.property`` property set to ``ARView\/CameraMode-swift.enum\/nonAR``), RealityKit uses a ``PerspectiveCamera`` instead. You can add a perspective camera anywhere in your scene to control the point of view. If you don't explicitly provide one, RealityKit creates a default camera for you.", + "name" : "PerspectiveCamera", + "properties" : [ + { + "comment" : "A camera component for the perspective camera entity.", + "complete" : "@MainActor var camera: PerspectiveCameraComponent { get set }", + "name" : "camera", + "type" : "PerspectiveCameraComponent" + } + ] + }, + { + "comment" : "An invisible 3D shape that detects when objects enter or exit a given region of space. A trigger volume is an entity that can participate in collisions because it has a ``CollisionComponent``. You use a trigger volume as a sensor that indicates when another collision-capable entity, like a ``ModelEntity``, enters the region of space occupied by the trigger volume. You can use the generated ``CollisionEvents`` between the trigger volume and the other entity to trigger an action, like indicating to the user that a projectile hit its target. ![Diagram showing the components present in the trigger volume entity.](TriggerVolume-1) The trigger volume itself is very simple. It lacks any physical appearance, and doesn’t participate in physics simulations. This makes it very efficient for tasks that require only collision detection.", + "name" : "TriggerVolume", + "properties" : [ + { + "comment" : "The collision component that gives the entity the ability to participate in collision simulations.", + "complete" : "@MainActor var collision: CollisionComponent? { get set }", + "name" : "collision", + "type" : "CollisionComponent" + } + ] + } +] \ No newline at end of file diff --git a/Sources/RealitySymbols/RealitySymbols.swift b/Sources/RealitySymbols/RealitySymbols.swift new file mode 100644 index 0000000..fecc4ab --- /dev/null +++ b/Sources/RealitySymbols/RealitySymbols.swift @@ -0,0 +1 @@ +import Foundation diff --git a/Sources/StreamingClient/Client.swift b/Sources/StreamingClient/Client.swift index b9be092..83ad715 100644 --- a/Sources/StreamingClient/Client.swift +++ b/Sources/StreamingClient/Client.swift @@ -4,31 +4,30 @@ import Foundation /// A client for streaming screen capture data and preparing it for rendering. public struct StreamingClient { - /// Starts streaming screen capture data. - /// - /// - Returns: An `AsyncStream` of `Data` representing the screen capture frames. - public var startScreenCapture: () async -> AsyncStream + /// Starts streaming screen capture data. + /// + /// - Returns: An `AsyncStream` of `Data` representing the screen capture frames. + public var startScreenCapture: () async -> AsyncStream - - public var stopScreenCapture: () -> Void + public var stopScreenCapture: () -> Void - /// Prepares the screen capture data for rendering. - /// - /// - Parameter frameData: The `VideoFrameData` to prepare. - public var prepareForRender: (VideoFrameData) -> Void + /// Prepares the screen capture data for rendering. + /// + /// - Parameter frameData: The `VideoFrameData` to prepare. + public var prepareForRender: (VideoFrameData) -> Void - /// Retrieves the next sample for rendering. - /// - /// - Returns: An `AsyncStream` of `Sample` representing the prepared samples for rendering. - public var nextSample: () async -> AsyncStream + /// Retrieves the next sample for rendering. + /// + /// - Returns: An `AsyncStream` of `Sample` representing the prepared samples for rendering. + public var nextSample: () async -> AsyncStream } /// An extension of `DependencyValues` that adds a `streamingClient` property. extension DependencyValues { - /// The `StreamingClient` dependency. - public var streamingClient: StreamingClient { - get { self[StreamingClient.self] } - set { self[StreamingClient.self] = newValue } - } + /// The `StreamingClient` dependency. + public var streamingClient: StreamingClient { + get { self[StreamingClient.self] } + set { self[StreamingClient.self] = newValue } + } } diff --git a/Sources/StreamingClient/StreamingView.swift b/Sources/StreamingClient/MetalViewRepresentable.swift similarity index 95% rename from Sources/StreamingClient/StreamingView.swift rename to Sources/StreamingClient/MetalViewRepresentable.swift index 90d310c..cdc6ff0 100644 --- a/Sources/StreamingClient/StreamingView.swift +++ b/Sources/StreamingClient/MetalViewRepresentable.swift @@ -3,7 +3,7 @@ import MetalKit import SwiftUI #if os(macOS) - public struct StreamingView: NSViewRepresentable { + public struct MetalViewRepresentable: NSViewRepresentable { @Dependency(\.streamingClient) var streamingClient @Binding var viewportSize: CGSize diff --git a/Sources/StreamingClient/Renderer/Renderer.swift b/Sources/StreamingClient/Renderer/Renderer.swift index 5020cbb..8444b58 100644 --- a/Sources/StreamingClient/Renderer/Renderer.swift +++ b/Sources/StreamingClient/Renderer/Renderer.swift @@ -9,196 +9,218 @@ import CoreMedia import Metal import MetalKit -///- Tag: Renderer -class Renderer: NSObject { +#if !os(visionOS) + ///- Tag: Renderer + class Renderer: NSObject { - // Metal objects. - let commandQueue: MTLCommandQueue + // Metal objects. + let commandQueue: MTLCommandQueue - let pipelineStates: PipelineStates - let depthStencilStates: DepthStencilStates + let pipelineStates: PipelineStates + let depthStencilStates: DepthStencilStates - // A buffer that contains image plane vertex data. - let imagePlaneVertexBuffer: BufferView + // A buffer that contains image plane vertex data. + let imagePlaneVertexBuffer: BufferView - var frames = [Frame]() - let frameQueue = DispatchQueue(label: "frameQueue") + var frames = [Frame]() + let frameQueue = DispatchQueue(label: "frameQueue") - // Video texture cache. - let videoTextureCache: CVMetalTextureCache + // Video texture cache. + let videoTextureCache: CVMetalTextureCache - // The current viewport size. - var viewportSize = CGSize() + // The current viewport size. + var viewportSize = CGSize() - var lastDrawnPTS = CMTime.zero - let maxFramesInQueue = 15 + var lastDrawnPTS = CMTime.zero + let maxFramesInQueue = 15 - init(device: MTLDevice, renderDestination: RenderDestination) { + init( + device: MTLDevice, + renderDestination: RenderDestination + ) { - imagePlaneVertexBuffer = BufferView( - device: device, array: Constants.imagePlaneVertexData) + imagePlaneVertexBuffer = BufferView( + device: device, + array: Constants.imagePlaneVertexData + ) - pipelineStates = PipelineStates(device: device, renderDestination: renderDestination) - depthStencilStates = DepthStencilStates(device: device) + pipelineStates = PipelineStates(device: device, renderDestination: renderDestination) + depthStencilStates = DepthStencilStates(device: device) - // Create video texture cache. - var textureCache: CVMetalTextureCache! - CVMetalTextureCacheCreate(nil, nil, device, nil, &textureCache) - videoTextureCache = textureCache + // Create video texture cache. + var textureCache: CVMetalTextureCache! + CVMetalTextureCacheCreate(nil, nil, device, nil, &textureCache) + videoTextureCache = textureCache - // Create the command queue. - commandQueue = device.makeCommandQueue(maxCommandBufferCount: Constants.maxBuffersInFlight)! - } + // Create the command queue. + commandQueue = device.makeCommandQueue(maxCommandBufferCount: Constants.maxBuffersInFlight)! + } - /// Attempts to add a new frame to the queue of frames. - /// If the new frame has a presentation time stamp that is earlier than the lastDrawnPTS, the system discards the frame. - func enqueueFrame( - pixelBuffer: CVPixelBuffer, - presentationTimeStamp: CMTime - ) { + /// Attempts to add a new frame to the queue of frames. + /// If the new frame has a presentation time stamp that is earlier than the lastDrawnPTS, the system discards the frame. + func enqueueFrame( + pixelBuffer: CVPixelBuffer, + presentationTimeStamp: CMTime + ) { - frameQueue.sync { + frameQueue.sync { - /* Frames can back up in the queue due to network conditions. + /* Frames can back up in the queue due to network conditions. If the queue experiences significant backup, the system removes all frames from the queue so that it remains close to live. */ - if frames.count > maxFramesInQueue { - frames.removeAll() - } + if frames.count > maxFramesInQueue { + frames.removeAll() + } - /* There is no purpose for frames that have an earlier presentation + /* There is no purpose for frames that have an earlier presentation time than a previously drawn frame, so the system doesn’t add it to the queue of frames.*/ - guard presentationTimeStamp > lastDrawnPTS else { return } - - // Create two textures (Y and CbCr) from the provided imageBuffer - if CVPixelBufferGetPlaneCount(pixelBuffer) < 2 { return } - - if let videoTextureY = createTexture( - fromPixelBuffer: pixelBuffer, pixelFormat: .r8Unorm, planeIndex: 0), - let videoTextureCbCr = createTexture( - fromPixelBuffer: pixelBuffer, pixelFormat: .rg8Unorm, planeIndex: 1) - { - let newFrame = Frame( - textureY: videoTextureY, - textureCbCr: videoTextureCbCr, - presentationTimeStamp: presentationTimeStamp - ) - - // Insert the newFrame in newest to oldest order according to the presentationTimeStamps. - if let index = frames.firstIndex(where: { (frame) -> Bool in - frame.presentationTimeStamp < newFrame.presentationTimeStamp - }) { - frames.insert(newFrame, at: index) - } else { - frames.append(newFrame) + guard presentationTimeStamp > lastDrawnPTS else { return } + + // Create two textures (Y and CbCr) from the provided imageBuffer + if CVPixelBufferGetPlaneCount(pixelBuffer) < 2 { return } + + if let videoTextureY = createTexture( + fromPixelBuffer: pixelBuffer, + pixelFormat: .r8Unorm, + planeIndex: 0 + ), + let videoTextureCbCr = createTexture( + fromPixelBuffer: pixelBuffer, + pixelFormat: .rg8Unorm, + planeIndex: 1 + ) + { + let newFrame = Frame( + textureY: videoTextureY, + textureCbCr: videoTextureCbCr, + presentationTimeStamp: presentationTimeStamp + ) + + // Insert the newFrame in newest to oldest order according to the presentationTimeStamps. + if let index = frames.firstIndex(where: { (frame) -> Bool in + frame.presentationTimeStamp < newFrame.presentationTimeStamp + }) { + frames.insert(newFrame, at: index) + } else { + frames.append(newFrame) + } } } } - } - private func createTexture( - fromPixelBuffer pixelBuffer: CVPixelBuffer, pixelFormat: MTLPixelFormat, planeIndex: Int - ) -> CVMetalTexture? { - let width = CVPixelBufferGetWidthOfPlane(pixelBuffer, planeIndex) - let height = CVPixelBufferGetHeightOfPlane(pixelBuffer, planeIndex) - - var texture: CVMetalTexture? = nil - let status = CVMetalTextureCacheCreateTextureFromImage( - nil, - videoTextureCache, - pixelBuffer, - nil, - pixelFormat, - width, - height, - planeIndex, - &texture) - - if status != kCVReturnSuccess { - texture = nil - } - - return texture - } -} - -// MARK: - MTKViewDelegate -extension Renderer: MTKViewDelegate { + private func createTexture( + fromPixelBuffer pixelBuffer: CVPixelBuffer, + pixelFormat: MTLPixelFormat, + planeIndex: Int + ) -> CVMetalTexture? { + let width = CVPixelBufferGetWidthOfPlane(pixelBuffer, planeIndex) + let height = CVPixelBufferGetHeightOfPlane(pixelBuffer, planeIndex) + + var texture: CVMetalTexture? = nil + let status = CVMetalTextureCacheCreateTextureFromImage( + nil, + videoTextureCache, + pixelBuffer, + nil, + pixelFormat, + width, + height, + planeIndex, + &texture + ) + + if status != kCVReturnSuccess { + texture = nil + } - // The system calls this whenever the view changes orientation or the layout changes. - func mtkView(_ view: MTKView, drawableSizeWillChange size: CGSize) { - viewportSize = size + return texture + } } - // The system calls this whenever the view needs to render. - func draw(in view: MTKView) { + // MARK: - MTKViewDelegate + extension Renderer: MTKViewDelegate { - // Only draw if there are available textures. - frameQueue.sync { - guard let frame = frames.popLast() else { return } - - guard let commandBuffer = commandQueue.makeCommandBuffer(), - let renderPassDescriptor = view.currentRenderPassDescriptor - else { return } - - commandBuffer.addCompletedHandler { _ in - withExtendedLifetime(frame) {} - } + // The system calls this whenever the view changes orientation or the layout changes. + func mtkView(_ view: MTKView, drawableSizeWillChange size: CGSize) { + viewportSize = size + } - lastDrawnPTS = frame.presentationTimeStamp + // The system calls this whenever the view needs to render. + func draw(in view: MTKView) { - MetalUtils.encodePass(into: commandBuffer, using: renderPassDescriptor, label: "Main Pass") { - renderEncoder in + // Only draw if there are available textures. + frameQueue.sync { + guard let frame = frames.popLast() else { return } - MetalUtils.encodeStage(using: renderEncoder, label: "Video Stream Stage") { - // Set render command encoder state. - renderEncoder.setCullMode(.none) - renderEncoder.setRenderPipelineState(pipelineStates.videoStream) - renderEncoder.setDepthStencilState(depthStencilStates.videoStream) + guard let commandBuffer = commandQueue.makeCommandBuffer(), + let renderPassDescriptor = view.currentRenderPassDescriptor + else { return } - // Set mesh's vertex buffers. - renderEncoder.setVertexBuffer( - imagePlaneVertexBuffer, offset: 0, - index: BufferIndices.kBufferIndexMeshPositions.rawValue) + commandBuffer.addCompletedHandler { _ in + withExtendedLifetime(frame) {} + } - // Set any textures that the render pipeline reads/samples. - renderEncoder.setFragmentTexture( - CVMetalTextureGetTexture(frame.textureY), index: TextureIndices.kTextureIndexY.rawValue) - renderEncoder.setFragmentTexture( - CVMetalTextureGetTexture(frame.textureCbCr), - index: TextureIndices.kTextureIndexCbCr.rawValue) + lastDrawnPTS = frame.presentationTimeStamp + + MetalUtils.encodePass(into: commandBuffer, using: renderPassDescriptor, label: "Main Pass") + { + renderEncoder in + + MetalUtils.encodeStage(using: renderEncoder, label: "Video Stream Stage") { + // Set render command encoder state. + renderEncoder.setCullMode(.none) + renderEncoder.setRenderPipelineState(pipelineStates.videoStream) + renderEncoder.setDepthStencilState(depthStencilStates.videoStream) + + // Set mesh's vertex buffers. + renderEncoder.setVertexBuffer( + imagePlaneVertexBuffer, + offset: 0, + index: BufferIndices.kBufferIndexMeshPositions.rawValue + ) + + // Set any textures that the render pipeline reads/samples. + renderEncoder.setFragmentTexture( + CVMetalTextureGetTexture(frame.textureY), + index: TextureIndices.kTextureIndexY.rawValue + ) + renderEncoder.setFragmentTexture( + CVMetalTextureGetTexture(frame.textureCbCr), + index: TextureIndices.kTextureIndexCbCr.rawValue + ) + + // Draw each submesh of the mesh. + renderEncoder.drawPrimitives(type: .triangleStrip, vertexStart: 0, vertexCount: 4) + } + } - // Draw each submesh of the mesh. - renderEncoder.drawPrimitives(type: .triangleStrip, vertexStart: 0, vertexCount: 4) + if let currentDrawable = view.currentDrawable { + commandBuffer.present(currentDrawable) } - } - if let currentDrawable = view.currentDrawable { - commandBuffer.present(currentDrawable) + commandBuffer.commit() } - - commandBuffer.commit() } } -} - -// MARK: - Constants -extension Renderer { - enum Constants { - // The maximum number of command buffers in flight. - static let maxBuffersInFlight: Int = 3 - - // Vertex data for an image plane. - static let imagePlaneVertexData: [Float] = [ - -1.0, -1.0, 0.0, 1.0, - 1.0, -1.0, 1.0, 1.0, - -1.0, 1.0, 0.0, 0.0, - 1.0, 1.0, 1.0, 0.0, - ] + + // MARK: - Constants + extension Renderer { + enum Constants { + // The maximum number of command buffers in flight. + static let maxBuffersInFlight: Int = 3 + + // Vertex data for an image plane. + static let imagePlaneVertexData: [Float] = [ + -1.0, -1.0, 0.0, 1.0, + 1.0, -1.0, 1.0, 1.0, + -1.0, 1.0, 0.0, 0.0, + 1.0, 1.0, 1.0, 0.0, + ] + } } -} -struct Frame { - let textureY: CVMetalTexture - let textureCbCr: CVMetalTexture - let presentationTimeStamp: CMTime -} + struct Frame { + let textureY: CVMetalTexture + let textureCbCr: CVMetalTexture + let presentationTimeStamp: CMTime + } +#endif diff --git a/Sources/StreamingClient/Renderer/Utilities/RenderDestination.swift b/Sources/StreamingClient/Renderer/Utilities/RenderDestination.swift index 4292ce2..7dc16b2 100644 --- a/Sources/StreamingClient/Renderer/Utilities/RenderDestination.swift +++ b/Sources/StreamingClient/Renderer/Utilities/RenderDestination.swift @@ -11,8 +11,10 @@ import MetalKit /// Defines requirements that the renderer expects the render destination to meet. protocol RenderDestination { - var colorPixelFormat: MTLPixelFormat { get set } - var depthStencilPixelFormat: MTLPixelFormat { get set } + var colorPixelFormat: MTLPixelFormat { get set } + var depthStencilPixelFormat: MTLPixelFormat { get set } } -extension MTKView: RenderDestination { } +#if !os(visionOS) + extension MTKView: RenderDestination {} +#endif diff --git a/Tests/RealityCodableTests/RealityCodableTests.swift b/Tests/RealityCodableTests/RealityCodableTests.swift new file mode 100644 index 0000000..d96f189 --- /dev/null +++ b/Tests/RealityCodableTests/RealityCodableTests.swift @@ -0,0 +1,35 @@ +import RealityKit +import XCTest + +@testable import RealityCodable + +final class RealityCodableTests: XCTestCase { + func testEntityEncoding() { + let entity = RealityKit.Entity() + entity.name = "...tity" + entity.addChild(Entity()) + entity.addChild(ModelEntity()) + entity.addChild(AnchorEntity()) + + let n = RealityPlatform.visionOS.EntityType.entity(.init(entity)) + + XCTAssertEqual(n.value.children.count, 3) + } + + func testEntityWithComponentsEncoding() { + let entity = RealityKit.Entity() + entity.name = "...tity" + let n = RealityPlatform.visionOS.EntityType.entity(.init(entity)) + + // Default components for Entity: + // - SynchronizationComponent + // - Transform + XCTAssertEqual(n.value.components.count, 2) + + // Add another component + entity.components[AccessibilityComponent.self] = AccessibilityComponent() + let m = RealityPlatform.visionOS.EntityType.entity(.init(entity)) + + XCTAssertEqual(m.value.components.count, 3) + } +}